diff --git a/docs/API_docs/constructors/accessPointRule.md b/docs/API_docs/constructors/accessPointRule.md index 22ff5179..97e49a97 100644 --- a/docs/API_docs/constructors/accessPointRule.md +++ b/docs/API_docs/constructors/accessPointRule.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accessPointRule = ['_' => 'accessPointRule', 'phone_prefix_rules' => 'string', 'dc_id' => int, 'ips' => [IpPort, IpPort]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/docs/API_docs/constructors/accountDaysTTL.md b/docs/API_docs/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/docs/API_docs/constructors/accountDaysTTL.md +++ b/docs/API_docs/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/docs/API_docs/constructors/account_authorizationForm.md b/docs/API_docs/constructors/account_authorizationForm.md index 833eade6..fd5986ca 100644 --- a/docs/API_docs/constructors/account_authorizationForm.md +++ b/docs/API_docs/constructors/account_authorizationForm.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizationForm = ['_' => 'account.authorizationForm', 'selfie_required' => Bool, 'required_types' => [SecureValueType, SecureValueType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/docs/API_docs/constructors/account_authorizations.md b/docs/API_docs/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/docs/API_docs/constructors/account_authorizations.md +++ b/docs/API_docs/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/docs/API_docs/constructors/account_noPassword.md b/docs/API_docs/constructors/account_noPassword.md index 5fa62aac..95239e72 100644 --- a/docs/API_docs/constructors/account_noPassword.md +++ b/docs/API_docs/constructors/account_noPassword.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'new_secure_salt' => 'bytes', 'secure_random' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -35,10 +35,9 @@ $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'} ``` diff --git a/docs/API_docs/constructors/account_password.md b/docs/API_docs/constructors/account_password.md index b668cc9b..61d53db5 100644 --- a/docs/API_docs/constructors/account_password.md +++ b/docs/API_docs/constructors/account_password.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'new_secure_salt' => 'bytes', 'secure_random' => 'bytes', 'hint' => 'string', 'email_unconfirmed_pattern' => 'string']; ``` @@ -39,10 +39,9 @@ $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'} ``` diff --git a/docs/API_docs/constructors/account_passwordInputSettings.md b/docs/API_docs/constructors/account_passwordInputSettings.md index 07f77e32..42244971 100644 --- a/docs/API_docs/constructors/account_passwordInputSettings.md +++ b/docs/API_docs/constructors/account_passwordInputSettings.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_salt' => 'bytes', 'new_secure_secret' => 'bytes', 'new_secure_secret_id' => long]; ``` @@ -40,10 +40,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/account_passwordSettings.md b/docs/API_docs/constructors/account_passwordSettings.md index 79451480..c252d959 100644 --- a/docs/API_docs/constructors/account_passwordSettings.md +++ b/docs/API_docs/constructors/account_passwordSettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_salt' => 'bytes', 'secure_secret' => 'bytes', 'secure_secret_id' => long]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/account_privacyRules.md b/docs/API_docs/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/docs/API_docs/constructors/account_privacyRules.md +++ b/docs/API_docs/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/docs/API_docs/constructors/account_sentEmailCode.md b/docs/API_docs/constructors/account_sentEmailCode.md index cb6dfdd6..bb93cd61 100644 --- a/docs/API_docs/constructors/account_sentEmailCode.md +++ b/docs/API_docs/constructors/account_sentEmailCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/account_takeout.md b/docs/API_docs/constructors/account_takeout.md index 7c424fd1..eab28d67 100644 --- a/docs/API_docs/constructors/account_takeout.md +++ b/docs/API_docs/constructors/account_takeout.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_takeout = ['_' => 'account.takeout', 'id' => long]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/account_tmpPassword.md b/docs/API_docs/constructors/account_tmpPassword.md index e16b6f3c..90d36e0e 100644 --- a/docs/API_docs/constructors/account_tmpPassword.md +++ b/docs/API_docs/constructors/account_tmpPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/account_webAuthorizations.md b/docs/API_docs/constructors/account_webAuthorizations.md index 5157ffdc..51d382f3 100644 --- a/docs/API_docs/constructors/account_webAuthorizations.md +++ b/docs/API_docs/constructors/account_webAuthorizations.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/docs/API_docs/constructors/auth_authorization.md b/docs/API_docs/constructors/auth_authorization.md index c8133016..b858e501 100644 --- a/docs/API_docs/constructors/auth_authorization.md +++ b/docs/API_docs/constructors/auth_authorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/auth_checkedPhone.md b/docs/API_docs/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/docs/API_docs/constructors/auth_checkedPhone.md +++ b/docs/API_docs/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/auth_codeTypeCall.md b/docs/API_docs/constructors/auth_codeTypeCall.md index 6a4f28d1..788a2c37 100644 --- a/docs/API_docs/constructors/auth_codeTypeCall.md +++ b/docs/API_docs/constructors/auth_codeTypeCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeCall={_='auth.codeTypeCall'} ``` diff --git a/docs/API_docs/constructors/auth_codeTypeFlashCall.md b/docs/API_docs/constructors/auth_codeTypeFlashCall.md index 2851bf4e..abb65fcf 100644 --- a/docs/API_docs/constructors/auth_codeTypeFlashCall.md +++ b/docs/API_docs/constructors/auth_codeTypeFlashCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} ``` diff --git a/docs/API_docs/constructors/auth_codeTypeSms.md b/docs/API_docs/constructors/auth_codeTypeSms.md index 04b78a3d..34b42c95 100644 --- a/docs/API_docs/constructors/auth_codeTypeSms.md +++ b/docs/API_docs/constructors/auth_codeTypeSms.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeSms={_='auth.codeTypeSms'} ``` diff --git a/docs/API_docs/constructors/auth_exportedAuthorization.md b/docs/API_docs/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/docs/API_docs/constructors/auth_exportedAuthorization.md +++ b/docs/API_docs/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/docs/API_docs/constructors/auth_passwordRecovery.md b/docs/API_docs/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/docs/API_docs/constructors/auth_passwordRecovery.md +++ b/docs/API_docs/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/docs/API_docs/constructors/auth_sentCode.md b/docs/API_docs/constructors/auth_sentCode.md index 11473810..6c1fbb87 100644 --- a/docs/API_docs/constructors/auth_sentCode.md +++ b/docs/API_docs/constructors/auth_sentCode.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -37,10 +37,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/auth_sentCodeTypeApp.md b/docs/API_docs/constructors/auth_sentCodeTypeApp.md index eb4f4530..eba1784a 100644 --- a/docs/API_docs/constructors/auth_sentCodeTypeApp.md +++ b/docs/API_docs/constructors/auth_sentCodeTypeApp.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/auth_sentCodeTypeCall.md b/docs/API_docs/constructors/auth_sentCodeTypeCall.md index b72a7550..5948ce63 100644 --- a/docs/API_docs/constructors/auth_sentCodeTypeCall.md +++ b/docs/API_docs/constructors/auth_sentCodeTypeCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/auth_sentCodeTypeFlashCall.md b/docs/API_docs/constructors/auth_sentCodeTypeFlashCall.md index 2c59cad5..bcc7acf6 100644 --- a/docs/API_docs/constructors/auth_sentCodeTypeFlashCall.md +++ b/docs/API_docs/constructors/auth_sentCodeTypeFlashCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} ``` diff --git a/docs/API_docs/constructors/auth_sentCodeTypeSms.md b/docs/API_docs/constructors/auth_sentCodeTypeSms.md index db6858ea..3073333f 100644 --- a/docs/API_docs/constructors/auth_sentCodeTypeSms.md +++ b/docs/API_docs/constructors/auth_sentCodeTypeSms.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/authorization.md b/docs/API_docs/constructors/authorization.md index 17458a06..e517a326 100644 --- a/docs/API_docs/constructors/authorization.md +++ b/docs/API_docs/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/docs/API_docs/constructors/botCommand.md b/docs/API_docs/constructors/botCommand.md index 59daea5a..09f4b72a 100644 --- a/docs/API_docs/constructors/botCommand.md +++ b/docs/API_docs/constructors/botCommand.md @@ -24,7 +24,7 @@ Represents command supported by bot ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -35,10 +35,9 @@ $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'} ``` diff --git a/docs/API_docs/constructors/botInfo.md b/docs/API_docs/constructors/botInfo.md index 507f9f8c..ad88f390 100644 --- a/docs/API_docs/constructors/botInfo.md +++ b/docs/API_docs/constructors/botInfo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/docs/API_docs/constructors/botInlineMediaResult.md b/docs/API_docs/constructors/botInlineMediaResult.md index 43454784..0131af98 100644 --- a/docs/API_docs/constructors/botInlineMediaResult.md +++ b/docs/API_docs/constructors/botInlineMediaResult.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` @@ -38,10 +38,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/botInlineMessageMediaAuto.md b/docs/API_docs/constructors/botInlineMessageMediaAuto.md index 07111aa3..45500723 100644 --- a/docs/API_docs/constructors/botInlineMessageMediaAuto.md +++ b/docs/API_docs/constructors/botInlineMessageMediaAuto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/botInlineMessageMediaContact.md b/docs/API_docs/constructors/botInlineMessageMediaContact.md index eb2c1635..926e1fd8 100644 --- a/docs/API_docs/constructors/botInlineMessageMediaContact.md +++ b/docs/API_docs/constructors/botInlineMessageMediaContact.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'vcard' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -36,10 +36,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/botInlineMessageMediaGeo.md b/docs/API_docs/constructors/botInlineMessageMediaGeo.md index 996ded36..d68db150 100644 --- a/docs/API_docs/constructors/botInlineMessageMediaGeo.md +++ b/docs/API_docs/constructors/botInlineMessageMediaGeo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'period' => int, 'reply_markup' => ReplyMarkup]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/botInlineMessageMediaVenue.md b/docs/API_docs/constructors/botInlineMessageMediaVenue.md index c98ae89e..6dd62964 100644 --- a/docs/API_docs/constructors/botInlineMessageMediaVenue.md +++ b/docs/API_docs/constructors/botInlineMessageMediaVenue.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -38,10 +38,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/botInlineMessageText.md b/docs/API_docs/constructors/botInlineMessageText.md index 4a274d28..b3fa92ed 100644 --- a/docs/API_docs/constructors/botInlineMessageText.md +++ b/docs/API_docs/constructors/botInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/botInlineResult.md b/docs/API_docs/constructors/botInlineResult.md index 9711fb3d..2fdeb93c 100644 --- a/docs/API_docs/constructors/botInlineResult.md +++ b/docs/API_docs/constructors/botInlineResult.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb' => WebDocument, 'content' => WebDocument, 'send_message' => BotInlineMessage]; ``` @@ -39,10 +39,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/cdnConfig.md b/docs/API_docs/constructors/cdnConfig.md index 3df3585d..6487cf42 100644 --- a/docs/API_docs/constructors/cdnConfig.md +++ b/docs/API_docs/constructors/cdnConfig.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]]; ``` @@ -32,10 +32,9 @@ $cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}} ``` diff --git a/docs/API_docs/constructors/cdnPublicKey.md b/docs/API_docs/constructors/cdnPublicKey.md index 78ec2a83..2277ee59 100644 --- a/docs/API_docs/constructors/cdnPublicKey.md +++ b/docs/API_docs/constructors/cdnPublicKey.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/docs/API_docs/constructors/channel.md b/docs/API_docs/constructors/channel.md index 6508ee8d..265e39c2 100644 --- a/docs/API_docs/constructors/channel.md +++ b/docs/API_docs/constructors/channel.md @@ -41,7 +41,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -52,10 +52,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEvent.md b/docs/API_docs/constructors/channelAdminLogEvent.md index f48cb8db..5a939425 100644 --- a/docs/API_docs/constructors/channelAdminLogEvent.md +++ b/docs/API_docs/constructors/channelAdminLogEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEvent = ['_' => 'channelAdminLogEvent', 'id' => long, 'date' => int, 'user_id' => int, 'action' => ChannelAdminLogEventAction]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionChangeAbout.md b/docs/API_docs/constructors/channelAdminLogEventActionChangeAbout.md index ebec258a..aef21894 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionChangeAbout.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionChangeAbout.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChangeAbout', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeAbout={_='channelAdminLogEventActionChangeAbout', prev_value='string', new_value='string'} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionChangePhoto.md b/docs/API_docs/constructors/channelAdminLogEventActionChangePhoto.md index 7c687202..7c38537e 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionChangePhoto.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionChangePhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChangePhoto', 'prev_photo' => ChatPhoto, 'new_photo' => ChatPhoto]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangePhoto={_='channelAdminLogEventActionChangePhoto', prev_photo=ChatPhoto, new_photo=ChatPhoto} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionChangeStickerSet.md b/docs/API_docs/constructors/channelAdminLogEventActionChangeStickerSet.md index 74a2d4d4..74f7d943 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionChangeStickerSet.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionChangeStickerSet.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeStickerSet = ['_' => 'channelAdminLogEventActionChangeStickerSet', 'prev_stickerset' => InputStickerSet, 'new_stickerset' => InputStickerSet]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeStickerSet = ['_' => 'channelAdminLogEventActio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeStickerSet={_='channelAdminLogEventActionChangeStickerSet', prev_stickerset=InputStickerSet, new_stickerset=InputStickerSet} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionChangeTitle.md b/docs/API_docs/constructors/channelAdminLogEventActionChangeTitle.md index dbf4ca87..ab2d88ef 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionChangeTitle.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionChangeTitle.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChangeTitle', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeTitle={_='channelAdminLogEventActionChangeTitle', prev_value='string', new_value='string'} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionChangeUsername.md b/docs/API_docs/constructors/channelAdminLogEventActionChangeUsername.md index 8a48ba97..d0016c2b 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionChangeUsername.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionChangeUsername.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionChangeUsername', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionC ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeUsername={_='channelAdminLogEventActionChangeUsername', prev_value='string', new_value='string'} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionDeleteMessage.md b/docs/API_docs/constructors/channelAdminLogEventActionDeleteMessage.md index e6ffe7f5..3af17f94 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionDeleteMessage.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionDeleteMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDeleteMessage', 'message' => Message]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionDeleteMessage={_='channelAdminLogEventActionDeleteMessage', message=Message} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionEditMessage.md b/docs/API_docs/constructors/channelAdminLogEventActionEditMessage.md index 67b7a176..66e5de48 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionEditMessage.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionEditMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEditMessage', 'prev_message' => Message, 'new_message' => Message]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEdit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionEditMessage={_='channelAdminLogEventActionEditMessage', prev_message=Message, new_message=Message} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionParticipantInvite.md b/docs/API_docs/constructors/channelAdminLogEventActionParticipantInvite.md index 260a3346..82029fee 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionParticipantInvite.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionParticipantInvite.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActionParticipantInvite', 'participant' => ChannelParticipant]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActi ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantInvite={_='channelAdminLogEventActionParticipantInvite', participant=ChannelParticipant} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionParticipantJoin.md b/docs/API_docs/constructors/channelAdminLogEventActionParticipantJoin.md index 9f59031b..4c8ca622 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionParticipantJoin.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionParticipantJoin.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventActionParticipantJoin']; ``` @@ -27,10 +27,9 @@ $channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventAction ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantJoin={_='channelAdminLogEventActionParticipantJoin'} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionParticipantLeave.md b/docs/API_docs/constructors/channelAdminLogEventActionParticipantLeave.md index 03328132..dde98f82 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionParticipantLeave.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionParticipantLeave.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActionParticipantLeave']; ``` @@ -27,10 +27,9 @@ $channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantLeave={_='channelAdminLogEventActionParticipantLeave'} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleAdmin.md b/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleAdmin.md index b570076b..053db714 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleAdmin.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleAdmin.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEventActionParticipantToggleAdmin', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEven ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantToggleAdmin={_='channelAdminLogEventActionParticipantToggleAdmin', prev_participant=ChannelParticipant, new_participant=ChannelParticipant} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleBan.md b/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleBan.md index ef119daa..5321e678 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleBan.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleBan.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventActionParticipantToggleBan', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventA ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantToggleBan={_='channelAdminLogEventActionParticipantToggleBan', prev_participant=ChannelParticipant, new_participant=ChannelParticipant} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionToggleInvites.md b/docs/API_docs/constructors/channelAdminLogEventActionToggleInvites.md index 5a25a689..47ba2358 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionToggleInvites.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionToggleInvites.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionToggleInvites', 'new_value' => Bool]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionTo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionToggleInvites={_='channelAdminLogEventActionToggleInvites', new_value=Bool} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionTogglePreHistoryHidden.md b/docs/API_docs/constructors/channelAdminLogEventActionTogglePreHistoryHidden.md index c0b8bfce..95ed7b5b 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionTogglePreHistoryHidden.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionTogglePreHistoryHidden.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionTogglePreHistoryHidden = ['_' => 'channelAdminLogEventActionTogglePreHistoryHidden', 'new_value' => Bool]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionTogglePreHistoryHidden = ['_' => 'channelAdminLogEven ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionTogglePreHistoryHidden={_='channelAdminLogEventActionTogglePreHistoryHidden', new_value=Bool} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionToggleSignatures.md b/docs/API_docs/constructors/channelAdminLogEventActionToggleSignatures.md index e7119bb6..ad529669 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionToggleSignatures.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionToggleSignatures.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActionToggleSignatures', 'new_value' => Bool]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionToggleSignatures={_='channelAdminLogEventActionToggleSignatures', new_value=Bool} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventActionUpdatePinned.md b/docs/API_docs/constructors/channelAdminLogEventActionUpdatePinned.md index de066195..2facbac2 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionUpdatePinned.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionUpdatePinned.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpdatePinned', 'message' => Message]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionUpdatePinned={_='channelAdminLogEventActionUpdatePinned', message=Message} ``` diff --git a/docs/API_docs/constructors/channelAdminLogEventsFilter.md b/docs/API_docs/constructors/channelAdminLogEventsFilter.md index 04ece393..db2f4ee8 100644 --- a/docs/API_docs/constructors/channelAdminLogEventsFilter.md +++ b/docs/API_docs/constructors/channelAdminLogEventsFilter.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -45,10 +45,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/channelAdminRights.md b/docs/API_docs/constructors/channelAdminRights.md index 923fa5f3..b66616dc 100644 --- a/docs/API_docs/constructors/channelAdminRights.md +++ b/docs/API_docs/constructors/channelAdminRights.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -41,10 +41,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/channelBannedRights.md b/docs/API_docs/constructors/channelBannedRights.md index 13dde648..f2ae995f 100644 --- a/docs/API_docs/constructors/channelBannedRights.md +++ b/docs/API_docs/constructors/channelBannedRights.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -40,10 +40,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/channelForbidden.md b/docs/API_docs/constructors/channelForbidden.md index 00b4cbbe..0bccd01f 100644 --- a/docs/API_docs/constructors/channelForbidden.md +++ b/docs/API_docs/constructors/channelForbidden.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'until_date' => int]; ``` @@ -37,10 +37,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/channelFull.md b/docs/API_docs/constructors/channelFull.md index 90481c48..e9b2d979 100644 --- a/docs/API_docs/constructors/channelFull.md +++ b/docs/API_docs/constructors/channelFull.md @@ -42,7 +42,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, 'stickerset' => StickerSet, 'available_min_id' => int]; ``` @@ -53,10 +53,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/channelMessagesFilter.md b/docs/API_docs/constructors/channelMessagesFilter.md index b19d3151..1b953ba3 100644 --- a/docs/API_docs/constructors/channelMessagesFilter.md +++ b/docs/API_docs/constructors/channelMessagesFilter.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/docs/API_docs/constructors/channelMessagesFilterEmpty.md b/docs/API_docs/constructors/channelMessagesFilterEmpty.md index 350e50de..a446b896 100644 --- a/docs/API_docs/constructors/channelMessagesFilterEmpty.md +++ b/docs/API_docs/constructors/channelMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/docs/API_docs/constructors/channelParticipant.md b/docs/API_docs/constructors/channelParticipant.md index c7de5400..dbcb792b 100644 --- a/docs/API_docs/constructors/channelParticipant.md +++ b/docs/API_docs/constructors/channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/channelParticipantAdmin.md b/docs/API_docs/constructors/channelParticipantAdmin.md index 95ef84e9..73f4e2ab 100644 --- a/docs/API_docs/constructors/channelParticipantAdmin.md +++ b/docs/API_docs/constructors/channelParticipantAdmin.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantAdmin = ['_' => 'channelParticipantAdmin', 'can_edit' => Bool, 'user_id' => int, 'inviter_id' => int, 'promoted_by' => int, 'date' => int, 'admin_rights' => ChannelAdminRights]; ``` @@ -37,10 +37,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/channelParticipantBanned.md b/docs/API_docs/constructors/channelParticipantBanned.md index be3be304..171f76d9 100644 --- a/docs/API_docs/constructors/channelParticipantBanned.md +++ b/docs/API_docs/constructors/channelParticipantBanned.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantBanned = ['_' => 'channelParticipantBanned', 'left' => Bool, 'user_id' => int, 'kicked_by' => int, 'date' => int, 'banned_rights' => ChannelBannedRights]; ``` @@ -36,10 +36,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/channelParticipantCreator.md b/docs/API_docs/constructors/channelParticipantCreator.md index 86cafe0a..e999fb9c 100644 --- a/docs/API_docs/constructors/channelParticipantCreator.md +++ b/docs/API_docs/constructors/channelParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantCreator={_='channelParticipantCreator', user_id=int} ``` diff --git a/docs/API_docs/constructors/channelParticipantSelf.md b/docs/API_docs/constructors/channelParticipantSelf.md index 83864972..4b5949ac 100644 --- a/docs/API_docs/constructors/channelParticipantSelf.md +++ b/docs/API_docs/constructors/channelParticipantSelf.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/channelParticipantsAdmins.md b/docs/API_docs/constructors/channelParticipantsAdmins.md index c86cb9a4..4b0c30d4 100644 --- a/docs/API_docs/constructors/channelParticipantsAdmins.md +++ b/docs/API_docs/constructors/channelParticipantsAdmins.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` @@ -27,10 +27,9 @@ $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/docs/API_docs/constructors/channelParticipantsBanned.md b/docs/API_docs/constructors/channelParticipantsBanned.md index 75a86f75..7f956691 100644 --- a/docs/API_docs/constructors/channelParticipantsBanned.md +++ b/docs/API_docs/constructors/channelParticipantsBanned.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBanned={_='channelParticipantsBanned', q='string'} ``` diff --git a/docs/API_docs/constructors/channelParticipantsBots.md b/docs/API_docs/constructors/channelParticipantsBots.md index 30875f94..66e510c7 100644 --- a/docs/API_docs/constructors/channelParticipantsBots.md +++ b/docs/API_docs/constructors/channelParticipantsBots.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` @@ -27,10 +27,9 @@ $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/docs/API_docs/constructors/channelParticipantsKicked.md b/docs/API_docs/constructors/channelParticipantsKicked.md index fba5808a..7a985ca9 100644 --- a/docs/API_docs/constructors/channelParticipantsKicked.md +++ b/docs/API_docs/constructors/channelParticipantsKicked.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsKicked={_='channelParticipantsKicked', q='string'} ``` diff --git a/docs/API_docs/constructors/channelParticipantsRecent.md b/docs/API_docs/constructors/channelParticipantsRecent.md index e4cb6466..51e57069 100644 --- a/docs/API_docs/constructors/channelParticipantsRecent.md +++ b/docs/API_docs/constructors/channelParticipantsRecent.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` @@ -27,10 +27,9 @@ $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/docs/API_docs/constructors/channelParticipantsSearch.md b/docs/API_docs/constructors/channelParticipantsSearch.md index 727a7279..9e2d3e7f 100644 --- a/docs/API_docs/constructors/channelParticipantsSearch.md +++ b/docs/API_docs/constructors/channelParticipantsSearch.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsSearch={_='channelParticipantsSearch', q='string'} ``` diff --git a/docs/API_docs/constructors/channels_adminLogResults.md b/docs/API_docs/constructors/channels_adminLogResults.md index bd652b78..5a76ce73 100644 --- a/docs/API_docs/constructors/channels_adminLogResults.md +++ b/docs/API_docs/constructors/channels_adminLogResults.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/docs/API_docs/constructors/channels_channelParticipant.md b/docs/API_docs/constructors/channels_channelParticipant.md index bdf27b08..107502c5 100644 --- a/docs/API_docs/constructors/channels_channelParticipant.md +++ b/docs/API_docs/constructors/channels_channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/docs/API_docs/constructors/channels_channelParticipants.md b/docs/API_docs/constructors/channels_channelParticipants.md index 1b76b1e0..0402423f 100644 --- a/docs/API_docs/constructors/channels_channelParticipants.md +++ b/docs/API_docs/constructors/channels_channelParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/docs/API_docs/constructors/channels_channelParticipantsNotModified.md b/docs/API_docs/constructors/channels_channelParticipantsNotModified.md index f3794494..d476a9f6 100644 --- a/docs/API_docs/constructors/channels_channelParticipantsNotModified.md +++ b/docs/API_docs/constructors/channels_channelParticipantsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; ``` @@ -27,10 +27,9 @@ $channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipants ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} ``` diff --git a/docs/API_docs/constructors/chat.md b/docs/API_docs/constructors/chat.md index 5ae1811d..b6f24f3e 100644 --- a/docs/API_docs/constructors/chat.md +++ b/docs/API_docs/constructors/chat.md @@ -33,7 +33,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -44,10 +44,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/chatEmpty.md b/docs/API_docs/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/docs/API_docs/constructors/chatEmpty.md +++ b/docs/API_docs/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/docs/API_docs/constructors/chatForbidden.md b/docs/API_docs/constructors/chatForbidden.md index de5bb302..61c45660 100644 --- a/docs/API_docs/constructors/chatForbidden.md +++ b/docs/API_docs/constructors/chatForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/docs/API_docs/constructors/chatFull.md b/docs/API_docs/constructors/chatFull.md index ebb36ec1..387f958b 100644 --- a/docs/API_docs/constructors/chatFull.md +++ b/docs/API_docs/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/docs/API_docs/constructors/chatInvite.md b/docs/API_docs/constructors/chatInvite.md index c0f14de6..54027d67 100644 --- a/docs/API_docs/constructors/chatInvite.md +++ b/docs/API_docs/constructors/chatInvite.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User, User]]; ``` @@ -39,10 +39,9 @@ $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}} ``` diff --git a/docs/API_docs/constructors/chatInviteAlready.md b/docs/API_docs/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/docs/API_docs/constructors/chatInviteAlready.md +++ b/docs/API_docs/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/docs/API_docs/constructors/chatInviteEmpty.md b/docs/API_docs/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/docs/API_docs/constructors/chatInviteEmpty.md +++ b/docs/API_docs/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/docs/API_docs/constructors/chatInviteExported.md b/docs/API_docs/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/docs/API_docs/constructors/chatInviteExported.md +++ b/docs/API_docs/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/docs/API_docs/constructors/chatParticipant.md b/docs/API_docs/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/docs/API_docs/constructors/chatParticipant.md +++ b/docs/API_docs/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/chatParticipantAdmin.md b/docs/API_docs/constructors/chatParticipantAdmin.md index 62aee9a4..63a38575 100644 --- a/docs/API_docs/constructors/chatParticipantAdmin.md +++ b/docs/API_docs/constructors/chatParticipantAdmin.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/chatParticipantCreator.md b/docs/API_docs/constructors/chatParticipantCreator.md index 0fb7b6ef..75b9c4d4 100644 --- a/docs/API_docs/constructors/chatParticipantCreator.md +++ b/docs/API_docs/constructors/chatParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantCreator={_='chatParticipantCreator', user_id=int} ``` diff --git a/docs/API_docs/constructors/chatParticipants.md b/docs/API_docs/constructors/chatParticipants.md index 38af2ca5..ae254290 100644 --- a/docs/API_docs/constructors/chatParticipants.md +++ b/docs/API_docs/constructors/chatParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/chatParticipantsForbidden.md b/docs/API_docs/constructors/chatParticipantsForbidden.md index 2ecdfe10..639b30ee 100644 --- a/docs/API_docs/constructors/chatParticipantsForbidden.md +++ b/docs/API_docs/constructors/chatParticipantsForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/chatPhoto.md b/docs/API_docs/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/docs/API_docs/constructors/chatPhoto.md +++ b/docs/API_docs/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/chatPhotoEmpty.md b/docs/API_docs/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/docs/API_docs/constructors/chatPhotoEmpty.md +++ b/docs/API_docs/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/docs/API_docs/constructors/config.md b/docs/API_docs/constructors/config.md index 653fcf78..1ea00ddf 100644 --- a/docs/API_docs/constructors/config.md +++ b/docs/API_docs/constructors/config.md @@ -68,7 +68,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'default_p2p_contacts' => Bool, 'preload_featured_stickers' => Bool, 'ignore_phone_entities' => Bool, 'revoke_pm_inbox' => Bool, 'blocked_mode' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'dc_txt_domain_name' => 'string', 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'revoke_time_limit' => int, 'revoke_pm_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'stickers_faved_limit' => int, 'channels_read_media_period' => int, 'tmp_sessions' => int, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'me_url_prefix' => 'string', 'autoupdate_url_prefix' => 'string', 'gif_search_username' => 'string', 'venue_search_username' => 'string', 'img_search_username' => 'string', 'static_maps_provider' => 'string', 'caption_length_max' => int, 'message_length_max' => int, 'webfile_dc_id' => int, 'suggested_lang_code' => 'string', 'lang_pack_version' => int]; ``` @@ -79,10 +79,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/contact.md b/docs/API_docs/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/docs/API_docs/constructors/contact.md +++ b/docs/API_docs/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/contactBlocked.md b/docs/API_docs/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/docs/API_docs/constructors/contactBlocked.md +++ b/docs/API_docs/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/contactLinkContact.md b/docs/API_docs/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/docs/API_docs/constructors/contactLinkContact.md +++ b/docs/API_docs/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/docs/API_docs/constructors/contactLinkHasPhone.md b/docs/API_docs/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/docs/API_docs/constructors/contactLinkHasPhone.md +++ b/docs/API_docs/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/docs/API_docs/constructors/contactLinkNone.md b/docs/API_docs/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/docs/API_docs/constructors/contactLinkNone.md +++ b/docs/API_docs/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/docs/API_docs/constructors/contactLinkUnknown.md b/docs/API_docs/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/docs/API_docs/constructors/contactLinkUnknown.md +++ b/docs/API_docs/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/docs/API_docs/constructors/contactStatus.md b/docs/API_docs/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/docs/API_docs/constructors/contactStatus.md +++ b/docs/API_docs/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/docs/API_docs/constructors/contacts_blocked.md b/docs/API_docs/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/docs/API_docs/constructors/contacts_blocked.md +++ b/docs/API_docs/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/docs/API_docs/constructors/contacts_blockedSlice.md b/docs/API_docs/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/docs/API_docs/constructors/contacts_blockedSlice.md +++ b/docs/API_docs/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/docs/API_docs/constructors/contacts_contacts.md b/docs/API_docs/constructors/contacts_contacts.md index 542bf62b..7f923ef5 100644 --- a/docs/API_docs/constructors/contacts_contacts.md +++ b/docs/API_docs/constructors/contacts_contacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} ``` diff --git a/docs/API_docs/constructors/contacts_contactsNotModified.md b/docs/API_docs/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/docs/API_docs/constructors/contacts_contactsNotModified.md +++ b/docs/API_docs/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/docs/API_docs/constructors/contacts_found.md b/docs/API_docs/constructors/contacts_found.md index ea92e466..d26ba2cf 100644 --- a/docs/API_docs/constructors/contacts_found.md +++ b/docs/API_docs/constructors/contacts_found.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $contacts_found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'resul ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} ``` diff --git a/docs/API_docs/constructors/contacts_importedContacts.md b/docs/API_docs/constructors/contacts_importedContacts.md index fdc042d2..250deb52 100644 --- a/docs/API_docs/constructors/contacts_importedContacts.md +++ b/docs/API_docs/constructors/contacts_importedContacts.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} ``` diff --git a/docs/API_docs/constructors/contacts_link.md b/docs/API_docs/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/docs/API_docs/constructors/contacts_link.md +++ b/docs/API_docs/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/docs/API_docs/constructors/contacts_resolvedPeer.md b/docs/API_docs/constructors/contacts_resolvedPeer.md index add29235..4aa323dd 100644 --- a/docs/API_docs/constructors/contacts_resolvedPeer.md +++ b/docs/API_docs/constructors/contacts_resolvedPeer.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} ``` diff --git a/docs/API_docs/constructors/contacts_topPeers.md b/docs/API_docs/constructors/contacts_topPeers.md index 8777bff2..e4728594 100644 --- a/docs/API_docs/constructors/contacts_topPeers.md +++ b/docs/API_docs/constructors/contacts_topPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCatego ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} ``` diff --git a/docs/API_docs/constructors/contacts_topPeersDisabled.md b/docs/API_docs/constructors/contacts_topPeersDisabled.md index 51c22ad0..d01682f5 100644 --- a/docs/API_docs/constructors/contacts_topPeersDisabled.md +++ b/docs/API_docs/constructors/contacts_topPeersDisabled.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; ``` @@ -27,10 +27,9 @@ $contacts_topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeersDisabled={_='contacts.topPeersDisabled'} ``` diff --git a/docs/API_docs/constructors/contacts_topPeersNotModified.md b/docs/API_docs/constructors/contacts_topPeersNotModified.md index 3aa2236a..7ec0114a 100644 --- a/docs/API_docs/constructors/contacts_topPeersNotModified.md +++ b/docs/API_docs/constructors/contacts_topPeersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeersNotModified={_='contacts.topPeersNotModified'} ``` diff --git a/docs/API_docs/constructors/dataJSON.md b/docs/API_docs/constructors/dataJSON.md index c49ec0c0..a6555aea 100644 --- a/docs/API_docs/constructors/dataJSON.md +++ b/docs/API_docs/constructors/dataJSON.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` @@ -32,10 +32,9 @@ $dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dataJSON={_='dataJSON', data='string'} ``` diff --git a/docs/API_docs/constructors/dcOption.md b/docs/API_docs/constructors/dcOption.md index 0211c601..9bcdca67 100644 --- a/docs/API_docs/constructors/dcOption.md +++ b/docs/API_docs/constructors/dcOption.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'cdn' => Bool, 'static' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int, 'secret' => 'bytes']; ``` @@ -40,10 +40,9 @@ $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, cdn=Bool, static=Bool, id=int, ip_address='string', port=int, secret='bytes'} ``` diff --git a/docs/API_docs/constructors/decryptedDataBlock.md b/docs/API_docs/constructors/decryptedDataBlock.md index 53507a80..7e603ded 100644 --- a/docs/API_docs/constructors/decryptedDataBlock.md +++ b/docs/API_docs/constructors/decryptedDataBlock.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedDataBlock = ['_' => 'decryptedDataBlock', 'voice_call_id' => int128, 'in_seq_no' => int, 'out_seq_no' => int, 'recent_received_mask' => int, 'proto' => int, 'extra' => 'string', 'raw_data' => 'string']; ``` @@ -38,10 +38,9 @@ $decryptedDataBlock = ['_' => 'decryptedDataBlock', 'voice_call_id' => int128, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedDataBlock={_='decryptedDataBlock', voice_call_id=int128, in_seq_no=int, out_seq_no=int, recent_received_mask=int, proto=int, extra='string', raw_data='string'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageActionAbortKey_20.md b/docs/API_docs/constructors/decryptedMessageActionAbortKey_20.md index cfb34699..b6639b0b 100644 --- a/docs/API_docs/constructors/decryptedMessageActionAbortKey_20.md +++ b/docs/API_docs/constructors/decryptedMessageActionAbortKey_20.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageActionAbortKey_20 = ['_' => 'decryptedMessageActionAbortKey', 'exchange_id' => long]; ``` @@ -32,10 +32,9 @@ $decryptedMessageActionAbortKey_20 = ['_' => 'decryptedMessageActionAbortKey', ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageActionAbortKey_20={_='decryptedMessageActionAbortKey', exchange_id=long} ``` diff --git a/docs/API_docs/constructors/decryptedMessageActionAcceptKey_20.md b/docs/API_docs/constructors/decryptedMessageActionAcceptKey_20.md index eddb83d0..da1c211b 100644 --- a/docs/API_docs/constructors/decryptedMessageActionAcceptKey_20.md +++ b/docs/API_docs/constructors/decryptedMessageActionAcceptKey_20.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageActionAcceptKey_20 = ['_' => 'decryptedMessageActionAcceptKey', 'exchange_id' => long, 'g_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -34,10 +34,9 @@ $decryptedMessageActionAcceptKey_20 = ['_' => 'decryptedMessageActionAcceptKey', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageActionAcceptKey_20={_='decryptedMessageActionAcceptKey', exchange_id=long, g_b='bytes', key_fingerprint=long} ``` diff --git a/docs/API_docs/constructors/decryptedMessageActionCommitKey_20.md b/docs/API_docs/constructors/decryptedMessageActionCommitKey_20.md index 3a63a4ec..b82dded0 100644 --- a/docs/API_docs/constructors/decryptedMessageActionCommitKey_20.md +++ b/docs/API_docs/constructors/decryptedMessageActionCommitKey_20.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageActionCommitKey_20 = ['_' => 'decryptedMessageActionCommitKey', 'exchange_id' => long, 'key_fingerprint' => long]; ``` @@ -33,10 +33,9 @@ $decryptedMessageActionCommitKey_20 = ['_' => 'decryptedMessageActionCommitKey', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageActionCommitKey_20={_='decryptedMessageActionCommitKey', exchange_id=long, key_fingerprint=long} ``` diff --git a/docs/API_docs/constructors/decryptedMessageActionDeleteMessages_8.md b/docs/API_docs/constructors/decryptedMessageActionDeleteMessages_8.md index f5ee755c..34a45697 100644 --- a/docs/API_docs/constructors/decryptedMessageActionDeleteMessages_8.md +++ b/docs/API_docs/constructors/decryptedMessageActionDeleteMessages_8.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageActionDeleteMessages_8 = ['_' => 'decryptedMessageActionDeleteMessages', 'random_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $decryptedMessageActionDeleteMessages_8 = ['_' => 'decryptedMessageActionDeleteM ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageActionDeleteMessages_8={_='decryptedMessageActionDeleteMessages', random_ids={long}} ``` diff --git a/docs/API_docs/constructors/decryptedMessageActionFlushHistory_8.md b/docs/API_docs/constructors/decryptedMessageActionFlushHistory_8.md index 1de60b2f..c03af34d 100644 --- a/docs/API_docs/constructors/decryptedMessageActionFlushHistory_8.md +++ b/docs/API_docs/constructors/decryptedMessageActionFlushHistory_8.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageActionFlushHistory_8 = ['_' => 'decryptedMessageActionFlushHistory']; ``` @@ -27,10 +27,9 @@ $decryptedMessageActionFlushHistory_8 = ['_' => 'decryptedMessageActionFlushHist ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageActionFlushHistory_8={_='decryptedMessageActionFlushHistory'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageActionNoop_20.md b/docs/API_docs/constructors/decryptedMessageActionNoop_20.md index 907dc123..8494a65d 100644 --- a/docs/API_docs/constructors/decryptedMessageActionNoop_20.md +++ b/docs/API_docs/constructors/decryptedMessageActionNoop_20.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageActionNoop_20 = ['_' => 'decryptedMessageActionNoop']; ``` @@ -27,10 +27,9 @@ $decryptedMessageActionNoop_20 = ['_' => 'decryptedMessageActionNoop']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageActionNoop_20={_='decryptedMessageActionNoop'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageActionNotifyLayer_17.md b/docs/API_docs/constructors/decryptedMessageActionNotifyLayer_17.md index 01debf55..4595f958 100644 --- a/docs/API_docs/constructors/decryptedMessageActionNotifyLayer_17.md +++ b/docs/API_docs/constructors/decryptedMessageActionNotifyLayer_17.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageActionNotifyLayer_17 = ['_' => 'decryptedMessageActionNotifyLayer', 'layer' => int]; ``` @@ -32,10 +32,9 @@ $decryptedMessageActionNotifyLayer_17 = ['_' => 'decryptedMessageActionNotifyLay ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageActionNotifyLayer_17={_='decryptedMessageActionNotifyLayer', layer=int} ``` diff --git a/docs/API_docs/constructors/decryptedMessageActionReadMessages_8.md b/docs/API_docs/constructors/decryptedMessageActionReadMessages_8.md index d7607930..7475d8fd 100644 --- a/docs/API_docs/constructors/decryptedMessageActionReadMessages_8.md +++ b/docs/API_docs/constructors/decryptedMessageActionReadMessages_8.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageActionReadMessages_8 = ['_' => 'decryptedMessageActionReadMessages', 'random_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $decryptedMessageActionReadMessages_8 = ['_' => 'decryptedMessageActionReadMessa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageActionReadMessages_8={_='decryptedMessageActionReadMessages', random_ids={long}} ``` diff --git a/docs/API_docs/constructors/decryptedMessageActionRequestKey_20.md b/docs/API_docs/constructors/decryptedMessageActionRequestKey_20.md index 02713667..7fdbb2c6 100644 --- a/docs/API_docs/constructors/decryptedMessageActionRequestKey_20.md +++ b/docs/API_docs/constructors/decryptedMessageActionRequestKey_20.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageActionRequestKey_20 = ['_' => 'decryptedMessageActionRequestKey', 'exchange_id' => long, 'g_a' => 'bytes']; ``` @@ -33,10 +33,9 @@ $decryptedMessageActionRequestKey_20 = ['_' => 'decryptedMessageActionRequestKey ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageActionRequestKey_20={_='decryptedMessageActionRequestKey', exchange_id=long, g_a='bytes'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageActionResend_17.md b/docs/API_docs/constructors/decryptedMessageActionResend_17.md index b01b91e0..35d23b9c 100644 --- a/docs/API_docs/constructors/decryptedMessageActionResend_17.md +++ b/docs/API_docs/constructors/decryptedMessageActionResend_17.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageActionResend_17 = ['_' => 'decryptedMessageActionResend', 'start_seq_no' => int, 'end_seq_no' => int]; ``` @@ -33,10 +33,9 @@ $decryptedMessageActionResend_17 = ['_' => 'decryptedMessageActionResend', 'star ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageActionResend_17={_='decryptedMessageActionResend', start_seq_no=int, end_seq_no=int} ``` diff --git a/docs/API_docs/constructors/decryptedMessageActionScreenshotMessages_8.md b/docs/API_docs/constructors/decryptedMessageActionScreenshotMessages_8.md index a6d18e46..4c340bb1 100644 --- a/docs/API_docs/constructors/decryptedMessageActionScreenshotMessages_8.md +++ b/docs/API_docs/constructors/decryptedMessageActionScreenshotMessages_8.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageActionScreenshotMessages_8 = ['_' => 'decryptedMessageActionScreenshotMessages', 'random_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $decryptedMessageActionScreenshotMessages_8 = ['_' => 'decryptedMessageActionScr ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageActionScreenshotMessages_8={_='decryptedMessageActionScreenshotMessages', random_ids={long}} ``` diff --git a/docs/API_docs/constructors/decryptedMessageActionSetMessageTTL_8.md b/docs/API_docs/constructors/decryptedMessageActionSetMessageTTL_8.md index 0c7f6ebf..cbfca2c7 100644 --- a/docs/API_docs/constructors/decryptedMessageActionSetMessageTTL_8.md +++ b/docs/API_docs/constructors/decryptedMessageActionSetMessageTTL_8.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageActionSetMessageTTL_8 = ['_' => 'decryptedMessageActionSetMessageTTL', 'ttl_seconds' => int]; ``` @@ -32,10 +32,9 @@ $decryptedMessageActionSetMessageTTL_8 = ['_' => 'decryptedMessageActionSetMessa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageActionSetMessageTTL_8={_='decryptedMessageActionSetMessageTTL', ttl_seconds=int} ``` diff --git a/docs/API_docs/constructors/decryptedMessageActionTyping_17.md b/docs/API_docs/constructors/decryptedMessageActionTyping_17.md index 3bdd4dd1..f938e7f4 100644 --- a/docs/API_docs/constructors/decryptedMessageActionTyping_17.md +++ b/docs/API_docs/constructors/decryptedMessageActionTyping_17.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageActionTyping_17 = ['_' => 'decryptedMessageActionTyping', 'action' => SendMessageAction]; ``` @@ -32,10 +32,9 @@ $decryptedMessageActionTyping_17 = ['_' => 'decryptedMessageActionTyping', 'acti ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageActionTyping_17={_='decryptedMessageActionTyping', action=SendMessageAction} ``` diff --git a/docs/API_docs/constructors/decryptedMessageLayer_17.md b/docs/API_docs/constructors/decryptedMessageLayer_17.md index e9e4480b..8bb278d8 100644 --- a/docs/API_docs/constructors/decryptedMessageLayer_17.md +++ b/docs/API_docs/constructors/decryptedMessageLayer_17.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageLayer_17 = ['_' => 'decryptedMessageLayer', 'layer' => int, 'in_seq_no' => int, 'out_seq_no' => int, 'message' => DecryptedMessage]; ``` @@ -35,10 +35,9 @@ $decryptedMessageLayer_17 = ['_' => 'decryptedMessageLayer', 'layer' => int, 'in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageLayer_17={_='decryptedMessageLayer', layer=int, in_seq_no=int, out_seq_no=int, message=DecryptedMessage} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaAudio_17.md b/docs/API_docs/constructors/decryptedMessageMediaAudio_17.md index 686cc4e8..281a07e7 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaAudio_17.md +++ b/docs/API_docs/constructors/decryptedMessageMediaAudio_17.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageMediaAudio_17 = ['_' => 'decryptedMessageMediaAudio', 'duration' => int, 'mime_type' => 'string', 'size' => int]; ``` @@ -34,10 +34,9 @@ $decryptedMessageMediaAudio_17 = ['_' => 'decryptedMessageMediaAudio', 'duration ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageMediaAudio_17={_='decryptedMessageMediaAudio', duration=int, mime_type='string', size=int} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaAudio_8.md b/docs/API_docs/constructors/decryptedMessageMediaAudio_8.md index 2b27fed4..4fd8cc8b 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaAudio_8.md +++ b/docs/API_docs/constructors/decryptedMessageMediaAudio_8.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageMediaAudio_8 = ['_' => 'decryptedMessageMediaAudio', 'duration' => int, 'size' => int]; ``` @@ -33,10 +33,9 @@ $decryptedMessageMediaAudio_8 = ['_' => 'decryptedMessageMediaAudio', 'duration' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageMediaAudio_8={_='decryptedMessageMediaAudio', duration=int, size=int} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaContact_8.md b/docs/API_docs/constructors/decryptedMessageMediaContact_8.md index ebc8c738..abfbd26c 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaContact_8.md +++ b/docs/API_docs/constructors/decryptedMessageMediaContact_8.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageMediaContact_8 = ['_' => 'decryptedMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $decryptedMessageMediaContact_8 = ['_' => 'decryptedMessageMediaContact', 'phone ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageMediaContact_8={_='decryptedMessageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaDocument_45.md b/docs/API_docs/constructors/decryptedMessageMediaDocument_45.md index a33a2641..23b5e2c7 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaDocument_45.md +++ b/docs/API_docs/constructors/decryptedMessageMediaDocument_45.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageMediaDocument_45 = ['_' => 'decryptedMessageMediaDocument', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'mime_type' => 'string', 'size' => int, 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string']; ``` @@ -38,10 +38,9 @@ $decryptedMessageMediaDocument_45 = ['_' => 'decryptedMessageMediaDocument', 'th ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageMediaDocument_45={_='decryptedMessageMediaDocument', thumb='bytes', thumb_w=int, thumb_h=int, mime_type='string', size=int, attributes={DocumentAttribute}, caption='string'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaDocument_8.md b/docs/API_docs/constructors/decryptedMessageMediaDocument_8.md index 292b7f8b..4156a2c7 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaDocument_8.md +++ b/docs/API_docs/constructors/decryptedMessageMediaDocument_8.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageMediaDocument_8 = ['_' => 'decryptedMessageMediaDocument', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'file_name' => 'string', 'mime_type' => 'string', 'size' => int]; ``` @@ -37,10 +37,9 @@ $decryptedMessageMediaDocument_8 = ['_' => 'decryptedMessageMediaDocument', 'thu ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageMediaDocument_8={_='decryptedMessageMediaDocument', thumb='bytes', thumb_w=int, thumb_h=int, file_name='string', mime_type='string', size=int} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaEmpty_8.md b/docs/API_docs/constructors/decryptedMessageMediaEmpty_8.md index 000492c4..f51505d3 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaEmpty_8.md +++ b/docs/API_docs/constructors/decryptedMessageMediaEmpty_8.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageMediaEmpty_8 = ['_' => 'decryptedMessageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $decryptedMessageMediaEmpty_8 = ['_' => 'decryptedMessageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageMediaEmpty_8={_='decryptedMessageMediaEmpty'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaExternalDocument_23.md b/docs/API_docs/constructors/decryptedMessageMediaExternalDocument_23.md index eaf76593..12aedbac 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaExternalDocument_23.md +++ b/docs/API_docs/constructors/decryptedMessageMediaExternalDocument_23.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageMediaExternalDocument_23 = ['_' => 'decryptedMessageMediaExternalDocument', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -39,10 +39,9 @@ $decryptedMessageMediaExternalDocument_23 = ['_' => 'decryptedMessageMediaExtern ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageMediaExternalDocument_23={_='decryptedMessageMediaExternalDocument', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaGeoPoint_8.md b/docs/API_docs/constructors/decryptedMessageMediaGeoPoint_8.md index dcb90777..04a81f02 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaGeoPoint_8.md +++ b/docs/API_docs/constructors/decryptedMessageMediaGeoPoint_8.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageMediaGeoPoint_8 = ['_' => 'decryptedMessageMediaGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $decryptedMessageMediaGeoPoint_8 = ['_' => 'decryptedMessageMediaGeoPoint', 'lat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageMediaGeoPoint_8={_='decryptedMessageMediaGeoPoint', lat=double, long=double} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaPhoto_45.md b/docs/API_docs/constructors/decryptedMessageMediaPhoto_45.md index 7ad6719e..89a370ee 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaPhoto_45.md +++ b/docs/API_docs/constructors/decryptedMessageMediaPhoto_45.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageMediaPhoto_45 = ['_' => 'decryptedMessageMediaPhoto', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'w' => int, 'h' => int, 'size' => int, 'caption' => 'string']; ``` @@ -38,10 +38,9 @@ $decryptedMessageMediaPhoto_45 = ['_' => 'decryptedMessageMediaPhoto', 'thumb' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageMediaPhoto_45={_='decryptedMessageMediaPhoto', thumb='bytes', thumb_w=int, thumb_h=int, w=int, h=int, size=int, caption='string'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaPhoto_8.md b/docs/API_docs/constructors/decryptedMessageMediaPhoto_8.md index 5d2dc7aa..bbe9220a 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaPhoto_8.md +++ b/docs/API_docs/constructors/decryptedMessageMediaPhoto_8.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageMediaPhoto_8 = ['_' => 'decryptedMessageMediaPhoto', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -37,10 +37,9 @@ $decryptedMessageMediaPhoto_8 = ['_' => 'decryptedMessageMediaPhoto', 'thumb' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageMediaPhoto_8={_='decryptedMessageMediaPhoto', thumb='bytes', thumb_w=int, thumb_h=int, w=int, h=int, size=int} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaVenue_46.md b/docs/API_docs/constructors/decryptedMessageMediaVenue_46.md index 575ffb85..e8489990 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaVenue_46.md +++ b/docs/API_docs/constructors/decryptedMessageMediaVenue_46.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageMediaVenue_46 = ['_' => 'decryptedMessageMediaVenue', 'lat' => double, 'long' => double, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -37,10 +37,9 @@ $decryptedMessageMediaVenue_46 = ['_' => 'decryptedMessageMediaVenue', 'lat' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageMediaVenue_46={_='decryptedMessageMediaVenue', lat=double, long=double, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaVideo_17.md b/docs/API_docs/constructors/decryptedMessageMediaVideo_17.md index c9e460f2..6e815752 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaVideo_17.md +++ b/docs/API_docs/constructors/decryptedMessageMediaVideo_17.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageMediaVideo_17 = ['_' => 'decryptedMessageMediaVideo', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'duration' => int, 'mime_type' => 'string', 'w' => int, 'h' => int, 'size' => int]; ``` @@ -39,10 +39,9 @@ $decryptedMessageMediaVideo_17 = ['_' => 'decryptedMessageMediaVideo', 'thumb' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageMediaVideo_17={_='decryptedMessageMediaVideo', thumb='bytes', thumb_w=int, thumb_h=int, duration=int, mime_type='string', w=int, h=int, size=int} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaVideo_45.md b/docs/API_docs/constructors/decryptedMessageMediaVideo_45.md index eb1f3f8c..3a69cc27 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaVideo_45.md +++ b/docs/API_docs/constructors/decryptedMessageMediaVideo_45.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageMediaVideo_45 = ['_' => 'decryptedMessageMediaVideo', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'duration' => int, 'mime_type' => 'string', 'w' => int, 'h' => int, 'size' => int, 'caption' => 'string']; ``` @@ -40,10 +40,9 @@ $decryptedMessageMediaVideo_45 = ['_' => 'decryptedMessageMediaVideo', 'thumb' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageMediaVideo_45={_='decryptedMessageMediaVideo', thumb='bytes', thumb_w=int, thumb_h=int, duration=int, mime_type='string', w=int, h=int, size=int, caption='string'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaVideo_8.md b/docs/API_docs/constructors/decryptedMessageMediaVideo_8.md index cf23d279..534da018 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaVideo_8.md +++ b/docs/API_docs/constructors/decryptedMessageMediaVideo_8.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageMediaVideo_8 = ['_' => 'decryptedMessageMediaVideo', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'duration' => int, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -38,10 +38,9 @@ $decryptedMessageMediaVideo_8 = ['_' => 'decryptedMessageMediaVideo', 'thumb' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageMediaVideo_8={_='decryptedMessageMediaVideo', thumb='bytes', thumb_w=int, thumb_h=int, duration=int, w=int, h=int, size=int} ``` diff --git a/docs/API_docs/constructors/decryptedMessageMediaWebPage_46.md b/docs/API_docs/constructors/decryptedMessageMediaWebPage_46.md index d752be5d..cee6be19 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaWebPage_46.md +++ b/docs/API_docs/constructors/decryptedMessageMediaWebPage_46.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageMediaWebPage_46 = ['_' => 'decryptedMessageMediaWebPage', 'url' => 'string']; ``` @@ -32,10 +32,9 @@ $decryptedMessageMediaWebPage_46 = ['_' => 'decryptedMessageMediaWebPage', 'url' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageMediaWebPage_46={_='decryptedMessageMediaWebPage', url='string'} ``` diff --git a/docs/API_docs/constructors/decryptedMessageService_17.md b/docs/API_docs/constructors/decryptedMessageService_17.md index 9bbaa76c..280a9c0a 100644 --- a/docs/API_docs/constructors/decryptedMessageService_17.md +++ b/docs/API_docs/constructors/decryptedMessageService_17.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageService_17 = ['_' => 'decryptedMessageService', 'action' => DecryptedMessageAction]; ``` @@ -32,10 +32,9 @@ $decryptedMessageService_17 = ['_' => 'decryptedMessageService', 'action' => Dec ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageService_17={_='decryptedMessageService', action=DecryptedMessageAction} ``` diff --git a/docs/API_docs/constructors/decryptedMessageService_8.md b/docs/API_docs/constructors/decryptedMessageService_8.md index 8dbe3eae..6c53985d 100644 --- a/docs/API_docs/constructors/decryptedMessageService_8.md +++ b/docs/API_docs/constructors/decryptedMessageService_8.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessageService_8 = ['_' => 'decryptedMessageService', 'action' => DecryptedMessageAction]; ``` @@ -32,10 +32,9 @@ $decryptedMessageService_8 = ['_' => 'decryptedMessageService', 'action' => Decr ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessageService_8={_='decryptedMessageService', action=DecryptedMessageAction} ``` diff --git a/docs/API_docs/constructors/decryptedMessage_17.md b/docs/API_docs/constructors/decryptedMessage_17.md index 9e47cade..e9868be7 100644 --- a/docs/API_docs/constructors/decryptedMessage_17.md +++ b/docs/API_docs/constructors/decryptedMessage_17.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessage_17 = ['_' => 'decryptedMessage', 'ttl' => int, 'message' => 'string', 'media' => DecryptedMessageMedia]; ``` @@ -34,10 +34,9 @@ $decryptedMessage_17 = ['_' => 'decryptedMessage', 'ttl' => int, 'message' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessage_17={_='decryptedMessage', ttl=int, message='string', media=DecryptedMessageMedia} ``` diff --git a/docs/API_docs/constructors/decryptedMessage_45.md b/docs/API_docs/constructors/decryptedMessage_45.md index f3905f7c..31aea844 100644 --- a/docs/API_docs/constructors/decryptedMessage_45.md +++ b/docs/API_docs/constructors/decryptedMessage_45.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessage_45 = ['_' => 'decryptedMessage', 'ttl' => int, 'message' => 'string', 'media' => DecryptedMessageMedia, 'entities' => [MessageEntity, MessageEntity], 'via_bot_name' => 'string', 'reply_to_random_id' => long]; ``` @@ -37,10 +37,9 @@ $decryptedMessage_45 = ['_' => 'decryptedMessage', 'ttl' => int, 'message' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessage_45={_='decryptedMessage', ttl=int, message='string', media=DecryptedMessageMedia, entities={MessageEntity}, via_bot_name='string', reply_to_random_id=long} ``` diff --git a/docs/API_docs/constructors/decryptedMessage_73.md b/docs/API_docs/constructors/decryptedMessage_73.md index 3f5ba84b..8f204fa1 100644 --- a/docs/API_docs/constructors/decryptedMessage_73.md +++ b/docs/API_docs/constructors/decryptedMessage_73.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessage_73 = ['_' => 'decryptedMessage', 'ttl' => int, 'message' => 'string', 'media' => DecryptedMessageMedia, 'entities' => [MessageEntity, MessageEntity], 'via_bot_name' => 'string', 'reply_to_random_id' => long, 'grouped_id' => long]; ``` @@ -38,10 +38,9 @@ $decryptedMessage_73 = ['_' => 'decryptedMessage', 'ttl' => int, 'message' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessage_73={_='decryptedMessage', ttl=int, message='string', media=DecryptedMessageMedia, entities={MessageEntity}, via_bot_name='string', reply_to_random_id=long, grouped_id=long} ``` diff --git a/docs/API_docs/constructors/decryptedMessage_8.md b/docs/API_docs/constructors/decryptedMessage_8.md index 195fc9ec..29d886b2 100644 --- a/docs/API_docs/constructors/decryptedMessage_8.md +++ b/docs/API_docs/constructors/decryptedMessage_8.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $decryptedMessage_8 = ['_' => 'decryptedMessage', 'message' => 'string', 'media' => DecryptedMessageMedia]; ``` @@ -33,10 +33,9 @@ $decryptedMessage_8 = ['_' => 'decryptedMessage', 'message' => 'string', 'media' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua decryptedMessage_8={_='decryptedMessage', message='string', media=DecryptedMessageMedia} ``` diff --git a/docs/API_docs/constructors/dialog.md b/docs/API_docs/constructors/dialog.md index 00e2065a..4cac21c3 100644 --- a/docs/API_docs/constructors/dialog.md +++ b/docs/API_docs/constructors/dialog.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'pinned' => Bool, 'unread_mark' => Bool, 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage]; ``` @@ -42,10 +42,9 @@ $dialog = ['_' => 'dialog', 'pinned' => Bool, 'unread_mark' => Bool, 'peer' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', pinned=Bool, unread_mark=Bool, peer=Peer, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, notify_settings=PeerNotifySettings, pts=int, draft=DraftMessage} ``` diff --git a/docs/API_docs/constructors/dialogPeer.md b/docs/API_docs/constructors/dialogPeer.md index e137e9c8..3b32a755 100644 --- a/docs/API_docs/constructors/dialogPeer.md +++ b/docs/API_docs/constructors/dialogPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialogPeer = ['_' => 'dialogPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $dialogPeer = ['_' => 'dialogPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialogPeer={_='dialogPeer', peer=Peer} ``` diff --git a/docs/API_docs/constructors/document.md b/docs/API_docs/constructors/document.md index 1a0f1fc1..58c44a23 100644 --- a/docs/API_docs/constructors/document.md +++ b/docs/API_docs/constructors/document.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -40,10 +40,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, version=int, attributes={DocumentAttribute}} ``` diff --git a/docs/API_docs/constructors/documentAttributeAnimated.md b/docs/API_docs/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/docs/API_docs/constructors/documentAttributeAnimated.md +++ b/docs/API_docs/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/docs/API_docs/constructors/documentAttributeAudio.md b/docs/API_docs/constructors/documentAttributeAudio.md index 0dc5decc..f427a05c 100644 --- a/docs/API_docs/constructors/documentAttributeAudio.md +++ b/docs/API_docs/constructors/documentAttributeAudio.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` @@ -36,10 +36,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'du ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title='string', performer='string', waveform='bytes'} ``` diff --git a/docs/API_docs/constructors/documentAttributeAudio_23.md b/docs/API_docs/constructors/documentAttributeAudio_23.md index 88ab9b86..c79f5c3a 100644 --- a/docs/API_docs/constructors/documentAttributeAudio_23.md +++ b/docs/API_docs/constructors/documentAttributeAudio_23.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio_23 = ['_' => 'documentAttributeAudio', 'duration' => int]; ``` @@ -32,10 +32,9 @@ $documentAttributeAudio_23 = ['_' => 'documentAttributeAudio', 'duration' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio_23={_='documentAttributeAudio', duration=int} ``` diff --git a/docs/API_docs/constructors/documentAttributeAudio_46.md b/docs/API_docs/constructors/documentAttributeAudio_46.md index 59c681c4..c0086e26 100644 --- a/docs/API_docs/constructors/documentAttributeAudio_46.md +++ b/docs/API_docs/constructors/documentAttributeAudio_46.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio_46 = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => 'string', 'performer' => 'string']; ``` @@ -34,10 +34,9 @@ $documentAttributeAudio_46 = ['_' => 'documentAttributeAudio', 'duration' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio_46={_='documentAttributeAudio', duration=int, title='string', performer='string'} ``` diff --git a/docs/API_docs/constructors/documentAttributeFilename.md b/docs/API_docs/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/docs/API_docs/constructors/documentAttributeFilename.md +++ b/docs/API_docs/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/docs/API_docs/constructors/documentAttributeHasStickers.md b/docs/API_docs/constructors/documentAttributeHasStickers.md index fff783df..90c58e35 100644 --- a/docs/API_docs/constructors/documentAttributeHasStickers.md +++ b/docs/API_docs/constructors/documentAttributeHasStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` @@ -27,10 +27,9 @@ $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeHasStickers={_='documentAttributeHasStickers'} ``` diff --git a/docs/API_docs/constructors/documentAttributeImageSize.md b/docs/API_docs/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/docs/API_docs/constructors/documentAttributeImageSize.md +++ b/docs/API_docs/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/docs/API_docs/constructors/documentAttributeSticker.md b/docs/API_docs/constructors/documentAttributeSticker.md index ba5243fb..b200f7f0 100644 --- a/docs/API_docs/constructors/documentAttributeSticker.md +++ b/docs/API_docs/constructors/documentAttributeSticker.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => 'string', 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords]; ``` @@ -35,10 +35,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', mask=Bool, alt='string', stickerset=InputStickerSet, mask_coords=MaskCoords} ``` diff --git a/docs/API_docs/constructors/documentAttributeSticker_23.md b/docs/API_docs/constructors/documentAttributeSticker_23.md index d6c49289..a08abedb 100644 --- a/docs/API_docs/constructors/documentAttributeSticker_23.md +++ b/docs/API_docs/constructors/documentAttributeSticker_23.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker_23 = ['_' => 'documentAttributeSticker']; ``` @@ -27,10 +27,9 @@ $documentAttributeSticker_23 = ['_' => 'documentAttributeSticker']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker_23={_='documentAttributeSticker'} ``` diff --git a/docs/API_docs/constructors/documentAttributeSticker_55.md b/docs/API_docs/constructors/documentAttributeSticker_55.md index 66ed5e40..c994d6b9 100644 --- a/docs/API_docs/constructors/documentAttributeSticker_55.md +++ b/docs/API_docs/constructors/documentAttributeSticker_55.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker_55 = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` @@ -33,10 +33,9 @@ $documentAttributeSticker_55 = ['_' => 'documentAttributeSticker', 'alt' => 'str ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker_55={_='documentAttributeSticker', alt='string', stickerset=InputStickerSet} ``` diff --git a/docs/API_docs/constructors/documentAttributeVideo.md b/docs/API_docs/constructors/documentAttributeVideo.md index 85de0043..98454c67 100644 --- a/docs/API_docs/constructors/documentAttributeVideo.md +++ b/docs/API_docs/constructors/documentAttributeVideo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'supports_streaming' => Bool, 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -36,10 +36,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', round_message=Bool, supports_streaming=Bool, duration=int, w=int, h=int} ``` diff --git a/docs/API_docs/constructors/documentAttributeVideo_23.md b/docs/API_docs/constructors/documentAttributeVideo_23.md index ee72e1b7..ae2dc2fc 100644 --- a/docs/API_docs/constructors/documentAttributeVideo_23.md +++ b/docs/API_docs/constructors/documentAttributeVideo_23.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo_23 = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -34,10 +34,9 @@ $documentAttributeVideo_23 = ['_' => 'documentAttributeVideo', 'duration' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo_23={_='documentAttributeVideo', duration=int, w=int, h=int} ``` diff --git a/docs/API_docs/constructors/documentEmpty.md b/docs/API_docs/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/docs/API_docs/constructors/documentEmpty.md +++ b/docs/API_docs/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/docs/API_docs/constructors/draftMessage.md b/docs/API_docs/constructors/draftMessage.md index 370ffaef..ecec69a1 100644 --- a/docs/API_docs/constructors/draftMessage.md +++ b/docs/API_docs/constructors/draftMessage.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'date' => int]; ``` @@ -36,10 +36,9 @@ $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message='string', entities={MessageEntity}, date=int} ``` diff --git a/docs/API_docs/constructors/draftMessageEmpty.md b/docs/API_docs/constructors/draftMessageEmpty.md index a4136812..b1bf424a 100644 --- a/docs/API_docs/constructors/draftMessageEmpty.md +++ b/docs/API_docs/constructors/draftMessageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessageEmpty = ['_' => 'draftMessageEmpty', 'date' => int]; ``` @@ -32,10 +32,9 @@ $draftMessageEmpty = ['_' => 'draftMessageEmpty', 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessageEmpty={_='draftMessageEmpty', date=int} ``` diff --git a/docs/API_docs/constructors/encryptedChat.md b/docs/API_docs/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/docs/API_docs/constructors/encryptedChat.md +++ b/docs/API_docs/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/docs/API_docs/constructors/encryptedChatDiscarded.md b/docs/API_docs/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/docs/API_docs/constructors/encryptedChatDiscarded.md +++ b/docs/API_docs/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/docs/API_docs/constructors/encryptedChatEmpty.md b/docs/API_docs/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/docs/API_docs/constructors/encryptedChatEmpty.md +++ b/docs/API_docs/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/docs/API_docs/constructors/encryptedChatRequested.md b/docs/API_docs/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/docs/API_docs/constructors/encryptedChatRequested.md +++ b/docs/API_docs/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/docs/API_docs/constructors/encryptedChatWaiting.md b/docs/API_docs/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/docs/API_docs/constructors/encryptedChatWaiting.md +++ b/docs/API_docs/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/docs/API_docs/constructors/encryptedFile.md b/docs/API_docs/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/docs/API_docs/constructors/encryptedFile.md +++ b/docs/API_docs/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/docs/API_docs/constructors/encryptedFileEmpty.md b/docs/API_docs/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/docs/API_docs/constructors/encryptedFileEmpty.md +++ b/docs/API_docs/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/docs/API_docs/constructors/encryptedMessage.md b/docs/API_docs/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/docs/API_docs/constructors/encryptedMessage.md +++ b/docs/API_docs/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/docs/API_docs/constructors/encryptedMessageService.md b/docs/API_docs/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/docs/API_docs/constructors/encryptedMessageService.md +++ b/docs/API_docs/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/docs/API_docs/constructors/error.md b/docs/API_docs/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/docs/API_docs/constructors/error.md +++ b/docs/API_docs/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/docs/API_docs/constructors/exportedMessageLink.md b/docs/API_docs/constructors/exportedMessageLink.md index 62f9fb66..a0b4fa35 100644 --- a/docs/API_docs/constructors/exportedMessageLink.md +++ b/docs/API_docs/constructors/exportedMessageLink.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string', 'html' => 'string']; ``` @@ -33,10 +33,9 @@ $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string', 'html' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua exportedMessageLink={_='exportedMessageLink', link='string', html='string'} ``` diff --git a/docs/API_docs/constructors/fileHash.md b/docs/API_docs/constructors/fileHash.md index 577bb6a0..f1258f6e 100644 --- a/docs/API_docs/constructors/fileHash.md +++ b/docs/API_docs/constructors/fileHash.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileHash = ['_' => 'fileHash', 'offset' => int, 'limit' => int, 'hash' => 'bytes']; ``` @@ -34,10 +34,9 @@ $fileHash = ['_' => 'fileHash', 'offset' => int, 'limit' => int, 'hash' => 'byte ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileHash={_='fileHash', offset=int, limit=int, hash='bytes'} ``` diff --git a/docs/API_docs/constructors/fileLocation.md b/docs/API_docs/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/docs/API_docs/constructors/fileLocation.md +++ b/docs/API_docs/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/docs/API_docs/constructors/fileLocationUnavailable.md b/docs/API_docs/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/docs/API_docs/constructors/fileLocationUnavailable.md +++ b/docs/API_docs/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/docs/API_docs/constructors/foundGif.md b/docs/API_docs/constructors/foundGif.md index d8ee3695..c2f0ce33 100644 --- a/docs/API_docs/constructors/foundGif.md +++ b/docs/API_docs/constructors/foundGif.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` @@ -37,10 +37,9 @@ $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'con ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGif={_='foundGif', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int} ``` diff --git a/docs/API_docs/constructors/foundGifCached.md b/docs/API_docs/constructors/foundGifCached.md index e4a1a552..03e67917 100644 --- a/docs/API_docs/constructors/foundGifCached.md +++ b/docs/API_docs/constructors/foundGifCached.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -34,10 +34,9 @@ $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGifCached={_='foundGifCached', url='string', photo=Photo, document=Document} ``` diff --git a/docs/API_docs/constructors/game.md b/docs/API_docs/constructors/game.md index 790fbeeb..088ca95e 100644 --- a/docs/API_docs/constructors/game.md +++ b/docs/API_docs/constructors/game.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -38,10 +38,9 @@ $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua game={_='game', id=long, access_hash=long, short_name='string', title='string', description='string', photo=Photo, document=Document} ``` diff --git a/docs/API_docs/constructors/geoPoint.md b/docs/API_docs/constructors/geoPoint.md index ddfe4940..fc99b904 100644 --- a/docs/API_docs/constructors/geoPoint.md +++ b/docs/API_docs/constructors/geoPoint.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, 'access_hash' => long]; ``` @@ -34,10 +34,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double, access_hash=long} ``` diff --git a/docs/API_docs/constructors/geoPointEmpty.md b/docs/API_docs/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/docs/API_docs/constructors/geoPointEmpty.md +++ b/docs/API_docs/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/docs/API_docs/constructors/help_appUpdate.md b/docs/API_docs/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/docs/API_docs/constructors/help_appUpdate.md +++ b/docs/API_docs/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/docs/API_docs/constructors/help_configSimple.md b/docs/API_docs/constructors/help_configSimple.md index 95457e3b..c012891f 100644 --- a/docs/API_docs/constructors/help_configSimple.md +++ b/docs/API_docs/constructors/help_configSimple.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; ``` @@ -34,10 +34,9 @@ $help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} ``` diff --git a/docs/API_docs/constructors/help_deepLinkInfo.md b/docs/API_docs/constructors/help_deepLinkInfo.md index b7b5ecdd..9689ff4a 100644 --- a/docs/API_docs/constructors/help_deepLinkInfo.md +++ b/docs/API_docs/constructors/help_deepLinkInfo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -34,10 +34,9 @@ $help_deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} ``` diff --git a/docs/API_docs/constructors/help_deepLinkInfoEmpty.md b/docs/API_docs/constructors/help_deepLinkInfoEmpty.md index 86d01faa..719520ac 100644 --- a/docs/API_docs/constructors/help_deepLinkInfoEmpty.md +++ b/docs/API_docs/constructors/help_deepLinkInfoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; ``` @@ -27,10 +27,9 @@ $help_deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} ``` diff --git a/docs/API_docs/constructors/help_inviteText.md b/docs/API_docs/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/docs/API_docs/constructors/help_inviteText.md +++ b/docs/API_docs/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/docs/API_docs/constructors/help_noAppUpdate.md b/docs/API_docs/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/docs/API_docs/constructors/help_noAppUpdate.md +++ b/docs/API_docs/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/docs/API_docs/constructors/help_proxyDataEmpty.md b/docs/API_docs/constructors/help_proxyDataEmpty.md index 057991ed..a8de138c 100644 --- a/docs/API_docs/constructors/help_proxyDataEmpty.md +++ b/docs/API_docs/constructors/help_proxyDataEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $help_proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_proxyDataEmpty={_='help.proxyDataEmpty', expires=int} ``` diff --git a/docs/API_docs/constructors/help_proxyDataPromo.md b/docs/API_docs/constructors/help_proxyDataPromo.md index 19938a31..f5b0e3bd 100644 --- a/docs/API_docs/constructors/help_proxyDataPromo.md +++ b/docs/API_docs/constructors/help_proxyDataPromo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $help_proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} ``` diff --git a/docs/API_docs/constructors/help_recentMeUrls.md b/docs/API_docs/constructors/help_recentMeUrls.md index 4fa513b5..986fa1e7 100644 --- a/docs/API_docs/constructors/help_recentMeUrls.md +++ b/docs/API_docs/constructors/help_recentMeUrls.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, Recent ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} ``` diff --git a/docs/API_docs/constructors/help_support.md b/docs/API_docs/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/docs/API_docs/constructors/help_support.md +++ b/docs/API_docs/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/docs/API_docs/constructors/help_termsOfService.md b/docs/API_docs/constructors/help_termsOfService.md index 8628496c..84580ddb 100644 --- a/docs/API_docs/constructors/help_termsOfService.md +++ b/docs/API_docs/constructors/help_termsOfService.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; ``` @@ -36,10 +36,9 @@ $help_termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => D ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} ``` diff --git a/docs/API_docs/constructors/help_termsOfServiceUpdate.md b/docs/API_docs/constructors/help_termsOfServiceUpdate.md index 161946a9..85e99b2a 100644 --- a/docs/API_docs/constructors/help_termsOfServiceUpdate.md +++ b/docs/API_docs/constructors/help_termsOfServiceUpdate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help_TermsOfService]; ``` @@ -33,10 +33,9 @@ $help_termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help_TermsOfService} ``` diff --git a/docs/API_docs/constructors/help_termsOfServiceUpdateEmpty.md b/docs/API_docs/constructors/help_termsOfServiceUpdateEmpty.md index 369365db..f23b414d 100644 --- a/docs/API_docs/constructors/help_termsOfServiceUpdateEmpty.md +++ b/docs/API_docs/constructors/help_termsOfServiceUpdateEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $help_termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'exp ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} ``` diff --git a/docs/API_docs/constructors/highScore.md b/docs/API_docs/constructors/highScore.md index 63a8ab05..265c0487 100644 --- a/docs/API_docs/constructors/highScore.md +++ b/docs/API_docs/constructors/highScore.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int]; ``` @@ -34,10 +34,9 @@ $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua highScore={_='highScore', pos=int, user_id=int, score=int} ``` diff --git a/docs/API_docs/constructors/importedContact.md b/docs/API_docs/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/docs/API_docs/constructors/importedContact.md +++ b/docs/API_docs/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/docs/API_docs/constructors/inlineBotSwitchPM.md b/docs/API_docs/constructors/inlineBotSwitchPM.md index 0dfd4714..b4fb8185 100644 --- a/docs/API_docs/constructors/inlineBotSwitchPM.md +++ b/docs/API_docs/constructors/inlineBotSwitchPM.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` @@ -33,10 +33,9 @@ $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_par ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inlineBotSwitchPM={_='inlineBotSwitchPM', text='string', start_param='string'} ``` diff --git a/docs/API_docs/constructors/inputAppEvent.md b/docs/API_docs/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/docs/API_docs/constructors/inputAppEvent.md +++ b/docs/API_docs/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/docs/API_docs/constructors/inputBotInlineMessageGame.md b/docs/API_docs/constructors/inputBotInlineMessageGame.md index 8e59cd54..66c8997b 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageGame.md +++ b/docs/API_docs/constructors/inputBotInlineMessageGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup]; ``` @@ -32,10 +32,9 @@ $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageGame={_='inputBotInlineMessageGame', reply_markup=ReplyMarkup} ``` diff --git a/docs/API_docs/constructors/inputBotInlineMessageID.md b/docs/API_docs/constructors/inputBotInlineMessageID.md index 91c7586d..aecbb733 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageID.md +++ b/docs/API_docs/constructors/inputBotInlineMessageID.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long} ``` diff --git a/docs/API_docs/constructors/inputBotInlineMessageMediaAuto.md b/docs/API_docs/constructors/inputBotInlineMessageMediaAuto.md index 997e711e..49f736fd 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageMediaAuto.md +++ b/docs/API_docs/constructors/inputBotInlineMessageMediaAuto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/docs/API_docs/constructors/inputBotInlineMessageMediaContact.md b/docs/API_docs/constructors/inputBotInlineMessageMediaContact.md index 84d977f6..43b4bb0b 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageMediaContact.md +++ b/docs/API_docs/constructors/inputBotInlineMessageMediaContact.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'vcard' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -36,10 +36,9 @@ $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', vcard='string', reply_markup=ReplyMarkup} ``` diff --git a/docs/API_docs/constructors/inputBotInlineMessageMediaGeo.md b/docs/API_docs/constructors/inputBotInlineMessageMediaGeo.md index 2f1f75ad..a4588d95 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageMediaGeo.md +++ b/docs/API_docs/constructors/inputBotInlineMessageMediaGeo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'period' => int, 'reply_markup' => ReplyMarkup]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, period=int, reply_markup=ReplyMarkup} ``` diff --git a/docs/API_docs/constructors/inputBotInlineMessageMediaVenue.md b/docs/API_docs/constructors/inputBotInlineMessageMediaVenue.md index 2e51d848..dfd4dac4 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageMediaVenue.md +++ b/docs/API_docs/constructors/inputBotInlineMessageMediaVenue.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -38,10 +38,9 @@ $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'g ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', venue_type='string', reply_markup=ReplyMarkup} ``` diff --git a/docs/API_docs/constructors/inputBotInlineMessageText.md b/docs/API_docs/constructors/inputBotInlineMessageText.md index e6a0bbb7..acae47bc 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageText.md +++ b/docs/API_docs/constructors/inputBotInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/docs/API_docs/constructors/inputBotInlineResult.md b/docs/API_docs/constructors/inputBotInlineResult.md index dc1a30f3..e4fe0393 100644 --- a/docs/API_docs/constructors/inputBotInlineResult.md +++ b/docs/API_docs/constructors/inputBotInlineResult.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb' => InputWebDocument, 'content' => InputWebDocument, 'send_message' => InputBotInlineMessage]; ``` @@ -39,10 +39,9 @@ $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb=InputWebDocument, content=InputWebDocument, send_message=InputBotInlineMessage} ``` diff --git a/docs/API_docs/constructors/inputBotInlineResultDocument.md b/docs/API_docs/constructors/inputBotInlineResultDocument.md index ad13df76..9d5f1eb6 100644 --- a/docs/API_docs/constructors/inputBotInlineResultDocument.md +++ b/docs/API_docs/constructors/inputBotInlineResultDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` @@ -37,10 +37,9 @@ $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultDocument={_='inputBotInlineResultDocument', id='string', type='string', title='string', description='string', document=InputDocument, send_message=InputBotInlineMessage} ``` diff --git a/docs/API_docs/constructors/inputBotInlineResultGame.md b/docs/API_docs/constructors/inputBotInlineResultGame.md index 5967bea6..b7821035 100644 --- a/docs/API_docs/constructors/inputBotInlineResultGame.md +++ b/docs/API_docs/constructors/inputBotInlineResultGame.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string', 'short_name' => 'string', 'send_message' => InputBotInlineMessage]; ``` @@ -34,10 +34,9 @@ $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultGame={_='inputBotInlineResultGame', id='string', short_name='string', send_message=InputBotInlineMessage} ``` diff --git a/docs/API_docs/constructors/inputBotInlineResultPhoto.md b/docs/API_docs/constructors/inputBotInlineResultPhoto.md index 43f00813..271bb02e 100644 --- a/docs/API_docs/constructors/inputBotInlineResultPhoto.md +++ b/docs/API_docs/constructors/inputBotInlineResultPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` @@ -35,10 +35,9 @@ $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id='string', type='string', photo=InputPhoto, send_message=InputBotInlineMessage} ``` diff --git a/docs/API_docs/constructors/inputChannel.md b/docs/API_docs/constructors/inputChannel.md index b5cb3566..34ed10ca 100644 --- a/docs/API_docs/constructors/inputChannel.md +++ b/docs/API_docs/constructors/inputChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannel={_='inputChannel', channel_id=int, access_hash=long} ``` diff --git a/docs/API_docs/constructors/inputChannelEmpty.md b/docs/API_docs/constructors/inputChannelEmpty.md index f7e18434..bd53602b 100644 --- a/docs/API_docs/constructors/inputChannelEmpty.md +++ b/docs/API_docs/constructors/inputChannelEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` @@ -27,10 +27,9 @@ $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/docs/API_docs/constructors/inputChatPhoto.md b/docs/API_docs/constructors/inputChatPhoto.md index 636d6f68..cbae66d1 100644 --- a/docs/API_docs/constructors/inputChatPhoto.md +++ b/docs/API_docs/constructors/inputChatPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto} ``` diff --git a/docs/API_docs/constructors/inputChatPhotoEmpty.md b/docs/API_docs/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/docs/API_docs/constructors/inputChatPhotoEmpty.md +++ b/docs/API_docs/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/docs/API_docs/constructors/inputChatUploadedPhoto.md b/docs/API_docs/constructors/inputChatUploadedPhoto.md index 840ed815..8b5535ab 100644 --- a/docs/API_docs/constructors/inputChatUploadedPhoto.md +++ b/docs/API_docs/constructors/inputChatUploadedPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile]; ``` @@ -32,10 +32,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile} ``` diff --git a/docs/API_docs/constructors/inputClientProxy.md b/docs/API_docs/constructors/inputClientProxy.md index a6db151e..3ee80004 100644 --- a/docs/API_docs/constructors/inputClientProxy.md +++ b/docs/API_docs/constructors/inputClientProxy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputClientProxy = ['_' => 'inputClientProxy', 'address' => 'string', 'port' => int]; ``` @@ -33,10 +33,9 @@ $inputClientProxy = ['_' => 'inputClientProxy', 'address' => 'string', 'port' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputClientProxy={_='inputClientProxy', address='string', port=int} ``` diff --git a/docs/API_docs/constructors/inputDialogPeer.md b/docs/API_docs/constructors/inputDialogPeer.md index b536e8d2..6d6ec70d 100644 --- a/docs/API_docs/constructors/inputDialogPeer.md +++ b/docs/API_docs/constructors/inputDialogPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDialogPeer = ['_' => 'inputDialogPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputDialogPeer = ['_' => 'inputDialogPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDialogPeer={_='inputDialogPeer', peer=InputPeer} ``` diff --git a/docs/API_docs/constructors/inputDocument.md b/docs/API_docs/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/docs/API_docs/constructors/inputDocument.md +++ b/docs/API_docs/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/docs/API_docs/constructors/inputDocumentEmpty.md b/docs/API_docs/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/docs/API_docs/constructors/inputDocumentEmpty.md +++ b/docs/API_docs/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/docs/API_docs/constructors/inputDocumentFileLocation.md b/docs/API_docs/constructors/inputDocumentFileLocation.md index df556f40..94ab0038 100644 --- a/docs/API_docs/constructors/inputDocumentFileLocation.md +++ b/docs/API_docs/constructors/inputDocumentFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int]; ``` @@ -34,10 +34,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, version=int} ``` diff --git a/docs/API_docs/constructors/inputEncryptedChat.md b/docs/API_docs/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/docs/API_docs/constructors/inputEncryptedChat.md +++ b/docs/API_docs/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/docs/API_docs/constructors/inputEncryptedFile.md b/docs/API_docs/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/docs/API_docs/constructors/inputEncryptedFile.md +++ b/docs/API_docs/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/docs/API_docs/constructors/inputEncryptedFileBigUploaded.md b/docs/API_docs/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/docs/API_docs/constructors/inputEncryptedFileBigUploaded.md +++ b/docs/API_docs/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/docs/API_docs/constructors/inputEncryptedFileEmpty.md b/docs/API_docs/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/docs/API_docs/constructors/inputEncryptedFileEmpty.md +++ b/docs/API_docs/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/docs/API_docs/constructors/inputEncryptedFileLocation.md b/docs/API_docs/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/docs/API_docs/constructors/inputEncryptedFileLocation.md +++ b/docs/API_docs/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/docs/API_docs/constructors/inputEncryptedFileUploaded.md b/docs/API_docs/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/docs/API_docs/constructors/inputEncryptedFileUploaded.md +++ b/docs/API_docs/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/docs/API_docs/constructors/inputFile.md b/docs/API_docs/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/docs/API_docs/constructors/inputFile.md +++ b/docs/API_docs/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/docs/API_docs/constructors/inputFileBig.md b/docs/API_docs/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/docs/API_docs/constructors/inputFileBig.md +++ b/docs/API_docs/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/docs/API_docs/constructors/inputFileLocation.md b/docs/API_docs/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/docs/API_docs/constructors/inputFileLocation.md +++ b/docs/API_docs/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/docs/API_docs/constructors/inputGameID.md b/docs/API_docs/constructors/inputGameID.md index 1fff2dd1..fba24333 100644 --- a/docs/API_docs/constructors/inputGameID.md +++ b/docs/API_docs/constructors/inputGameID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameID={_='inputGameID', id=long, access_hash=long} ``` diff --git a/docs/API_docs/constructors/inputGameShortName.md b/docs/API_docs/constructors/inputGameShortName.md index 742b5ae5..031e3f4c 100644 --- a/docs/API_docs/constructors/inputGameShortName.md +++ b/docs/API_docs/constructors/inputGameShortName.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => 'string']; ``` @@ -33,10 +33,9 @@ $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'shor ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameShortName={_='inputGameShortName', bot_id=InputUser, short_name='string'} ``` diff --git a/docs/API_docs/constructors/inputGeoPoint.md b/docs/API_docs/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/docs/API_docs/constructors/inputGeoPoint.md +++ b/docs/API_docs/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/docs/API_docs/constructors/inputGeoPointEmpty.md b/docs/API_docs/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/docs/API_docs/constructors/inputGeoPointEmpty.md +++ b/docs/API_docs/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/docs/API_docs/constructors/inputMediaContact.md b/docs/API_docs/constructors/inputMediaContact.md index b5270ffa..c37fba88 100644 --- a/docs/API_docs/constructors/inputMediaContact.md +++ b/docs/API_docs/constructors/inputMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'vcard' => 'string']; ``` @@ -35,10 +35,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string', vcard='string'} ``` diff --git a/docs/API_docs/constructors/inputMediaDocument.md b/docs/API_docs/constructors/inputMediaDocument.md index 84065899..4b2661e2 100644 --- a/docs/API_docs/constructors/inputMediaDocument.md +++ b/docs/API_docs/constructors/inputMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'ttl_seconds' => int]; ``` @@ -33,10 +33,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'ttl_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument, ttl_seconds=int} ``` diff --git a/docs/API_docs/constructors/inputMediaDocumentExternal.md b/docs/API_docs/constructors/inputMediaDocumentExternal.md index 579f7f6d..a5b09b43 100644 --- a/docs/API_docs/constructors/inputMediaDocumentExternal.md +++ b/docs/API_docs/constructors/inputMediaDocumentExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'string', 'ttl_seconds' => int]; ``` @@ -33,10 +33,9 @@ $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocumentExternal={_='inputMediaDocumentExternal', url='string', ttl_seconds=int} ``` diff --git a/docs/API_docs/constructors/inputMediaEmpty.md b/docs/API_docs/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/docs/API_docs/constructors/inputMediaEmpty.md +++ b/docs/API_docs/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/docs/API_docs/constructors/inputMediaGame.md b/docs/API_docs/constructors/inputMediaGame.md index 883e5672..c4cc2cfc 100644 --- a/docs/API_docs/constructors/inputMediaGame.md +++ b/docs/API_docs/constructors/inputMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` @@ -32,10 +32,9 @@ $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGame={_='inputMediaGame', id=InputGame} ``` diff --git a/docs/API_docs/constructors/inputMediaGeoLive.md b/docs/API_docs/constructors/inputMediaGeoLive.md index bf72edfb..be8d4038 100644 --- a/docs/API_docs/constructors/inputMediaGeoLive.md +++ b/docs/API_docs/constructors/inputMediaGeoLive.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoLive = ['_' => 'inputMediaGeoLive', 'geo_point' => InputGeoPoint, 'period' => int]; ``` @@ -33,10 +33,9 @@ $inputMediaGeoLive = ['_' => 'inputMediaGeoLive', 'geo_point' => InputGeoPoint, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoLive={_='inputMediaGeoLive', geo_point=InputGeoPoint, period=int} ``` diff --git a/docs/API_docs/constructors/inputMediaGeoPoint.md b/docs/API_docs/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/docs/API_docs/constructors/inputMediaGeoPoint.md +++ b/docs/API_docs/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/docs/API_docs/constructors/inputMediaGifExternal.md b/docs/API_docs/constructors/inputMediaGifExternal.md index cf68972a..14153a43 100644 --- a/docs/API_docs/constructors/inputMediaGifExternal.md +++ b/docs/API_docs/constructors/inputMediaGifExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGifExternal={_='inputMediaGifExternal', url='string', q='string'} ``` diff --git a/docs/API_docs/constructors/inputMediaInvoice.md b/docs/API_docs/constructors/inputMediaInvoice.md index 7f66c4c3..e2441e27 100644 --- a/docs/API_docs/constructors/inputMediaInvoice.md +++ b/docs/API_docs/constructors/inputMediaInvoice.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'description' => 'string', 'photo' => InputWebDocument, 'invoice' => Invoice, 'payload' => 'bytes', 'provider' => 'string', 'provider_data' => DataJSON, 'start_param' => 'string']; ``` @@ -39,10 +39,9 @@ $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'descript ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaInvoice={_='inputMediaInvoice', title='string', description='string', photo=InputWebDocument, invoice=Invoice, payload='bytes', provider='string', provider_data=DataJSON, start_param='string'} ``` diff --git a/docs/API_docs/constructors/inputMediaPhoto.md b/docs/API_docs/constructors/inputMediaPhoto.md index c6ba1034..8089e576 100644 --- a/docs/API_docs/constructors/inputMediaPhoto.md +++ b/docs/API_docs/constructors/inputMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'ttl_seconds' => int]; ``` @@ -33,10 +33,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'ttl_seconds' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, ttl_seconds=int} ``` diff --git a/docs/API_docs/constructors/inputMediaPhotoExternal.md b/docs/API_docs/constructors/inputMediaPhotoExternal.md index 7103a02c..1db5d33b 100644 --- a/docs/API_docs/constructors/inputMediaPhotoExternal.md +++ b/docs/API_docs/constructors/inputMediaPhotoExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', 'ttl_seconds' => int]; ``` @@ -33,10 +33,9 @@ $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhotoExternal={_='inputMediaPhotoExternal', url='string', ttl_seconds=int} ``` diff --git a/docs/API_docs/constructors/inputMediaUploadedDocument.md b/docs/API_docs/constructors/inputMediaUploadedDocument.md index e009cbb1..12d9ffd6 100644 --- a/docs/API_docs/constructors/inputMediaUploadedDocument.md +++ b/docs/API_docs/constructors/inputMediaUploadedDocument.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'nosound_video' => Bool, 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'stickers' => [InputDocument, InputDocument], 'ttl_seconds' => int]; ``` @@ -38,10 +38,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'nosound_vid ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', nosound_video=Bool, file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}, stickers={InputDocument}, ttl_seconds=int} ``` diff --git a/docs/API_docs/constructors/inputMediaUploadedPhoto.md b/docs/API_docs/constructors/inputMediaUploadedPhoto.md index fe8a811a..2465f63b 100644 --- a/docs/API_docs/constructors/inputMediaUploadedPhoto.md +++ b/docs/API_docs/constructors/inputMediaUploadedPhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'stickers' => [InputDocument, InputDocument], 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, stickers={InputDocument}, ttl_seconds=int} ``` diff --git a/docs/API_docs/constructors/inputMediaVenue.md b/docs/API_docs/constructors/inputMediaVenue.md index 017f62ee..6f023afa 100644 --- a/docs/API_docs/constructors/inputMediaVenue.md +++ b/docs/API_docs/constructors/inputMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string']; ``` @@ -37,10 +37,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', venue_type='string'} ``` diff --git a/docs/API_docs/constructors/inputMessageEntityMentionName.md b/docs/API_docs/constructors/inputMessageEntityMentionName.md index 92d5c8d9..19a0b4e3 100644 --- a/docs/API_docs/constructors/inputMessageEntityMentionName.md +++ b/docs/API_docs/constructors/inputMessageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser]; ``` @@ -34,10 +34,9 @@ $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessageEntityMentionName={_='inputMessageEntityMentionName', offset=int, length=int, user_id=InputUser} ``` diff --git a/docs/API_docs/constructors/inputMessageID.md b/docs/API_docs/constructors/inputMessageID.md index c6123b92..fd024d43 100644 --- a/docs/API_docs/constructors/inputMessageID.md +++ b/docs/API_docs/constructors/inputMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessageID = ['_' => 'inputMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $inputMessageID = ['_' => 'inputMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessageID={_='inputMessageID', id=int} ``` diff --git a/docs/API_docs/constructors/inputMessagePinned.md b/docs/API_docs/constructors/inputMessagePinned.md index 4dc9197e..dde78f72 100644 --- a/docs/API_docs/constructors/inputMessagePinned.md +++ b/docs/API_docs/constructors/inputMessagePinned.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagePinned = ['_' => 'inputMessagePinned']; ``` @@ -27,10 +27,9 @@ $inputMessagePinned = ['_' => 'inputMessagePinned']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagePinned={_='inputMessagePinned'} ``` diff --git a/docs/API_docs/constructors/inputMessageReplyTo.md b/docs/API_docs/constructors/inputMessageReplyTo.md index c1737e7d..715c4cad 100644 --- a/docs/API_docs/constructors/inputMessageReplyTo.md +++ b/docs/API_docs/constructors/inputMessageReplyTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessageReplyTo = ['_' => 'inputMessageReplyTo', 'id' => int]; ``` @@ -32,10 +32,9 @@ $inputMessageReplyTo = ['_' => 'inputMessageReplyTo', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessageReplyTo={_='inputMessageReplyTo', id=int} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterChatPhotos.md b/docs/API_docs/constructors/inputMessagesFilterChatPhotos.md index a02425b1..b72281f3 100644 --- a/docs/API_docs/constructors/inputMessagesFilterChatPhotos.md +++ b/docs/API_docs/constructors/inputMessagesFilterChatPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterContacts.md b/docs/API_docs/constructors/inputMessagesFilterContacts.md index 98de3f5e..fbfc7fc2 100644 --- a/docs/API_docs/constructors/inputMessagesFilterContacts.md +++ b/docs/API_docs/constructors/inputMessagesFilterContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterContacts = ['_' => 'inputMessagesFilterContacts']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterContacts = ['_' => 'inputMessagesFilterContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterContacts={_='inputMessagesFilterContacts'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterDocument.md b/docs/API_docs/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/docs/API_docs/constructors/inputMessagesFilterDocument.md +++ b/docs/API_docs/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterEmpty.md b/docs/API_docs/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/docs/API_docs/constructors/inputMessagesFilterEmpty.md +++ b/docs/API_docs/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterGeo.md b/docs/API_docs/constructors/inputMessagesFilterGeo.md index 96da554b..059d4ba1 100644 --- a/docs/API_docs/constructors/inputMessagesFilterGeo.md +++ b/docs/API_docs/constructors/inputMessagesFilterGeo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGeo = ['_' => 'inputMessagesFilterGeo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGeo = ['_' => 'inputMessagesFilterGeo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGeo={_='inputMessagesFilterGeo'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterGif.md b/docs/API_docs/constructors/inputMessagesFilterGif.md index 94698ecd..a3a51104 100644 --- a/docs/API_docs/constructors/inputMessagesFilterGif.md +++ b/docs/API_docs/constructors/inputMessagesFilterGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterMusic.md b/docs/API_docs/constructors/inputMessagesFilterMusic.md index ac6373c2..b2ed1044 100644 --- a/docs/API_docs/constructors/inputMessagesFilterMusic.md +++ b/docs/API_docs/constructors/inputMessagesFilterMusic.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterMyMentions.md b/docs/API_docs/constructors/inputMessagesFilterMyMentions.md index 68411008..54fa6521 100644 --- a/docs/API_docs/constructors/inputMessagesFilterMyMentions.md +++ b/docs/API_docs/constructors/inputMessagesFilterMyMentions.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterMyMentions = ['_' => 'inputMessagesFilterMyMentions']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterMyMentions = ['_' => 'inputMessagesFilterMyMentions']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterMyMentions={_='inputMessagesFilterMyMentions'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterPhoneCalls.md b/docs/API_docs/constructors/inputMessagesFilterPhoneCalls.md index 8fe8537a..0cb60836 100644 --- a/docs/API_docs/constructors/inputMessagesFilterPhoneCalls.md +++ b/docs/API_docs/constructors/inputMessagesFilterPhoneCalls.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool]; ``` @@ -32,10 +32,9 @@ $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'misse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhoneCalls={_='inputMessagesFilterPhoneCalls', missed=Bool} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterPhotoVideo.md b/docs/API_docs/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/docs/API_docs/constructors/inputMessagesFilterPhotoVideo.md +++ b/docs/API_docs/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterPhotos.md b/docs/API_docs/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/docs/API_docs/constructors/inputMessagesFilterPhotos.md +++ b/docs/API_docs/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterRoundVideo.md b/docs/API_docs/constructors/inputMessagesFilterRoundVideo.md index 5bcbbb20..291ebf25 100644 --- a/docs/API_docs/constructors/inputMessagesFilterRoundVideo.md +++ b/docs/API_docs/constructors/inputMessagesFilterRoundVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterRoundVideo={_='inputMessagesFilterRoundVideo'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterRoundVoice.md b/docs/API_docs/constructors/inputMessagesFilterRoundVoice.md index 9e018fc3..4c7fbbec 100644 --- a/docs/API_docs/constructors/inputMessagesFilterRoundVoice.md +++ b/docs/API_docs/constructors/inputMessagesFilterRoundVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterRoundVoice={_='inputMessagesFilterRoundVoice'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterUrl.md b/docs/API_docs/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/docs/API_docs/constructors/inputMessagesFilterUrl.md +++ b/docs/API_docs/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterVideo.md b/docs/API_docs/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/docs/API_docs/constructors/inputMessagesFilterVideo.md +++ b/docs/API_docs/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterVoice.md b/docs/API_docs/constructors/inputMessagesFilterVoice.md index 026a91be..be3af22a 100644 --- a/docs/API_docs/constructors/inputMessagesFilterVoice.md +++ b/docs/API_docs/constructors/inputMessagesFilterVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/docs/API_docs/constructors/inputNotifyChats.md b/docs/API_docs/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/docs/API_docs/constructors/inputNotifyChats.md +++ b/docs/API_docs/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/docs/API_docs/constructors/inputNotifyPeer.md b/docs/API_docs/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/docs/API_docs/constructors/inputNotifyPeer.md +++ b/docs/API_docs/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/docs/API_docs/constructors/inputNotifyUsers.md b/docs/API_docs/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/docs/API_docs/constructors/inputNotifyUsers.md +++ b/docs/API_docs/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/docs/API_docs/constructors/inputPaymentCredentials.md b/docs/API_docs/constructors/inputPaymentCredentials.md index 085db55d..4e2883f9 100644 --- a/docs/API_docs/constructors/inputPaymentCredentials.md +++ b/docs/API_docs/constructors/inputPaymentCredentials.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'data' => DataJSON]; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentials={_='inputPaymentCredentials', save=Bool, data=DataJSON} ``` diff --git a/docs/API_docs/constructors/inputPaymentCredentialsAndroidPay.md b/docs/API_docs/constructors/inputPaymentCredentialsAndroidPay.md index 7ee5312b..3912de55 100644 --- a/docs/API_docs/constructors/inputPaymentCredentialsAndroidPay.md +++ b/docs/API_docs/constructors/inputPaymentCredentialsAndroidPay.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentialsAndroidPay = ['_' => 'inputPaymentCredentialsAndroidPay', 'payment_token' => DataJSON, 'google_transaction_id' => 'string']; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentialsAndroidPay = ['_' => 'inputPaymentCredentialsAndroidPay' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentialsAndroidPay={_='inputPaymentCredentialsAndroidPay', payment_token=DataJSON, google_transaction_id='string'} ``` diff --git a/docs/API_docs/constructors/inputPaymentCredentialsApplePay.md b/docs/API_docs/constructors/inputPaymentCredentialsApplePay.md index 53f9901a..2f3af18e 100644 --- a/docs/API_docs/constructors/inputPaymentCredentialsApplePay.md +++ b/docs/API_docs/constructors/inputPaymentCredentialsApplePay.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentialsApplePay = ['_' => 'inputPaymentCredentialsApplePay', 'payment_data' => DataJSON]; ``` @@ -32,10 +32,9 @@ $inputPaymentCredentialsApplePay = ['_' => 'inputPaymentCredentialsApplePay', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentialsApplePay={_='inputPaymentCredentialsApplePay', payment_data=DataJSON} ``` diff --git a/docs/API_docs/constructors/inputPaymentCredentialsSaved.md b/docs/API_docs/constructors/inputPaymentCredentialsSaved.md index 63cd678e..c205ee9a 100644 --- a/docs/API_docs/constructors/inputPaymentCredentialsSaved.md +++ b/docs/API_docs/constructors/inputPaymentCredentialsSaved.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => 'string', 'tmp_password' => 'bytes']; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentialsSaved={_='inputPaymentCredentialsSaved', id='string', tmp_password='bytes'} ``` diff --git a/docs/API_docs/constructors/inputPeerChannel.md b/docs/API_docs/constructors/inputPeerChannel.md index 8b84fe20..14c2f105 100644 --- a/docs/API_docs/constructors/inputPeerChannel.md +++ b/docs/API_docs/constructors/inputPeerChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long} ``` diff --git a/docs/API_docs/constructors/inputPeerChat.md b/docs/API_docs/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/docs/API_docs/constructors/inputPeerChat.md +++ b/docs/API_docs/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/docs/API_docs/constructors/inputPeerEmpty.md b/docs/API_docs/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/docs/API_docs/constructors/inputPeerEmpty.md +++ b/docs/API_docs/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/docs/API_docs/constructors/inputPeerNotifySettings.md b/docs/API_docs/constructors/inputPeerNotifySettings.md index 185a7492..cf134e44 100644 --- a/docs/API_docs/constructors/inputPeerNotifySettings.md +++ b/docs/API_docs/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/docs/API_docs/constructors/inputPeerSelf.md b/docs/API_docs/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/docs/API_docs/constructors/inputPeerSelf.md +++ b/docs/API_docs/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/docs/API_docs/constructors/inputPeerUser.md b/docs/API_docs/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/docs/API_docs/constructors/inputPeerUser.md +++ b/docs/API_docs/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/docs/API_docs/constructors/inputPhoneCall.md b/docs/API_docs/constructors/inputPhoneCall.md index 60cdf8ca..68abe88d 100644 --- a/docs/API_docs/constructors/inputPhoneCall.md +++ b/docs/API_docs/constructors/inputPhoneCall.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneCall={_='inputPhoneCall', id=long, access_hash=long} ``` diff --git a/docs/API_docs/constructors/inputPhoneContact.md b/docs/API_docs/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/docs/API_docs/constructors/inputPhoneContact.md +++ b/docs/API_docs/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/docs/API_docs/constructors/inputPhoto.md b/docs/API_docs/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/docs/API_docs/constructors/inputPhoto.md +++ b/docs/API_docs/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/docs/API_docs/constructors/inputPhotoEmpty.md b/docs/API_docs/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/docs/API_docs/constructors/inputPhotoEmpty.md +++ b/docs/API_docs/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/docs/API_docs/constructors/inputPrivacyKeyChatInvite.md b/docs/API_docs/constructors/inputPrivacyKeyChatInvite.md index 9c55265f..d96148d4 100644 --- a/docs/API_docs/constructors/inputPrivacyKeyChatInvite.md +++ b/docs/API_docs/constructors/inputPrivacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/docs/API_docs/constructors/inputPrivacyKeyPhoneCall.md b/docs/API_docs/constructors/inputPrivacyKeyPhoneCall.md index b16316be..510ff979 100644 --- a/docs/API_docs/constructors/inputPrivacyKeyPhoneCall.md +++ b/docs/API_docs/constructors/inputPrivacyKeyPhoneCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyPhoneCall={_='inputPrivacyKeyPhoneCall'} ``` diff --git a/docs/API_docs/constructors/inputPrivacyKeyStatusTimestamp.md b/docs/API_docs/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/docs/API_docs/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/docs/API_docs/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/docs/API_docs/constructors/inputPrivacyValueAllowAll.md b/docs/API_docs/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/docs/API_docs/constructors/inputPrivacyValueAllowAll.md +++ b/docs/API_docs/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/docs/API_docs/constructors/inputPrivacyValueAllowContacts.md b/docs/API_docs/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/docs/API_docs/constructors/inputPrivacyValueAllowContacts.md +++ b/docs/API_docs/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/docs/API_docs/constructors/inputPrivacyValueAllowUsers.md b/docs/API_docs/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/docs/API_docs/constructors/inputPrivacyValueAllowUsers.md +++ b/docs/API_docs/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/docs/API_docs/constructors/inputPrivacyValueDisallowAll.md b/docs/API_docs/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/docs/API_docs/constructors/inputPrivacyValueDisallowAll.md +++ b/docs/API_docs/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/docs/API_docs/constructors/inputPrivacyValueDisallowContacts.md b/docs/API_docs/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/docs/API_docs/constructors/inputPrivacyValueDisallowContacts.md +++ b/docs/API_docs/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/docs/API_docs/constructors/inputPrivacyValueDisallowUsers.md b/docs/API_docs/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/docs/API_docs/constructors/inputPrivacyValueDisallowUsers.md +++ b/docs/API_docs/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/docs/API_docs/constructors/inputReportReasonOther.md b/docs/API_docs/constructors/inputReportReasonOther.md index 361582bd..4dbffa18 100644 --- a/docs/API_docs/constructors/inputReportReasonOther.md +++ b/docs/API_docs/constructors/inputReportReasonOther.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonOther={_='inputReportReasonOther', text='string'} ``` diff --git a/docs/API_docs/constructors/inputReportReasonPornography.md b/docs/API_docs/constructors/inputReportReasonPornography.md index c18c71d3..5c80f096 100644 --- a/docs/API_docs/constructors/inputReportReasonPornography.md +++ b/docs/API_docs/constructors/inputReportReasonPornography.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` @@ -27,10 +27,9 @@ $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/docs/API_docs/constructors/inputReportReasonSpam.md b/docs/API_docs/constructors/inputReportReasonSpam.md index 19ed6687..75d59861 100644 --- a/docs/API_docs/constructors/inputReportReasonSpam.md +++ b/docs/API_docs/constructors/inputReportReasonSpam.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` @@ -27,10 +27,9 @@ $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/docs/API_docs/constructors/inputReportReasonViolence.md b/docs/API_docs/constructors/inputReportReasonViolence.md index 10fbce47..28d27e85 100644 --- a/docs/API_docs/constructors/inputReportReasonViolence.md +++ b/docs/API_docs/constructors/inputReportReasonViolence.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` @@ -27,10 +27,9 @@ $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/docs/API_docs/constructors/inputSecureFile.md b/docs/API_docs/constructors/inputSecureFile.md index df67e848..21cca06b 100644 --- a/docs/API_docs/constructors/inputSecureFile.md +++ b/docs/API_docs/constructors/inputSecureFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputSecureFile = ['_' => 'inputSecureFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputSecureFile = ['_' => 'inputSecureFile', 'id' => long, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputSecureFile={_='inputSecureFile', id=long, access_hash=long} ``` diff --git a/docs/API_docs/constructors/inputSecureFileLocation.md b/docs/API_docs/constructors/inputSecureFileLocation.md index 223e4561..e9ed4e1a 100644 --- a/docs/API_docs/constructors/inputSecureFileLocation.md +++ b/docs/API_docs/constructors/inputSecureFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputSecureFileLocation = ['_' => 'inputSecureFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputSecureFileLocation = ['_' => 'inputSecureFileLocation', 'id' => long, 'acc ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputSecureFileLocation={_='inputSecureFileLocation', id=long, access_hash=long} ``` diff --git a/docs/API_docs/constructors/inputSecureFileUploaded.md b/docs/API_docs/constructors/inputSecureFileUploaded.md index 89c45cb5..9f5ee7fd 100644 --- a/docs/API_docs/constructors/inputSecureFileUploaded.md +++ b/docs/API_docs/constructors/inputSecureFileUploaded.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputSecureFileUploaded = ['_' => 'inputSecureFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'file_hash' => 'bytes', 'secret' => 'bytes']; ``` @@ -36,10 +36,9 @@ $inputSecureFileUploaded = ['_' => 'inputSecureFileUploaded', 'id' => long, 'par ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputSecureFileUploaded={_='inputSecureFileUploaded', id=long, parts=int, md5_checksum='string', file_hash='bytes', secret='bytes'} ``` diff --git a/docs/API_docs/constructors/inputSecureValue.md b/docs/API_docs/constructors/inputSecureValue.md index e2859667..6f549d63 100644 --- a/docs/API_docs/constructors/inputSecureValue.md +++ b/docs/API_docs/constructors/inputSecureValue.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputSecureValue = ['_' => 'inputSecureValue', 'type' => SecureValueType, 'data' => SecureData, 'front_side' => InputSecureFile, 'reverse_side' => InputSecureFile, 'selfie' => InputSecureFile, 'files' => [InputSecureFile, InputSecureFile], 'plain_data' => SecurePlainData]; ``` @@ -38,10 +38,9 @@ $inputSecureValue = ['_' => 'inputSecureValue', 'type' => SecureValueType, 'data ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputSecureValue={_='inputSecureValue', type=SecureValueType, data=SecureData, front_side=InputSecureFile, reverse_side=InputSecureFile, selfie=InputSecureFile, files={InputSecureFile}, plain_data=SecurePlainData} ``` diff --git a/docs/API_docs/constructors/inputSingleMedia.md b/docs/API_docs/constructors/inputSingleMedia.md index fb03aa0c..31665379 100644 --- a/docs/API_docs/constructors/inputSingleMedia.md +++ b/docs/API_docs/constructors/inputSingleMedia.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputSingleMedia = ['_' => 'inputSingleMedia', 'media' => InputMedia, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -34,10 +34,9 @@ $inputSingleMedia = ['_' => 'inputSingleMedia', 'media' => InputMedia, 'message' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputSingleMedia={_='inputSingleMedia', media=InputMedia, message='string', entities={MessageEntity}} ``` diff --git a/docs/API_docs/constructors/inputStickerSetEmpty.md b/docs/API_docs/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/docs/API_docs/constructors/inputStickerSetEmpty.md +++ b/docs/API_docs/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/docs/API_docs/constructors/inputStickerSetID.md b/docs/API_docs/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/docs/API_docs/constructors/inputStickerSetID.md +++ b/docs/API_docs/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/docs/API_docs/constructors/inputStickerSetItem.md b/docs/API_docs/constructors/inputStickerSetItem.md index 2efe95ff..39b999c7 100644 --- a/docs/API_docs/constructors/inputStickerSetItem.md +++ b/docs/API_docs/constructors/inputStickerSetItem.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetItem = ['_' => 'inputStickerSetItem', 'document' => InputDocument, 'emoji' => 'string', 'mask_coords' => MaskCoords]; ``` @@ -34,10 +34,9 @@ $inputStickerSetItem = ['_' => 'inputStickerSetItem', 'document' => InputDocumen ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetItem={_='inputStickerSetItem', document=InputDocument, emoji='string', mask_coords=MaskCoords} ``` diff --git a/docs/API_docs/constructors/inputStickerSetShortName.md b/docs/API_docs/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/docs/API_docs/constructors/inputStickerSetShortName.md +++ b/docs/API_docs/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/docs/API_docs/constructors/inputStickeredMediaDocument.md b/docs/API_docs/constructors/inputStickeredMediaDocument.md index c6def51c..72da7b39 100644 --- a/docs/API_docs/constructors/inputStickeredMediaDocument.md +++ b/docs/API_docs/constructors/inputStickeredMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaDocument={_='inputStickeredMediaDocument', id=InputDocument} ``` diff --git a/docs/API_docs/constructors/inputStickeredMediaPhoto.md b/docs/API_docs/constructors/inputStickeredMediaPhoto.md index f424c329..d79cd390 100644 --- a/docs/API_docs/constructors/inputStickeredMediaPhoto.md +++ b/docs/API_docs/constructors/inputStickeredMediaPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaPhoto={_='inputStickeredMediaPhoto', id=InputPhoto} ``` diff --git a/docs/API_docs/constructors/inputTakeoutFileLocation.md b/docs/API_docs/constructors/inputTakeoutFileLocation.md index 6eee9802..a1a01af9 100644 --- a/docs/API_docs/constructors/inputTakeoutFileLocation.md +++ b/docs/API_docs/constructors/inputTakeoutFileLocation.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputTakeoutFileLocation = ['_' => 'inputTakeoutFileLocation']; ``` @@ -27,10 +27,9 @@ $inputTakeoutFileLocation = ['_' => 'inputTakeoutFileLocation']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputTakeoutFileLocation={_='inputTakeoutFileLocation'} ``` diff --git a/docs/API_docs/constructors/inputUser.md b/docs/API_docs/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/docs/API_docs/constructors/inputUser.md +++ b/docs/API_docs/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/docs/API_docs/constructors/inputUserEmpty.md b/docs/API_docs/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/docs/API_docs/constructors/inputUserEmpty.md +++ b/docs/API_docs/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/docs/API_docs/constructors/inputUserSelf.md b/docs/API_docs/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/docs/API_docs/constructors/inputUserSelf.md +++ b/docs/API_docs/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/docs/API_docs/constructors/inputWebDocument.md b/docs/API_docs/constructors/inputWebDocument.md index 8028cb28..cd3ceaa1 100644 --- a/docs/API_docs/constructors/inputWebDocument.md +++ b/docs/API_docs/constructors/inputWebDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -35,10 +35,9 @@ $inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputWebDocument={_='inputWebDocument', url='string', size=int, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/docs/API_docs/constructors/inputWebFileGeoPointLocation.md b/docs/API_docs/constructors/inputWebFileGeoPointLocation.md index 8f9fb0da..ddba25a4 100644 --- a/docs/API_docs/constructors/inputWebFileGeoPointLocation.md +++ b/docs/API_docs/constructors/inputWebFileGeoPointLocation.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputWebFileGeoPointLocation = ['_' => 'inputWebFileGeoPointLocation', 'geo_point' => InputGeoPoint, 'access_hash' => long, 'w' => int, 'h' => int, 'zoom' => int, 'scale' => int]; ``` @@ -37,10 +37,9 @@ $inputWebFileGeoPointLocation = ['_' => 'inputWebFileGeoPointLocation', 'geo_poi ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputWebFileGeoPointLocation={_='inputWebFileGeoPointLocation', geo_point=InputGeoPoint, access_hash=long, w=int, h=int, zoom=int, scale=int} ``` diff --git a/docs/API_docs/constructors/inputWebFileLocation.md b/docs/API_docs/constructors/inputWebFileLocation.md index c484849b..888dcfbe 100644 --- a/docs/API_docs/constructors/inputWebFileLocation.md +++ b/docs/API_docs/constructors/inputWebFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'acce ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputWebFileLocation={_='inputWebFileLocation', url='string', access_hash=long} ``` diff --git a/docs/API_docs/constructors/invoice.md b/docs/API_docs/constructors/invoice.md index 5caa32f5..1e2de02c 100644 --- a/docs/API_docs/constructors/invoice.md +++ b/docs/API_docs/constructors/invoice.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_requested' => Bool, 'email_requested' => Bool, 'shipping_address_requested' => Bool, 'flexible' => Bool, 'phone_to_provider' => Bool, 'email_to_provider' => Bool, 'currency' => 'string', 'prices' => [LabeledPrice, LabeledPrice]]; ``` @@ -41,10 +41,9 @@ $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_r ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua invoice={_='invoice', test=Bool, name_requested=Bool, phone_requested=Bool, email_requested=Bool, shipping_address_requested=Bool, flexible=Bool, phone_to_provider=Bool, email_to_provider=Bool, currency='string', prices={LabeledPrice}} ``` diff --git a/docs/API_docs/constructors/ipPort.md b/docs/API_docs/constructors/ipPort.md index a22e57e7..16cec197 100644 --- a/docs/API_docs/constructors/ipPort.md +++ b/docs/API_docs/constructors/ipPort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $ipPort = ['_' => 'ipPort', 'ipv4' => int, 'port' => int]; ``` @@ -33,10 +33,9 @@ $ipPort = ['_' => 'ipPort', 'ipv4' => int, 'port' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua ipPort={_='ipPort', ipv4=int, port=int} ``` diff --git a/docs/API_docs/constructors/ipPortSecret.md b/docs/API_docs/constructors/ipPortSecret.md index e18341d5..b46ece6f 100644 --- a/docs/API_docs/constructors/ipPortSecret.md +++ b/docs/API_docs/constructors/ipPortSecret.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $ipPortSecret = ['_' => 'ipPortSecret', 'ipv4' => int, 'port' => int, 'secret' => 'bytes']; ``` @@ -34,10 +34,9 @@ $ipPortSecret = ['_' => 'ipPortSecret', 'ipv4' => int, 'port' => int, 'secret' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua ipPortSecret={_='ipPortSecret', ipv4=int, port=int, secret='bytes'} ``` diff --git a/docs/API_docs/constructors/keyboardButton.md b/docs/API_docs/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/docs/API_docs/constructors/keyboardButton.md +++ b/docs/API_docs/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/docs/API_docs/constructors/keyboardButtonBuy.md b/docs/API_docs/constructors/keyboardButtonBuy.md index efff4c6c..cf11ddf6 100644 --- a/docs/API_docs/constructors/keyboardButtonBuy.md +++ b/docs/API_docs/constructors/keyboardButtonBuy.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonBuy={_='keyboardButtonBuy', text='string'} ``` diff --git a/docs/API_docs/constructors/keyboardButtonCallback.md b/docs/API_docs/constructors/keyboardButtonCallback.md index 63e87aac..c8f86f50 100644 --- a/docs/API_docs/constructors/keyboardButtonCallback.md +++ b/docs/API_docs/constructors/keyboardButtonCallback.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` @@ -33,10 +33,9 @@ $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonCallback={_='keyboardButtonCallback', text='string', data='bytes'} ``` diff --git a/docs/API_docs/constructors/keyboardButtonGame.md b/docs/API_docs/constructors/keyboardButtonGame.md index 08110141..05a565a3 100644 --- a/docs/API_docs/constructors/keyboardButtonGame.md +++ b/docs/API_docs/constructors/keyboardButtonGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonGame={_='keyboardButtonGame', text='string'} ``` diff --git a/docs/API_docs/constructors/keyboardButtonRequestGeoLocation.md b/docs/API_docs/constructors/keyboardButtonRequestGeoLocation.md index fc422d90..63d4a82f 100644 --- a/docs/API_docs/constructors/keyboardButtonRequestGeoLocation.md +++ b/docs/API_docs/constructors/keyboardButtonRequestGeoLocation.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text='string'} ``` diff --git a/docs/API_docs/constructors/keyboardButtonRequestPhone.md b/docs/API_docs/constructors/keyboardButtonRequestPhone.md index a1719e24..ba58979f 100644 --- a/docs/API_docs/constructors/keyboardButtonRequestPhone.md +++ b/docs/API_docs/constructors/keyboardButtonRequestPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text='string'} ``` diff --git a/docs/API_docs/constructors/keyboardButtonRow.md b/docs/API_docs/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/docs/API_docs/constructors/keyboardButtonRow.md +++ b/docs/API_docs/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/docs/API_docs/constructors/keyboardButtonSwitchInline.md b/docs/API_docs/constructors/keyboardButtonSwitchInline.md index 463c473c..52dc897a 100644 --- a/docs/API_docs/constructors/keyboardButtonSwitchInline.md +++ b/docs/API_docs/constructors/keyboardButtonSwitchInline.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => 'string', 'query' => 'string']; ``` @@ -34,10 +34,9 @@ $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=Bool, text='string', query='string'} ``` diff --git a/docs/API_docs/constructors/keyboardButtonUrl.md b/docs/API_docs/constructors/keyboardButtonUrl.md index 709d4fa9..56b86f1c 100644 --- a/docs/API_docs/constructors/keyboardButtonUrl.md +++ b/docs/API_docs/constructors/keyboardButtonUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` @@ -33,10 +33,9 @@ $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonUrl={_='keyboardButtonUrl', text='string', url='string'} ``` diff --git a/docs/API_docs/constructors/labeledPrice.md b/docs/API_docs/constructors/labeledPrice.md index 22e91c77..d54f53f5 100644 --- a/docs/API_docs/constructors/labeledPrice.md +++ b/docs/API_docs/constructors/labeledPrice.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` @@ -33,10 +33,9 @@ $labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua labeledPrice={_='labeledPrice', label='string', amount=long} ``` diff --git a/docs/API_docs/constructors/langPackDifference.md b/docs/API_docs/constructors/langPackDifference.md index 59f57e24..c31de915 100644 --- a/docs/API_docs/constructors/langPackDifference.md +++ b/docs/API_docs/constructors/langPackDifference.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackDifference = ['_' => 'langPackDifference', 'lang_code' => 'string', 'from_version' => int, 'version' => int, 'strings' => [LangPackString, LangPackString]]; ``` @@ -35,10 +35,9 @@ $langPackDifference = ['_' => 'langPackDifference', 'lang_code' => 'string', 'fr ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackDifference={_='langPackDifference', lang_code='string', from_version=int, version=int, strings={LangPackString}} ``` diff --git a/docs/API_docs/constructors/langPackLanguage.md b/docs/API_docs/constructors/langPackLanguage.md index a72465ca..51a8486c 100644 --- a/docs/API_docs/constructors/langPackLanguage.md +++ b/docs/API_docs/constructors/langPackLanguage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackLanguage = ['_' => 'langPackLanguage', 'name' => 'string', 'native_name' => 'string', 'lang_code' => 'string']; ``` @@ -34,10 +34,9 @@ $langPackLanguage = ['_' => 'langPackLanguage', 'name' => 'string', 'native_name ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackLanguage={_='langPackLanguage', name='string', native_name='string', lang_code='string'} ``` diff --git a/docs/API_docs/constructors/langPackString.md b/docs/API_docs/constructors/langPackString.md index 4034f228..35d7d117 100644 --- a/docs/API_docs/constructors/langPackString.md +++ b/docs/API_docs/constructors/langPackString.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackString = ['_' => 'langPackString', 'key' => 'string', 'value' => 'string']; ``` @@ -33,10 +33,9 @@ $langPackString = ['_' => 'langPackString', 'key' => 'string', 'value' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackString={_='langPackString', key='string', value='string'} ``` diff --git a/docs/API_docs/constructors/langPackStringDeleted.md b/docs/API_docs/constructors/langPackStringDeleted.md index 3da641bb..c23ce8f8 100644 --- a/docs/API_docs/constructors/langPackStringDeleted.md +++ b/docs/API_docs/constructors/langPackStringDeleted.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackStringDeleted = ['_' => 'langPackStringDeleted', 'key' => 'string']; ``` @@ -32,10 +32,9 @@ $langPackStringDeleted = ['_' => 'langPackStringDeleted', 'key' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackStringDeleted={_='langPackStringDeleted', key='string'} ``` diff --git a/docs/API_docs/constructors/langPackStringPluralized.md b/docs/API_docs/constructors/langPackStringPluralized.md index 92b0b356..37225b53 100644 --- a/docs/API_docs/constructors/langPackStringPluralized.md +++ b/docs/API_docs/constructors/langPackStringPluralized.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => 'string', 'zero_value' => 'string', 'one_value' => 'string', 'two_value' => 'string', 'few_value' => 'string', 'many_value' => 'string', 'other_value' => 'string']; ``` @@ -38,10 +38,9 @@ $langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackStringPluralized={_='langPackStringPluralized', key='string', zero_value='string', one_value='string', two_value='string', few_value='string', many_value='string', other_value='string'} ``` diff --git a/docs/API_docs/constructors/maskCoords.md b/docs/API_docs/constructors/maskCoords.md index 21b9ad78..2d393f3a 100644 --- a/docs/API_docs/constructors/maskCoords.md +++ b/docs/API_docs/constructors/maskCoords.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double]; ``` @@ -35,10 +35,9 @@ $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'z ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua maskCoords={_='maskCoords', n=int, x=double, y=double, zoom=double} ``` diff --git a/docs/API_docs/constructors/message.md b/docs/API_docs/constructors/message.md index 98ea00b3..c7c87fd0 100644 --- a/docs/API_docs/constructors/message.md +++ b/docs/API_docs/constructors/message.md @@ -40,7 +40,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'views' => int, 'edit_date' => int, 'post_author' => 'string', 'grouped_id' => long]; ``` @@ -51,10 +51,9 @@ $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int, post_author='string', grouped_id=long} ``` diff --git a/docs/API_docs/constructors/messageActionBotAllowed.md b/docs/API_docs/constructors/messageActionBotAllowed.md index 26cf5fe4..e9e531fd 100644 --- a/docs/API_docs/constructors/messageActionBotAllowed.md +++ b/docs/API_docs/constructors/messageActionBotAllowed.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionBotAllowed = ['_' => 'messageActionBotAllowed', 'domain' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionBotAllowed = ['_' => 'messageActionBotAllowed', 'domain' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionBotAllowed={_='messageActionBotAllowed', domain='string'} ``` diff --git a/docs/API_docs/constructors/messageActionChannelCreate.md b/docs/API_docs/constructors/messageActionChannelCreate.md index b1750d73..2600ab63 100644 --- a/docs/API_docs/constructors/messageActionChannelCreate.md +++ b/docs/API_docs/constructors/messageActionChannelCreate.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/docs/API_docs/constructors/messageActionChannelMigrateFrom.md b/docs/API_docs/constructors/messageActionChannelMigrateFrom.md index add136dc..1fdcf3f4 100644 --- a/docs/API_docs/constructors/messageActionChannelMigrateFrom.md +++ b/docs/API_docs/constructors/messageActionChannelMigrateFrom.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 't ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title='string', chat_id=int} ``` diff --git a/docs/API_docs/constructors/messageActionChatAddUser.md b/docs/API_docs/constructors/messageActionChatAddUser.md index 9c7de7f8..283365cd 100644 --- a/docs/API_docs/constructors/messageActionChatAddUser.md +++ b/docs/API_docs/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', users={int}} ``` diff --git a/docs/API_docs/constructors/messageActionChatCreate.md b/docs/API_docs/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/docs/API_docs/constructors/messageActionChatCreate.md +++ b/docs/API_docs/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/docs/API_docs/constructors/messageActionChatDeletePhoto.md b/docs/API_docs/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/docs/API_docs/constructors/messageActionChatDeletePhoto.md +++ b/docs/API_docs/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/docs/API_docs/constructors/messageActionChatDeleteUser.md b/docs/API_docs/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/docs/API_docs/constructors/messageActionChatDeleteUser.md +++ b/docs/API_docs/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/docs/API_docs/constructors/messageActionChatEditPhoto.md b/docs/API_docs/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/docs/API_docs/constructors/messageActionChatEditPhoto.md +++ b/docs/API_docs/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/docs/API_docs/constructors/messageActionChatEditTitle.md b/docs/API_docs/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/docs/API_docs/constructors/messageActionChatEditTitle.md +++ b/docs/API_docs/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/docs/API_docs/constructors/messageActionChatJoinedByLink.md b/docs/API_docs/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/docs/API_docs/constructors/messageActionChatJoinedByLink.md +++ b/docs/API_docs/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/docs/API_docs/constructors/messageActionChatMigrateTo.md b/docs/API_docs/constructors/messageActionChatMigrateTo.md index 21d2cb22..8ace1091 100644 --- a/docs/API_docs/constructors/messageActionChatMigrateTo.md +++ b/docs/API_docs/constructors/messageActionChatMigrateTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int} ``` diff --git a/docs/API_docs/constructors/messageActionCustomAction.md b/docs/API_docs/constructors/messageActionCustomAction.md index 7dc58857..4087afcf 100644 --- a/docs/API_docs/constructors/messageActionCustomAction.md +++ b/docs/API_docs/constructors/messageActionCustomAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionCustomAction = ['_' => 'messageActionCustomAction', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionCustomAction = ['_' => 'messageActionCustomAction', 'message' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionCustomAction={_='messageActionCustomAction', message='string'} ``` diff --git a/docs/API_docs/constructors/messageActionEmpty.md b/docs/API_docs/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/docs/API_docs/constructors/messageActionEmpty.md +++ b/docs/API_docs/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/docs/API_docs/constructors/messageActionGameScore.md b/docs/API_docs/constructors/messageActionGameScore.md index 7a459a3d..c0086b66 100644 --- a/docs/API_docs/constructors/messageActionGameScore.md +++ b/docs/API_docs/constructors/messageActionGameScore.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int]; ``` @@ -33,10 +33,9 @@ $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionGameScore={_='messageActionGameScore', game_id=long, score=int} ``` diff --git a/docs/API_docs/constructors/messageActionHistoryClear.md b/docs/API_docs/constructors/messageActionHistoryClear.md index 8b8dcc9d..90875cf6 100644 --- a/docs/API_docs/constructors/messageActionHistoryClear.md +++ b/docs/API_docs/constructors/messageActionHistoryClear.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` @@ -27,10 +27,9 @@ $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionHistoryClear={_='messageActionHistoryClear'} ``` diff --git a/docs/API_docs/constructors/messageActionPaymentSent.md b/docs/API_docs/constructors/messageActionPaymentSent.md index b224a125..a5c83837 100644 --- a/docs/API_docs/constructors/messageActionPaymentSent.md +++ b/docs/API_docs/constructors/messageActionPaymentSent.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 'string', 'total_amount' => long]; ``` @@ -33,10 +33,9 @@ $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPaymentSent={_='messageActionPaymentSent', currency='string', total_amount=long} ``` diff --git a/docs/API_docs/constructors/messageActionPaymentSentMe.md b/docs/API_docs/constructors/messageActionPaymentSentMe.md index f21ccce0..b1a61d01 100644 --- a/docs/API_docs/constructors/messageActionPaymentSentMe.md +++ b/docs/API_docs/constructors/messageActionPaymentSentMe.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' => 'string', 'total_amount' => long, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'charge' => PaymentCharge]; ``` @@ -37,10 +37,9 @@ $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPaymentSentMe={_='messageActionPaymentSentMe', currency='string', total_amount=long, payload='bytes', info=PaymentRequestedInfo, shipping_option_id='string', charge=PaymentCharge} ``` diff --git a/docs/API_docs/constructors/messageActionPhoneCall.md b/docs/API_docs/constructors/messageActionPhoneCall.md index f2f3eb4f..18a6c687 100644 --- a/docs/API_docs/constructors/messageActionPhoneCall.md +++ b/docs/API_docs/constructors/messageActionPhoneCall.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` @@ -34,10 +34,9 @@ $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPhoneCall={_='messageActionPhoneCall', call_id=long, reason=PhoneCallDiscardReason, duration=int} ``` diff --git a/docs/API_docs/constructors/messageActionPinMessage.md b/docs/API_docs/constructors/messageActionPinMessage.md index ffa41746..be763787 100644 --- a/docs/API_docs/constructors/messageActionPinMessage.md +++ b/docs/API_docs/constructors/messageActionPinMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` @@ -27,10 +27,9 @@ $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/docs/API_docs/constructors/messageActionScreenshotTaken.md b/docs/API_docs/constructors/messageActionScreenshotTaken.md index f86b1746..cbe504c6 100644 --- a/docs/API_docs/constructors/messageActionScreenshotTaken.md +++ b/docs/API_docs/constructors/messageActionScreenshotTaken.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionScreenshotTaken = ['_' => 'messageActionScreenshotTaken']; ``` @@ -27,10 +27,9 @@ $messageActionScreenshotTaken = ['_' => 'messageActionScreenshotTaken']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionScreenshotTaken={_='messageActionScreenshotTaken'} ``` diff --git a/docs/API_docs/constructors/messageActionSecureValuesSent.md b/docs/API_docs/constructors/messageActionSecureValuesSent.md index 65dbd5c7..d1841ae4 100644 --- a/docs/API_docs/constructors/messageActionSecureValuesSent.md +++ b/docs/API_docs/constructors/messageActionSecureValuesSent.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionSecureValuesSent = ['_' => 'messageActionSecureValuesSent', 'types' => [SecureValueType, SecureValueType]]; ``` @@ -32,10 +32,9 @@ $messageActionSecureValuesSent = ['_' => 'messageActionSecureValuesSent', 'types ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionSecureValuesSent={_='messageActionSecureValuesSent', types={SecureValueType}} ``` diff --git a/docs/API_docs/constructors/messageActionSecureValuesSentMe.md b/docs/API_docs/constructors/messageActionSecureValuesSentMe.md index 31a2ef90..169097d2 100644 --- a/docs/API_docs/constructors/messageActionSecureValuesSentMe.md +++ b/docs/API_docs/constructors/messageActionSecureValuesSentMe.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionSecureValuesSentMe = ['_' => 'messageActionSecureValuesSentMe', 'values' => [SecureValue, SecureValue], 'credentials' => SecureCredentialsEncrypted]; ``` @@ -33,10 +33,9 @@ $messageActionSecureValuesSentMe = ['_' => 'messageActionSecureValuesSentMe', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionSecureValuesSentMe={_='messageActionSecureValuesSentMe', values={SecureValue}, credentials=SecureCredentialsEncrypted} ``` diff --git a/docs/API_docs/constructors/messageEmpty.md b/docs/API_docs/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/docs/API_docs/constructors/messageEmpty.md +++ b/docs/API_docs/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/docs/API_docs/constructors/messageEntityBold.md b/docs/API_docs/constructors/messageEntityBold.md index 950699fb..90f74ad5 100644 --- a/docs/API_docs/constructors/messageEntityBold.md +++ b/docs/API_docs/constructors/messageEntityBold.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/docs/API_docs/constructors/messageEntityBotCommand.md b/docs/API_docs/constructors/messageEntityBotCommand.md index 8be471d3..9fb8f6a6 100644 --- a/docs/API_docs/constructors/messageEntityBotCommand.md +++ b/docs/API_docs/constructors/messageEntityBotCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/docs/API_docs/constructors/messageEntityCashtag.md b/docs/API_docs/constructors/messageEntityCashtag.md index 527c66d1..6801f04c 100644 --- a/docs/API_docs/constructors/messageEntityCashtag.md +++ b/docs/API_docs/constructors/messageEntityCashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCashtag = ['_' => 'messageEntityCashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCashtag = ['_' => 'messageEntityCashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCashtag={_='messageEntityCashtag', offset=int, length=int} ``` diff --git a/docs/API_docs/constructors/messageEntityCode.md b/docs/API_docs/constructors/messageEntityCode.md index 7c701844..d236e57e 100644 --- a/docs/API_docs/constructors/messageEntityCode.md +++ b/docs/API_docs/constructors/messageEntityCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/docs/API_docs/constructors/messageEntityEmail.md b/docs/API_docs/constructors/messageEntityEmail.md index 35a968c7..74e910f3 100644 --- a/docs/API_docs/constructors/messageEntityEmail.md +++ b/docs/API_docs/constructors/messageEntityEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/docs/API_docs/constructors/messageEntityHashtag.md b/docs/API_docs/constructors/messageEntityHashtag.md index 6b124e73..77e29387 100644 --- a/docs/API_docs/constructors/messageEntityHashtag.md +++ b/docs/API_docs/constructors/messageEntityHashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/docs/API_docs/constructors/messageEntityItalic.md b/docs/API_docs/constructors/messageEntityItalic.md index 25f73428..5975bae2 100644 --- a/docs/API_docs/constructors/messageEntityItalic.md +++ b/docs/API_docs/constructors/messageEntityItalic.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/docs/API_docs/constructors/messageEntityMention.md b/docs/API_docs/constructors/messageEntityMention.md index 9eb4d266..1a21cb10 100644 --- a/docs/API_docs/constructors/messageEntityMention.md +++ b/docs/API_docs/constructors/messageEntityMention.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/docs/API_docs/constructors/messageEntityMentionName.md b/docs/API_docs/constructors/messageEntityMentionName.md index b546570b..0fe142c5 100644 --- a/docs/API_docs/constructors/messageEntityMentionName.md +++ b/docs/API_docs/constructors/messageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int]; ``` @@ -34,10 +34,9 @@ $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int} ``` diff --git a/docs/API_docs/constructors/messageEntityPhone.md b/docs/API_docs/constructors/messageEntityPhone.md index 995c04a6..ff0b770e 100644 --- a/docs/API_docs/constructors/messageEntityPhone.md +++ b/docs/API_docs/constructors/messageEntityPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPhone = ['_' => 'messageEntityPhone', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityPhone = ['_' => 'messageEntityPhone', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPhone={_='messageEntityPhone', offset=int, length=int} ``` diff --git a/docs/API_docs/constructors/messageEntityPre.md b/docs/API_docs/constructors/messageEntityPre.md index abfc9136..13b165fe 100644 --- a/docs/API_docs/constructors/messageEntityPre.md +++ b/docs/API_docs/constructors/messageEntityPre.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPre={_='messageEntityPre', offset=int, length=int, language='string'} ``` diff --git a/docs/API_docs/constructors/messageEntityTextUrl.md b/docs/API_docs/constructors/messageEntityTextUrl.md index 91f6d36c..b6d82843 100644 --- a/docs/API_docs/constructors/messageEntityTextUrl.md +++ b/docs/API_docs/constructors/messageEntityTextUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/docs/API_docs/constructors/messageEntityUnknown.md b/docs/API_docs/constructors/messageEntityUnknown.md index 69ca8a1b..4c434fd7 100644 --- a/docs/API_docs/constructors/messageEntityUnknown.md +++ b/docs/API_docs/constructors/messageEntityUnknown.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/docs/API_docs/constructors/messageEntityUrl.md b/docs/API_docs/constructors/messageEntityUrl.md index 377c3dda..2cf334a5 100644 --- a/docs/API_docs/constructors/messageEntityUrl.md +++ b/docs/API_docs/constructors/messageEntityUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/docs/API_docs/constructors/messageFwdHeader.md b/docs/API_docs/constructors/messageFwdHeader.md index 17fd301c..3fe7ca9b 100644 --- a/docs/API_docs/constructors/messageFwdHeader.md +++ b/docs/API_docs/constructors/messageFwdHeader.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, 'post_author' => 'string', 'saved_from_peer' => Peer, 'saved_from_msg_id' => int]; ``` @@ -38,10 +38,9 @@ $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int, post_author='string', saved_from_peer=Peer, saved_from_msg_id=int} ``` diff --git a/docs/API_docs/constructors/messageMediaContact.md b/docs/API_docs/constructors/messageMediaContact.md index 20079446..4aab43bf 100644 --- a/docs/API_docs/constructors/messageMediaContact.md +++ b/docs/API_docs/constructors/messageMediaContact.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'vcard' => 'string', 'user_id' => int]; ``` @@ -36,10 +36,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', vcard='string', user_id=int} ``` diff --git a/docs/API_docs/constructors/messageMediaDocument.md b/docs/API_docs/constructors/messageMediaDocument.md index b91e7db9..9abbd247 100644 --- a/docs/API_docs/constructors/messageMediaDocument.md +++ b/docs/API_docs/constructors/messageMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'ttl_seconds' => int]; ``` @@ -33,10 +33,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document, ttl_seconds=int} ``` diff --git a/docs/API_docs/constructors/messageMediaEmpty.md b/docs/API_docs/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/docs/API_docs/constructors/messageMediaEmpty.md +++ b/docs/API_docs/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/docs/API_docs/constructors/messageMediaGame.md b/docs/API_docs/constructors/messageMediaGame.md index e97b2bd1..980dbbcc 100644 --- a/docs/API_docs/constructors/messageMediaGame.md +++ b/docs/API_docs/constructors/messageMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` @@ -32,10 +32,9 @@ $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGame={_='messageMediaGame', game=Game} ``` diff --git a/docs/API_docs/constructors/messageMediaGeo.md b/docs/API_docs/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/docs/API_docs/constructors/messageMediaGeo.md +++ b/docs/API_docs/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/docs/API_docs/constructors/messageMediaGeoLive.md b/docs/API_docs/constructors/messageMediaGeoLive.md index f77c0a16..b238f66e 100644 --- a/docs/API_docs/constructors/messageMediaGeoLive.md +++ b/docs/API_docs/constructors/messageMediaGeoLive.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeoLive = ['_' => 'messageMediaGeoLive', 'geo' => GeoPoint, 'period' => int]; ``` @@ -33,10 +33,9 @@ $messageMediaGeoLive = ['_' => 'messageMediaGeoLive', 'geo' => GeoPoint, 'period ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeoLive={_='messageMediaGeoLive', geo=GeoPoint, period=int} ``` diff --git a/docs/API_docs/constructors/messageMediaInvoice.md b/docs/API_docs/constructors/messageMediaInvoice.md index dff83700..e7514d50 100644 --- a/docs/API_docs/constructors/messageMediaInvoice.md +++ b/docs/API_docs/constructors/messageMediaInvoice.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requested' => Bool, 'test' => Bool, 'title' => 'string', 'description' => 'string', 'photo' => WebDocument, 'receipt_msg_id' => int, 'currency' => 'string', 'total_amount' => long, 'start_param' => 'string']; ``` @@ -40,10 +40,9 @@ $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requeste ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaInvoice={_='messageMediaInvoice', shipping_address_requested=Bool, test=Bool, title='string', description='string', photo=WebDocument, receipt_msg_id=int, currency='string', total_amount=long, start_param='string'} ``` diff --git a/docs/API_docs/constructors/messageMediaPhoto.md b/docs/API_docs/constructors/messageMediaPhoto.md index 530e1abf..f7a94ced 100644 --- a/docs/API_docs/constructors/messageMediaPhoto.md +++ b/docs/API_docs/constructors/messageMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'ttl_seconds' => int]; ``` @@ -33,10 +33,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'ttl_seconds ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, ttl_seconds=int} ``` diff --git a/docs/API_docs/constructors/messageMediaUnsupported.md b/docs/API_docs/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/docs/API_docs/constructors/messageMediaUnsupported.md +++ b/docs/API_docs/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/docs/API_docs/constructors/messageMediaVenue.md b/docs/API_docs/constructors/messageMediaVenue.md index 7d529bf1..4d1ff1b7 100644 --- a/docs/API_docs/constructors/messageMediaVenue.md +++ b/docs/API_docs/constructors/messageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string']; ``` @@ -37,10 +37,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string', venue_type='string'} ``` diff --git a/docs/API_docs/constructors/messageMediaWebPage.md b/docs/API_docs/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/docs/API_docs/constructors/messageMediaWebPage.md +++ b/docs/API_docs/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/docs/API_docs/constructors/messageRange.md b/docs/API_docs/constructors/messageRange.md index 40c3f81a..527e8646 100644 --- a/docs/API_docs/constructors/messageRange.md +++ b/docs/API_docs/constructors/messageRange.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageRange={_='messageRange', min_id=int, max_id=int} ``` diff --git a/docs/API_docs/constructors/messageService.md b/docs/API_docs/constructors/messageService.md index 8f47e32f..f9946e72 100644 --- a/docs/API_docs/constructors/messageService.md +++ b/docs/API_docs/constructors/messageService.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction]; ``` @@ -42,10 +42,9 @@ $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction} ``` diff --git a/docs/API_docs/constructors/messages_affectedHistory.md b/docs/API_docs/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/docs/API_docs/constructors/messages_affectedHistory.md +++ b/docs/API_docs/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/docs/API_docs/constructors/messages_affectedMessages.md b/docs/API_docs/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/docs/API_docs/constructors/messages_affectedMessages.md +++ b/docs/API_docs/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/docs/API_docs/constructors/messages_allStickers.md b/docs/API_docs/constructors/messages_allStickers.md index 2a7d1313..45a66ddf 100644 --- a/docs/API_docs/constructors/messages_allStickers.md +++ b/docs/API_docs/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} ``` diff --git a/docs/API_docs/constructors/messages_allStickersNotModified.md b/docs/API_docs/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/docs/API_docs/constructors/messages_allStickersNotModified.md +++ b/docs/API_docs/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/docs/API_docs/constructors/messages_archivedStickers.md b/docs/API_docs/constructors/messages_archivedStickers.md index 458c74b9..639d174b 100644 --- a/docs/API_docs/constructors/messages_archivedStickers.md +++ b/docs/API_docs/constructors/messages_archivedStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -33,10 +33,9 @@ $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} ``` diff --git a/docs/API_docs/constructors/messages_botCallbackAnswer.md b/docs/API_docs/constructors/messages_botCallbackAnswer.md index 657ba0fc..f7536196 100644 --- a/docs/API_docs/constructors/messages_botCallbackAnswer.md +++ b/docs/API_docs/constructors/messages_botCallbackAnswer.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; ``` @@ -37,10 +37,9 @@ $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} ``` diff --git a/docs/API_docs/constructors/messages_botResults.md b/docs/API_docs/constructors/messages_botResults.md index 514517e4..5c946daa 100644 --- a/docs/API_docs/constructors/messages_botResults.md +++ b/docs/API_docs/constructors/messages_botResults.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} ``` diff --git a/docs/API_docs/constructors/messages_channelMessages.md b/docs/API_docs/constructors/messages_channelMessages.md index 43f4cdc6..0da0608d 100644 --- a/docs/API_docs/constructors/messages_channelMessages.md +++ b/docs/API_docs/constructors/messages_channelMessages.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'c ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/docs/API_docs/constructors/messages_chatFull.md b/docs/API_docs/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/docs/API_docs/constructors/messages_chatFull.md +++ b/docs/API_docs/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/docs/API_docs/constructors/messages_chats.md b/docs/API_docs/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/docs/API_docs/constructors/messages_chats.md +++ b/docs/API_docs/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/docs/API_docs/constructors/messages_chatsSlice.md b/docs/API_docs/constructors/messages_chatsSlice.md index 83905f64..d6a204d4 100644 --- a/docs/API_docs/constructors/messages_chatsSlice.md +++ b/docs/API_docs/constructors/messages_chatsSlice.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; ``` @@ -33,10 +33,9 @@ $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} ``` diff --git a/docs/API_docs/constructors/messages_dhConfig.md b/docs/API_docs/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/docs/API_docs/constructors/messages_dhConfig.md +++ b/docs/API_docs/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/docs/API_docs/constructors/messages_dhConfigNotModified.md b/docs/API_docs/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/docs/API_docs/constructors/messages_dhConfigNotModified.md +++ b/docs/API_docs/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/docs/API_docs/constructors/messages_dialogs.md b/docs/API_docs/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/docs/API_docs/constructors/messages_dialogs.md +++ b/docs/API_docs/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/docs/API_docs/constructors/messages_dialogsNotModified.md b/docs/API_docs/constructors/messages_dialogsNotModified.md index 14c76ec0..f619d514 100644 --- a/docs/API_docs/constructors/messages_dialogsNotModified.md +++ b/docs/API_docs/constructors/messages_dialogsNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; ``` @@ -32,10 +32,9 @@ $messages_dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsNotModified={_='messages.dialogsNotModified', count=int} ``` diff --git a/docs/API_docs/constructors/messages_dialogsSlice.md b/docs/API_docs/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/docs/API_docs/constructors/messages_dialogsSlice.md +++ b/docs/API_docs/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/docs/API_docs/constructors/messages_favedStickers.md b/docs/API_docs/constructors/messages_favedStickers.md index b0501427..d058813a 100644 --- a/docs/API_docs/constructors/messages_favedStickers.md +++ b/docs/API_docs/constructors/messages_favedStickers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} ``` diff --git a/docs/API_docs/constructors/messages_favedStickersNotModified.md b/docs/API_docs/constructors/messages_favedStickersNotModified.md index a5215247..91c1ec51 100644 --- a/docs/API_docs/constructors/messages_favedStickersNotModified.md +++ b/docs/API_docs/constructors/messages_favedStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_favedStickersNotModified={_='messages.favedStickersNotModified'} ``` diff --git a/docs/API_docs/constructors/messages_featuredStickers.md b/docs/API_docs/constructors/messages_featuredStickers.md index 0ec8be8b..f40ec583 100644 --- a/docs/API_docs/constructors/messages_featuredStickers.md +++ b/docs/API_docs/constructors/messages_featuredStickers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; ``` @@ -34,10 +34,9 @@ $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} ``` diff --git a/docs/API_docs/constructors/messages_featuredStickersNotModified.md b/docs/API_docs/constructors/messages_featuredStickersNotModified.md index 87d2e6c7..3457ff96 100644 --- a/docs/API_docs/constructors/messages_featuredStickersNotModified.md +++ b/docs/API_docs/constructors/messages_featuredStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotMod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} ``` diff --git a/docs/API_docs/constructors/messages_foundGifs.md b/docs/API_docs/constructors/messages_foundGifs.md index f86a9fed..4d513264 100644 --- a/docs/API_docs/constructors/messages_foundGifs.md +++ b/docs/API_docs/constructors/messages_foundGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; ``` @@ -33,10 +33,9 @@ $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'resul ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} ``` diff --git a/docs/API_docs/constructors/messages_foundStickerSets.md b/docs/API_docs/constructors/messages_foundStickerSets.md index f0cad2dd..c813a1aa 100644 --- a/docs/API_docs/constructors/messages_foundStickerSets.md +++ b/docs/API_docs/constructors/messages_foundStickerSets.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -33,10 +33,9 @@ $messages_foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} ``` diff --git a/docs/API_docs/constructors/messages_foundStickerSetsNotModified.md b/docs/API_docs/constructors/messages_foundStickerSetsNotModified.md index 2263a904..f6669bd2 100644 --- a/docs/API_docs/constructors/messages_foundStickerSetsNotModified.md +++ b/docs/API_docs/constructors/messages_foundStickerSetsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; ``` @@ -27,10 +27,9 @@ $messages_foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotMod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} ``` diff --git a/docs/API_docs/constructors/messages_highScores.md b/docs/API_docs/constructors/messages_highScores.md index 1af58a14..08692c07 100644 --- a/docs/API_docs/constructors/messages_highScores.md +++ b/docs/API_docs/constructors/messages_highScores.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, Hi ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} ``` diff --git a/docs/API_docs/constructors/messages_messageEditData.md b/docs/API_docs/constructors/messages_messageEditData.md index aee6e179..fe0f3ab3 100644 --- a/docs/API_docs/constructors/messages_messageEditData.md +++ b/docs/API_docs/constructors/messages_messageEditData.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` @@ -32,10 +32,9 @@ $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messageEditData={_='messages.messageEditData', caption=Bool} ``` diff --git a/docs/API_docs/constructors/messages_messages.md b/docs/API_docs/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/docs/API_docs/constructors/messages_messages.md +++ b/docs/API_docs/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/docs/API_docs/constructors/messages_messagesNotModified.md b/docs/API_docs/constructors/messages_messagesNotModified.md index 524d4c6f..05c192e5 100644 --- a/docs/API_docs/constructors/messages_messagesNotModified.md +++ b/docs/API_docs/constructors/messages_messagesNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; ``` @@ -32,10 +32,9 @@ $messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesNotModified={_='messages.messagesNotModified', count=int} ``` diff --git a/docs/API_docs/constructors/messages_messagesSlice.md b/docs/API_docs/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/docs/API_docs/constructors/messages_messagesSlice.md +++ b/docs/API_docs/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/docs/API_docs/constructors/messages_peerDialogs.md b/docs/API_docs/constructors/messages_peerDialogs.md index 93601b21..60aa48e6 100644 --- a/docs/API_docs/constructors/messages_peerDialogs.md +++ b/docs/API_docs/constructors/messages_peerDialogs.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -36,10 +36,9 @@ $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Di ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/docs/API_docs/constructors/messages_recentStickers.md b/docs/API_docs/constructors/messages_recentStickers.md index e4b01c29..8f8a6dc3 100644 --- a/docs/API_docs/constructors/messages_recentStickers.md +++ b/docs/API_docs/constructors/messages_recentStickers.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; ``` @@ -35,10 +35,9 @@ $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'pa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} ``` diff --git a/docs/API_docs/constructors/messages_recentStickersNotModified.md b/docs/API_docs/constructors/messages_recentStickersNotModified.md index 9bf964da..c3c4f654 100644 --- a/docs/API_docs/constructors/messages_recentStickersNotModified.md +++ b/docs/API_docs/constructors/messages_recentStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModifie ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickersNotModified={_='messages.recentStickersNotModified'} ``` diff --git a/docs/API_docs/constructors/messages_savedGifs.md b/docs/API_docs/constructors/messages_savedGifs.md index 4a254ab5..ae7e595f 100644 --- a/docs/API_docs/constructors/messages_savedGifs.md +++ b/docs/API_docs/constructors/messages_savedGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Do ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} ``` diff --git a/docs/API_docs/constructors/messages_savedGifsNotModified.md b/docs/API_docs/constructors/messages_savedGifsNotModified.md index 65c17d0c..ef0db669 100644 --- a/docs/API_docs/constructors/messages_savedGifsNotModified.md +++ b/docs/API_docs/constructors/messages_savedGifsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` @@ -27,10 +27,9 @@ $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifsNotModified={_='messages.savedGifsNotModified'} ``` diff --git a/docs/API_docs/constructors/messages_sentEncryptedFile.md b/docs/API_docs/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/docs/API_docs/constructors/messages_sentEncryptedFile.md +++ b/docs/API_docs/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/docs/API_docs/constructors/messages_sentEncryptedMessage.md b/docs/API_docs/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/docs/API_docs/constructors/messages_sentEncryptedMessage.md +++ b/docs/API_docs/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/docs/API_docs/constructors/messages_stickerSet.md b/docs/API_docs/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/docs/API_docs/constructors/messages_stickerSet.md +++ b/docs/API_docs/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/docs/API_docs/constructors/messages_stickerSetInstallResultArchive.md b/docs/API_docs/constructors/messages_stickerSetInstallResultArchive.md index 2f66cfa0..f43e11c0 100644 --- a/docs/API_docs/constructors/messages_stickerSetInstallResultArchive.md +++ b/docs/API_docs/constructors/messages_stickerSetInstallResultArchive.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -32,10 +32,9 @@ $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} ``` diff --git a/docs/API_docs/constructors/messages_stickerSetInstallResultSuccess.md b/docs/API_docs/constructors/messages_stickerSetInstallResultSuccess.md index ef5752a2..bb6b00f3 100644 --- a/docs/API_docs/constructors/messages_stickerSetInstallResultSuccess.md +++ b/docs/API_docs/constructors/messages_stickerSetInstallResultSuccess.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; ``` @@ -27,10 +27,9 @@ $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} ``` diff --git a/docs/API_docs/constructors/messages_stickers.md b/docs/API_docs/constructors/messages_stickers.md index 56860537..b7bc19f3 100644 --- a/docs/API_docs/constructors/messages_stickers.md +++ b/docs/API_docs/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash=int, stickers={Document}} ``` diff --git a/docs/API_docs/constructors/messages_stickersNotModified.md b/docs/API_docs/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/docs/API_docs/constructors/messages_stickersNotModified.md +++ b/docs/API_docs/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/docs/API_docs/constructors/nearestDc.md b/docs/API_docs/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/docs/API_docs/constructors/nearestDc.md +++ b/docs/API_docs/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/docs/API_docs/constructors/notifyChats.md b/docs/API_docs/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/docs/API_docs/constructors/notifyChats.md +++ b/docs/API_docs/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/docs/API_docs/constructors/notifyPeer.md b/docs/API_docs/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/docs/API_docs/constructors/notifyPeer.md +++ b/docs/API_docs/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/docs/API_docs/constructors/notifyUsers.md b/docs/API_docs/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/docs/API_docs/constructors/notifyUsers.md +++ b/docs/API_docs/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/docs/API_docs/constructors/pageBlockAnchor.md b/docs/API_docs/constructors/pageBlockAnchor.md index 4268b77c..564e0da6 100644 --- a/docs/API_docs/constructors/pageBlockAnchor.md +++ b/docs/API_docs/constructors/pageBlockAnchor.md @@ -23,7 +23,7 @@ Invisible anchor on a page which can be used in a URL to open a page from the sp ### Example: -``` +```php $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAnchor={_='pageBlockAnchor', name='string'} ``` diff --git a/docs/API_docs/constructors/pageBlockAudio.md b/docs/API_docs/constructors/pageBlockAudio.md index 5a7b97c0..af68cf19 100644 --- a/docs/API_docs/constructors/pageBlockAudio.md +++ b/docs/API_docs/constructors/pageBlockAudio.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAudio = ['_' => 'pageBlockAudio', 'audio_id' => long, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockAudio = ['_' => 'pageBlockAudio', 'audio_id' => long, 'caption' => Ric ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAudio={_='pageBlockAudio', audio_id=long, caption=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockAuthorDate.md b/docs/API_docs/constructors/pageBlockAuthorDate.md index 4f746156..03daab4b 100644 --- a/docs/API_docs/constructors/pageBlockAuthorDate.md +++ b/docs/API_docs/constructors/pageBlockAuthorDate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int]; ``` @@ -33,10 +33,9 @@ $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'pub ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAuthorDate={_='pageBlockAuthorDate', author=RichText, published_date=int} ``` diff --git a/docs/API_docs/constructors/pageBlockBlockquote.md b/docs/API_docs/constructors/pageBlockBlockquote.md index f78ad5bd..c34f378d 100644 --- a/docs/API_docs/constructors/pageBlockBlockquote.md +++ b/docs/API_docs/constructors/pageBlockBlockquote.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'capti ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockBlockquote={_='pageBlockBlockquote', text=RichText, caption=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockChannel.md b/docs/API_docs/constructors/pageBlockChannel.md index 6cd78457..95ddd37b 100644 --- a/docs/API_docs/constructors/pageBlockChannel.md +++ b/docs/API_docs/constructors/pageBlockChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat]; ``` @@ -32,10 +32,9 @@ $pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockChannel={_='pageBlockChannel', channel=Chat} ``` diff --git a/docs/API_docs/constructors/pageBlockCollage.md b/docs/API_docs/constructors/pageBlockCollage.md index 45bdee72..beaf8ba2 100644 --- a/docs/API_docs/constructors/pageBlockCollage.md +++ b/docs/API_docs/constructors/pageBlockCollage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock, PageBlock ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockCollage={_='pageBlockCollage', items={PageBlock}, caption=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockCover.md b/docs/API_docs/constructors/pageBlockCover.md index 9a86c1ac..7881bc00 100644 --- a/docs/API_docs/constructors/pageBlockCover.md +++ b/docs/API_docs/constructors/pageBlockCover.md @@ -23,7 +23,7 @@ Page cover ### Example: -``` +```php $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` @@ -34,10 +34,9 @@ $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockCover={_='pageBlockCover', cover=PageBlock} ``` diff --git a/docs/API_docs/constructors/pageBlockDivider.md b/docs/API_docs/constructors/pageBlockDivider.md index f4f95839..9ad2f497 100644 --- a/docs/API_docs/constructors/pageBlockDivider.md +++ b/docs/API_docs/constructors/pageBlockDivider.md @@ -18,7 +18,7 @@ An empty block separating parts of a page ### Example: -``` +```php $pageBlockDivider = ['_' => 'pageBlockDivider']; ``` @@ -29,10 +29,9 @@ $pageBlockDivider = ['_' => 'pageBlockDivider']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockDivider={_='pageBlockDivider'} ``` diff --git a/docs/API_docs/constructors/pageBlockEmbed.md b/docs/API_docs/constructors/pageBlockEmbed.md index 3e508369..9c72b889 100644 --- a/docs/API_docs/constructors/pageBlockEmbed.md +++ b/docs/API_docs/constructors/pageBlockEmbed.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => 'string', 'html' => 'string', 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText]; ``` @@ -39,10 +39,9 @@ $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolli ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockEmbed={_='pageBlockEmbed', full_width=Bool, allow_scrolling=Bool, url='string', html='string', poster_photo_id=long, w=int, h=int, caption=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockEmbedPost.md b/docs/API_docs/constructors/pageBlockEmbedPost.md index 24c622e6..684952c1 100644 --- a/docs/API_docs/constructors/pageBlockEmbedPost.md +++ b/docs/API_docs/constructors/pageBlockEmbedPost.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_id' => long, 'author_photo_id' => long, 'author' => 'string', 'date' => int, 'blocks' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -38,10 +38,9 @@ $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockEmbedPost={_='pageBlockEmbedPost', url='string', webpage_id=long, author_photo_id=long, author='string', date=int, blocks={PageBlock}, caption=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockFooter.md b/docs/API_docs/constructors/pageBlockFooter.md index 3caeb971..e467eb94 100644 --- a/docs/API_docs/constructors/pageBlockFooter.md +++ b/docs/API_docs/constructors/pageBlockFooter.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockFooter={_='pageBlockFooter', text=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockHeader.md b/docs/API_docs/constructors/pageBlockHeader.md index 950037d0..761196e1 100644 --- a/docs/API_docs/constructors/pageBlockHeader.md +++ b/docs/API_docs/constructors/pageBlockHeader.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockHeader={_='pageBlockHeader', text=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockList.md b/docs/API_docs/constructors/pageBlockList.md index 37371b18..f841cf2f 100644 --- a/docs/API_docs/constructors/pageBlockList.md +++ b/docs/API_docs/constructors/pageBlockList.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText, RichText]]; ``` @@ -33,10 +33,9 @@ $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichTex ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockList={_='pageBlockList', ordered=Bool, items={RichText}} ``` diff --git a/docs/API_docs/constructors/pageBlockParagraph.md b/docs/API_docs/constructors/pageBlockParagraph.md index 2c314189..683087a4 100644 --- a/docs/API_docs/constructors/pageBlockParagraph.md +++ b/docs/API_docs/constructors/pageBlockParagraph.md @@ -23,7 +23,7 @@ A text paragraph ### Example: -``` +```php $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` @@ -34,10 +34,9 @@ $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockParagraph={_='pageBlockParagraph', text=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockPhoto.md b/docs/API_docs/constructors/pageBlockPhoto.md index e80e16f4..470dbc15 100644 --- a/docs/API_docs/constructors/pageBlockPhoto.md +++ b/docs/API_docs/constructors/pageBlockPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => Ric ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPhoto={_='pageBlockPhoto', photo_id=long, caption=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockPreformatted.md b/docs/API_docs/constructors/pageBlockPreformatted.md index 57ba7861..1670d525 100644 --- a/docs/API_docs/constructors/pageBlockPreformatted.md +++ b/docs/API_docs/constructors/pageBlockPreformatted.md @@ -24,7 +24,7 @@ Preformatted text paragraph ### Example: -``` +```php $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => 'string']; ``` @@ -35,10 +35,9 @@ $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPreformatted={_='pageBlockPreformatted', text=RichText, language='string'} ``` diff --git a/docs/API_docs/constructors/pageBlockPullquote.md b/docs/API_docs/constructors/pageBlockPullquote.md index d73389da..744215e3 100644 --- a/docs/API_docs/constructors/pageBlockPullquote.md +++ b/docs/API_docs/constructors/pageBlockPullquote.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPullquote={_='pageBlockPullquote', text=RichText, caption=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockSlideshow.md b/docs/API_docs/constructors/pageBlockSlideshow.md index d855e4d8..4a827931 100644 --- a/docs/API_docs/constructors/pageBlockSlideshow.md +++ b/docs/API_docs/constructors/pageBlockSlideshow.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock, PageB ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSlideshow={_='pageBlockSlideshow', items={PageBlock}, caption=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockSubheader.md b/docs/API_docs/constructors/pageBlockSubheader.md index 6b6a332e..094c5d2e 100644 --- a/docs/API_docs/constructors/pageBlockSubheader.md +++ b/docs/API_docs/constructors/pageBlockSubheader.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSubheader={_='pageBlockSubheader', text=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockSubtitle.md b/docs/API_docs/constructors/pageBlockSubtitle.md index 017112c2..6ad657c0 100644 --- a/docs/API_docs/constructors/pageBlockSubtitle.md +++ b/docs/API_docs/constructors/pageBlockSubtitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSubtitle={_='pageBlockSubtitle', text=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockTitle.md b/docs/API_docs/constructors/pageBlockTitle.md index 9dfe94d2..5c6d228b 100644 --- a/docs/API_docs/constructors/pageBlockTitle.md +++ b/docs/API_docs/constructors/pageBlockTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockTitle={_='pageBlockTitle', text=RichText} ``` diff --git a/docs/API_docs/constructors/pageBlockUnsupported.md b/docs/API_docs/constructors/pageBlockUnsupported.md index 8d127c6d..a0895079 100644 --- a/docs/API_docs/constructors/pageBlockUnsupported.md +++ b/docs/API_docs/constructors/pageBlockUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` @@ -27,10 +27,9 @@ $pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockUnsupported={_='pageBlockUnsupported'} ``` diff --git a/docs/API_docs/constructors/pageBlockVideo.md b/docs/API_docs/constructors/pageBlockVideo.md index 03a04d1b..27c2ed6f 100644 --- a/docs/API_docs/constructors/pageBlockVideo.md +++ b/docs/API_docs/constructors/pageBlockVideo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText]; ``` @@ -35,10 +35,9 @@ $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockVideo={_='pageBlockVideo', autoplay=Bool, loop=Bool, video_id=long, caption=RichText} ``` diff --git a/docs/API_docs/constructors/pageFull.md b/docs/API_docs/constructors/pageFull.md index 493f1403..40bae0d4 100644 --- a/docs/API_docs/constructors/pageFull.md +++ b/docs/API_docs/constructors/pageFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock, PageBlock], 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageFull={_='pageFull', blocks={PageBlock}, photos={Photo}, documents={Document}} ``` diff --git a/docs/API_docs/constructors/pagePart.md b/docs/API_docs/constructors/pagePart.md index 3e2261ef..430bd942 100644 --- a/docs/API_docs/constructors/pagePart.md +++ b/docs/API_docs/constructors/pagePart.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock, PageBlock], 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pagePart={_='pagePart', blocks={PageBlock}, photos={Photo}, documents={Document}} ``` diff --git a/docs/API_docs/constructors/paymentCharge.md b/docs/API_docs/constructors/paymentCharge.md index 83a0d433..56e8e040 100644 --- a/docs/API_docs/constructors/paymentCharge.md +++ b/docs/API_docs/constructors/paymentCharge.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' => 'string']; ``` @@ -33,10 +33,9 @@ $paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentCharge={_='paymentCharge', id='string', provider_charge_id='string'} ``` diff --git a/docs/API_docs/constructors/paymentRequestedInfo.md b/docs/API_docs/constructors/paymentRequestedInfo.md index e4b6562a..767ec982 100644 --- a/docs/API_docs/constructors/paymentRequestedInfo.md +++ b/docs/API_docs/constructors/paymentRequestedInfo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'phone' => 'string', 'email' => 'string', 'shipping_address' => PostAddress]; ``` @@ -35,10 +35,9 @@ $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'pho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentRequestedInfo={_='paymentRequestedInfo', name='string', phone='string', email='string', shipping_address=PostAddress} ``` diff --git a/docs/API_docs/constructors/paymentSavedCredentialsCard.md b/docs/API_docs/constructors/paymentSavedCredentialsCard.md index 6fc4e934..43b2baf6 100644 --- a/docs/API_docs/constructors/paymentSavedCredentialsCard.md +++ b/docs/API_docs/constructors/paymentSavedCredentialsCard.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 'string', 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentSavedCredentialsCard={_='paymentSavedCredentialsCard', id='string', title='string'} ``` diff --git a/docs/API_docs/constructors/payments_paymentForm.md b/docs/API_docs/constructors/payments_paymentForm.md index 74cca6f4..00d9349d 100644 --- a/docs/API_docs/constructors/payments_paymentForm.md +++ b/docs/API_docs/constructors/payments_paymentForm.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; ``` @@ -42,10 +42,9 @@ $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} ``` diff --git a/docs/API_docs/constructors/payments_paymentReceipt.md b/docs/API_docs/constructors/payments_paymentReceipt.md index fdf741b4..068f5869 100644 --- a/docs/API_docs/constructors/payments_paymentReceipt.md +++ b/docs/API_docs/constructors/payments_paymentReceipt.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; ``` @@ -41,10 +41,9 @@ $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} ``` diff --git a/docs/API_docs/constructors/payments_paymentResult.md b/docs/API_docs/constructors/payments_paymentResult.md index 7ae00170..a5679a5f 100644 --- a/docs/API_docs/constructors/payments_paymentResult.md +++ b/docs/API_docs/constructors/payments_paymentResult.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; ``` @@ -32,10 +32,9 @@ $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentResult={_='payments.paymentResult', updates=Updates} ``` diff --git a/docs/API_docs/constructors/payments_paymentVerficationNeeded.md b/docs/API_docs/constructors/payments_paymentVerficationNeeded.md index 4a3f8cdf..e4ca7a8e 100644 --- a/docs/API_docs/constructors/payments_paymentVerficationNeeded.md +++ b/docs/API_docs/constructors/payments_paymentVerficationNeeded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; ``` @@ -32,10 +32,9 @@ $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} ``` diff --git a/docs/API_docs/constructors/payments_savedInfo.md b/docs/API_docs/constructors/payments_savedInfo.md index 3daf671f..c81761c4 100644 --- a/docs/API_docs/constructors/payments_savedInfo.md +++ b/docs/API_docs/constructors/payments_savedInfo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; ``` @@ -33,10 +33,9 @@ $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} ``` diff --git a/docs/API_docs/constructors/payments_validatedRequestedInfo.md b/docs/API_docs/constructors/payments_validatedRequestedInfo.md index 676388b7..b84afd83 100644 --- a/docs/API_docs/constructors/payments_validatedRequestedInfo.md +++ b/docs/API_docs/constructors/payments_validatedRequestedInfo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; ``` @@ -33,10 +33,9 @@ $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} ``` diff --git a/docs/API_docs/constructors/peerChannel.md b/docs/API_docs/constructors/peerChannel.md index f30e3f41..360d5c42 100644 --- a/docs/API_docs/constructors/peerChannel.md +++ b/docs/API_docs/constructors/peerChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/docs/API_docs/constructors/peerChat.md b/docs/API_docs/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/docs/API_docs/constructors/peerChat.md +++ b/docs/API_docs/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/docs/API_docs/constructors/peerNotifySettings.md b/docs/API_docs/constructors/peerNotifySettings.md index c761b48a..c4266673 100644 --- a/docs/API_docs/constructors/peerNotifySettings.md +++ b/docs/API_docs/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'si ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/docs/API_docs/constructors/peerSettings.md b/docs/API_docs/constructors/peerSettings.md index 8f74bb50..2468fee4 100644 --- a/docs/API_docs/constructors/peerSettings.md +++ b/docs/API_docs/constructors/peerSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` @@ -32,10 +32,9 @@ $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerSettings={_='peerSettings', report_spam=Bool} ``` diff --git a/docs/API_docs/constructors/peerUser.md b/docs/API_docs/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/docs/API_docs/constructors/peerUser.md +++ b/docs/API_docs/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/docs/API_docs/constructors/phoneCall.md b/docs/API_docs/constructors/phoneCall.md index 8104b557..b233076d 100644 --- a/docs/API_docs/constructors/phoneCall.md +++ b/docs/API_docs/constructors/phoneCall.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, 'connection' => PhoneConnection, 'alternative_connections' => [PhoneConnection, PhoneConnection], 'start_date' => int]; ``` @@ -42,10 +42,9 @@ $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCall={_='phoneCall', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, connection=PhoneConnection, alternative_connections={PhoneConnection}, start_date=int} ``` diff --git a/docs/API_docs/constructors/phoneCallAccepted.md b/docs/API_docs/constructors/phoneCallAccepted.md index cae97485..80795514 100644 --- a/docs/API_docs/constructors/phoneCallAccepted.md +++ b/docs/API_docs/constructors/phoneCallAccepted.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` @@ -38,10 +38,9 @@ $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallAccepted={_='phoneCallAccepted', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_b='bytes', protocol=PhoneCallProtocol} ``` diff --git a/docs/API_docs/constructors/phoneCallDiscardReasonBusy.md b/docs/API_docs/constructors/phoneCallDiscardReasonBusy.md index 10d47acd..8912371f 100644 --- a/docs/API_docs/constructors/phoneCallDiscardReasonBusy.md +++ b/docs/API_docs/constructors/phoneCallDiscardReasonBusy.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonBusy={_='phoneCallDiscardReasonBusy'} ``` diff --git a/docs/API_docs/constructors/phoneCallDiscardReasonDisconnect.md b/docs/API_docs/constructors/phoneCallDiscardReasonDisconnect.md index b059c909..3a77aced 100644 --- a/docs/API_docs/constructors/phoneCallDiscardReasonDisconnect.md +++ b/docs/API_docs/constructors/phoneCallDiscardReasonDisconnect.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonDisconnect={_='phoneCallDiscardReasonDisconnect'} ``` diff --git a/docs/API_docs/constructors/phoneCallDiscardReasonHangup.md b/docs/API_docs/constructors/phoneCallDiscardReasonHangup.md index 8e6e311c..cac342da 100644 --- a/docs/API_docs/constructors/phoneCallDiscardReasonHangup.md +++ b/docs/API_docs/constructors/phoneCallDiscardReasonHangup.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonHangup={_='phoneCallDiscardReasonHangup'} ``` diff --git a/docs/API_docs/constructors/phoneCallDiscardReasonMissed.md b/docs/API_docs/constructors/phoneCallDiscardReasonMissed.md index b8199e88..e10648eb 100644 --- a/docs/API_docs/constructors/phoneCallDiscardReasonMissed.md +++ b/docs/API_docs/constructors/phoneCallDiscardReasonMissed.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonMissed={_='phoneCallDiscardReasonMissed'} ``` diff --git a/docs/API_docs/constructors/phoneCallDiscarded.md b/docs/API_docs/constructors/phoneCallDiscarded.md index 69fd1caa..e20027a5 100644 --- a/docs/API_docs/constructors/phoneCallDiscarded.md +++ b/docs/API_docs/constructors/phoneCallDiscarded.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` @@ -36,10 +36,9 @@ $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscarded={_='phoneCallDiscarded', need_rating=Bool, need_debug=Bool, id=long, reason=PhoneCallDiscardReason, duration=int} ``` diff --git a/docs/API_docs/constructors/phoneCallEmpty.md b/docs/API_docs/constructors/phoneCallEmpty.md index cfb8125b..a51f3ea2 100644 --- a/docs/API_docs/constructors/phoneCallEmpty.md +++ b/docs/API_docs/constructors/phoneCallEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallEmpty={_='phoneCallEmpty', id=long} ``` diff --git a/docs/API_docs/constructors/phoneCallProtocol.md b/docs/API_docs/constructors/phoneCallProtocol.md index 9f0e2eed..01574fa2 100644 --- a/docs/API_docs/constructors/phoneCallProtocol.md +++ b/docs/API_docs/constructors/phoneCallProtocol.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int]; ``` @@ -35,10 +35,9 @@ $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflec ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallProtocol={_='phoneCallProtocol', udp_p2p=Bool, udp_reflector=Bool, min_layer=int, max_layer=int} ``` diff --git a/docs/API_docs/constructors/phoneCallRequested.md b/docs/API_docs/constructors/phoneCallRequested.md index c96f398f..0465e0fb 100644 --- a/docs/API_docs/constructors/phoneCallRequested.md +++ b/docs/API_docs/constructors/phoneCallRequested.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` @@ -38,10 +38,9 @@ $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallRequested={_='phoneCallRequested', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_hash='bytes', protocol=PhoneCallProtocol} ``` diff --git a/docs/API_docs/constructors/phoneCallWaiting.md b/docs/API_docs/constructors/phoneCallWaiting.md index 8dcf8e30..9d9658c8 100644 --- a/docs/API_docs/constructors/phoneCallWaiting.md +++ b/docs/API_docs/constructors/phoneCallWaiting.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int]; ``` @@ -38,10 +38,9 @@ $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallWaiting={_='phoneCallWaiting', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, protocol=PhoneCallProtocol, receive_date=int} ``` diff --git a/docs/API_docs/constructors/phoneConnection.md b/docs/API_docs/constructors/phoneConnection.md index b117e12f..562975aa 100644 --- a/docs/API_docs/constructors/phoneConnection.md +++ b/docs/API_docs/constructors/phoneConnection.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'ipv6' => 'string', 'port' => int, 'peer_tag' => 'bytes']; ``` @@ -36,10 +36,9 @@ $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneConnection={_='phoneConnection', id=long, ip='string', ipv6='string', port=int, peer_tag='bytes'} ``` diff --git a/docs/API_docs/constructors/phone_phoneCall.md b/docs/API_docs/constructors/phone_phoneCall.md index 00c21143..58912b3f 100644 --- a/docs/API_docs/constructors/phone_phoneCall.md +++ b/docs/API_docs/constructors/phone_phoneCall.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} ``` diff --git a/docs/API_docs/constructors/photo.md b/docs/API_docs/constructors/photo.md index 0cad6364..980980f4 100644 --- a/docs/API_docs/constructors/photo.md +++ b/docs/API_docs/constructors/photo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -36,10 +36,9 @@ $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', has_stickers=Bool, id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/docs/API_docs/constructors/photoCachedSize.md b/docs/API_docs/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/docs/API_docs/constructors/photoCachedSize.md +++ b/docs/API_docs/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/docs/API_docs/constructors/photoEmpty.md b/docs/API_docs/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/docs/API_docs/constructors/photoEmpty.md +++ b/docs/API_docs/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/docs/API_docs/constructors/photoSize.md b/docs/API_docs/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/docs/API_docs/constructors/photoSize.md +++ b/docs/API_docs/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/docs/API_docs/constructors/photoSizeEmpty.md b/docs/API_docs/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/docs/API_docs/constructors/photoSizeEmpty.md +++ b/docs/API_docs/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/docs/API_docs/constructors/photos_photo.md b/docs/API_docs/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/docs/API_docs/constructors/photos_photo.md +++ b/docs/API_docs/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/docs/API_docs/constructors/photos_photos.md b/docs/API_docs/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/docs/API_docs/constructors/photos_photos.md +++ b/docs/API_docs/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/docs/API_docs/constructors/photos_photosSlice.md b/docs/API_docs/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/docs/API_docs/constructors/photos_photosSlice.md +++ b/docs/API_docs/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/docs/API_docs/constructors/popularContact.md b/docs/API_docs/constructors/popularContact.md index d7fdf7c9..fbdee8e3 100644 --- a/docs/API_docs/constructors/popularContact.md +++ b/docs/API_docs/constructors/popularContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $popularContact = ['_' => 'popularContact', 'client_id' => long, 'importers' => int]; ``` @@ -33,10 +33,9 @@ $popularContact = ['_' => 'popularContact', 'client_id' => long, 'importers' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua popularContact={_='popularContact', client_id=long, importers=int} ``` diff --git a/docs/API_docs/constructors/postAddress.md b/docs/API_docs/constructors/postAddress.md index 0bd47333..aa8080ec 100644 --- a/docs/API_docs/constructors/postAddress.md +++ b/docs/API_docs/constructors/postAddress.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' => 'string', 'city' => 'string', 'state' => 'string', 'country_iso2' => 'string', 'post_code' => 'string']; ``` @@ -37,10 +37,9 @@ $postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua postAddress={_='postAddress', street_line1='string', street_line2='string', city='string', state='string', country_iso2='string', post_code='string'} ``` diff --git a/docs/API_docs/constructors/privacyKeyChatInvite.md b/docs/API_docs/constructors/privacyKeyChatInvite.md index a1a5274b..eb5a332d 100644 --- a/docs/API_docs/constructors/privacyKeyChatInvite.md +++ b/docs/API_docs/constructors/privacyKeyChatInvite.md @@ -18,7 +18,7 @@ Privacy key for managing ability of invitation of the user to chats ### Example: -``` +```php $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` @@ -29,10 +29,9 @@ $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/docs/API_docs/constructors/privacyKeyPhoneCall.md b/docs/API_docs/constructors/privacyKeyPhoneCall.md index 2fe6db7d..fc38f6a4 100644 --- a/docs/API_docs/constructors/privacyKeyPhoneCall.md +++ b/docs/API_docs/constructors/privacyKeyPhoneCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` @@ -27,10 +27,9 @@ $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyPhoneCall={_='privacyKeyPhoneCall'} ``` diff --git a/docs/API_docs/constructors/privacyKeyStatusTimestamp.md b/docs/API_docs/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/docs/API_docs/constructors/privacyKeyStatusTimestamp.md +++ b/docs/API_docs/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/docs/API_docs/constructors/privacyValueAllowAll.md b/docs/API_docs/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/docs/API_docs/constructors/privacyValueAllowAll.md +++ b/docs/API_docs/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/docs/API_docs/constructors/privacyValueAllowContacts.md b/docs/API_docs/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/docs/API_docs/constructors/privacyValueAllowContacts.md +++ b/docs/API_docs/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/docs/API_docs/constructors/privacyValueAllowUsers.md b/docs/API_docs/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/docs/API_docs/constructors/privacyValueAllowUsers.md +++ b/docs/API_docs/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/docs/API_docs/constructors/privacyValueDisallowAll.md b/docs/API_docs/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/docs/API_docs/constructors/privacyValueDisallowAll.md +++ b/docs/API_docs/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/docs/API_docs/constructors/privacyValueDisallowContacts.md b/docs/API_docs/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/docs/API_docs/constructors/privacyValueDisallowContacts.md +++ b/docs/API_docs/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/docs/API_docs/constructors/privacyValueDisallowUsers.md b/docs/API_docs/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/docs/API_docs/constructors/privacyValueDisallowUsers.md +++ b/docs/API_docs/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/docs/API_docs/constructors/receivedNotifyMessage.md b/docs/API_docs/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/docs/API_docs/constructors/receivedNotifyMessage.md +++ b/docs/API_docs/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/docs/API_docs/constructors/recentMeUrlChat.md b/docs/API_docs/constructors/recentMeUrlChat.md index 8b09f818..38bb1faf 100644 --- a/docs/API_docs/constructors/recentMeUrlChat.md +++ b/docs/API_docs/constructors/recentMeUrlChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlChat = ['_' => 'recentMeUrlChat', 'url' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $recentMeUrlChat = ['_' => 'recentMeUrlChat', 'url' => 'string', 'chat_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlChat={_='recentMeUrlChat', url='string', chat_id=int} ``` diff --git a/docs/API_docs/constructors/recentMeUrlChatInvite.md b/docs/API_docs/constructors/recentMeUrlChatInvite.md index d9d3a1c6..f095734f 100644 --- a/docs/API_docs/constructors/recentMeUrlChatInvite.md +++ b/docs/API_docs/constructors/recentMeUrlChatInvite.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlChatInvite = ['_' => 'recentMeUrlChatInvite', 'url' => 'string', 'chat_invite' => ChatInvite]; ``` @@ -33,10 +33,9 @@ $recentMeUrlChatInvite = ['_' => 'recentMeUrlChatInvite', 'url' => 'string', 'ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlChatInvite={_='recentMeUrlChatInvite', url='string', chat_invite=ChatInvite} ``` diff --git a/docs/API_docs/constructors/recentMeUrlStickerSet.md b/docs/API_docs/constructors/recentMeUrlStickerSet.md index b70a27c4..e756dd35 100644 --- a/docs/API_docs/constructors/recentMeUrlStickerSet.md +++ b/docs/API_docs/constructors/recentMeUrlStickerSet.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlStickerSet = ['_' => 'recentMeUrlStickerSet', 'url' => 'string', 'set' => StickerSetCovered]; ``` @@ -33,10 +33,9 @@ $recentMeUrlStickerSet = ['_' => 'recentMeUrlStickerSet', 'url' => 'string', 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlStickerSet={_='recentMeUrlStickerSet', url='string', set=StickerSetCovered} ``` diff --git a/docs/API_docs/constructors/recentMeUrlUnknown.md b/docs/API_docs/constructors/recentMeUrlUnknown.md index 0f157436..44809d53 100644 --- a/docs/API_docs/constructors/recentMeUrlUnknown.md +++ b/docs/API_docs/constructors/recentMeUrlUnknown.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlUnknown = ['_' => 'recentMeUrlUnknown', 'url' => 'string']; ``` @@ -32,10 +32,9 @@ $recentMeUrlUnknown = ['_' => 'recentMeUrlUnknown', 'url' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlUnknown={_='recentMeUrlUnknown', url='string'} ``` diff --git a/docs/API_docs/constructors/recentMeUrlUser.md b/docs/API_docs/constructors/recentMeUrlUser.md index 1e7ea925..7032fb46 100644 --- a/docs/API_docs/constructors/recentMeUrlUser.md +++ b/docs/API_docs/constructors/recentMeUrlUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlUser = ['_' => 'recentMeUrlUser', 'url' => 'string', 'user_id' => int]; ``` @@ -33,10 +33,9 @@ $recentMeUrlUser = ['_' => 'recentMeUrlUser', 'url' => 'string', 'user_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlUser={_='recentMeUrlUser', url='string', user_id=int} ``` diff --git a/docs/API_docs/constructors/replyInlineMarkup.md b/docs/API_docs/constructors/replyInlineMarkup.md index 6d353569..6e481165 100644 --- a/docs/API_docs/constructors/replyInlineMarkup.md +++ b/docs/API_docs/constructors/replyInlineMarkup.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -32,10 +32,9 @@ $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}} ``` diff --git a/docs/API_docs/constructors/replyKeyboardForceReply.md b/docs/API_docs/constructors/replyKeyboardForceReply.md index 56e255c1..3f7fae8c 100644 --- a/docs/API_docs/constructors/replyKeyboardForceReply.md +++ b/docs/API_docs/constructors/replyKeyboardForceReply.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` @@ -33,10 +33,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool} ``` diff --git a/docs/API_docs/constructors/replyKeyboardHide.md b/docs/API_docs/constructors/replyKeyboardHide.md index 7251db49..30e9f399 100644 --- a/docs/API_docs/constructors/replyKeyboardHide.md +++ b/docs/API_docs/constructors/replyKeyboardHide.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` @@ -32,10 +32,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide', selective=Bool} ``` diff --git a/docs/API_docs/constructors/replyKeyboardMarkup.md b/docs/API_docs/constructors/replyKeyboardMarkup.md index 87a55463..80f3f654 100644 --- a/docs/API_docs/constructors/replyKeyboardMarkup.md +++ b/docs/API_docs/constructors/replyKeyboardMarkup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -35,10 +35,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}} ``` diff --git a/docs/API_docs/constructors/savedPhoneContact.md b/docs/API_docs/constructors/savedPhoneContact.md index e19d1411..8b0ff627 100644 --- a/docs/API_docs/constructors/savedPhoneContact.md +++ b/docs/API_docs/constructors/savedPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $savedPhoneContact = ['_' => 'savedPhoneContact', 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'date' => int]; ``` @@ -35,10 +35,9 @@ $savedPhoneContact = ['_' => 'savedPhoneContact', 'phone' => 'string', 'first_na ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua savedPhoneContact={_='savedPhoneContact', phone='string', first_name='string', last_name='string', date=int} ``` diff --git a/docs/API_docs/constructors/secureCredentialsEncrypted.md b/docs/API_docs/constructors/secureCredentialsEncrypted.md index 60d34773..cbe1f2a7 100644 --- a/docs/API_docs/constructors/secureCredentialsEncrypted.md +++ b/docs/API_docs/constructors/secureCredentialsEncrypted.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureCredentialsEncrypted = ['_' => 'secureCredentialsEncrypted', 'data' => 'bytes', 'hash' => 'bytes', 'secret' => 'bytes']; ``` @@ -34,10 +34,9 @@ $secureCredentialsEncrypted = ['_' => 'secureCredentialsEncrypted', 'data' => 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureCredentialsEncrypted={_='secureCredentialsEncrypted', data='bytes', hash='bytes', secret='bytes'} ``` diff --git a/docs/API_docs/constructors/secureData.md b/docs/API_docs/constructors/secureData.md index 9f1c2a38..09afe863 100644 --- a/docs/API_docs/constructors/secureData.md +++ b/docs/API_docs/constructors/secureData.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureData = ['_' => 'secureData', 'data' => 'bytes', 'data_hash' => 'bytes', 'secret' => 'bytes']; ``` @@ -34,10 +34,9 @@ $secureData = ['_' => 'secureData', 'data' => 'bytes', 'data_hash' => 'bytes', ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureData={_='secureData', data='bytes', data_hash='bytes', secret='bytes'} ``` diff --git a/docs/API_docs/constructors/secureFile.md b/docs/API_docs/constructors/secureFile.md index 1a4c0ca2..db049b8d 100644 --- a/docs/API_docs/constructors/secureFile.md +++ b/docs/API_docs/constructors/secureFile.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureFile = ['_' => 'secureFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'date' => int, 'file_hash' => 'bytes', 'secret' => 'bytes']; ``` @@ -38,10 +38,9 @@ $secureFile = ['_' => 'secureFile', 'id' => long, 'access_hash' => long, 'size' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureFile={_='secureFile', id=long, access_hash=long, size=int, dc_id=int, date=int, file_hash='bytes', secret='bytes'} ``` diff --git a/docs/API_docs/constructors/secureFileEmpty.md b/docs/API_docs/constructors/secureFileEmpty.md index fb8abd28..791a6662 100644 --- a/docs/API_docs/constructors/secureFileEmpty.md +++ b/docs/API_docs/constructors/secureFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureFileEmpty = ['_' => 'secureFileEmpty']; ``` @@ -27,10 +27,9 @@ $secureFileEmpty = ['_' => 'secureFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureFileEmpty={_='secureFileEmpty'} ``` diff --git a/docs/API_docs/constructors/securePlainEmail.md b/docs/API_docs/constructors/securePlainEmail.md index 3fd9b073..b4ce62ca 100644 --- a/docs/API_docs/constructors/securePlainEmail.md +++ b/docs/API_docs/constructors/securePlainEmail.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $securePlainEmail = ['_' => 'securePlainEmail', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $securePlainEmail = ['_' => 'securePlainEmail', 'email' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua securePlainEmail={_='securePlainEmail', email='string'} ``` diff --git a/docs/API_docs/constructors/securePlainPhone.md b/docs/API_docs/constructors/securePlainPhone.md index e2b451d3..bd7cce6d 100644 --- a/docs/API_docs/constructors/securePlainPhone.md +++ b/docs/API_docs/constructors/securePlainPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $securePlainPhone = ['_' => 'securePlainPhone', 'phone' => 'string']; ``` @@ -32,10 +32,9 @@ $securePlainPhone = ['_' => 'securePlainPhone', 'phone' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua securePlainPhone={_='securePlainPhone', phone='string'} ``` diff --git a/docs/API_docs/constructors/secureValue.md b/docs/API_docs/constructors/secureValue.md index 28a11b8e..1662668d 100644 --- a/docs/API_docs/constructors/secureValue.md +++ b/docs/API_docs/constructors/secureValue.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValue = ['_' => 'secureValue', 'type' => SecureValueType, 'data' => SecureData, 'front_side' => SecureFile, 'reverse_side' => SecureFile, 'selfie' => SecureFile, 'files' => [SecureFile, SecureFile], 'plain_data' => SecurePlainData, 'hash' => 'bytes']; ``` @@ -39,10 +39,9 @@ $secureValue = ['_' => 'secureValue', 'type' => SecureValueType, 'data' => Secur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValue={_='secureValue', type=SecureValueType, data=SecureData, front_side=SecureFile, reverse_side=SecureFile, selfie=SecureFile, files={SecureFile}, plain_data=SecurePlainData, hash='bytes'} ``` diff --git a/docs/API_docs/constructors/secureValueErrorData.md b/docs/API_docs/constructors/secureValueErrorData.md index c635dc9f..43f0c260 100644 --- a/docs/API_docs/constructors/secureValueErrorData.md +++ b/docs/API_docs/constructors/secureValueErrorData.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueErrorData = ['_' => 'secureValueErrorData', 'type' => SecureValueType, 'data_hash' => 'bytes', 'field' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $secureValueErrorData = ['_' => 'secureValueErrorData', 'type' => SecureValueTyp ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueErrorData={_='secureValueErrorData', type=SecureValueType, data_hash='bytes', field='string', text='string'} ``` diff --git a/docs/API_docs/constructors/secureValueErrorFile.md b/docs/API_docs/constructors/secureValueErrorFile.md index 25225cb1..b525a91c 100644 --- a/docs/API_docs/constructors/secureValueErrorFile.md +++ b/docs/API_docs/constructors/secureValueErrorFile.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueErrorFile = ['_' => 'secureValueErrorFile', 'type' => SecureValueType, 'file_hash' => 'bytes', 'text' => 'string']; ``` @@ -34,10 +34,9 @@ $secureValueErrorFile = ['_' => 'secureValueErrorFile', 'type' => SecureValueTyp ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueErrorFile={_='secureValueErrorFile', type=SecureValueType, file_hash='bytes', text='string'} ``` diff --git a/docs/API_docs/constructors/secureValueErrorFiles.md b/docs/API_docs/constructors/secureValueErrorFiles.md index 72feb6ee..38d09fdb 100644 --- a/docs/API_docs/constructors/secureValueErrorFiles.md +++ b/docs/API_docs/constructors/secureValueErrorFiles.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueErrorFiles = ['_' => 'secureValueErrorFiles', 'type' => SecureValueType, 'file_hash' => ['bytes', 'bytes'], 'text' => 'string']; ``` @@ -34,10 +34,9 @@ $secureValueErrorFiles = ['_' => 'secureValueErrorFiles', 'type' => SecureValueT ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueErrorFiles={_='secureValueErrorFiles', type=SecureValueType, file_hash={'bytes'}, text='string'} ``` diff --git a/docs/API_docs/constructors/secureValueErrorFrontSide.md b/docs/API_docs/constructors/secureValueErrorFrontSide.md index 2460eb63..1bf4206a 100644 --- a/docs/API_docs/constructors/secureValueErrorFrontSide.md +++ b/docs/API_docs/constructors/secureValueErrorFrontSide.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueErrorFrontSide = ['_' => 'secureValueErrorFrontSide', 'type' => SecureValueType, 'file_hash' => 'bytes', 'text' => 'string']; ``` @@ -34,10 +34,9 @@ $secureValueErrorFrontSide = ['_' => 'secureValueErrorFrontSide', 'type' => Secu ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueErrorFrontSide={_='secureValueErrorFrontSide', type=SecureValueType, file_hash='bytes', text='string'} ``` diff --git a/docs/API_docs/constructors/secureValueErrorReverseSide.md b/docs/API_docs/constructors/secureValueErrorReverseSide.md index fe830333..8c79a4f5 100644 --- a/docs/API_docs/constructors/secureValueErrorReverseSide.md +++ b/docs/API_docs/constructors/secureValueErrorReverseSide.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueErrorReverseSide = ['_' => 'secureValueErrorReverseSide', 'type' => SecureValueType, 'file_hash' => 'bytes', 'text' => 'string']; ``` @@ -34,10 +34,9 @@ $secureValueErrorReverseSide = ['_' => 'secureValueErrorReverseSide', 'type' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueErrorReverseSide={_='secureValueErrorReverseSide', type=SecureValueType, file_hash='bytes', text='string'} ``` diff --git a/docs/API_docs/constructors/secureValueErrorSelfie.md b/docs/API_docs/constructors/secureValueErrorSelfie.md index b94f90e8..2be5e13c 100644 --- a/docs/API_docs/constructors/secureValueErrorSelfie.md +++ b/docs/API_docs/constructors/secureValueErrorSelfie.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueErrorSelfie = ['_' => 'secureValueErrorSelfie', 'type' => SecureValueType, 'file_hash' => 'bytes', 'text' => 'string']; ``` @@ -34,10 +34,9 @@ $secureValueErrorSelfie = ['_' => 'secureValueErrorSelfie', 'type' => SecureValu ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueErrorSelfie={_='secureValueErrorSelfie', type=SecureValueType, file_hash='bytes', text='string'} ``` diff --git a/docs/API_docs/constructors/secureValueHash.md b/docs/API_docs/constructors/secureValueHash.md index f4496737..7079b176 100644 --- a/docs/API_docs/constructors/secureValueHash.md +++ b/docs/API_docs/constructors/secureValueHash.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueHash = ['_' => 'secureValueHash', 'type' => SecureValueType, 'hash' => 'bytes']; ``` @@ -33,10 +33,9 @@ $secureValueHash = ['_' => 'secureValueHash', 'type' => SecureValueType, 'hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueHash={_='secureValueHash', type=SecureValueType, hash='bytes'} ``` diff --git a/docs/API_docs/constructors/secureValueTypeAddress.md b/docs/API_docs/constructors/secureValueTypeAddress.md index 9d73f869..e62dd73e 100644 --- a/docs/API_docs/constructors/secureValueTypeAddress.md +++ b/docs/API_docs/constructors/secureValueTypeAddress.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypeAddress = ['_' => 'secureValueTypeAddress']; ``` @@ -27,10 +27,9 @@ $secureValueTypeAddress = ['_' => 'secureValueTypeAddress']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypeAddress={_='secureValueTypeAddress'} ``` diff --git a/docs/API_docs/constructors/secureValueTypeBankStatement.md b/docs/API_docs/constructors/secureValueTypeBankStatement.md index dbe5e9a5..c9da3317 100644 --- a/docs/API_docs/constructors/secureValueTypeBankStatement.md +++ b/docs/API_docs/constructors/secureValueTypeBankStatement.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypeBankStatement = ['_' => 'secureValueTypeBankStatement']; ``` @@ -27,10 +27,9 @@ $secureValueTypeBankStatement = ['_' => 'secureValueTypeBankStatement']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypeBankStatement={_='secureValueTypeBankStatement'} ``` diff --git a/docs/API_docs/constructors/secureValueTypeDriverLicense.md b/docs/API_docs/constructors/secureValueTypeDriverLicense.md index 12845268..acf0c1c8 100644 --- a/docs/API_docs/constructors/secureValueTypeDriverLicense.md +++ b/docs/API_docs/constructors/secureValueTypeDriverLicense.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypeDriverLicense = ['_' => 'secureValueTypeDriverLicense']; ``` @@ -27,10 +27,9 @@ $secureValueTypeDriverLicense = ['_' => 'secureValueTypeDriverLicense']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypeDriverLicense={_='secureValueTypeDriverLicense'} ``` diff --git a/docs/API_docs/constructors/secureValueTypeEmail.md b/docs/API_docs/constructors/secureValueTypeEmail.md index 1668487b..84b89df0 100644 --- a/docs/API_docs/constructors/secureValueTypeEmail.md +++ b/docs/API_docs/constructors/secureValueTypeEmail.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypeEmail = ['_' => 'secureValueTypeEmail']; ``` @@ -27,10 +27,9 @@ $secureValueTypeEmail = ['_' => 'secureValueTypeEmail']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypeEmail={_='secureValueTypeEmail'} ``` diff --git a/docs/API_docs/constructors/secureValueTypeIdentityCard.md b/docs/API_docs/constructors/secureValueTypeIdentityCard.md index 5edbbf04..c7b51acd 100644 --- a/docs/API_docs/constructors/secureValueTypeIdentityCard.md +++ b/docs/API_docs/constructors/secureValueTypeIdentityCard.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypeIdentityCard = ['_' => 'secureValueTypeIdentityCard']; ``` @@ -27,10 +27,9 @@ $secureValueTypeIdentityCard = ['_' => 'secureValueTypeIdentityCard']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypeIdentityCard={_='secureValueTypeIdentityCard'} ``` diff --git a/docs/API_docs/constructors/secureValueTypeInternalPassport.md b/docs/API_docs/constructors/secureValueTypeInternalPassport.md index a5ea29d3..db1860bc 100644 --- a/docs/API_docs/constructors/secureValueTypeInternalPassport.md +++ b/docs/API_docs/constructors/secureValueTypeInternalPassport.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypeInternalPassport = ['_' => 'secureValueTypeInternalPassport']; ``` @@ -27,10 +27,9 @@ $secureValueTypeInternalPassport = ['_' => 'secureValueTypeInternalPassport']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypeInternalPassport={_='secureValueTypeInternalPassport'} ``` diff --git a/docs/API_docs/constructors/secureValueTypePassport.md b/docs/API_docs/constructors/secureValueTypePassport.md index aed9facc..186e77fe 100644 --- a/docs/API_docs/constructors/secureValueTypePassport.md +++ b/docs/API_docs/constructors/secureValueTypePassport.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypePassport = ['_' => 'secureValueTypePassport']; ``` @@ -27,10 +27,9 @@ $secureValueTypePassport = ['_' => 'secureValueTypePassport']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypePassport={_='secureValueTypePassport'} ``` diff --git a/docs/API_docs/constructors/secureValueTypePassportRegistration.md b/docs/API_docs/constructors/secureValueTypePassportRegistration.md index 040889a2..3400b71d 100644 --- a/docs/API_docs/constructors/secureValueTypePassportRegistration.md +++ b/docs/API_docs/constructors/secureValueTypePassportRegistration.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypePassportRegistration = ['_' => 'secureValueTypePassportRegistration']; ``` @@ -27,10 +27,9 @@ $secureValueTypePassportRegistration = ['_' => 'secureValueTypePassportRegistrat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypePassportRegistration={_='secureValueTypePassportRegistration'} ``` diff --git a/docs/API_docs/constructors/secureValueTypePersonalDetails.md b/docs/API_docs/constructors/secureValueTypePersonalDetails.md index d4f9659f..f679eb05 100644 --- a/docs/API_docs/constructors/secureValueTypePersonalDetails.md +++ b/docs/API_docs/constructors/secureValueTypePersonalDetails.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypePersonalDetails = ['_' => 'secureValueTypePersonalDetails']; ``` @@ -27,10 +27,9 @@ $secureValueTypePersonalDetails = ['_' => 'secureValueTypePersonalDetails']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypePersonalDetails={_='secureValueTypePersonalDetails'} ``` diff --git a/docs/API_docs/constructors/secureValueTypePhone.md b/docs/API_docs/constructors/secureValueTypePhone.md index dec046f9..d959eb96 100644 --- a/docs/API_docs/constructors/secureValueTypePhone.md +++ b/docs/API_docs/constructors/secureValueTypePhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypePhone = ['_' => 'secureValueTypePhone']; ``` @@ -27,10 +27,9 @@ $secureValueTypePhone = ['_' => 'secureValueTypePhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypePhone={_='secureValueTypePhone'} ``` diff --git a/docs/API_docs/constructors/secureValueTypeRentalAgreement.md b/docs/API_docs/constructors/secureValueTypeRentalAgreement.md index 9dd42882..0a386c51 100644 --- a/docs/API_docs/constructors/secureValueTypeRentalAgreement.md +++ b/docs/API_docs/constructors/secureValueTypeRentalAgreement.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypeRentalAgreement = ['_' => 'secureValueTypeRentalAgreement']; ``` @@ -27,10 +27,9 @@ $secureValueTypeRentalAgreement = ['_' => 'secureValueTypeRentalAgreement']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypeRentalAgreement={_='secureValueTypeRentalAgreement'} ``` diff --git a/docs/API_docs/constructors/secureValueTypeTemporaryRegistration.md b/docs/API_docs/constructors/secureValueTypeTemporaryRegistration.md index c5484ea8..98232c9f 100644 --- a/docs/API_docs/constructors/secureValueTypeTemporaryRegistration.md +++ b/docs/API_docs/constructors/secureValueTypeTemporaryRegistration.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypeTemporaryRegistration = ['_' => 'secureValueTypeTemporaryRegistration']; ``` @@ -27,10 +27,9 @@ $secureValueTypeTemporaryRegistration = ['_' => 'secureValueTypeTemporaryRegistr ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypeTemporaryRegistration={_='secureValueTypeTemporaryRegistration'} ``` diff --git a/docs/API_docs/constructors/secureValueTypeUtilityBill.md b/docs/API_docs/constructors/secureValueTypeUtilityBill.md index a3746506..1c5f806d 100644 --- a/docs/API_docs/constructors/secureValueTypeUtilityBill.md +++ b/docs/API_docs/constructors/secureValueTypeUtilityBill.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypeUtilityBill = ['_' => 'secureValueTypeUtilityBill']; ``` @@ -27,10 +27,9 @@ $secureValueTypeUtilityBill = ['_' => 'secureValueTypeUtilityBill']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypeUtilityBill={_='secureValueTypeUtilityBill'} ``` diff --git a/docs/API_docs/constructors/sendMessageCancelAction.md b/docs/API_docs/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/docs/API_docs/constructors/sendMessageCancelAction.md +++ b/docs/API_docs/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageChooseContactAction.md b/docs/API_docs/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/docs/API_docs/constructors/sendMessageChooseContactAction.md +++ b/docs/API_docs/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageGamePlayAction.md b/docs/API_docs/constructors/sendMessageGamePlayAction.md index 8238ea55..0c395c75 100644 --- a/docs/API_docs/constructors/sendMessageGamePlayAction.md +++ b/docs/API_docs/constructors/sendMessageGamePlayAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGamePlayAction={_='sendMessageGamePlayAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageGeoLocationAction.md b/docs/API_docs/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/docs/API_docs/constructors/sendMessageGeoLocationAction.md +++ b/docs/API_docs/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageRecordAudioAction.md b/docs/API_docs/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/docs/API_docs/constructors/sendMessageRecordAudioAction.md +++ b/docs/API_docs/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageRecordRoundAction.md b/docs/API_docs/constructors/sendMessageRecordRoundAction.md index a388d0ec..30e71ae8 100644 --- a/docs/API_docs/constructors/sendMessageRecordRoundAction.md +++ b/docs/API_docs/constructors/sendMessageRecordRoundAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordRoundAction={_='sendMessageRecordRoundAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageRecordVideoAction.md b/docs/API_docs/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/docs/API_docs/constructors/sendMessageRecordVideoAction.md +++ b/docs/API_docs/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageTypingAction.md b/docs/API_docs/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/docs/API_docs/constructors/sendMessageTypingAction.md +++ b/docs/API_docs/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageUploadAudioAction.md b/docs/API_docs/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/docs/API_docs/constructors/sendMessageUploadAudioAction.md +++ b/docs/API_docs/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/docs/API_docs/constructors/sendMessageUploadAudioAction_17.md b/docs/API_docs/constructors/sendMessageUploadAudioAction_17.md index 9529fedd..19818190 100644 --- a/docs/API_docs/constructors/sendMessageUploadAudioAction_17.md +++ b/docs/API_docs/constructors/sendMessageUploadAudioAction_17.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction_17 = ['_' => 'sendMessageUploadAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageUploadAudioAction_17 = ['_' => 'sendMessageUploadAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction_17={_='sendMessageUploadAudioAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageUploadDocumentAction.md b/docs/API_docs/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/docs/API_docs/constructors/sendMessageUploadDocumentAction.md +++ b/docs/API_docs/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/docs/API_docs/constructors/sendMessageUploadDocumentAction_17.md b/docs/API_docs/constructors/sendMessageUploadDocumentAction_17.md index 804711bf..3342068b 100644 --- a/docs/API_docs/constructors/sendMessageUploadDocumentAction_17.md +++ b/docs/API_docs/constructors/sendMessageUploadDocumentAction_17.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction_17 = ['_' => 'sendMessageUploadDocumentAction']; ``` @@ -27,10 +27,9 @@ $sendMessageUploadDocumentAction_17 = ['_' => 'sendMessageUploadDocumentAction'] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction_17={_='sendMessageUploadDocumentAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageUploadPhotoAction.md b/docs/API_docs/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/docs/API_docs/constructors/sendMessageUploadPhotoAction.md +++ b/docs/API_docs/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/docs/API_docs/constructors/sendMessageUploadPhotoAction_17.md b/docs/API_docs/constructors/sendMessageUploadPhotoAction_17.md index 539632e4..414d90b2 100644 --- a/docs/API_docs/constructors/sendMessageUploadPhotoAction_17.md +++ b/docs/API_docs/constructors/sendMessageUploadPhotoAction_17.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction_17 = ['_' => 'sendMessageUploadPhotoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageUploadPhotoAction_17 = ['_' => 'sendMessageUploadPhotoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction_17={_='sendMessageUploadPhotoAction'} ``` diff --git a/docs/API_docs/constructors/sendMessageUploadRoundAction.md b/docs/API_docs/constructors/sendMessageUploadRoundAction.md index ffd14270..b101d308 100644 --- a/docs/API_docs/constructors/sendMessageUploadRoundAction.md +++ b/docs/API_docs/constructors/sendMessageUploadRoundAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadRoundAction={_='sendMessageUploadRoundAction', progress=int} ``` diff --git a/docs/API_docs/constructors/sendMessageUploadVideoAction.md b/docs/API_docs/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/docs/API_docs/constructors/sendMessageUploadVideoAction.md +++ b/docs/API_docs/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/docs/API_docs/constructors/sendMessageUploadVideoAction_17.md b/docs/API_docs/constructors/sendMessageUploadVideoAction_17.md index 36e63077..23c6405b 100644 --- a/docs/API_docs/constructors/sendMessageUploadVideoAction_17.md +++ b/docs/API_docs/constructors/sendMessageUploadVideoAction_17.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction_17 = ['_' => 'sendMessageUploadVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageUploadVideoAction_17 = ['_' => 'sendMessageUploadVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction_17={_='sendMessageUploadVideoAction'} ``` diff --git a/docs/API_docs/constructors/shippingOption.md b/docs/API_docs/constructors/shippingOption.md index 6f0cbc4c..863fd128 100644 --- a/docs/API_docs/constructors/shippingOption.md +++ b/docs/API_docs/constructors/shippingOption.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string', 'prices' => [LabeledPrice, LabeledPrice]]; ``` @@ -34,10 +34,9 @@ $shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua shippingOption={_='shippingOption', id='string', title='string', prices={LabeledPrice}} ``` diff --git a/docs/API_docs/constructors/simpleDataBlock.md b/docs/API_docs/constructors/simpleDataBlock.md index 7cdae64f..d9259023 100644 --- a/docs/API_docs/constructors/simpleDataBlock.md +++ b/docs/API_docs/constructors/simpleDataBlock.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $simpleDataBlock = ['_' => 'simpleDataBlock', 'raw_data' => 'string']; ``` @@ -32,10 +32,9 @@ $simpleDataBlock = ['_' => 'simpleDataBlock', 'raw_data' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua simpleDataBlock={_='simpleDataBlock', raw_data='string'} ``` diff --git a/docs/API_docs/constructors/stickerPack.md b/docs/API_docs/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/docs/API_docs/constructors/stickerPack.md +++ b/docs/API_docs/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/docs/API_docs/constructors/stickerSet.md b/docs/API_docs/constructors/stickerSet.md index d6cffaba..4e4d167d 100644 --- a/docs/API_docs/constructors/stickerSet.md +++ b/docs/API_docs/constructors/stickerSet.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'installed_date' => int, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -41,10 +41,9 @@ $stickerSet = ['_' => 'stickerSet', 'archived' => Bool, 'official' => Bool, 'mas ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', archived=Bool, official=Bool, masks=Bool, installed_date=int, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/docs/API_docs/constructors/stickerSetCovered.md b/docs/API_docs/constructors/stickerSetCovered.md index cc1c806e..127b821f 100644 --- a/docs/API_docs/constructors/stickerSetCovered.md +++ b/docs/API_docs/constructors/stickerSetCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document]; ``` @@ -33,10 +33,9 @@ $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetCovered={_='stickerSetCovered', set=StickerSet, cover=Document} ``` diff --git a/docs/API_docs/constructors/stickerSetMultiCovered.md b/docs/API_docs/constructors/stickerSetMultiCovered.md index 74d10e38..9fc0ad35 100644 --- a/docs/API_docs/constructors/stickerSetMultiCovered.md +++ b/docs/API_docs/constructors/stickerSetMultiCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetMultiCovered={_='stickerSetMultiCovered', set=StickerSet, covers={Document}} ``` diff --git a/docs/API_docs/constructors/storage_fileGif.md b/docs/API_docs/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/docs/API_docs/constructors/storage_fileGif.md +++ b/docs/API_docs/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/docs/API_docs/constructors/storage_fileJpeg.md b/docs/API_docs/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/docs/API_docs/constructors/storage_fileJpeg.md +++ b/docs/API_docs/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/docs/API_docs/constructors/storage_fileMov.md b/docs/API_docs/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/docs/API_docs/constructors/storage_fileMov.md +++ b/docs/API_docs/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/docs/API_docs/constructors/storage_fileMp3.md b/docs/API_docs/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/docs/API_docs/constructors/storage_fileMp3.md +++ b/docs/API_docs/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/docs/API_docs/constructors/storage_fileMp4.md b/docs/API_docs/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/docs/API_docs/constructors/storage_fileMp4.md +++ b/docs/API_docs/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/docs/API_docs/constructors/storage_filePartial.md b/docs/API_docs/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/docs/API_docs/constructors/storage_filePartial.md +++ b/docs/API_docs/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/docs/API_docs/constructors/storage_filePdf.md b/docs/API_docs/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/docs/API_docs/constructors/storage_filePdf.md +++ b/docs/API_docs/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/docs/API_docs/constructors/storage_filePng.md b/docs/API_docs/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/docs/API_docs/constructors/storage_filePng.md +++ b/docs/API_docs/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/docs/API_docs/constructors/storage_fileUnknown.md b/docs/API_docs/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/docs/API_docs/constructors/storage_fileUnknown.md +++ b/docs/API_docs/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/docs/API_docs/constructors/storage_fileWebp.md b/docs/API_docs/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/docs/API_docs/constructors/storage_fileWebp.md +++ b/docs/API_docs/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/docs/API_docs/constructors/textBold.md b/docs/API_docs/constructors/textBold.md index 52b668f6..f847ab68 100644 --- a/docs/API_docs/constructors/textBold.md +++ b/docs/API_docs/constructors/textBold.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textBold = ['_' => 'textBold', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textBold = ['_' => 'textBold', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textBold={_='textBold', text=RichText} ``` diff --git a/docs/API_docs/constructors/textConcat.md b/docs/API_docs/constructors/textConcat.md index 3f2656ed..ee998a7e 100644 --- a/docs/API_docs/constructors/textConcat.md +++ b/docs/API_docs/constructors/textConcat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textConcat = ['_' => 'textConcat', 'texts' => [RichText, RichText]]; ``` @@ -32,10 +32,9 @@ $textConcat = ['_' => 'textConcat', 'texts' => [RichText, RichText]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textConcat={_='textConcat', texts={RichText}} ``` diff --git a/docs/API_docs/constructors/textEmail.md b/docs/API_docs/constructors/textEmail.md index 0b546415..6a1a2ba2 100644 --- a/docs/API_docs/constructors/textEmail.md +++ b/docs/API_docs/constructors/textEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` @@ -33,10 +33,9 @@ $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textEmail={_='textEmail', text=RichText, email='string'} ``` diff --git a/docs/API_docs/constructors/textEmpty.md b/docs/API_docs/constructors/textEmpty.md index 4e96adb3..dfe867ed 100644 --- a/docs/API_docs/constructors/textEmpty.md +++ b/docs/API_docs/constructors/textEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textEmpty = ['_' => 'textEmpty']; ``` @@ -27,10 +27,9 @@ $textEmpty = ['_' => 'textEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textEmpty={_='textEmpty'} ``` diff --git a/docs/API_docs/constructors/textFixed.md b/docs/API_docs/constructors/textFixed.md index e40767d9..a83607fa 100644 --- a/docs/API_docs/constructors/textFixed.md +++ b/docs/API_docs/constructors/textFixed.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textFixed={_='textFixed', text=RichText} ``` diff --git a/docs/API_docs/constructors/textItalic.md b/docs/API_docs/constructors/textItalic.md index e32fbec2..4aa819b6 100644 --- a/docs/API_docs/constructors/textItalic.md +++ b/docs/API_docs/constructors/textItalic.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textItalic={_='textItalic', text=RichText} ``` diff --git a/docs/API_docs/constructors/textPlain.md b/docs/API_docs/constructors/textPlain.md index 2e654fde..9f83d5fa 100644 --- a/docs/API_docs/constructors/textPlain.md +++ b/docs/API_docs/constructors/textPlain.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textPlain={_='textPlain', text='string'} ``` diff --git a/docs/API_docs/constructors/textStrike.md b/docs/API_docs/constructors/textStrike.md index 0090e980..0329cbd9 100644 --- a/docs/API_docs/constructors/textStrike.md +++ b/docs/API_docs/constructors/textStrike.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textStrike={_='textStrike', text=RichText} ``` diff --git a/docs/API_docs/constructors/textUnderline.md b/docs/API_docs/constructors/textUnderline.md index 843d0a9a..adee0d2f 100644 --- a/docs/API_docs/constructors/textUnderline.md +++ b/docs/API_docs/constructors/textUnderline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textUnderline={_='textUnderline', text=RichText} ``` diff --git a/docs/API_docs/constructors/textUrl.md b/docs/API_docs/constructors/textUrl.md index 6938f27e..bb497739 100644 --- a/docs/API_docs/constructors/textUrl.md +++ b/docs/API_docs/constructors/textUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id' => long]; ``` @@ -34,10 +34,9 @@ $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textUrl={_='textUrl', text=RichText, url='string', webpage_id=long} ``` diff --git a/docs/API_docs/constructors/topPeer.md b/docs/API_docs/constructors/topPeer.md index aa49751b..fff00b7d 100644 --- a/docs/API_docs/constructors/topPeer.md +++ b/docs/API_docs/constructors/topPeer.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` @@ -33,10 +33,9 @@ $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeer={_='topPeer', peer=Peer, rating=double} ``` diff --git a/docs/API_docs/constructors/topPeerCategoryBotsInline.md b/docs/API_docs/constructors/topPeerCategoryBotsInline.md index 1d57e310..3f7906e2 100644 --- a/docs/API_docs/constructors/topPeerCategoryBotsInline.md +++ b/docs/API_docs/constructors/topPeerCategoryBotsInline.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsInline={_='topPeerCategoryBotsInline'} ``` diff --git a/docs/API_docs/constructors/topPeerCategoryBotsPM.md b/docs/API_docs/constructors/topPeerCategoryBotsPM.md index f6207626..78f54b44 100644 --- a/docs/API_docs/constructors/topPeerCategoryBotsPM.md +++ b/docs/API_docs/constructors/topPeerCategoryBotsPM.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsPM={_='topPeerCategoryBotsPM'} ``` diff --git a/docs/API_docs/constructors/topPeerCategoryChannels.md b/docs/API_docs/constructors/topPeerCategoryChannels.md index 8f0e1fcb..02947d85 100644 --- a/docs/API_docs/constructors/topPeerCategoryChannels.md +++ b/docs/API_docs/constructors/topPeerCategoryChannels.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryChannels={_='topPeerCategoryChannels'} ``` diff --git a/docs/API_docs/constructors/topPeerCategoryCorrespondents.md b/docs/API_docs/constructors/topPeerCategoryCorrespondents.md index 9435610d..c0362f78 100644 --- a/docs/API_docs/constructors/topPeerCategoryCorrespondents.md +++ b/docs/API_docs/constructors/topPeerCategoryCorrespondents.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents'} ``` diff --git a/docs/API_docs/constructors/topPeerCategoryGroups.md b/docs/API_docs/constructors/topPeerCategoryGroups.md index 3b6859df..dddb951c 100644 --- a/docs/API_docs/constructors/topPeerCategoryGroups.md +++ b/docs/API_docs/constructors/topPeerCategoryGroups.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryGroups={_='topPeerCategoryGroups'} ``` diff --git a/docs/API_docs/constructors/topPeerCategoryPeers.md b/docs/API_docs/constructors/topPeerCategoryPeers.md index 886ab6f9..36d071f6 100644 --- a/docs/API_docs/constructors/topPeerCategoryPeers.md +++ b/docs/API_docs/constructors/topPeerCategoryPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer, TopPeer]]; ``` @@ -34,10 +34,9 @@ $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}} ``` diff --git a/docs/API_docs/constructors/topPeerCategoryPhoneCalls.md b/docs/API_docs/constructors/topPeerCategoryPhoneCalls.md index 4c4a1c2d..518279f8 100644 --- a/docs/API_docs/constructors/topPeerCategoryPhoneCalls.md +++ b/docs/API_docs/constructors/topPeerCategoryPhoneCalls.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryPhoneCalls = ['_' => 'topPeerCategoryPhoneCalls']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryPhoneCalls = ['_' => 'topPeerCategoryPhoneCalls']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryPhoneCalls={_='topPeerCategoryPhoneCalls'} ``` diff --git a/docs/API_docs/constructors/true.md b/docs/API_docs/constructors/true.md index 2e27ecbf..4863f16b 100644 --- a/docs/API_docs/constructors/true.md +++ b/docs/API_docs/constructors/true.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $true = ['_' => 'true']; ``` @@ -27,10 +27,9 @@ $true = ['_' => 'true']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua true={_='true'} ``` diff --git a/docs/API_docs/constructors/updateBotCallbackQuery.md b/docs/API_docs/constructors/updateBotCallbackQuery.md index 2216e362..389295a0 100644 --- a/docs/API_docs/constructors/updateBotCallbackQuery.md +++ b/docs/API_docs/constructors/updateBotCallbackQuery.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -38,10 +38,9 @@ $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/docs/API_docs/constructors/updateBotInlineQuery.md b/docs/API_docs/constructors/updateBotInlineQuery.md index 1cc45358..ed15d35f 100644 --- a/docs/API_docs/constructors/updateBotInlineQuery.md +++ b/docs/API_docs/constructors/updateBotInlineQuery.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` @@ -36,10 +36,9 @@ $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query='string', geo=GeoPoint, offset='string'} ``` diff --git a/docs/API_docs/constructors/updateBotInlineSend.md b/docs/API_docs/constructors/updateBotInlineSend.md index fe6c01d3..dda18420 100644 --- a/docs/API_docs/constructors/updateBotInlineSend.md +++ b/docs/API_docs/constructors/updateBotInlineSend.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` @@ -36,10 +36,9 @@ $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineSend={_='updateBotInlineSend', user_id=int, query='string', geo=GeoPoint, id='string', msg_id=InputBotInlineMessageID} ``` diff --git a/docs/API_docs/constructors/updateBotPrecheckoutQuery.md b/docs/API_docs/constructors/updateBotPrecheckoutQuery.md index f7e13668..94098aac 100644 --- a/docs/API_docs/constructors/updateBotPrecheckoutQuery.md +++ b/docs/API_docs/constructors/updateBotPrecheckoutQuery.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'currency' => 'string', 'total_amount' => long]; ``` @@ -38,10 +38,9 @@ $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotPrecheckoutQuery={_='updateBotPrecheckoutQuery', query_id=long, user_id=int, payload='bytes', info=PaymentRequestedInfo, shipping_option_id='string', currency='string', total_amount=long} ``` diff --git a/docs/API_docs/constructors/updateBotShippingQuery.md b/docs/API_docs/constructors/updateBotShippingQuery.md index b7413761..41735d33 100644 --- a/docs/API_docs/constructors/updateBotShippingQuery.md +++ b/docs/API_docs/constructors/updateBotShippingQuery.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'shipping_address' => PostAddress]; ``` @@ -35,10 +35,9 @@ $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotShippingQuery={_='updateBotShippingQuery', query_id=long, user_id=int, payload='bytes', shipping_address=PostAddress} ``` diff --git a/docs/API_docs/constructors/updateBotWebhookJSON.md b/docs/API_docs/constructors/updateBotWebhookJSON.md index c444fe16..3b917e17 100644 --- a/docs/API_docs/constructors/updateBotWebhookJSON.md +++ b/docs/API_docs/constructors/updateBotWebhookJSON.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` @@ -32,10 +32,9 @@ $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotWebhookJSON={_='updateBotWebhookJSON', data=DataJSON} ``` diff --git a/docs/API_docs/constructors/updateBotWebhookJSONQuery.md b/docs/API_docs/constructors/updateBotWebhookJSONQuery.md index c8014f35..9ede5002 100644 --- a/docs/API_docs/constructors/updateBotWebhookJSONQuery.md +++ b/docs/API_docs/constructors/updateBotWebhookJSONQuery.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => long, 'data' => DataJSON, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotWebhookJSONQuery={_='updateBotWebhookJSONQuery', query_id=long, data=DataJSON, timeout=int} ``` diff --git a/docs/API_docs/constructors/updateChannel.md b/docs/API_docs/constructors/updateChannel.md index e615920a..fb876328 100644 --- a/docs/API_docs/constructors/updateChannel.md +++ b/docs/API_docs/constructors/updateChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannel={_='updateChannel', channel_id=int} ``` diff --git a/docs/API_docs/constructors/updateChannelAvailableMessages.md b/docs/API_docs/constructors/updateChannelAvailableMessages.md index ef499037..a5a6d684 100644 --- a/docs/API_docs/constructors/updateChannelAvailableMessages.md +++ b/docs/API_docs/constructors/updateChannelAvailableMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelAvailableMessages = ['_' => 'updateChannelAvailableMessages', 'channel_id' => int, 'available_min_id' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelAvailableMessages = ['_' => 'updateChannelAvailableMessages', 'cha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelAvailableMessages={_='updateChannelAvailableMessages', channel_id=int, available_min_id=int} ``` diff --git a/docs/API_docs/constructors/updateChannelMessageViews.md b/docs/API_docs/constructors/updateChannelMessageViews.md index 19e0b648..d62f055a 100644 --- a/docs/API_docs/constructors/updateChannelMessageViews.md +++ b/docs/API_docs/constructors/updateChannelMessageViews.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` @@ -34,10 +34,9 @@ $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int} ``` diff --git a/docs/API_docs/constructors/updateChannelPinnedMessage.md b/docs/API_docs/constructors/updateChannelPinnedMessage.md index c6e66353..0d767fb8 100644 --- a/docs/API_docs/constructors/updateChannelPinnedMessage.md +++ b/docs/API_docs/constructors/updateChannelPinnedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int} ``` diff --git a/docs/API_docs/constructors/updateChannelReadMessagesContents.md b/docs/API_docs/constructors/updateChannelReadMessagesContents.md index 27c1ca60..95640cfe 100644 --- a/docs/API_docs/constructors/updateChannelReadMessagesContents.md +++ b/docs/API_docs/constructors/updateChannelReadMessagesContents.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelReadMessagesContents = ['_' => 'updateChannelReadMessagesContents', 'channel_id' => int, 'messages' => [int, int]]; ``` @@ -33,10 +33,9 @@ $updateChannelReadMessagesContents = ['_' => 'updateChannelReadMessagesContents' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelReadMessagesContents={_='updateChannelReadMessagesContents', channel_id=int, messages={int}} ``` diff --git a/docs/API_docs/constructors/updateChannelTooLong.md b/docs/API_docs/constructors/updateChannelTooLong.md index e42904d0..179a43dd 100644 --- a/docs/API_docs/constructors/updateChannelTooLong.md +++ b/docs/API_docs/constructors/updateChannelTooLong.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int} ``` diff --git a/docs/API_docs/constructors/updateChannelWebPage.md b/docs/API_docs/constructors/updateChannelWebPage.md index f1ae421b..7b037a9d 100644 --- a/docs/API_docs/constructors/updateChannelWebPage.md +++ b/docs/API_docs/constructors/updateChannelWebPage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'we ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelWebPage={_='updateChannelWebPage', channel_id=int, webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/docs/API_docs/constructors/updateChatAdmins.md b/docs/API_docs/constructors/updateChatAdmins.md index 87ffd626..aac09762 100644 --- a/docs/API_docs/constructors/updateChatAdmins.md +++ b/docs/API_docs/constructors/updateChatAdmins.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int} ``` diff --git a/docs/API_docs/constructors/updateChatParticipantAdd.md b/docs/API_docs/constructors/updateChatParticipantAdd.md index ea5157ad..fe76dc62 100644 --- a/docs/API_docs/constructors/updateChatParticipantAdd.md +++ b/docs/API_docs/constructors/updateChatParticipantAdd.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` @@ -36,10 +36,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int} ``` diff --git a/docs/API_docs/constructors/updateChatParticipantAdmin.md b/docs/API_docs/constructors/updateChatParticipantAdmin.md index b1022850..d262b2e6 100644 --- a/docs/API_docs/constructors/updateChatParticipantAdmin.md +++ b/docs/API_docs/constructors/updateChatParticipantAdmin.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int} ``` diff --git a/docs/API_docs/constructors/updateChatParticipantDelete.md b/docs/API_docs/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/docs/API_docs/constructors/updateChatParticipantDelete.md +++ b/docs/API_docs/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/docs/API_docs/constructors/updateChatParticipants.md b/docs/API_docs/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/docs/API_docs/constructors/updateChatParticipants.md +++ b/docs/API_docs/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/docs/API_docs/constructors/updateChatUserTyping.md b/docs/API_docs/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/docs/API_docs/constructors/updateChatUserTyping.md +++ b/docs/API_docs/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/docs/API_docs/constructors/updateConfig.md b/docs/API_docs/constructors/updateConfig.md index 6f25cf11..6d67156d 100644 --- a/docs/API_docs/constructors/updateConfig.md +++ b/docs/API_docs/constructors/updateConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateConfig = ['_' => 'updateConfig']; ``` @@ -27,10 +27,9 @@ $updateConfig = ['_' => 'updateConfig']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateConfig={_='updateConfig'} ``` diff --git a/docs/API_docs/constructors/updateContactLink.md b/docs/API_docs/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/docs/API_docs/constructors/updateContactLink.md +++ b/docs/API_docs/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/docs/API_docs/constructors/updateContactRegistered.md b/docs/API_docs/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/docs/API_docs/constructors/updateContactRegistered.md +++ b/docs/API_docs/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/docs/API_docs/constructors/updateContactsReset.md b/docs/API_docs/constructors/updateContactsReset.md index 3c9f46af..d2458943 100644 --- a/docs/API_docs/constructors/updateContactsReset.md +++ b/docs/API_docs/constructors/updateContactsReset.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactsReset = ['_' => 'updateContactsReset']; ``` @@ -27,10 +27,9 @@ $updateContactsReset = ['_' => 'updateContactsReset']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactsReset={_='updateContactsReset'} ``` diff --git a/docs/API_docs/constructors/updateDcOptions.md b/docs/API_docs/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/docs/API_docs/constructors/updateDcOptions.md +++ b/docs/API_docs/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/docs/API_docs/constructors/updateDeleteChannelMessages.md b/docs/API_docs/constructors/updateDeleteChannelMessages.md index 0f84f3f7..8fb10b65 100644 --- a/docs/API_docs/constructors/updateDeleteChannelMessages.md +++ b/docs/API_docs/constructors/updateDeleteChannelMessages.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int} ``` diff --git a/docs/API_docs/constructors/updateDeleteMessages.md b/docs/API_docs/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/docs/API_docs/constructors/updateDeleteMessages.md +++ b/docs/API_docs/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/docs/API_docs/constructors/updateDialogPinned.md b/docs/API_docs/constructors/updateDialogPinned.md index a79af7d5..0fec4db4 100644 --- a/docs/API_docs/constructors/updateDialogPinned.md +++ b/docs/API_docs/constructors/updateDialogPinned.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => DialogPeer]; ``` @@ -33,10 +33,9 @@ $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDialogPinned={_='updateDialogPinned', pinned=Bool, peer=DialogPeer} ``` diff --git a/docs/API_docs/constructors/updateDialogUnreadMark.md b/docs/API_docs/constructors/updateDialogUnreadMark.md index b9d2e8c5..b492eb6e 100644 --- a/docs/API_docs/constructors/updateDialogUnreadMark.md +++ b/docs/API_docs/constructors/updateDialogUnreadMark.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDialogUnreadMark = ['_' => 'updateDialogUnreadMark', 'unread' => Bool, 'peer' => DialogPeer]; ``` @@ -33,10 +33,9 @@ $updateDialogUnreadMark = ['_' => 'updateDialogUnreadMark', 'unread' => Bool, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDialogUnreadMark={_='updateDialogUnreadMark', unread=Bool, peer=DialogPeer} ``` diff --git a/docs/API_docs/constructors/updateDraftMessage.md b/docs/API_docs/constructors/updateDraftMessage.md index 7e759a4f..1bf7c2a4 100644 --- a/docs/API_docs/constructors/updateDraftMessage.md +++ b/docs/API_docs/constructors/updateDraftMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage]; ``` @@ -33,10 +33,9 @@ $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => D ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage} ``` diff --git a/docs/API_docs/constructors/updateEditChannelMessage.md b/docs/API_docs/constructors/updateEditChannelMessage.md index 959c433a..485afae1 100644 --- a/docs/API_docs/constructors/updateEditChannelMessage.md +++ b/docs/API_docs/constructors/updateEditChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/docs/API_docs/constructors/updateEditMessage.md b/docs/API_docs/constructors/updateEditMessage.md index f9f820e8..9f986f86 100644 --- a/docs/API_docs/constructors/updateEditMessage.md +++ b/docs/API_docs/constructors/updateEditMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/docs/API_docs/constructors/updateEncryptedChatTyping.md b/docs/API_docs/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/docs/API_docs/constructors/updateEncryptedChatTyping.md +++ b/docs/API_docs/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/docs/API_docs/constructors/updateEncryptedMessagesRead.md b/docs/API_docs/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/docs/API_docs/constructors/updateEncryptedMessagesRead.md +++ b/docs/API_docs/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/docs/API_docs/constructors/updateEncryption.md b/docs/API_docs/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/docs/API_docs/constructors/updateEncryption.md +++ b/docs/API_docs/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/docs/API_docs/constructors/updateFavedStickers.md b/docs/API_docs/constructors/updateFavedStickers.md index b474cc03..4e799846 100644 --- a/docs/API_docs/constructors/updateFavedStickers.md +++ b/docs/API_docs/constructors/updateFavedStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateFavedStickers = ['_' => 'updateFavedStickers']; ``` @@ -27,10 +27,9 @@ $updateFavedStickers = ['_' => 'updateFavedStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateFavedStickers={_='updateFavedStickers'} ``` diff --git a/docs/API_docs/constructors/updateInlineBotCallbackQuery.md b/docs/API_docs/constructors/updateInlineBotCallbackQuery.md index b1b40479..fb112694 100644 --- a/docs/API_docs/constructors/updateInlineBotCallbackQuery.md +++ b/docs/API_docs/constructors/updateInlineBotCallbackQuery.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -37,10 +37,9 @@ $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/docs/API_docs/constructors/updateLangPack.md b/docs/API_docs/constructors/updateLangPack.md index 172c1a9a..9f180e97 100644 --- a/docs/API_docs/constructors/updateLangPack.md +++ b/docs/API_docs/constructors/updateLangPack.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateLangPack = ['_' => 'updateLangPack', 'difference' => LangPackDifference]; ``` @@ -32,10 +32,9 @@ $updateLangPack = ['_' => 'updateLangPack', 'difference' => LangPackDifference]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateLangPack={_='updateLangPack', difference=LangPackDifference} ``` diff --git a/docs/API_docs/constructors/updateLangPackTooLong.md b/docs/API_docs/constructors/updateLangPackTooLong.md index b55c7e33..55614347 100644 --- a/docs/API_docs/constructors/updateLangPackTooLong.md +++ b/docs/API_docs/constructors/updateLangPackTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateLangPackTooLong = ['_' => 'updateLangPackTooLong']; ``` @@ -27,10 +27,9 @@ $updateLangPackTooLong = ['_' => 'updateLangPackTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateLangPackTooLong={_='updateLangPackTooLong'} ``` diff --git a/docs/API_docs/constructors/updateMessageID.md b/docs/API_docs/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/docs/API_docs/constructors/updateMessageID.md +++ b/docs/API_docs/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/docs/API_docs/constructors/updateNewChannelMessage.md b/docs/API_docs/constructors/updateNewChannelMessage.md index 59dbc820..9fa1c7ec 100644 --- a/docs/API_docs/constructors/updateNewChannelMessage.md +++ b/docs/API_docs/constructors/updateNewChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Messa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/docs/API_docs/constructors/updateNewEncryptedMessage.md b/docs/API_docs/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/docs/API_docs/constructors/updateNewEncryptedMessage.md +++ b/docs/API_docs/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/docs/API_docs/constructors/updateNewMessage.md b/docs/API_docs/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/docs/API_docs/constructors/updateNewMessage.md +++ b/docs/API_docs/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/docs/API_docs/constructors/updateNewStickerSet.md b/docs/API_docs/constructors/updateNewStickerSet.md index c36d4617..5ba327ea 100644 --- a/docs/API_docs/constructors/updateNewStickerSet.md +++ b/docs/API_docs/constructors/updateNewStickerSet.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` @@ -32,10 +32,9 @@ $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_S ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} ``` diff --git a/docs/API_docs/constructors/updateNotifySettings.md b/docs/API_docs/constructors/updateNotifySettings.md index 686aa10f..27f490e2 100644 --- a/docs/API_docs/constructors/updateNotifySettings.md +++ b/docs/API_docs/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/docs/API_docs/constructors/updatePhoneCall.md b/docs/API_docs/constructors/updatePhoneCall.md index 61730eae..445e1fc0 100644 --- a/docs/API_docs/constructors/updatePhoneCall.md +++ b/docs/API_docs/constructors/updatePhoneCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` @@ -32,10 +32,9 @@ $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePhoneCall={_='updatePhoneCall', phone_call=PhoneCall} ``` diff --git a/docs/API_docs/constructors/updatePinnedDialogs.md b/docs/API_docs/constructors/updatePinnedDialogs.md index b33518c6..3fd3517d 100644 --- a/docs/API_docs/constructors/updatePinnedDialogs.md +++ b/docs/API_docs/constructors/updatePinnedDialogs.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [DialogPeer, DialogPeer]]; ``` @@ -32,10 +32,9 @@ $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [DialogPeer, Di ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePinnedDialogs={_='updatePinnedDialogs', order={DialogPeer}} ``` diff --git a/docs/API_docs/constructors/updatePrivacy.md b/docs/API_docs/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/docs/API_docs/constructors/updatePrivacy.md +++ b/docs/API_docs/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/docs/API_docs/constructors/updatePtsChanged.md b/docs/API_docs/constructors/updatePtsChanged.md index 76b49a1f..dac1d461 100644 --- a/docs/API_docs/constructors/updatePtsChanged.md +++ b/docs/API_docs/constructors/updatePtsChanged.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` @@ -27,10 +27,9 @@ $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePtsChanged={_='updatePtsChanged'} ``` diff --git a/docs/API_docs/constructors/updateReadChannelInbox.md b/docs/API_docs/constructors/updateReadChannelInbox.md index be964e20..c8c26acb 100644 --- a/docs/API_docs/constructors/updateReadChannelInbox.md +++ b/docs/API_docs/constructors/updateReadChannelInbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int} ``` diff --git a/docs/API_docs/constructors/updateReadChannelOutbox.md b/docs/API_docs/constructors/updateReadChannelOutbox.md index c725d108..664108d1 100644 --- a/docs/API_docs/constructors/updateReadChannelOutbox.md +++ b/docs/API_docs/constructors/updateReadChannelOutbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelOutbox={_='updateReadChannelOutbox', channel_id=int, max_id=int} ``` diff --git a/docs/API_docs/constructors/updateReadFeaturedStickers.md b/docs/API_docs/constructors/updateReadFeaturedStickers.md index ea46d41f..af7fd3d7 100644 --- a/docs/API_docs/constructors/updateReadFeaturedStickers.md +++ b/docs/API_docs/constructors/updateReadFeaturedStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` @@ -27,10 +27,9 @@ $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadFeaturedStickers={_='updateReadFeaturedStickers'} ``` diff --git a/docs/API_docs/constructors/updateReadHistoryInbox.md b/docs/API_docs/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/docs/API_docs/constructors/updateReadHistoryInbox.md +++ b/docs/API_docs/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/docs/API_docs/constructors/updateReadHistoryOutbox.md b/docs/API_docs/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/docs/API_docs/constructors/updateReadHistoryOutbox.md +++ b/docs/API_docs/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/docs/API_docs/constructors/updateReadMessagesContents.md b/docs/API_docs/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/docs/API_docs/constructors/updateReadMessagesContents.md +++ b/docs/API_docs/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/docs/API_docs/constructors/updateRecentStickers.md b/docs/API_docs/constructors/updateRecentStickers.md index cb15d01f..6f9acb77 100644 --- a/docs/API_docs/constructors/updateRecentStickers.md +++ b/docs/API_docs/constructors/updateRecentStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` @@ -27,10 +27,9 @@ $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateRecentStickers={_='updateRecentStickers'} ``` diff --git a/docs/API_docs/constructors/updateSavedGifs.md b/docs/API_docs/constructors/updateSavedGifs.md index dd17f321..ea5619fc 100644 --- a/docs/API_docs/constructors/updateSavedGifs.md +++ b/docs/API_docs/constructors/updateSavedGifs.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` @@ -27,10 +27,9 @@ $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/docs/API_docs/constructors/updateServiceNotification.md b/docs/API_docs/constructors/updateServiceNotification.md index 1da6885f..0833007b 100644 --- a/docs/API_docs/constructors/updateServiceNotification.md +++ b/docs/API_docs/constructors/updateServiceNotification.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -37,10 +37,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', popup=Bool, inbox_date=int, type='string', message='string', media=MessageMedia, entities={MessageEntity}} ``` diff --git a/docs/API_docs/constructors/updateShort.md b/docs/API_docs/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/docs/API_docs/constructors/updateShort.md +++ b/docs/API_docs/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/docs/API_docs/constructors/updateShortChatMessage.md b/docs/API_docs/constructors/updateShortChatMessage.md index d62e0729..cbeb4739 100644 --- a/docs/API_docs/constructors/updateShortChatMessage.md +++ b/docs/API_docs/constructors/updateShortChatMessage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -46,10 +46,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'ment ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/docs/API_docs/constructors/updateShortMessage.md b/docs/API_docs/constructors/updateShortMessage.md index d4effcb8..a8348773 100644 --- a/docs/API_docs/constructors/updateShortMessage.md +++ b/docs/API_docs/constructors/updateShortMessage.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -45,10 +45,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/docs/API_docs/constructors/updateShortSentMessage.md b/docs/API_docs/constructors/updateShortSentMessage.md index fd7035c3..2a318e56 100644 --- a/docs/API_docs/constructors/updateShortSentMessage.md +++ b/docs/API_docs/constructors/updateShortSentMessage.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -38,10 +38,9 @@ $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}} ``` diff --git a/docs/API_docs/constructors/updateStickerSets.md b/docs/API_docs/constructors/updateStickerSets.md index 4f045d67..e4cc23a0 100644 --- a/docs/API_docs/constructors/updateStickerSets.md +++ b/docs/API_docs/constructors/updateStickerSets.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSets = ['_' => 'updateStickerSets']; ``` @@ -27,10 +27,9 @@ $updateStickerSets = ['_' => 'updateStickerSets']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSets={_='updateStickerSets'} ``` diff --git a/docs/API_docs/constructors/updateStickerSetsOrder.md b/docs/API_docs/constructors/updateStickerSetsOrder.md index e36470ad..74405f69 100644 --- a/docs/API_docs/constructors/updateStickerSetsOrder.md +++ b/docs/API_docs/constructors/updateStickerSetsOrder.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long, long]]; ``` @@ -33,10 +33,9 @@ $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'or ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSetsOrder={_='updateStickerSetsOrder', masks=Bool, order={long}} ``` diff --git a/docs/API_docs/constructors/updateUserBlocked.md b/docs/API_docs/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/docs/API_docs/constructors/updateUserBlocked.md +++ b/docs/API_docs/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/docs/API_docs/constructors/updateUserName.md b/docs/API_docs/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/docs/API_docs/constructors/updateUserName.md +++ b/docs/API_docs/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/docs/API_docs/constructors/updateUserPhone.md b/docs/API_docs/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/docs/API_docs/constructors/updateUserPhone.md +++ b/docs/API_docs/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/docs/API_docs/constructors/updateUserPhoto.md b/docs/API_docs/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/docs/API_docs/constructors/updateUserPhoto.md +++ b/docs/API_docs/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/docs/API_docs/constructors/updateUserStatus.md b/docs/API_docs/constructors/updateUserStatus.md index fa265720..13726efb 100644 --- a/docs/API_docs/constructors/updateUserStatus.md +++ b/docs/API_docs/constructors/updateUserStatus.md @@ -24,7 +24,7 @@ User went online/offline ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -35,10 +35,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/docs/API_docs/constructors/updateUserTyping.md b/docs/API_docs/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/docs/API_docs/constructors/updateUserTyping.md +++ b/docs/API_docs/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/docs/API_docs/constructors/updateWebPage.md b/docs/API_docs/constructors/updateWebPage.md index 9f468619..932d8ff2 100644 --- a/docs/API_docs/constructors/updateWebPage.md +++ b/docs/API_docs/constructors/updateWebPage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/docs/API_docs/constructors/updates.md b/docs/API_docs/constructors/updates.md index c6548ada..43f73b57 100644 --- a/docs/API_docs/constructors/updates.md +++ b/docs/API_docs/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/docs/API_docs/constructors/updatesCombined.md b/docs/API_docs/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/docs/API_docs/constructors/updatesCombined.md +++ b/docs/API_docs/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/docs/API_docs/constructors/updatesTooLong.md b/docs/API_docs/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/docs/API_docs/constructors/updatesTooLong.md +++ b/docs/API_docs/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/docs/API_docs/constructors/updates_channelDifference.md b/docs/API_docs/constructors/updates_channelDifference.md index 21b618c2..df1dafd6 100644 --- a/docs/API_docs/constructors/updates_channelDifference.md +++ b/docs/API_docs/constructors/updates_channelDifference.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} ``` diff --git a/docs/API_docs/constructors/updates_channelDifferenceEmpty.md b/docs/API_docs/constructors/updates_channelDifferenceEmpty.md index a2e49340..a5be0377 100644 --- a/docs/API_docs/constructors/updates_channelDifferenceEmpty.md +++ b/docs/API_docs/constructors/updates_channelDifferenceEmpty.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'fin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} ``` diff --git a/docs/API_docs/constructors/updates_channelDifferenceTooLong.md b/docs/API_docs/constructors/updates_channelDifferenceTooLong.md index 84834a9f..838aaf3b 100644 --- a/docs/API_docs/constructors/updates_channelDifferenceTooLong.md +++ b/docs/API_docs/constructors/updates_channelDifferenceTooLong.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -42,10 +42,9 @@ $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/docs/API_docs/constructors/updates_difference.md b/docs/API_docs/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/docs/API_docs/constructors/updates_difference.md +++ b/docs/API_docs/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/docs/API_docs/constructors/updates_differenceEmpty.md b/docs/API_docs/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/docs/API_docs/constructors/updates_differenceEmpty.md +++ b/docs/API_docs/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/docs/API_docs/constructors/updates_differenceSlice.md b/docs/API_docs/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/docs/API_docs/constructors/updates_differenceSlice.md +++ b/docs/API_docs/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/docs/API_docs/constructors/updates_differenceTooLong.md b/docs/API_docs/constructors/updates_differenceTooLong.md index da55eddf..2e96fdd5 100644 --- a/docs/API_docs/constructors/updates_differenceTooLong.md +++ b/docs/API_docs/constructors/updates_differenceTooLong.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` @@ -32,10 +32,9 @@ $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceTooLong={_='updates.differenceTooLong', pts=int} ``` diff --git a/docs/API_docs/constructors/updates_state.md b/docs/API_docs/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/docs/API_docs/constructors/updates_state.md +++ b/docs/API_docs/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/docs/API_docs/constructors/upload_cdnFile.md b/docs/API_docs/constructors/upload_cdnFile.md index b42b285d..586e6c32 100644 --- a/docs/API_docs/constructors/upload_cdnFile.md +++ b/docs/API_docs/constructors/upload_cdnFile.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; ``` @@ -32,10 +32,9 @@ $upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_cdnFile={_='upload.cdnFile', bytes='bytes'} ``` diff --git a/docs/API_docs/constructors/upload_cdnFileReuploadNeeded.md b/docs/API_docs/constructors/upload_cdnFileReuploadNeeded.md index b770fdf6..a770ff3d 100644 --- a/docs/API_docs/constructors/upload_cdnFileReuploadNeeded.md +++ b/docs/API_docs/constructors/upload_cdnFileReuploadNeeded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; ``` @@ -32,10 +32,9 @@ $upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} ``` diff --git a/docs/API_docs/constructors/upload_file.md b/docs/API_docs/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/docs/API_docs/constructors/upload_file.md +++ b/docs/API_docs/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/docs/API_docs/constructors/upload_fileCdnRedirect.md b/docs/API_docs/constructors/upload_fileCdnRedirect.md index f5f91660..f8118be0 100644 --- a/docs/API_docs/constructors/upload_fileCdnRedirect.md +++ b/docs/API_docs/constructors/upload_fileCdnRedirect.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; ``` @@ -36,10 +36,9 @@ $upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'fil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} ``` diff --git a/docs/API_docs/constructors/upload_webFile.md b/docs/API_docs/constructors/upload_webFile.md index 296105ee..d94afb72 100644 --- a/docs/API_docs/constructors/upload_webFile.md +++ b/docs/API_docs/constructors/upload_webFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/docs/API_docs/constructors/user.md b/docs/API_docs/constructors/user.md index e15841b7..ebe7d5ed 100644 --- a/docs/API_docs/constructors/user.md +++ b/docs/API_docs/constructors/user.md @@ -43,7 +43,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => 'string', 'bot_inline_placeholder' => 'string', 'lang_code' => 'string']; ``` @@ -54,10 +54,9 @@ $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, min=Bool, bot_inline_geo=Bool, id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason='string', bot_inline_placeholder='string', lang_code='string'} ``` diff --git a/docs/API_docs/constructors/userEmpty.md b/docs/API_docs/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/docs/API_docs/constructors/userEmpty.md +++ b/docs/API_docs/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/docs/API_docs/constructors/userFull.md b/docs/API_docs/constructors/userFull.md index 8a9037d6..381a3ef9 100644 --- a/docs/API_docs/constructors/userFull.md +++ b/docs/API_docs/constructors/userFull.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` @@ -41,10 +41,9 @@ $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/docs/API_docs/constructors/userProfilePhoto.md b/docs/API_docs/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/docs/API_docs/constructors/userProfilePhoto.md +++ b/docs/API_docs/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/docs/API_docs/constructors/userProfilePhotoEmpty.md b/docs/API_docs/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/docs/API_docs/constructors/userProfilePhotoEmpty.md +++ b/docs/API_docs/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/docs/API_docs/constructors/userStatusEmpty.md b/docs/API_docs/constructors/userStatusEmpty.md index b697f0b4..ee6ca842 100644 --- a/docs/API_docs/constructors/userStatusEmpty.md +++ b/docs/API_docs/constructors/userStatusEmpty.md @@ -18,7 +18,7 @@ User status was newer changed ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -29,10 +29,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/docs/API_docs/constructors/userStatusLastMonth.md b/docs/API_docs/constructors/userStatusLastMonth.md index 8c7c9406..b91709d7 100644 --- a/docs/API_docs/constructors/userStatusLastMonth.md +++ b/docs/API_docs/constructors/userStatusLastMonth.md @@ -18,7 +18,7 @@ User is offline, but was online last month ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -29,10 +29,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/docs/API_docs/constructors/userStatusLastWeek.md b/docs/API_docs/constructors/userStatusLastWeek.md index 505ac07b..2cca37ac 100644 --- a/docs/API_docs/constructors/userStatusLastWeek.md +++ b/docs/API_docs/constructors/userStatusLastWeek.md @@ -18,7 +18,7 @@ User is offline, but was online last week ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -29,10 +29,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/docs/API_docs/constructors/userStatusOffline.md b/docs/API_docs/constructors/userStatusOffline.md index d3a150cf..7c06ec4a 100644 --- a/docs/API_docs/constructors/userStatusOffline.md +++ b/docs/API_docs/constructors/userStatusOffline.md @@ -23,7 +23,7 @@ User is offline ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -34,10 +34,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/docs/API_docs/constructors/userStatusOnline.md b/docs/API_docs/constructors/userStatusOnline.md index defe0b7e..f5240008 100644 --- a/docs/API_docs/constructors/userStatusOnline.md +++ b/docs/API_docs/constructors/userStatusOnline.md @@ -23,7 +23,7 @@ User is online ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -34,10 +34,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/docs/API_docs/constructors/userStatusRecently.md b/docs/API_docs/constructors/userStatusRecently.md index 3bfd28a5..0147e598 100644 --- a/docs/API_docs/constructors/userStatusRecently.md +++ b/docs/API_docs/constructors/userStatusRecently.md @@ -18,7 +18,7 @@ User was online recently ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -29,10 +29,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/docs/API_docs/constructors/wallPaper.md b/docs/API_docs/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/docs/API_docs/constructors/wallPaper.md +++ b/docs/API_docs/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/docs/API_docs/constructors/wallPaperSolid.md b/docs/API_docs/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/docs/API_docs/constructors/wallPaperSolid.md +++ b/docs/API_docs/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/docs/API_docs/constructors/webAuthorization.md b/docs/API_docs/constructors/webAuthorization.md index 3c0a4170..ab484a7b 100644 --- a/docs/API_docs/constructors/webAuthorization.md +++ b/docs/API_docs/constructors/webAuthorization.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webAuthorization = ['_' => 'webAuthorization', 'hash' => long, 'bot_id' => int, 'domain' => 'string', 'browser' => 'string', 'platform' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'region' => 'string']; ``` @@ -40,10 +40,9 @@ $webAuthorization = ['_' => 'webAuthorization', 'hash' => long, 'bot_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webAuthorization={_='webAuthorization', hash=long, bot_id=int, domain='string', browser='string', platform='string', date_created=int, date_active=int, ip='string', region='string'} ``` diff --git a/docs/API_docs/constructors/webDocument.md b/docs/API_docs/constructors/webDocument.md index 692c6d49..57afb6ad 100644 --- a/docs/API_docs/constructors/webDocument.md +++ b/docs/API_docs/constructors/webDocument.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -36,10 +36,9 @@ $webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webDocument={_='webDocument', url='string', access_hash=long, size=int, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/docs/API_docs/constructors/webDocumentNoProxy.md b/docs/API_docs/constructors/webDocumentNoProxy.md index 07b6aa60..e89db854 100644 --- a/docs/API_docs/constructors/webDocumentNoProxy.md +++ b/docs/API_docs/constructors/webDocumentNoProxy.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webDocumentNoProxy = ['_' => 'webDocumentNoProxy', 'url' => 'string', 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -35,10 +35,9 @@ $webDocumentNoProxy = ['_' => 'webDocumentNoProxy', 'url' => 'string', 'size' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webDocumentNoProxy={_='webDocumentNoProxy', url='string', size=int, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/docs/API_docs/constructors/webPage.md b/docs/API_docs/constructors/webPage.md index 371b1e56..ee070624 100644 --- a/docs/API_docs/constructors/webPage.md +++ b/docs/API_docs/constructors/webPage.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'hash' => int, 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document, 'cached_page' => Page]; ``` @@ -48,10 +48,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', hash=int, type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document, cached_page=Page} ``` diff --git a/docs/API_docs/constructors/webPageEmpty.md b/docs/API_docs/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/docs/API_docs/constructors/webPageEmpty.md +++ b/docs/API_docs/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/docs/API_docs/constructors/webPageNotModified.md b/docs/API_docs/constructors/webPageNotModified.md index 557c2947..a180dd51 100644 --- a/docs/API_docs/constructors/webPageNotModified.md +++ b/docs/API_docs/constructors/webPageNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageNotModified = ['_' => 'webPageNotModified']; ``` @@ -27,10 +27,9 @@ $webPageNotModified = ['_' => 'webPageNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageNotModified={_='webPageNotModified'} ``` diff --git a/docs/API_docs/constructors/webPagePending.md b/docs/API_docs/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/docs/API_docs/constructors/webPagePending.md +++ b/docs/API_docs/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/docs/API_docs/methods/account_acceptAuthorization.md b/docs/API_docs/methods/account_acceptAuthorization.md index 48cafe8a..3db73de5 100644 --- a/docs/API_docs/methods/account_acceptAuthorization.md +++ b/docs/API_docs/methods/account_acceptAuthorization.md @@ -28,7 +28,7 @@ Accept telegram passport authorization ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ credentials - Json encoded SecureCredentialsEncrypted Or, if you're into Lua: -``` +```lua Bool = account.acceptAuthorization({bot_id=int, scope='string', public_key='string', value_hashes={SecureValueHash}, credentials=SecureCredentialsEncrypted, }) ``` diff --git a/docs/API_docs/methods/account_changePhone.md b/docs/API_docs/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/docs/API_docs/methods/account_changePhone.md +++ b/docs/API_docs/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/docs/API_docs/methods/account_checkUsername.md b/docs/API_docs/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/docs/API_docs/methods/account_checkUsername.md +++ b/docs/API_docs/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/docs/API_docs/methods/account_confirmPhone.md b/docs/API_docs/methods/account_confirmPhone.md index a42b69b7..214f54e3 100644 --- a/docs/API_docs/methods/account_confirmPhone.md +++ b/docs/API_docs/methods/account_confirmPhone.md @@ -25,7 +25,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.confirmPhone({phone_code_hash='string', phone_code='string', }) ``` diff --git a/docs/API_docs/methods/account_deleteAccount.md b/docs/API_docs/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/docs/API_docs/methods/account_deleteAccount.md +++ b/docs/API_docs/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/docs/API_docs/methods/account_deleteSecureValue.md b/docs/API_docs/methods/account_deleteSecureValue.md index cfb5bdf1..ac6b7ec8 100644 --- a/docs/API_docs/methods/account_deleteSecureValue.md +++ b/docs/API_docs/methods/account_deleteSecureValue.md @@ -24,7 +24,7 @@ Delete secure telegram passport value ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ types - Json encoded array of SecureValueType Or, if you're into Lua: -``` +```lua Bool = account.deleteSecureValue({types={SecureValueType}, }) ``` diff --git a/docs/API_docs/methods/account_finishTakeoutSession.md b/docs/API_docs/methods/account_finishTakeoutSession.md index 6b21cbef..8326800d 100644 --- a/docs/API_docs/methods/account_finishTakeoutSession.md +++ b/docs/API_docs/methods/account_finishTakeoutSession.md @@ -24,7 +24,7 @@ Finish account exporting session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ success - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.finishTakeoutSession({success=Bool, }) ``` diff --git a/docs/API_docs/methods/account_getAccountTTL.md b/docs/API_docs/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/docs/API_docs/methods/account_getAccountTTL.md +++ b/docs/API_docs/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/docs/API_docs/methods/account_getAllSecureValues.md b/docs/API_docs/methods/account_getAllSecureValues.md index 7a3022d0..408c805c 100644 --- a/docs/API_docs/methods/account_getAllSecureValues.md +++ b/docs/API_docs/methods/account_getAllSecureValues.md @@ -19,7 +19,7 @@ Get all secure telegram passport values ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_SecureValue = account.getAllSecureValues({}) ``` diff --git a/docs/API_docs/methods/account_getAuthorizationForm.md b/docs/API_docs/methods/account_getAuthorizationForm.md index ae177a4a..c839f4ed 100644 --- a/docs/API_docs/methods/account_getAuthorizationForm.md +++ b/docs/API_docs/methods/account_getAuthorizationForm.md @@ -26,7 +26,7 @@ Bots only: get telegram passport authorization form ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ public_key - Json encoded string Or, if you're into Lua: -``` +```lua account_AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) ``` diff --git a/docs/API_docs/methods/account_getAuthorizations.md b/docs/API_docs/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/docs/API_docs/methods/account_getAuthorizations.md +++ b/docs/API_docs/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/docs/API_docs/methods/account_getNotifySettings.md b/docs/API_docs/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/docs/API_docs/methods/account_getNotifySettings.md +++ b/docs/API_docs/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/docs/API_docs/methods/account_getPassword.md b/docs/API_docs/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/docs/API_docs/methods/account_getPassword.md +++ b/docs/API_docs/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/docs/API_docs/methods/account_getPasswordSettings.md b/docs/API_docs/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/docs/API_docs/methods/account_getPasswordSettings.md +++ b/docs/API_docs/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/docs/API_docs/methods/account_getPrivacy.md b/docs/API_docs/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/docs/API_docs/methods/account_getPrivacy.md +++ b/docs/API_docs/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/docs/API_docs/methods/account_getSecureValue.md b/docs/API_docs/methods/account_getSecureValue.md index d62988b4..a76b5ad5 100644 --- a/docs/API_docs/methods/account_getSecureValue.md +++ b/docs/API_docs/methods/account_getSecureValue.md @@ -24,7 +24,7 @@ Get secure value for telegram passport ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ types - Json encoded array of SecureValueType Or, if you're into Lua: -``` +```lua Vector_of_SecureValue = account.getSecureValue({types={SecureValueType}, }) ``` diff --git a/docs/API_docs/methods/account_getTmpPassword.md b/docs/API_docs/methods/account_getTmpPassword.md index 504fbbc3..be75dc69 100644 --- a/docs/API_docs/methods/account_getTmpPassword.md +++ b/docs/API_docs/methods/account_getTmpPassword.md @@ -25,7 +25,7 @@ Get temporary password for buying products through bots ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua account_TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) ``` diff --git a/docs/API_docs/methods/account_getWallPapers.md b/docs/API_docs/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/docs/API_docs/methods/account_getWallPapers.md +++ b/docs/API_docs/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/docs/API_docs/methods/account_getWebAuthorizations.md b/docs/API_docs/methods/account_getWebAuthorizations.md index eef56ced..292a6bfc 100644 --- a/docs/API_docs/methods/account_getWebAuthorizations.md +++ b/docs/API_docs/methods/account_getWebAuthorizations.md @@ -19,7 +19,7 @@ Get telegram web login authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_WebAuthorizations = account.getWebAuthorizations({}) ``` diff --git a/docs/API_docs/methods/account_initTakeoutSession.md b/docs/API_docs/methods/account_initTakeoutSession.md index 68fc8ab3..bb289ec4 100644 --- a/docs/API_docs/methods/account_initTakeoutSession.md +++ b/docs/API_docs/methods/account_initTakeoutSession.md @@ -30,7 +30,7 @@ Start account exporting session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ file_max_size - Json encoded int Or, if you're into Lua: -``` +```lua account_Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) ``` diff --git a/docs/API_docs/methods/account_registerDevice.md b/docs/API_docs/methods/account_registerDevice.md index a1256cd1..3d1cb1c5 100644 --- a/docs/API_docs/methods/account_registerDevice.md +++ b/docs/API_docs/methods/account_registerDevice.md @@ -28,7 +28,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ other_uids - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', app_sandbox=Bool, secret='bytes', other_uids={int}, }) ``` diff --git a/docs/API_docs/methods/account_reportPeer.md b/docs/API_docs/methods/account_reportPeer.md index d8c49851..673b48bf 100644 --- a/docs/API_docs/methods/account_reportPeer.md +++ b/docs/API_docs/methods/account_reportPeer.md @@ -25,7 +25,7 @@ Report for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reason - Json encoded ReportReason Or, if you're into Lua: -``` +```lua Bool = account.reportPeer({peer=InputPeer, reason=ReportReason, }) ``` diff --git a/docs/API_docs/methods/account_resetAuthorization.md b/docs/API_docs/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/docs/API_docs/methods/account_resetAuthorization.md +++ b/docs/API_docs/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/docs/API_docs/methods/account_resetNotifySettings.md b/docs/API_docs/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/docs/API_docs/methods/account_resetNotifySettings.md +++ b/docs/API_docs/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/docs/API_docs/methods/account_resetWebAuthorization.md b/docs/API_docs/methods/account_resetWebAuthorization.md index 2d987787..a12b2b22 100644 --- a/docs/API_docs/methods/account_resetWebAuthorization.md +++ b/docs/API_docs/methods/account_resetWebAuthorization.md @@ -24,7 +24,7 @@ Delete a certain telegram web login authorization ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetWebAuthorization({hash=long, }) ``` diff --git a/docs/API_docs/methods/account_resetWebAuthorizations.md b/docs/API_docs/methods/account_resetWebAuthorizations.md index fc39c6fd..594afa11 100644 --- a/docs/API_docs/methods/account_resetWebAuthorizations.md +++ b/docs/API_docs/methods/account_resetWebAuthorizations.md @@ -19,7 +19,7 @@ Reset all telegram web login authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetWebAuthorizations({}) ``` diff --git a/docs/API_docs/methods/account_saveSecureValue.md b/docs/API_docs/methods/account_saveSecureValue.md index a54d1783..09c39fad 100644 --- a/docs/API_docs/methods/account_saveSecureValue.md +++ b/docs/API_docs/methods/account_saveSecureValue.md @@ -25,7 +25,7 @@ Save telegram passport secure value ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ secure_secret_id - Json encoded long Or, if you're into Lua: -``` +```lua SecureValue = account.saveSecureValue({value=InputSecureValue, secure_secret_id=long, }) ``` diff --git a/docs/API_docs/methods/account_sendChangePhoneCode.md b/docs/API_docs/methods/account_sendChangePhoneCode.md index 33a001b9..123a5880 100644 --- a/docs/API_docs/methods/account_sendChangePhoneCode.md +++ b/docs/API_docs/methods/account_sendChangePhoneCode.md @@ -26,7 +26,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` diff --git a/docs/API_docs/methods/account_sendConfirmPhoneCode.md b/docs/API_docs/methods/account_sendConfirmPhoneCode.md index a70ad5a3..5c2612c2 100644 --- a/docs/API_docs/methods/account_sendConfirmPhoneCode.md +++ b/docs/API_docs/methods/account_sendConfirmPhoneCode.md @@ -26,7 +26,7 @@ Send confirmation phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` diff --git a/docs/API_docs/methods/account_sendVerifyEmailCode.md b/docs/API_docs/methods/account_sendVerifyEmailCode.md index 712018bd..bf1020ca 100644 --- a/docs/API_docs/methods/account_sendVerifyEmailCode.md +++ b/docs/API_docs/methods/account_sendVerifyEmailCode.md @@ -24,7 +24,7 @@ Send email verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ email - Json encoded string Or, if you're into Lua: -``` +```lua account_SentEmailCode = account.sendVerifyEmailCode({email='string', }) ``` diff --git a/docs/API_docs/methods/account_sendVerifyPhoneCode.md b/docs/API_docs/methods/account_sendVerifyPhoneCode.md index ea7e6c10..45902b30 100644 --- a/docs/API_docs/methods/account_sendVerifyPhoneCode.md +++ b/docs/API_docs/methods/account_sendVerifyPhoneCode.md @@ -26,7 +26,7 @@ Send phone verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendVerifyPhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` diff --git a/docs/API_docs/methods/account_setAccountTTL.md b/docs/API_docs/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/docs/API_docs/methods/account_setAccountTTL.md +++ b/docs/API_docs/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/docs/API_docs/methods/account_setPrivacy.md b/docs/API_docs/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/docs/API_docs/methods/account_setPrivacy.md +++ b/docs/API_docs/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/docs/API_docs/methods/account_unregisterDevice.md b/docs/API_docs/methods/account_unregisterDevice.md index b20ec9f0..e7e6a437 100644 --- a/docs/API_docs/methods/account_unregisterDevice.md +++ b/docs/API_docs/methods/account_unregisterDevice.md @@ -26,7 +26,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ other_uids - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', other_uids={int}, }) ``` diff --git a/docs/API_docs/methods/account_updateDeviceLocked.md b/docs/API_docs/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/docs/API_docs/methods/account_updateDeviceLocked.md +++ b/docs/API_docs/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/docs/API_docs/methods/account_updateNotifySettings.md b/docs/API_docs/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/docs/API_docs/methods/account_updateNotifySettings.md +++ b/docs/API_docs/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/docs/API_docs/methods/account_updatePasswordSettings.md b/docs/API_docs/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/docs/API_docs/methods/account_updatePasswordSettings.md +++ b/docs/API_docs/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/docs/API_docs/methods/account_updateProfile.md b/docs/API_docs/methods/account_updateProfile.md index f415381f..f54515e5 100644 --- a/docs/API_docs/methods/account_updateProfile.md +++ b/docs/API_docs/methods/account_updateProfile.md @@ -26,7 +26,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', about='string', }) ``` diff --git a/docs/API_docs/methods/account_updateStatus.md b/docs/API_docs/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/docs/API_docs/methods/account_updateStatus.md +++ b/docs/API_docs/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/docs/API_docs/methods/account_updateUsername.md b/docs/API_docs/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/docs/API_docs/methods/account_updateUsername.md +++ b/docs/API_docs/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/docs/API_docs/methods/account_verifyEmail.md b/docs/API_docs/methods/account_verifyEmail.md index 4cfc82aa..02b29db0 100644 --- a/docs/API_docs/methods/account_verifyEmail.md +++ b/docs/API_docs/methods/account_verifyEmail.md @@ -25,7 +25,7 @@ Verify email address ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.verifyEmail({email='string', code='string', }) ``` diff --git a/docs/API_docs/methods/account_verifyPhone.md b/docs/API_docs/methods/account_verifyPhone.md index 075ab95b..9c4326fa 100644 --- a/docs/API_docs/methods/account_verifyPhone.md +++ b/docs/API_docs/methods/account_verifyPhone.md @@ -26,7 +26,7 @@ Verify phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.verifyPhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/docs/API_docs/methods/auth_cancelCode.md b/docs/API_docs/methods/auth_cancelCode.md index 0b53954c..352c88e9 100644 --- a/docs/API_docs/methods/auth_cancelCode.md +++ b/docs/API_docs/methods/auth_cancelCode.md @@ -25,7 +25,7 @@ Invalidate sent phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/docs/API_docs/methods/auth_dropTempAuthKeys.md b/docs/API_docs/methods/auth_dropTempAuthKeys.md index 26d63e12..64ce7528 100644 --- a/docs/API_docs/methods/auth_dropTempAuthKeys.md +++ b/docs/API_docs/methods/auth_dropTempAuthKeys.md @@ -24,7 +24,7 @@ Delete all temporary authorization keys except the ones provided ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ except_auth_keys - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = auth.dropTempAuthKeys({except_auth_keys={long}, }) ``` diff --git a/docs/API_docs/methods/auth_recoverPassword.md b/docs/API_docs/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/docs/API_docs/methods/auth_recoverPassword.md +++ b/docs/API_docs/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/docs/API_docs/methods/auth_requestPasswordRecovery.md b/docs/API_docs/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/docs/API_docs/methods/auth_requestPasswordRecovery.md +++ b/docs/API_docs/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/docs/API_docs/methods/auth_resendCode.md b/docs/API_docs/methods/auth_resendCode.md index 28350d37..4ce58975 100644 --- a/docs/API_docs/methods/auth_resendCode.md +++ b/docs/API_docs/methods/auth_resendCode.md @@ -25,7 +25,7 @@ Resend the SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/docs/API_docs/methods/auth_resetAuthorizations.md b/docs/API_docs/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/docs/API_docs/methods/auth_resetAuthorizations.md +++ b/docs/API_docs/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/docs/API_docs/methods/bots_answerWebhookJSONQuery.md b/docs/API_docs/methods/bots_answerWebhookJSONQuery.md index 6ed252ff..33b6c2a3 100644 --- a/docs/API_docs/methods/bots_answerWebhookJSONQuery.md +++ b/docs/API_docs/methods/bots_answerWebhookJSONQuery.md @@ -25,7 +25,7 @@ Send webhook request via bot API ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ data - Json encoded DataJSON Or, if you're into Lua: -``` +```lua Bool = bots.answerWebhookJSONQuery({query_id=long, data=DataJSON, }) ``` diff --git a/docs/API_docs/methods/bots_sendCustomRequest.md b/docs/API_docs/methods/bots_sendCustomRequest.md index d14215ec..bd368df5 100644 --- a/docs/API_docs/methods/bots_sendCustomRequest.md +++ b/docs/API_docs/methods/bots_sendCustomRequest.md @@ -25,7 +25,7 @@ Send a custom request to the bot API ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ params - Json encoded DataJSON Or, if you're into Lua: -``` +```lua DataJSON = bots.sendCustomRequest({custom_method='string', params=DataJSON, }) ``` diff --git a/docs/API_docs/methods/channels_checkUsername.md b/docs/API_docs/methods/channels_checkUsername.md index d287b3ca..573bf8f0 100644 --- a/docs/API_docs/methods/channels_checkUsername.md +++ b/docs/API_docs/methods/channels_checkUsername.md @@ -25,7 +25,7 @@ Check if this username is free and can be assigned to a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.checkUsername({channel=InputChannel, username='string', }) ``` diff --git a/docs/API_docs/methods/channels_createChannel.md b/docs/API_docs/methods/channels_createChannel.md index 356f473a..1821c864 100644 --- a/docs/API_docs/methods/channels_createChannel.md +++ b/docs/API_docs/methods/channels_createChannel.md @@ -27,7 +27,7 @@ Create channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title='string', about='string', }) ``` diff --git a/docs/API_docs/methods/channels_deleteChannel.md b/docs/API_docs/methods/channels_deleteChannel.md index b55d91b8..a79ccb9f 100644 --- a/docs/API_docs/methods/channels_deleteChannel.md +++ b/docs/API_docs/methods/channels_deleteChannel.md @@ -24,7 +24,7 @@ Delete a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.deleteChannel({channel=InputChannel, }) ``` diff --git a/docs/API_docs/methods/channels_deleteHistory.md b/docs/API_docs/methods/channels_deleteHistory.md index ea331b8b..606eb2dc 100644 --- a/docs/API_docs/methods/channels_deleteHistory.md +++ b/docs/API_docs/methods/channels_deleteHistory.md @@ -25,7 +25,7 @@ Delete the history of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.deleteHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/docs/API_docs/methods/channels_deleteMessages.md b/docs/API_docs/methods/channels_deleteMessages.md index 03625c94..8cd7ebb3 100644 --- a/docs/API_docs/methods/channels_deleteMessages.md +++ b/docs/API_docs/methods/channels_deleteMessages.md @@ -25,7 +25,7 @@ Delete channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` diff --git a/docs/API_docs/methods/channels_deleteUserHistory.md b/docs/API_docs/methods/channels_deleteUserHistory.md index 204a8786..78baa90f 100644 --- a/docs/API_docs/methods/channels_deleteUserHistory.md +++ b/docs/API_docs/methods/channels_deleteUserHistory.md @@ -25,7 +25,7 @@ Delete all messages of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/docs/API_docs/methods/channels_editAbout.md b/docs/API_docs/methods/channels_editAbout.md index fd861133..549d7ea5 100644 --- a/docs/API_docs/methods/channels_editAbout.md +++ b/docs/API_docs/methods/channels_editAbout.md @@ -25,7 +25,7 @@ Edit the about text of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.editAbout({channel=InputChannel, about='string', }) ``` diff --git a/docs/API_docs/methods/channels_editAdmin.md b/docs/API_docs/methods/channels_editAdmin.md index 08860c79..19670a43 100644 --- a/docs/API_docs/methods/channels_editAdmin.md +++ b/docs/API_docs/methods/channels_editAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ admin_rights - Json encoded ChannelAdminRights Or, if you're into Lua: -``` +```lua Updates = channels.editAdmin({channel=InputChannel, user_id=InputUser, admin_rights=ChannelAdminRights, }) ``` diff --git a/docs/API_docs/methods/channels_editBanned.md b/docs/API_docs/methods/channels_editBanned.md index e938acc0..e18f236e 100644 --- a/docs/API_docs/methods/channels_editBanned.md +++ b/docs/API_docs/methods/channels_editBanned.md @@ -26,7 +26,7 @@ Kick or ban a user from a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ banned_rights - Json encoded ChannelBannedRights Or, if you're into Lua: -``` +```lua Updates = channels.editBanned({channel=InputChannel, user_id=InputUser, banned_rights=ChannelBannedRights, }) ``` diff --git a/docs/API_docs/methods/channels_editPhoto.md b/docs/API_docs/methods/channels_editPhoto.md index ccbaed65..7013c6e2 100644 --- a/docs/API_docs/methods/channels_editPhoto.md +++ b/docs/API_docs/methods/channels_editPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = channels.editPhoto({channel=InputChannel, photo=InputChatPhoto, }) ``` diff --git a/docs/API_docs/methods/channels_editTitle.md b/docs/API_docs/methods/channels_editTitle.md index ffd868ba..a9c8c50f 100644 --- a/docs/API_docs/methods/channels_editTitle.md +++ b/docs/API_docs/methods/channels_editTitle.md @@ -25,7 +25,7 @@ Edit the title of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.editTitle({channel=InputChannel, title='string', }) ``` diff --git a/docs/API_docs/methods/channels_exportInvite.md b/docs/API_docs/methods/channels_exportInvite.md index 0b4b5c31..5a92097a 100644 --- a/docs/API_docs/methods/channels_exportInvite.md +++ b/docs/API_docs/methods/channels_exportInvite.md @@ -24,7 +24,7 @@ Export the invite link of a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua ExportedChatInvite = channels.exportInvite({channel=InputChannel, }) ``` diff --git a/docs/API_docs/methods/channels_exportMessageLink.md b/docs/API_docs/methods/channels_exportMessageLink.md index 3b6e7e9e..c28b37e0 100644 --- a/docs/API_docs/methods/channels_exportMessageLink.md +++ b/docs/API_docs/methods/channels_exportMessageLink.md @@ -26,7 +26,7 @@ Get the link of a message in a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ grouped - Json encoded Bool Or, if you're into Lua: -``` +```lua ExportedMessageLink = channels.exportMessageLink({channel=InputChannel, id=int, grouped=Bool, }) ``` diff --git a/docs/API_docs/methods/channels_getAdminLog.md b/docs/API_docs/methods/channels_getAdminLog.md index 266c07d7..79a6b402 100644 --- a/docs/API_docs/methods/channels_getAdminLog.md +++ b/docs/API_docs/methods/channels_getAdminLog.md @@ -30,7 +30,7 @@ Get admin log of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` diff --git a/docs/API_docs/methods/channels_getAdminedPublicChannels.md b/docs/API_docs/methods/channels_getAdminedPublicChannels.md index 67ee8bd4..dc2c29ed 100644 --- a/docs/API_docs/methods/channels_getAdminedPublicChannels.md +++ b/docs/API_docs/methods/channels_getAdminedPublicChannels.md @@ -19,7 +19,7 @@ Get all supergroups/channels where you're admin ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/docs/API_docs/methods/channels_getChannels.md b/docs/API_docs/methods/channels_getChannels.md index 71edac7b..a146be1e 100644 --- a/docs/API_docs/methods/channels_getChannels.md +++ b/docs/API_docs/methods/channels_getChannels.md @@ -24,7 +24,7 @@ Get info about multiple channels/supergroups ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputChannel Or, if you're into Lua: -``` +```lua messages_Chats = channels.getChannels({id={InputChannel}, }) ``` diff --git a/docs/API_docs/methods/channels_getLeftChannels.md b/docs/API_docs/methods/channels_getLeftChannels.md index cf06518b..3623d820 100644 --- a/docs/API_docs/methods/channels_getLeftChannels.md +++ b/docs/API_docs/methods/channels_getLeftChannels.md @@ -24,7 +24,7 @@ Get all channels you left ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_Chats = channels.getLeftChannels({offset=int, }) ``` diff --git a/docs/API_docs/methods/channels_getMessages.md b/docs/API_docs/methods/channels_getMessages.md index 4f63c3a2..95382110 100644 --- a/docs/API_docs/methods/channels_getMessages.md +++ b/docs/API_docs/methods/channels_getMessages.md @@ -25,7 +25,7 @@ Get channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of InputMessage Or, if you're into Lua: -``` +```lua messages_Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) ``` diff --git a/docs/API_docs/methods/channels_getParticipant.md b/docs/API_docs/methods/channels_getParticipant.md index a641d213..9cf80799 100644 --- a/docs/API_docs/methods/channels_getParticipant.md +++ b/docs/API_docs/methods/channels_getParticipant.md @@ -25,7 +25,7 @@ Get info about a certain channel/supergroup participant ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/docs/API_docs/methods/channels_getParticipants.md b/docs/API_docs/methods/channels_getParticipants.md index 25a752cb..eefd0917 100644 --- a/docs/API_docs/methods/channels_getParticipants.md +++ b/docs/API_docs/methods/channels_getParticipants.md @@ -28,7 +28,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) ``` diff --git a/docs/API_docs/methods/channels_inviteToChannel.md b/docs/API_docs/methods/channels_inviteToChannel.md index 0a350cc8..998e3895 100644 --- a/docs/API_docs/methods/channels_inviteToChannel.md +++ b/docs/API_docs/methods/channels_inviteToChannel.md @@ -25,7 +25,7 @@ Add users to channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ users - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Updates = channels.inviteToChannel({channel=InputChannel, users={InputUser}, }) ``` diff --git a/docs/API_docs/methods/channels_joinChannel.md b/docs/API_docs/methods/channels_joinChannel.md index aae2bc1c..3c6a3b94 100644 --- a/docs/API_docs/methods/channels_joinChannel.md +++ b/docs/API_docs/methods/channels_joinChannel.md @@ -24,7 +24,7 @@ Join a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.joinChannel({channel=InputChannel, }) ``` diff --git a/docs/API_docs/methods/channels_leaveChannel.md b/docs/API_docs/methods/channels_leaveChannel.md index 4e6701fe..0934089f 100644 --- a/docs/API_docs/methods/channels_leaveChannel.md +++ b/docs/API_docs/methods/channels_leaveChannel.md @@ -24,7 +24,7 @@ Leave a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.leaveChannel({channel=InputChannel, }) ``` diff --git a/docs/API_docs/methods/channels_readHistory.md b/docs/API_docs/methods/channels_readHistory.md index d76919ff..cf5c1529 100644 --- a/docs/API_docs/methods/channels_readHistory.md +++ b/docs/API_docs/methods/channels_readHistory.md @@ -25,7 +25,7 @@ Mark channel/supergroup history as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.readHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/docs/API_docs/methods/channels_readMessageContents.md b/docs/API_docs/methods/channels_readMessageContents.md index 51fffda5..a6cf4f3a 100644 --- a/docs/API_docs/methods/channels_readMessageContents.md +++ b/docs/API_docs/methods/channels_readMessageContents.md @@ -25,7 +25,7 @@ Mark channel/supergroup messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.readMessageContents({channel=InputChannel, id={int}, }) ``` diff --git a/docs/API_docs/methods/channels_reportSpam.md b/docs/API_docs/methods/channels_reportSpam.md index 48022662..b0e99eb1 100644 --- a/docs/API_docs/methods/channels_reportSpam.md +++ b/docs/API_docs/methods/channels_reportSpam.md @@ -26,7 +26,7 @@ Report a message in a supergroup/channel for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.reportSpam({channel=InputChannel, user_id=InputUser, id={int}, }) ``` diff --git a/docs/API_docs/methods/channels_setStickers.md b/docs/API_docs/methods/channels_setStickers.md index 421b3ec1..4338f29a 100644 --- a/docs/API_docs/methods/channels_setStickers.md +++ b/docs/API_docs/methods/channels_setStickers.md @@ -25,7 +25,7 @@ Set the supergroup/channel stickerpack ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = channels.setStickers({channel=InputChannel, stickerset=InputStickerSet, }) ``` diff --git a/docs/API_docs/methods/channels_toggleInvites.md b/docs/API_docs/methods/channels_toggleInvites.md index d0023b70..bed6ba15 100644 --- a/docs/API_docs/methods/channels_toggleInvites.md +++ b/docs/API_docs/methods/channels_toggleInvites.md @@ -25,7 +25,7 @@ Allow or disallow any user to invite users to this channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleInvites({channel=InputChannel, enabled=Bool, }) ``` diff --git a/docs/API_docs/methods/channels_togglePreHistoryHidden.md b/docs/API_docs/methods/channels_togglePreHistoryHidden.md index c25f6358..c972473d 100644 --- a/docs/API_docs/methods/channels_togglePreHistoryHidden.md +++ b/docs/API_docs/methods/channels_togglePreHistoryHidden.md @@ -25,7 +25,7 @@ Enable or disable hidden history for new channel/supergroup users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.togglePreHistoryHidden({channel=InputChannel, enabled=Bool, }) ``` diff --git a/docs/API_docs/methods/channels_toggleSignatures.md b/docs/API_docs/methods/channels_toggleSignatures.md index 337e8627..c9fe18cc 100644 --- a/docs/API_docs/methods/channels_toggleSignatures.md +++ b/docs/API_docs/methods/channels_toggleSignatures.md @@ -25,7 +25,7 @@ Toggle channel signatures ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleSignatures({channel=InputChannel, enabled=Bool, }) ``` diff --git a/docs/API_docs/methods/channels_updatePinnedMessage.md b/docs/API_docs/methods/channels_updatePinnedMessage.md index c79c5904..9d2cc058 100644 --- a/docs/API_docs/methods/channels_updatePinnedMessage.md +++ b/docs/API_docs/methods/channels_updatePinnedMessage.md @@ -26,7 +26,7 @@ Set the pinned message of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = channels.updatePinnedMessage({silent=Bool, channel=InputChannel, id=int, }) ``` diff --git a/docs/API_docs/methods/channels_updateUsername.md b/docs/API_docs/methods/channels_updateUsername.md index 2e07e123..c0df8c7c 100644 --- a/docs/API_docs/methods/channels_updateUsername.md +++ b/docs/API_docs/methods/channels_updateUsername.md @@ -25,7 +25,7 @@ Update the username of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.updateUsername({channel=InputChannel, username='string', }) ``` diff --git a/docs/API_docs/methods/contacts_block.md b/docs/API_docs/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/docs/API_docs/methods/contacts_block.md +++ b/docs/API_docs/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/docs/API_docs/methods/contacts_deleteContact.md b/docs/API_docs/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/docs/API_docs/methods/contacts_deleteContact.md +++ b/docs/API_docs/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/docs/API_docs/methods/contacts_deleteContacts.md b/docs/API_docs/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/docs/API_docs/methods/contacts_deleteContacts.md +++ b/docs/API_docs/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/docs/API_docs/methods/contacts_exportCard.md b/docs/API_docs/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/docs/API_docs/methods/contacts_exportCard.md +++ b/docs/API_docs/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/docs/API_docs/methods/contacts_getBlocked.md b/docs/API_docs/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/docs/API_docs/methods/contacts_getBlocked.md +++ b/docs/API_docs/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/docs/API_docs/methods/contacts_getContacts.md b/docs/API_docs/methods/contacts_getContacts.md index c8b53bc5..19826f89 100644 --- a/docs/API_docs/methods/contacts_getContacts.md +++ b/docs/API_docs/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/docs/API_docs/methods/contacts_getSaved.md b/docs/API_docs/methods/contacts_getSaved.md index 85d30711..720d215a 100644 --- a/docs/API_docs/methods/contacts_getSaved.md +++ b/docs/API_docs/methods/contacts_getSaved.md @@ -19,7 +19,7 @@ Get saved contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_SavedContact = contacts.getSaved({}) ``` diff --git a/docs/API_docs/methods/contacts_getStatuses.md b/docs/API_docs/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/docs/API_docs/methods/contacts_getStatuses.md +++ b/docs/API_docs/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/docs/API_docs/methods/contacts_getTopPeers.md b/docs/API_docs/methods/contacts_getTopPeers.md index 1cc9c756..c64e7486 100644 --- a/docs/API_docs/methods/contacts_getTopPeers.md +++ b/docs/API_docs/methods/contacts_getTopPeers.md @@ -32,7 +32,7 @@ Get most used chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` diff --git a/docs/API_docs/methods/contacts_importCard.md b/docs/API_docs/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/docs/API_docs/methods/contacts_importCard.md +++ b/docs/API_docs/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/docs/API_docs/methods/contacts_importContacts.md b/docs/API_docs/methods/contacts_importContacts.md index eddbe116..c42f5c57 100644 --- a/docs/API_docs/methods/contacts_importContacts.md +++ b/docs/API_docs/methods/contacts_importContacts.md @@ -24,7 +24,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ contacts - Json encoded array of InputContact Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/docs/API_docs/methods/contacts_resetSaved.md b/docs/API_docs/methods/contacts_resetSaved.md index 6e0214c2..40d528bc 100644 --- a/docs/API_docs/methods/contacts_resetSaved.md +++ b/docs/API_docs/methods/contacts_resetSaved.md @@ -19,7 +19,7 @@ Reset saved contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = contacts.resetSaved({}) ``` diff --git a/docs/API_docs/methods/contacts_resetTopPeerRating.md b/docs/API_docs/methods/contacts_resetTopPeerRating.md index 96ae48ac..94a07f54 100644 --- a/docs/API_docs/methods/contacts_resetTopPeerRating.md +++ b/docs/API_docs/methods/contacts_resetTopPeerRating.md @@ -25,7 +25,7 @@ Reset top peer rating for a certain category/peer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = contacts.resetTopPeerRating({category=TopPeerCategory, peer=InputPeer, }) ``` diff --git a/docs/API_docs/methods/contacts_search.md b/docs/API_docs/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/docs/API_docs/methods/contacts_search.md +++ b/docs/API_docs/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/docs/API_docs/methods/contacts_toggleTopPeers.md b/docs/API_docs/methods/contacts_toggleTopPeers.md index ef7502a3..b68b4bf3 100644 --- a/docs/API_docs/methods/contacts_toggleTopPeers.md +++ b/docs/API_docs/methods/contacts_toggleTopPeers.md @@ -24,7 +24,7 @@ Toggle top peers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = contacts.toggleTopPeers({enabled=Bool, }) ``` diff --git a/docs/API_docs/methods/contacts_unblock.md b/docs/API_docs/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/docs/API_docs/methods/contacts_unblock.md +++ b/docs/API_docs/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/docs/API_docs/methods/help_acceptTermsOfService.md b/docs/API_docs/methods/help_acceptTermsOfService.md index 9d9a5f89..56a6c695 100644 --- a/docs/API_docs/methods/help_acceptTermsOfService.md +++ b/docs/API_docs/methods/help_acceptTermsOfService.md @@ -24,7 +24,7 @@ Accept telegram's TOS ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded DataJSON Or, if you're into Lua: -``` +```lua Bool = help.acceptTermsOfService({id=DataJSON, }) ``` diff --git a/docs/API_docs/methods/help_getAppChangelog.md b/docs/API_docs/methods/help_getAppChangelog.md index 10b972c1..179eaf3a 100644 --- a/docs/API_docs/methods/help_getAppChangelog.md +++ b/docs/API_docs/methods/help_getAppChangelog.md @@ -24,7 +24,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ prev_app_version - Json encoded string Or, if you're into Lua: -``` +```lua Updates = help.getAppChangelog({prev_app_version='string', }) ``` diff --git a/docs/API_docs/methods/help_getAppUpdate.md b/docs/API_docs/methods/help_getAppUpdate.md index 4ddc0e4d..541b5972 100644 --- a/docs/API_docs/methods/help_getAppUpdate.md +++ b/docs/API_docs/methods/help_getAppUpdate.md @@ -19,7 +19,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({}) ``` diff --git a/docs/API_docs/methods/help_getCdnConfig.md b/docs/API_docs/methods/help_getCdnConfig.md index be572516..766896c7 100644 --- a/docs/API_docs/methods/help_getCdnConfig.md +++ b/docs/API_docs/methods/help_getCdnConfig.md @@ -19,7 +19,7 @@ Get CDN configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua CdnConfig = help.getCdnConfig({}) ``` diff --git a/docs/API_docs/methods/help_getConfig.md b/docs/API_docs/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/docs/API_docs/methods/help_getConfig.md +++ b/docs/API_docs/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/docs/API_docs/methods/help_getDeepLinkInfo.md b/docs/API_docs/methods/help_getDeepLinkInfo.md index 9e816258..55885ec2 100644 --- a/docs/API_docs/methods/help_getDeepLinkInfo.md +++ b/docs/API_docs/methods/help_getDeepLinkInfo.md @@ -24,7 +24,7 @@ Get deep link info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ path - Json encoded string Or, if you're into Lua: -``` +```lua help_DeepLinkInfo = help.getDeepLinkInfo({path='string', }) ``` diff --git a/docs/API_docs/methods/help_getInviteText.md b/docs/API_docs/methods/help_getInviteText.md index 1510e64f..f05ac4ac 100644 --- a/docs/API_docs/methods/help_getInviteText.md +++ b/docs/API_docs/methods/help_getInviteText.md @@ -19,7 +19,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({}) ``` diff --git a/docs/API_docs/methods/help_getNearestDc.md b/docs/API_docs/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/docs/API_docs/methods/help_getNearestDc.md +++ b/docs/API_docs/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/docs/API_docs/methods/help_getProxyData.md b/docs/API_docs/methods/help_getProxyData.md index 7c4306a8..37955ac0 100644 --- a/docs/API_docs/methods/help_getProxyData.md +++ b/docs/API_docs/methods/help_getProxyData.md @@ -19,7 +19,7 @@ Get information about the current proxy ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_ProxyData = help.getProxyData({}) ``` diff --git a/docs/API_docs/methods/help_getRecentMeUrls.md b/docs/API_docs/methods/help_getRecentMeUrls.md index 27a451bb..c9641f67 100644 --- a/docs/API_docs/methods/help_getRecentMeUrls.md +++ b/docs/API_docs/methods/help_getRecentMeUrls.md @@ -24,7 +24,7 @@ Get recent t.me URLs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ referer - Json encoded string Or, if you're into Lua: -``` +```lua help_RecentMeUrls = help.getRecentMeUrls({referer='string', }) ``` diff --git a/docs/API_docs/methods/help_getSupport.md b/docs/API_docs/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/docs/API_docs/methods/help_getSupport.md +++ b/docs/API_docs/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/docs/API_docs/methods/help_getTermsOfServiceUpdate.md b/docs/API_docs/methods/help_getTermsOfServiceUpdate.md index 4865b5c3..b3cfa0ed 100644 --- a/docs/API_docs/methods/help_getTermsOfServiceUpdate.md +++ b/docs/API_docs/methods/help_getTermsOfServiceUpdate.md @@ -19,7 +19,7 @@ Get updated TOS ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) ``` diff --git a/docs/API_docs/methods/help_saveAppLog.md b/docs/API_docs/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/docs/API_docs/methods/help_saveAppLog.md +++ b/docs/API_docs/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/docs/API_docs/methods/help_setBotUpdatesStatus.md b/docs/API_docs/methods/help_setBotUpdatesStatus.md index 0429f8a0..53736da7 100644 --- a/docs/API_docs/methods/help_setBotUpdatesStatus.md +++ b/docs/API_docs/methods/help_setBotUpdatesStatus.md @@ -25,7 +25,7 @@ Set the update status of webhook ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = help.setBotUpdatesStatus({pending_updates_count=int, message='string', }) ``` diff --git a/docs/API_docs/methods/initConnection.md b/docs/API_docs/methods/initConnection.md index 71d71bb8..c956cf38 100644 --- a/docs/API_docs/methods/initConnection.md +++ b/docs/API_docs/methods/initConnection.md @@ -32,7 +32,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -86,7 +86,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', system_lang_code='string', lang_pack='string', lang_code='string', proxy=InputClientProxy, query=!X, }) ``` diff --git a/docs/API_docs/methods/invokeAfterMsg.md b/docs/API_docs/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/docs/API_docs/methods/invokeAfterMsg.md +++ b/docs/API_docs/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/docs/API_docs/methods/invokeAfterMsgs.md b/docs/API_docs/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/docs/API_docs/methods/invokeAfterMsgs.md +++ b/docs/API_docs/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/docs/API_docs/methods/invokeWithLayer.md b/docs/API_docs/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/docs/API_docs/methods/invokeWithLayer.md +++ b/docs/API_docs/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/docs/API_docs/methods/invokeWithMessagesRange.md b/docs/API_docs/methods/invokeWithMessagesRange.md index 24e87100..bd5bf0fa 100644 --- a/docs/API_docs/methods/invokeWithMessagesRange.md +++ b/docs/API_docs/methods/invokeWithMessagesRange.md @@ -25,7 +25,7 @@ Invoke with messages range ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithMessagesRange({range=MessageRange, query=!X, }) ``` diff --git a/docs/API_docs/methods/invokeWithTakeout.md b/docs/API_docs/methods/invokeWithTakeout.md index aa6683a4..5f83f4a1 100644 --- a/docs/API_docs/methods/invokeWithTakeout.md +++ b/docs/API_docs/methods/invokeWithTakeout.md @@ -25,7 +25,7 @@ Invoke method from takeout session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithTakeout({takeout_id=long, query=!X, }) ``` diff --git a/docs/API_docs/methods/invokeWithoutUpdates.md b/docs/API_docs/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/docs/API_docs/methods/invokeWithoutUpdates.md +++ b/docs/API_docs/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/docs/API_docs/methods/langpack_getDifference.md b/docs/API_docs/methods/langpack_getDifference.md index 0614d869..30184f61 100644 --- a/docs/API_docs/methods/langpack_getDifference.md +++ b/docs/API_docs/methods/langpack_getDifference.md @@ -24,7 +24,7 @@ Get language pack updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ from_version - Json encoded int Or, if you're into Lua: -``` +```lua LangPackDifference = langpack.getDifference({from_version=int, }) ``` diff --git a/docs/API_docs/methods/langpack_getLangPack.md b/docs/API_docs/methods/langpack_getLangPack.md index 70f9eb73..98001615 100644 --- a/docs/API_docs/methods/langpack_getLangPack.md +++ b/docs/API_docs/methods/langpack_getLangPack.md @@ -24,7 +24,7 @@ Get language pack ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua LangPackDifference = langpack.getLangPack({lang_code='string', }) ``` diff --git a/docs/API_docs/methods/langpack_getLanguages.md b/docs/API_docs/methods/langpack_getLanguages.md index 5eaf2049..8a592a86 100644 --- a/docs/API_docs/methods/langpack_getLanguages.md +++ b/docs/API_docs/methods/langpack_getLanguages.md @@ -19,7 +19,7 @@ Get available languages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_LangPackLanguage = langpack.getLanguages({}) ``` diff --git a/docs/API_docs/methods/langpack_getStrings.md b/docs/API_docs/methods/langpack_getStrings.md index 3042b040..ccd0a684 100644 --- a/docs/API_docs/methods/langpack_getStrings.md +++ b/docs/API_docs/methods/langpack_getStrings.md @@ -25,7 +25,7 @@ Get language pack strings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ keys - Json encoded array of string Or, if you're into Lua: -``` +```lua Vector_of_LangPackString = langpack.getStrings({lang_code='string', keys={'string'}, }) ``` diff --git a/docs/API_docs/methods/messages_addChatUser.md b/docs/API_docs/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/docs/API_docs/methods/messages_addChatUser.md +++ b/docs/API_docs/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/docs/API_docs/methods/messages_checkChatInvite.md b/docs/API_docs/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/docs/API_docs/methods/messages_checkChatInvite.md +++ b/docs/API_docs/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/docs/API_docs/methods/messages_clearRecentStickers.md b/docs/API_docs/methods/messages_clearRecentStickers.md index 56634143..53e1fa4f 100644 --- a/docs/API_docs/methods/messages_clearRecentStickers.md +++ b/docs/API_docs/methods/messages_clearRecentStickers.md @@ -24,7 +24,7 @@ Clear all recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ attached - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.clearRecentStickers({attached=Bool, }) ``` diff --git a/docs/API_docs/methods/messages_createChat.md b/docs/API_docs/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/docs/API_docs/methods/messages_createChat.md +++ b/docs/API_docs/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/docs/API_docs/methods/messages_deleteChatUser.md b/docs/API_docs/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/docs/API_docs/methods/messages_deleteChatUser.md +++ b/docs/API_docs/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/docs/API_docs/methods/messages_deleteHistory.md b/docs/API_docs/methods/messages_deleteHistory.md index 866ba216..33d1ca52 100644 --- a/docs/API_docs/methods/messages_deleteHistory.md +++ b/docs/API_docs/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` diff --git a/docs/API_docs/methods/messages_deleteMessages.md b/docs/API_docs/methods/messages_deleteMessages.md index eaf9cd86..9158e8bd 100644 --- a/docs/API_docs/methods/messages_deleteMessages.md +++ b/docs/API_docs/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` diff --git a/docs/API_docs/methods/messages_editChatAdmin.md b/docs/API_docs/methods/messages_editChatAdmin.md index a2dad97f..f883b50e 100644 --- a/docs/API_docs/methods/messages_editChatAdmin.md +++ b/docs/API_docs/methods/messages_editChatAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ is_admin - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.editChatAdmin({chat_id=InputPeer, user_id=InputUser, is_admin=Bool, }) ``` diff --git a/docs/API_docs/methods/messages_editChatPhoto.md b/docs/API_docs/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/docs/API_docs/methods/messages_editChatPhoto.md +++ b/docs/API_docs/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/docs/API_docs/methods/messages_editChatTitle.md b/docs/API_docs/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/docs/API_docs/methods/messages_editChatTitle.md +++ b/docs/API_docs/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/docs/API_docs/methods/messages_editInlineBotMessage.md b/docs/API_docs/methods/messages_editInlineBotMessage.md index b85b3386..7c3d8c1a 100644 --- a/docs/API_docs/methods/messages_editInlineBotMessage.md +++ b/docs/API_docs/methods/messages_editInlineBotMessage.md @@ -32,7 +32,7 @@ Edit a sent inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ geo_point - Json encoded InputGeoPoint Or, if you're into Lua: -``` +```lua Bool = messages.editInlineBotMessage({no_webpage=Bool, stop_geo_live=Bool, id=InputBotInlineMessageID, message='string', media=InputMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', geo_point=InputGeoPoint, }) ``` diff --git a/docs/API_docs/methods/messages_editMessage.md b/docs/API_docs/methods/messages_editMessage.md index 9c207a74..9524d133 100644 --- a/docs/API_docs/methods/messages_editMessage.md +++ b/docs/API_docs/methods/messages_editMessage.md @@ -33,7 +33,7 @@ Edit a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -72,7 +72,7 @@ geo_point - Json encoded InputGeoPoint Or, if you're into Lua: -``` +```lua Updates = messages.editMessage({no_webpage=Bool, stop_geo_live=Bool, peer=InputPeer, id=int, message='string', media=InputMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', geo_point=InputGeoPoint, }) ``` diff --git a/docs/API_docs/methods/messages_exportChatInvite.md b/docs/API_docs/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/docs/API_docs/methods/messages_exportChatInvite.md +++ b/docs/API_docs/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/docs/API_docs/methods/messages_faveSticker.md b/docs/API_docs/methods/messages_faveSticker.md index 302957c5..26e49af9 100644 --- a/docs/API_docs/methods/messages_faveSticker.md +++ b/docs/API_docs/methods/messages_faveSticker.md @@ -25,7 +25,7 @@ Add a sticker to favorites ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ unfave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.faveSticker({id=InputDocument, unfave=Bool, }) ``` diff --git a/docs/API_docs/methods/messages_forwardMessages.md b/docs/API_docs/methods/messages_forwardMessages.md index 3372333c..b7d19145 100644 --- a/docs/API_docs/methods/messages_forwardMessages.md +++ b/docs/API_docs/methods/messages_forwardMessages.md @@ -30,7 +30,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ to_peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({silent=Bool, background=Bool, with_my_score=Bool, grouped=Bool, from_peer=InputPeer, id={int}, to_peer=InputPeer, }) ``` diff --git a/docs/API_docs/methods/messages_getAllChats.md b/docs/API_docs/methods/messages_getAllChats.md index 663af07c..38cbbbae 100644 --- a/docs/API_docs/methods/messages_getAllChats.md +++ b/docs/API_docs/methods/messages_getAllChats.md @@ -24,7 +24,7 @@ Get all chats (not supergroups or channels) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ except_ids - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getAllChats({except_ids={int}, }) ``` diff --git a/docs/API_docs/methods/messages_getAllDrafts.md b/docs/API_docs/methods/messages_getAllDrafts.md index 31aa8176..7300e01a 100644 --- a/docs/API_docs/methods/messages_getAllDrafts.md +++ b/docs/API_docs/methods/messages_getAllDrafts.md @@ -19,7 +19,7 @@ Get all message drafts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Updates = messages.getAllDrafts({}) ``` diff --git a/docs/API_docs/methods/messages_getAllStickers.md b/docs/API_docs/methods/messages_getAllStickers.md index 966af122..c25a823b 100644 --- a/docs/API_docs/methods/messages_getAllStickers.md +++ b/docs/API_docs/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/docs/API_docs/methods/messages_getArchivedStickers.md b/docs/API_docs/methods/messages_getArchivedStickers.md index e98ab6ec..ef79ee6e 100644 --- a/docs/API_docs/methods/messages_getArchivedStickers.md +++ b/docs/API_docs/methods/messages_getArchivedStickers.md @@ -26,7 +26,7 @@ Get all archived stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/docs/API_docs/methods/messages_getAttachedStickers.md b/docs/API_docs/methods/messages_getAttachedStickers.md index 0e221a84..9ada6655 100644 --- a/docs/API_docs/methods/messages_getAttachedStickers.md +++ b/docs/API_docs/methods/messages_getAttachedStickers.md @@ -24,7 +24,7 @@ Get stickers attachable to images ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ media - Json encoded InputStickeredMedia Or, if you're into Lua: -``` +```lua Vector_of_StickerSetCovered = messages.getAttachedStickers({media=InputStickeredMedia, }) ``` diff --git a/docs/API_docs/methods/messages_getBotCallbackAnswer.md b/docs/API_docs/methods/messages_getBotCallbackAnswer.md index ffcd8a2e..b4f1d02f 100644 --- a/docs/API_docs/methods/messages_getBotCallbackAnswer.md +++ b/docs/API_docs/methods/messages_getBotCallbackAnswer.md @@ -27,7 +27,7 @@ Get the callback answer of a bot (after clicking a button) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ data - Json encoded bytes Or, if you're into Lua: -``` +```lua messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` diff --git a/docs/API_docs/methods/messages_getChats.md b/docs/API_docs/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/docs/API_docs/methods/messages_getChats.md +++ b/docs/API_docs/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/docs/API_docs/methods/messages_getCommonChats.md b/docs/API_docs/methods/messages_getCommonChats.md index e6921d5e..83237f64 100644 --- a/docs/API_docs/methods/messages_getCommonChats.md +++ b/docs/API_docs/methods/messages_getCommonChats.md @@ -26,7 +26,7 @@ Get chats in common with a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` diff --git a/docs/API_docs/methods/messages_getDialogUnreadMarks.md b/docs/API_docs/methods/messages_getDialogUnreadMarks.md index 3daa2710..74c65efa 100644 --- a/docs/API_docs/methods/messages_getDialogUnreadMarks.md +++ b/docs/API_docs/methods/messages_getDialogUnreadMarks.md @@ -19,7 +19,7 @@ Get dialogs marked as unread manually ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_DialogPeer = messages.getDialogUnreadMarks({}) ``` diff --git a/docs/API_docs/methods/messages_getDialogs.md b/docs/API_docs/methods/messages_getDialogs.md index e7b5ad44..08a2a624 100644 --- a/docs/API_docs/methods/messages_getDialogs.md +++ b/docs/API_docs/methods/messages_getDialogs.md @@ -29,7 +29,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) ``` diff --git a/docs/API_docs/methods/messages_getDocumentByHash.md b/docs/API_docs/methods/messages_getDocumentByHash.md index 5b6f6f21..00f0a558 100644 --- a/docs/API_docs/methods/messages_getDocumentByHash.md +++ b/docs/API_docs/methods/messages_getDocumentByHash.md @@ -26,7 +26,7 @@ Get document by SHA256 hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ mime_type - Json encoded string Or, if you're into Lua: -``` +```lua Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/docs/API_docs/methods/messages_getFavedStickers.md b/docs/API_docs/methods/messages_getFavedStickers.md index 6bc1560c..95d6d4a2 100644 --- a/docs/API_docs/methods/messages_getFavedStickers.md +++ b/docs/API_docs/methods/messages_getFavedStickers.md @@ -24,7 +24,7 @@ Get favorite stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/docs/API_docs/methods/messages_getFeaturedStickers.md b/docs/API_docs/methods/messages_getFeaturedStickers.md index a837377b..c257621e 100644 --- a/docs/API_docs/methods/messages_getFeaturedStickers.md +++ b/docs/API_docs/methods/messages_getFeaturedStickers.md @@ -24,7 +24,7 @@ Get featured stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/docs/API_docs/methods/messages_getGameHighScores.md b/docs/API_docs/methods/messages_getGameHighScores.md index f7837998..a97fb1ff 100644 --- a/docs/API_docs/methods/messages_getGameHighScores.md +++ b/docs/API_docs/methods/messages_getGameHighScores.md @@ -26,7 +26,7 @@ Get high scores of a game ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` diff --git a/docs/API_docs/methods/messages_getHistory.md b/docs/API_docs/methods/messages_getHistory.md index d79f2694..215e949d 100644 --- a/docs/API_docs/methods/messages_getHistory.md +++ b/docs/API_docs/methods/messages_getHistory.md @@ -31,7 +31,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` diff --git a/docs/API_docs/methods/messages_getInlineBotResults.md b/docs/API_docs/methods/messages_getInlineBotResults.md index 03b5d845..73f2deb2 100644 --- a/docs/API_docs/methods/messages_getInlineBotResults.md +++ b/docs/API_docs/methods/messages_getInlineBotResults.md @@ -28,7 +28,7 @@ Call inline bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ offset - Json encoded string Or, if you're into Lua: -``` +```lua messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` diff --git a/docs/API_docs/methods/messages_getInlineGameHighScores.md b/docs/API_docs/methods/messages_getInlineGameHighScores.md index e8be8e81..046c1cfb 100644 --- a/docs/API_docs/methods/messages_getInlineGameHighScores.md +++ b/docs/API_docs/methods/messages_getInlineGameHighScores.md @@ -25,7 +25,7 @@ Get high scores of a game sent in an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` diff --git a/docs/API_docs/methods/messages_getMaskStickers.md b/docs/API_docs/methods/messages_getMaskStickers.md index 55c4edea..06fd153e 100644 --- a/docs/API_docs/methods/messages_getMaskStickers.md +++ b/docs/API_docs/methods/messages_getMaskStickers.md @@ -24,7 +24,7 @@ Get masks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/docs/API_docs/methods/messages_getMessageEditData.md b/docs/API_docs/methods/messages_getMessageEditData.md index 2c44a1dc..77e2c030 100644 --- a/docs/API_docs/methods/messages_getMessageEditData.md +++ b/docs/API_docs/methods/messages_getMessageEditData.md @@ -25,7 +25,7 @@ Check if about to edit a message or a media caption ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` diff --git a/docs/API_docs/methods/messages_getMessages.md b/docs/API_docs/methods/messages_getMessages.md index 3cd40799..ffc8cdb6 100644 --- a/docs/API_docs/methods/messages_getMessages.md +++ b/docs/API_docs/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputMessage Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={InputMessage}, }) ``` diff --git a/docs/API_docs/methods/messages_getMessagesViews.md b/docs/API_docs/methods/messages_getMessagesViews.md index 57a99054..b2b6110e 100644 --- a/docs/API_docs/methods/messages_getMessagesViews.md +++ b/docs/API_docs/methods/messages_getMessagesViews.md @@ -26,7 +26,7 @@ Get and increase message views ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ increment - Json encoded Bool Or, if you're into Lua: -``` +```lua Vector_of_int = messages.getMessagesViews({peer=InputPeer, id={int}, increment=Bool, }) ``` diff --git a/docs/API_docs/methods/messages_getPeerDialogs.md b/docs/API_docs/methods/messages_getPeerDialogs.md index 9f244fd5..7d6ea635 100644 --- a/docs/API_docs/methods/messages_getPeerDialogs.md +++ b/docs/API_docs/methods/messages_getPeerDialogs.md @@ -24,7 +24,7 @@ Get dialog info of peers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peers - Json encoded array of InputDialogPeer Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) ``` diff --git a/docs/API_docs/methods/messages_getPeerSettings.md b/docs/API_docs/methods/messages_getPeerSettings.md index 92d4697a..e2b3ec4f 100644 --- a/docs/API_docs/methods/messages_getPeerSettings.md +++ b/docs/API_docs/methods/messages_getPeerSettings.md @@ -24,7 +24,7 @@ Get the settings of apeer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua PeerSettings = messages.getPeerSettings({peer=InputPeer, }) ``` diff --git a/docs/API_docs/methods/messages_getPinnedDialogs.md b/docs/API_docs/methods/messages_getPinnedDialogs.md index 634f4c41..77eb98ce 100644 --- a/docs/API_docs/methods/messages_getPinnedDialogs.md +++ b/docs/API_docs/methods/messages_getPinnedDialogs.md @@ -19,7 +19,7 @@ Get pinned dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPinnedDialogs({}) ``` diff --git a/docs/API_docs/methods/messages_getRecentLocations.md b/docs/API_docs/methods/messages_getRecentLocations.md index 1d15bbb5..015d0c24 100644 --- a/docs/API_docs/methods/messages_getRecentLocations.md +++ b/docs/API_docs/methods/messages_getRecentLocations.md @@ -26,7 +26,7 @@ Get recent locations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) ``` diff --git a/docs/API_docs/methods/messages_getRecentStickers.md b/docs/API_docs/methods/messages_getRecentStickers.md index d89272fd..939fd036 100644 --- a/docs/API_docs/methods/messages_getRecentStickers.md +++ b/docs/API_docs/methods/messages_getRecentStickers.md @@ -25,7 +25,7 @@ Get recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/docs/API_docs/methods/messages_getSavedGifs.md b/docs/API_docs/methods/messages_getSavedGifs.md index cafba4e1..1a879907 100644 --- a/docs/API_docs/methods/messages_getSavedGifs.md +++ b/docs/API_docs/methods/messages_getSavedGifs.md @@ -24,7 +24,7 @@ Get saved gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/docs/API_docs/methods/messages_getSplitRanges.md b/docs/API_docs/methods/messages_getSplitRanges.md index 1406fc06..ba744579 100644 --- a/docs/API_docs/methods/messages_getSplitRanges.md +++ b/docs/API_docs/methods/messages_getSplitRanges.md @@ -19,7 +19,7 @@ Get message ranges to fetch ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_MessageRange = messages.getSplitRanges({}) ``` diff --git a/docs/API_docs/methods/messages_getStickerSet.md b/docs/API_docs/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/docs/API_docs/methods/messages_getStickerSet.md +++ b/docs/API_docs/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/docs/API_docs/methods/messages_getStickers.md b/docs/API_docs/methods/messages_getStickers.md index a9b73525..a86b59f4 100644 --- a/docs/API_docs/methods/messages_getStickers.md +++ b/docs/API_docs/methods/messages_getStickers.md @@ -25,7 +25,7 @@ Get stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Stickers = messages.getStickers({emoticon='string', hash={int}, }) ``` diff --git a/docs/API_docs/methods/messages_getUnreadMentions.md b/docs/API_docs/methods/messages_getUnreadMentions.md index 9b221db9..d30c19c5 100644 --- a/docs/API_docs/methods/messages_getUnreadMentions.md +++ b/docs/API_docs/methods/messages_getUnreadMentions.md @@ -29,7 +29,7 @@ Get unread mentions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/docs/API_docs/methods/messages_getWebPage.md b/docs/API_docs/methods/messages_getWebPage.md index fb7152af..9237d4b7 100644 --- a/docs/API_docs/methods/messages_getWebPage.md +++ b/docs/API_docs/methods/messages_getWebPage.md @@ -25,7 +25,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua WebPage = messages.getWebPage({url='string', hash={int}, }) ``` diff --git a/docs/API_docs/methods/messages_getWebPagePreview.md b/docs/API_docs/methods/messages_getWebPagePreview.md index b78871e2..0b99a0d4 100644 --- a/docs/API_docs/methods/messages_getWebPagePreview.md +++ b/docs/API_docs/methods/messages_getWebPagePreview.md @@ -26,7 +26,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -54,7 +54,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/docs/API_docs/methods/messages_hideReportSpam.md b/docs/API_docs/methods/messages_hideReportSpam.md index 17a7f8ef..1c0d72c5 100644 --- a/docs/API_docs/methods/messages_hideReportSpam.md +++ b/docs/API_docs/methods/messages_hideReportSpam.md @@ -24,7 +24,7 @@ Hide report spam popup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.hideReportSpam({peer=InputPeer, }) ``` diff --git a/docs/API_docs/methods/messages_importChatInvite.md b/docs/API_docs/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/docs/API_docs/methods/messages_importChatInvite.md +++ b/docs/API_docs/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/docs/API_docs/methods/messages_installStickerSet.md b/docs/API_docs/methods/messages_installStickerSet.md index 88131136..6bdb9390 100644 --- a/docs/API_docs/methods/messages_installStickerSet.md +++ b/docs/API_docs/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ archived - Json encoded Bool Or, if you're into Lua: -``` +```lua messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` diff --git a/docs/API_docs/methods/messages_markDialogUnread.md b/docs/API_docs/methods/messages_markDialogUnread.md index 82c3650d..ddf580db 100644 --- a/docs/API_docs/methods/messages_markDialogUnread.md +++ b/docs/API_docs/methods/messages_markDialogUnread.md @@ -25,7 +25,7 @@ Mark dialog as unread ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ peer - Json encoded InputDialogPeer Or, if you're into Lua: -``` +```lua Bool = messages.markDialogUnread({unread=Bool, peer=InputDialogPeer, }) ``` diff --git a/docs/API_docs/methods/messages_migrateChat.md b/docs/API_docs/methods/messages_migrateChat.md index df91f510..e789ff7d 100644 --- a/docs/API_docs/methods/messages_migrateChat.md +++ b/docs/API_docs/methods/messages_migrateChat.md @@ -24,7 +24,7 @@ Convert chat to supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.migrateChat({chat_id=InputPeer, }) ``` diff --git a/docs/API_docs/methods/messages_readEncryptedHistory.md b/docs/API_docs/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/docs/API_docs/methods/messages_readEncryptedHistory.md +++ b/docs/API_docs/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/docs/API_docs/methods/messages_readFeaturedStickers.md b/docs/API_docs/methods/messages_readFeaturedStickers.md index 2c34ac0f..9fef6621 100644 --- a/docs/API_docs/methods/messages_readFeaturedStickers.md +++ b/docs/API_docs/methods/messages_readFeaturedStickers.md @@ -24,7 +24,7 @@ Mark new featured stickers as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.readFeaturedStickers({id={long}, }) ``` diff --git a/docs/API_docs/methods/messages_readHistory.md b/docs/API_docs/methods/messages_readHistory.md index 48d7fb45..4a2188d8 100644 --- a/docs/API_docs/methods/messages_readHistory.md +++ b/docs/API_docs/methods/messages_readHistory.md @@ -25,7 +25,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/docs/API_docs/methods/messages_readMentions.md b/docs/API_docs/methods/messages_readMentions.md index 31874ee6..237da9c4 100644 --- a/docs/API_docs/methods/messages_readMentions.md +++ b/docs/API_docs/methods/messages_readMentions.md @@ -24,7 +24,7 @@ Mark mentions as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.readMentions({peer=InputPeer, }) ``` diff --git a/docs/API_docs/methods/messages_readMessageContents.md b/docs/API_docs/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/docs/API_docs/methods/messages_readMessageContents.md +++ b/docs/API_docs/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/docs/API_docs/methods/messages_receivedMessages.md b/docs/API_docs/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/docs/API_docs/methods/messages_receivedMessages.md +++ b/docs/API_docs/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/docs/API_docs/methods/messages_reorderPinnedDialogs.md b/docs/API_docs/methods/messages_reorderPinnedDialogs.md index 78a2863c..99aa9865 100644 --- a/docs/API_docs/methods/messages_reorderPinnedDialogs.md +++ b/docs/API_docs/methods/messages_reorderPinnedDialogs.md @@ -25,7 +25,7 @@ Reorder pinned dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of InputDialogPeer Or, if you're into Lua: -``` +```lua Bool = messages.reorderPinnedDialogs({force=Bool, order={InputDialogPeer}, }) ``` diff --git a/docs/API_docs/methods/messages_reorderStickerSets.md b/docs/API_docs/methods/messages_reorderStickerSets.md index c1c35ef6..cd73daa0 100644 --- a/docs/API_docs/methods/messages_reorderStickerSets.md +++ b/docs/API_docs/methods/messages_reorderStickerSets.md @@ -25,7 +25,7 @@ Reorder sticker sets ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.reorderStickerSets({masks=Bool, order={long}, }) ``` diff --git a/docs/API_docs/methods/messages_report.md b/docs/API_docs/methods/messages_report.md index 8c940d7f..2e5e4353 100644 --- a/docs/API_docs/methods/messages_report.md +++ b/docs/API_docs/methods/messages_report.md @@ -26,7 +26,7 @@ Report a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ reason - Json encoded ReportReason Or, if you're into Lua: -``` +```lua Bool = messages.report({peer=InputPeer, id={int}, reason=ReportReason, }) ``` diff --git a/docs/API_docs/methods/messages_reportEncryptedSpam.md b/docs/API_docs/methods/messages_reportEncryptedSpam.md index dffdffc9..5d5f0dab 100644 --- a/docs/API_docs/methods/messages_reportEncryptedSpam.md +++ b/docs/API_docs/methods/messages_reportEncryptedSpam.md @@ -24,7 +24,7 @@ Report for spam a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputEncryptedChat Or, if you're into Lua: -``` +```lua Bool = messages.reportEncryptedSpam({peer=InputEncryptedChat, }) ``` diff --git a/docs/API_docs/methods/messages_reportSpam.md b/docs/API_docs/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/docs/API_docs/methods/messages_reportSpam.md +++ b/docs/API_docs/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/docs/API_docs/methods/messages_saveDraft.md b/docs/API_docs/methods/messages_saveDraft.md index ede72c41..14e69f93 100644 --- a/docs/API_docs/methods/messages_saveDraft.md +++ b/docs/API_docs/methods/messages_saveDraft.md @@ -29,7 +29,7 @@ Save a message draft ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -57,7 +57,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.saveDraft({no_webpage=Bool, reply_to_msg_id=int, peer=InputPeer, message='string', entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/docs/API_docs/methods/messages_saveGif.md b/docs/API_docs/methods/messages_saveGif.md index adae6d86..dfa956ab 100644 --- a/docs/API_docs/methods/messages_saveGif.md +++ b/docs/API_docs/methods/messages_saveGif.md @@ -25,7 +25,7 @@ Save a GIF ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveGif({id=InputDocument, unsave=Bool, }) ``` diff --git a/docs/API_docs/methods/messages_saveRecentSticker.md b/docs/API_docs/methods/messages_saveRecentSticker.md index 9cd06ea1..1abf524f 100644 --- a/docs/API_docs/methods/messages_saveRecentSticker.md +++ b/docs/API_docs/methods/messages_saveRecentSticker.md @@ -26,7 +26,7 @@ Add a sticker to recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveRecentSticker({attached=Bool, id=InputDocument, unsave=Bool, }) ``` diff --git a/docs/API_docs/methods/messages_search.md b/docs/API_docs/methods/messages_search.md index e98131be..5d038792 100644 --- a/docs/API_docs/methods/messages_search.md +++ b/docs/API_docs/methods/messages_search.md @@ -35,7 +35,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -86,7 +86,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` diff --git a/docs/API_docs/methods/messages_searchGifs.md b/docs/API_docs/methods/messages_searchGifs.md index 1ef77d23..a12cdd21 100644 --- a/docs/API_docs/methods/messages_searchGifs.md +++ b/docs/API_docs/methods/messages_searchGifs.md @@ -25,7 +25,7 @@ Search gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` diff --git a/docs/API_docs/methods/messages_searchGlobal.md b/docs/API_docs/methods/messages_searchGlobal.md index 4d05bf0d..1fb73592 100644 --- a/docs/API_docs/methods/messages_searchGlobal.md +++ b/docs/API_docs/methods/messages_searchGlobal.md @@ -28,7 +28,7 @@ Global message search ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` diff --git a/docs/API_docs/methods/messages_searchStickerSets.md b/docs/API_docs/methods/messages_searchStickerSets.md index 9f488e23..9b1dd1b0 100644 --- a/docs/API_docs/methods/messages_searchStickerSets.md +++ b/docs/API_docs/methods/messages_searchStickerSets.md @@ -26,7 +26,7 @@ Find a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) ``` diff --git a/docs/API_docs/methods/messages_sendEncrypted.md b/docs/API_docs/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/docs/API_docs/methods/messages_sendEncrypted.md +++ b/docs/API_docs/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/docs/API_docs/methods/messages_sendEncryptedFile.md b/docs/API_docs/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/docs/API_docs/methods/messages_sendEncryptedFile.md +++ b/docs/API_docs/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/docs/API_docs/methods/messages_sendEncryptedService.md b/docs/API_docs/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/docs/API_docs/methods/messages_sendEncryptedService.md +++ b/docs/API_docs/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/docs/API_docs/methods/messages_sendInlineBotResult.md b/docs/API_docs/methods/messages_sendInlineBotResult.md index 8de674c6..37fae63a 100644 --- a/docs/API_docs/methods/messages_sendInlineBotResult.md +++ b/docs/API_docs/methods/messages_sendInlineBotResult.md @@ -30,7 +30,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ id - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.sendInlineBotResult({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id='string', }) ``` diff --git a/docs/API_docs/methods/messages_sendMedia.md b/docs/API_docs/methods/messages_sendMedia.md index ff414eeb..c02b1d98 100644 --- a/docs/API_docs/methods/messages_sendMedia.md +++ b/docs/API_docs/methods/messages_sendMedia.md @@ -33,7 +33,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, media=InputMedia, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/docs/API_docs/methods/messages_sendMessage.md b/docs/API_docs/methods/messages_sendMessage.md index 77790562..9cdc74eb 100644 --- a/docs/API_docs/methods/messages_sendMessage.md +++ b/docs/API_docs/methods/messages_sendMessage.md @@ -33,7 +33,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMessage({no_webpage=Bool, silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/docs/API_docs/methods/messages_sendMultiMedia.md b/docs/API_docs/methods/messages_sendMultiMedia.md index 115d2f60..a6cd72c4 100644 --- a/docs/API_docs/methods/messages_sendMultiMedia.md +++ b/docs/API_docs/methods/messages_sendMultiMedia.md @@ -29,7 +29,7 @@ Send an album ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ multi_media - Json encoded array of InputSingleMedia Or, if you're into Lua: -``` +```lua Updates = messages.sendMultiMedia({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, multi_media={InputSingleMedia}, }) ``` diff --git a/docs/API_docs/methods/messages_sendScreenshotNotification.md b/docs/API_docs/methods/messages_sendScreenshotNotification.md index 3a71c404..d4fd79b6 100644 --- a/docs/API_docs/methods/messages_sendScreenshotNotification.md +++ b/docs/API_docs/methods/messages_sendScreenshotNotification.md @@ -25,7 +25,7 @@ Send screenshot notification ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reply_to_msg_id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.sendScreenshotNotification({peer=InputPeer, reply_to_msg_id=int, }) ``` diff --git a/docs/API_docs/methods/messages_setBotCallbackAnswer.md b/docs/API_docs/methods/messages_setBotCallbackAnswer.md index 0395b468..47d74918 100644 --- a/docs/API_docs/methods/messages_setBotCallbackAnswer.md +++ b/docs/API_docs/methods/messages_setBotCallbackAnswer.md @@ -28,7 +28,7 @@ Bots only: set the callback answer (after a button was clicked) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ cache_time - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message='string', url='string', cache_time=int, }) ``` diff --git a/docs/API_docs/methods/messages_setBotPrecheckoutResults.md b/docs/API_docs/methods/messages_setBotPrecheckoutResults.md index 486ab585..92e8ea5a 100644 --- a/docs/API_docs/methods/messages_setBotPrecheckoutResults.md +++ b/docs/API_docs/methods/messages_setBotPrecheckoutResults.md @@ -26,7 +26,7 @@ Bots only: set precheckout results ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ error - Json encoded string Or, if you're into Lua: -``` +```lua Bool = messages.setBotPrecheckoutResults({success=Bool, query_id=long, error='string', }) ``` diff --git a/docs/API_docs/methods/messages_setBotShippingResults.md b/docs/API_docs/methods/messages_setBotShippingResults.md index a9e43c49..6e223219 100644 --- a/docs/API_docs/methods/messages_setBotShippingResults.md +++ b/docs/API_docs/methods/messages_setBotShippingResults.md @@ -26,7 +26,7 @@ Bots only: set shipping results ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ shipping_options - Json encoded array of ShippingOption Or, if you're into Lua: -``` +```lua Bool = messages.setBotShippingResults({query_id=long, error='string', shipping_options={ShippingOption}, }) ``` diff --git a/docs/API_docs/methods/messages_setEncryptedTyping.md b/docs/API_docs/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/docs/API_docs/methods/messages_setEncryptedTyping.md +++ b/docs/API_docs/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/docs/API_docs/methods/messages_setGameScore.md b/docs/API_docs/methods/messages_setGameScore.md index 41ee4591..1a50326e 100644 --- a/docs/API_docs/methods/messages_setGameScore.md +++ b/docs/API_docs/methods/messages_setGameScore.md @@ -29,7 +29,7 @@ Set the game score ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.setGameScore({edit_message=Bool, force=Bool, peer=InputPeer, id=int, user_id=InputUser, score=int, }) ``` diff --git a/docs/API_docs/methods/messages_setInlineBotResults.md b/docs/API_docs/methods/messages_setInlineBotResults.md index 443a028e..e1ebe4e3 100644 --- a/docs/API_docs/methods/messages_setInlineBotResults.md +++ b/docs/API_docs/methods/messages_setInlineBotResults.md @@ -30,7 +30,7 @@ Bots only: set the results of an inline query ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: -``` +```lua Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset='string', switch_pm=InlineBotSwitchPM, }) ``` diff --git a/docs/API_docs/methods/messages_setInlineGameScore.md b/docs/API_docs/methods/messages_setInlineGameScore.md index 0d97b9bf..76db49dd 100644 --- a/docs/API_docs/methods/messages_setInlineGameScore.md +++ b/docs/API_docs/methods/messages_setInlineGameScore.md @@ -28,7 +28,7 @@ Set the game score of an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setInlineGameScore({edit_message=Bool, force=Bool, id=InputBotInlineMessageID, user_id=InputUser, score=int, }) ``` diff --git a/docs/API_docs/methods/messages_setTyping.md b/docs/API_docs/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/docs/API_docs/methods/messages_setTyping.md +++ b/docs/API_docs/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/docs/API_docs/methods/messages_startBot.md b/docs/API_docs/methods/messages_startBot.md index 506957a7..71f82822 100644 --- a/docs/API_docs/methods/messages_startBot.md +++ b/docs/API_docs/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param='string', }) ``` diff --git a/docs/API_docs/methods/messages_toggleChatAdmins.md b/docs/API_docs/methods/messages_toggleChatAdmins.md index 0f1e56fa..56438277 100644 --- a/docs/API_docs/methods/messages_toggleChatAdmins.md +++ b/docs/API_docs/methods/messages_toggleChatAdmins.md @@ -25,7 +25,7 @@ Enable all users are admins in normal groups (not supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = messages.toggleChatAdmins({chat_id=InputPeer, enabled=Bool, }) ``` diff --git a/docs/API_docs/methods/messages_toggleDialogPin.md b/docs/API_docs/methods/messages_toggleDialogPin.md index 20918a7d..d564a52c 100644 --- a/docs/API_docs/methods/messages_toggleDialogPin.md +++ b/docs/API_docs/methods/messages_toggleDialogPin.md @@ -25,7 +25,7 @@ Pin or unpin dialog ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputDialogPeer Or, if you're into Lua: -``` +```lua Bool = messages.toggleDialogPin({pinned=Bool, peer=InputDialogPeer, }) ``` diff --git a/docs/API_docs/methods/messages_uninstallStickerSet.md b/docs/API_docs/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/docs/API_docs/methods/messages_uninstallStickerSet.md +++ b/docs/API_docs/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/docs/API_docs/methods/messages_uploadEncryptedFile.md b/docs/API_docs/methods/messages_uploadEncryptedFile.md index 91159bb5..f3d5d0e5 100644 --- a/docs/API_docs/methods/messages_uploadEncryptedFile.md +++ b/docs/API_docs/methods/messages_uploadEncryptedFile.md @@ -25,7 +25,7 @@ Upload a secret chat file without sending it to anyone ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua EncryptedFile = messages.uploadEncryptedFile({peer=InputEncryptedChat, file=InputEncryptedFile, }) ``` diff --git a/docs/API_docs/methods/messages_uploadMedia.md b/docs/API_docs/methods/messages_uploadMedia.md index 65fed5f8..af710357 100644 --- a/docs/API_docs/methods/messages_uploadMedia.md +++ b/docs/API_docs/methods/messages_uploadMedia.md @@ -25,7 +25,7 @@ Upload a file without sending it to anyone ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua MessageMedia = messages.uploadMedia({peer=InputPeer, media=InputMedia, }) ``` diff --git a/docs/API_docs/methods/payments_clearSavedInfo.md b/docs/API_docs/methods/payments_clearSavedInfo.md index 8ac2d538..1fb58ffa 100644 --- a/docs/API_docs/methods/payments_clearSavedInfo.md +++ b/docs/API_docs/methods/payments_clearSavedInfo.md @@ -25,7 +25,7 @@ Clear saved payments info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ info - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = payments.clearSavedInfo({credentials=Bool, info=Bool, }) ``` diff --git a/docs/API_docs/methods/payments_getPaymentForm.md b/docs/API_docs/methods/payments_getPaymentForm.md index c53c7d10..480e7d6d 100644 --- a/docs/API_docs/methods/payments_getPaymentForm.md +++ b/docs/API_docs/methods/payments_getPaymentForm.md @@ -24,7 +24,7 @@ Get payment form ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ msg_id - Json encoded int Or, if you're into Lua: -``` +```lua payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` diff --git a/docs/API_docs/methods/payments_getPaymentReceipt.md b/docs/API_docs/methods/payments_getPaymentReceipt.md index b6bbb3e5..074aed0e 100644 --- a/docs/API_docs/methods/payments_getPaymentReceipt.md +++ b/docs/API_docs/methods/payments_getPaymentReceipt.md @@ -24,7 +24,7 @@ Get payment receipt ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ msg_id - Json encoded int Or, if you're into Lua: -``` +```lua payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` diff --git a/docs/API_docs/methods/payments_getSavedInfo.md b/docs/API_docs/methods/payments_getSavedInfo.md index acaa603f..df3796a2 100644 --- a/docs/API_docs/methods/payments_getSavedInfo.md +++ b/docs/API_docs/methods/payments_getSavedInfo.md @@ -19,7 +19,7 @@ Get saved payments info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua payments_SavedInfo = payments.getSavedInfo({}) ``` diff --git a/docs/API_docs/methods/payments_sendPaymentForm.md b/docs/API_docs/methods/payments_sendPaymentForm.md index 5ac22160..582f446a 100644 --- a/docs/API_docs/methods/payments_sendPaymentForm.md +++ b/docs/API_docs/methods/payments_sendPaymentForm.md @@ -27,7 +27,7 @@ Bots only: send payment form ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ credentials - Json encoded InputPaymentCredentials Or, if you're into Lua: -``` +```lua payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` diff --git a/docs/API_docs/methods/payments_validateRequestedInfo.md b/docs/API_docs/methods/payments_validateRequestedInfo.md index bc60d68f..524c8515 100644 --- a/docs/API_docs/methods/payments_validateRequestedInfo.md +++ b/docs/API_docs/methods/payments_validateRequestedInfo.md @@ -26,7 +26,7 @@ Validate requested payment info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ info - Json encoded PaymentRequestedInfo Or, if you're into Lua: -``` +```lua payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` diff --git a/docs/API_docs/methods/phone_getCallConfig.md b/docs/API_docs/methods/phone_getCallConfig.md index dc8619e8..4ee97d2f 100644 --- a/docs/API_docs/methods/phone_getCallConfig.md +++ b/docs/API_docs/methods/phone_getCallConfig.md @@ -19,7 +19,7 @@ Get call configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua DataJSON = phone.getCallConfig({}) ``` diff --git a/docs/API_docs/methods/phone_receivedCall.md b/docs/API_docs/methods/phone_receivedCall.md index b6cebd0c..c030fe43 100644 --- a/docs/API_docs/methods/phone_receivedCall.md +++ b/docs/API_docs/methods/phone_receivedCall.md @@ -24,7 +24,7 @@ Notify server that you received a call (server will refuse all incoming calls un ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPhoneCall Or, if you're into Lua: -``` +```lua Bool = phone.receivedCall({peer=InputPhoneCall, }) ``` diff --git a/docs/API_docs/methods/phone_saveCallDebug.md b/docs/API_docs/methods/phone_saveCallDebug.md index 176f0838..3aff7998 100644 --- a/docs/API_docs/methods/phone_saveCallDebug.md +++ b/docs/API_docs/methods/phone_saveCallDebug.md @@ -25,7 +25,7 @@ Save call debugging info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ debug - Json encoded DataJSON Or, if you're into Lua: -``` +```lua Bool = phone.saveCallDebug({peer=InputPhoneCall, debug=DataJSON, }) ``` diff --git a/docs/API_docs/methods/phone_setCallRating.md b/docs/API_docs/methods/phone_setCallRating.md index 0861c10e..fa83b2c7 100644 --- a/docs/API_docs/methods/phone_setCallRating.md +++ b/docs/API_docs/methods/phone_setCallRating.md @@ -26,7 +26,7 @@ Set phone call rating ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ comment - Json encoded string Or, if you're into Lua: -``` +```lua Updates = phone.setCallRating({peer=InputPhoneCall, rating=int, comment='string', }) ``` diff --git a/docs/API_docs/methods/photos_deletePhotos.md b/docs/API_docs/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/docs/API_docs/methods/photos_deletePhotos.md +++ b/docs/API_docs/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/docs/API_docs/methods/photos_getUserPhotos.md b/docs/API_docs/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/docs/API_docs/methods/photos_getUserPhotos.md +++ b/docs/API_docs/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/docs/API_docs/methods/photos_updateProfilePhoto.md b/docs/API_docs/methods/photos_updateProfilePhoto.md index 8eb42e5d..26ab417e 100644 --- a/docs/API_docs/methods/photos_updateProfilePhoto.md +++ b/docs/API_docs/methods/photos_updateProfilePhoto.md @@ -24,7 +24,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputPhoto Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, }) ``` diff --git a/docs/API_docs/methods/photos_uploadProfilePhoto.md b/docs/API_docs/methods/photos_uploadProfilePhoto.md index 9b838b89..8d047d9a 100644 --- a/docs/API_docs/methods/photos_uploadProfilePhoto.md +++ b/docs/API_docs/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ file - Json encoded InputFile Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` diff --git a/docs/API_docs/methods/stickers_addStickerToSet.md b/docs/API_docs/methods/stickers_addStickerToSet.md index 7029d543..0946e28a 100644 --- a/docs/API_docs/methods/stickers_addStickerToSet.md +++ b/docs/API_docs/methods/stickers_addStickerToSet.md @@ -25,7 +25,7 @@ Add sticker to stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ sticker - Json encoded InputStickerSetItem Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` diff --git a/docs/API_docs/methods/stickers_changeStickerPosition.md b/docs/API_docs/methods/stickers_changeStickerPosition.md index e6a2951e..ff27fd3c 100644 --- a/docs/API_docs/methods/stickers_changeStickerPosition.md +++ b/docs/API_docs/methods/stickers_changeStickerPosition.md @@ -25,7 +25,7 @@ Change sticker position in photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ position - Json encoded int Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` diff --git a/docs/API_docs/methods/stickers_createStickerSet.md b/docs/API_docs/methods/stickers_createStickerSet.md index 58ed89b7..7dd29ccd 100644 --- a/docs/API_docs/methods/stickers_createStickerSet.md +++ b/docs/API_docs/methods/stickers_createStickerSet.md @@ -28,7 +28,7 @@ Create stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ stickers - Json encoded array of InputStickerSetItem Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` diff --git a/docs/API_docs/methods/stickers_removeStickerFromSet.md b/docs/API_docs/methods/stickers_removeStickerFromSet.md index 7349779f..64ce97a3 100644 --- a/docs/API_docs/methods/stickers_removeStickerFromSet.md +++ b/docs/API_docs/methods/stickers_removeStickerFromSet.md @@ -24,7 +24,7 @@ Remove sticker from stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ sticker - Json encoded InputDocument Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` diff --git a/docs/API_docs/methods/upload_getWebFile.md b/docs/API_docs/methods/upload_getWebFile.md index d7d5d631..16952ff9 100644 --- a/docs/API_docs/methods/upload_getWebFile.md +++ b/docs/API_docs/methods/upload_getWebFile.md @@ -26,7 +26,7 @@ Download a file through telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` diff --git a/docs/API_docs/methods/users_getUsers.md b/docs/API_docs/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/docs/API_docs/methods/users_getUsers.md +++ b/docs/API_docs/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/docs/API_docs/methods/users_setSecureValueErrors.md b/docs/API_docs/methods/users_setSecureValueErrors.md index 4e18012c..3389b737 100644 --- a/docs/API_docs/methods/users_setSecureValueErrors.md +++ b/docs/API_docs/methods/users_setSecureValueErrors.md @@ -25,7 +25,7 @@ Set secure value error for telegram passport ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ errors - Json encoded array of SecureValueError Or, if you're into Lua: -``` +```lua Bool = users.setSecureValueErrors({id=InputUser, errors={SecureValueError}, }) ``` diff --git a/docs/API_docs/types/Chat.md b/docs/API_docs/types/Chat.md index cd83aacb..58654e6e 100644 --- a/docs/API_docs/types/Chat.md +++ b/docs/API_docs/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/docs/API_docs/types/DialogPeer.md b/docs/API_docs/types/DialogPeer.md index 77d00a35..95cbcc4f 100644 --- a/docs/API_docs/types/DialogPeer.md +++ b/docs/API_docs/types/DialogPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $DialogPeer = '@username'; // Username $DialogPeer = 'me'; // The currently logged-in user diff --git a/docs/API_docs/types/InputChannel.md b/docs/API_docs/types/InputChannel.md index 3882099d..6dc802fc 100644 --- a/docs/API_docs/types/InputChannel.md +++ b/docs/API_docs/types/InputChannel.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputChannel = '@username'; // Username $InputChannel = 'me'; // The currently logged-in user diff --git a/docs/API_docs/types/InputDialogPeer.md b/docs/API_docs/types/InputDialogPeer.md index 665ea204..f4e1e38f 100644 --- a/docs/API_docs/types/InputDialogPeer.md +++ b/docs/API_docs/types/InputDialogPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputDialogPeer = '@username'; // Username $InputDialogPeer = 'me'; // The currently logged-in user diff --git a/docs/API_docs/types/InputEncryptedChat.md b/docs/API_docs/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/docs/API_docs/types/InputEncryptedChat.md +++ b/docs/API_docs/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/docs/API_docs/types/InputEncryptedFile.md b/docs/API_docs/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/docs/API_docs/types/InputEncryptedFile.md +++ b/docs/API_docs/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/docs/API_docs/types/InputFile.md b/docs/API_docs/types/InputFile.md index d5e5c3b5..14d89691 100644 --- a/docs/API_docs/types/InputFile.md +++ b/docs/API_docs/types/InputFile.md @@ -12,7 +12,7 @@ Points to some file The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/docs/API_docs/types/InputMessage.md b/docs/API_docs/types/InputMessage.md index 075b4f04..3233b335 100644 --- a/docs/API_docs/types/InputMessage.md +++ b/docs/API_docs/types/InputMessage.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputMessage = 142; // Numeric message ID ``` diff --git a/docs/API_docs/types/InputNotifyPeer.md b/docs/API_docs/types/InputNotifyPeer.md index 813d3acb..fbd34b1c 100644 --- a/docs/API_docs/types/InputNotifyPeer.md +++ b/docs/API_docs/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/docs/API_docs/types/InputPeer.md b/docs/API_docs/types/InputPeer.md index 2076c00b..2649db1a 100644 --- a/docs/API_docs/types/InputPeer.md +++ b/docs/API_docs/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/docs/API_docs/types/InputUser.md b/docs/API_docs/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/docs/API_docs/types/InputUser.md +++ b/docs/API_docs/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/docs/API_docs/types/KeyboardButton.md b/docs/API_docs/types/KeyboardButton.md index ac4b9e1e..69f33796 100644 --- a/docs/API_docs/types/KeyboardButton.md +++ b/docs/API_docs/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/docs/API_docs/types/NotifyPeer.md b/docs/API_docs/types/NotifyPeer.md index 74b12b28..2bae6cc5 100644 --- a/docs/API_docs/types/NotifyPeer.md +++ b/docs/API_docs/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/docs/API_docs/types/Peer.md b/docs/API_docs/types/Peer.md index ebb98e91..0ab7fdcc 100644 --- a/docs/API_docs/types/Peer.md +++ b/docs/API_docs/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/docs/API_docs/types/PhoneCall.md b/docs/API_docs/types/PhoneCall.md index 64d95972..0aa87799 100644 --- a/docs/API_docs/types/PhoneCall.md +++ b/docs/API_docs/types/PhoneCall.md @@ -159,7 +159,7 @@ The audio configuration is an array structured in the following way: Easy as pie: -``` +```php $call->storage["pony"] = "fluttershy"; \danog\MadelineProto\Logger::log($call->storage["pony"]); // fluttershy ``` @@ -173,7 +173,7 @@ You can only modify the data saving mode, the network type, the logging file pat Example: -``` +```php $call->configuration["log_file_path"] = "logs".$call->getOtherID().".log"; // Default is /dev/null $call->configuration["stats_dump_file_path"] = "stats".$call->getOtherID().".log"; // Default is /dev/null $call->configuration["network_type"] = \danog\MadelineProto\VoIP::NET_TYPE_WIFI; // Default is NET_TYPE_ETHERNET diff --git a/docs/API_docs/types/User.md b/docs/API_docs/types/User.md index 3abd182f..425c8d2b 100644 --- a/docs/API_docs/types/User.md +++ b/docs/API_docs/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/docs/MTProto_docs/constructors/MTmessage.md b/docs/MTProto_docs/constructors/MTmessage.md index 851c34f7..c953d4ab 100644 --- a/docs/MTProto_docs/constructors/MTmessage.md +++ b/docs/MTProto_docs/constructors/MTmessage.md @@ -26,7 +26,7 @@ MTProto message ### Example: -``` +```php $MTmessage = ['_' => 'MTmessage', 'msg_id' => long, 'seqno' => int, 'bytes' => int, 'body' => Object]; ``` @@ -37,10 +37,9 @@ $MTmessage = ['_' => 'MTmessage', 'msg_id' => long, 'seqno' => int, 'bytes' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua MTmessage={_='MTmessage', msg_id=long, seqno=int, bytes=int, body=Object} ``` diff --git a/docs/MTProto_docs/constructors/bad_msg_notification.md b/docs/MTProto_docs/constructors/bad_msg_notification.md index a9553b26..bf1b9309 100644 --- a/docs/MTProto_docs/constructors/bad_msg_notification.md +++ b/docs/MTProto_docs/constructors/bad_msg_notification.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int]; ``` @@ -34,10 +34,9 @@ $bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua bad_msg_notification={_='bad_msg_notification', bad_msg_id=long, bad_msg_seqno=int, error_code=int} ``` diff --git a/docs/MTProto_docs/constructors/bad_server_salt.md b/docs/MTProto_docs/constructors/bad_server_salt.md index 5abce2e0..9eba4882 100644 --- a/docs/MTProto_docs/constructors/bad_server_salt.md +++ b/docs/MTProto_docs/constructors/bad_server_salt.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, 'new_server_salt' => long]; ``` @@ -35,10 +35,9 @@ $bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seq ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua bad_server_salt={_='bad_server_salt', bad_msg_id=long, bad_msg_seqno=int, error_code=int, new_server_salt=long} ``` diff --git a/docs/MTProto_docs/constructors/bind_auth_key_inner.md b/docs/MTProto_docs/constructors/bind_auth_key_inner.md index 6ec560cd..26a82092 100644 --- a/docs/MTProto_docs/constructors/bind_auth_key_inner.md +++ b/docs/MTProto_docs/constructors/bind_auth_key_inner.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $bind_auth_key_inner = ['_' => 'bind_auth_key_inner', 'nonce' => long, 'temp_auth_key_id' => long, 'perm_auth_key_id' => long, 'temp_session_id' => long, 'expires_at' => int]; ``` @@ -36,10 +36,9 @@ $bind_auth_key_inner = ['_' => 'bind_auth_key_inner', 'nonce' => long, 'temp_aut ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua bind_auth_key_inner={_='bind_auth_key_inner', nonce=long, temp_auth_key_id=long, perm_auth_key_id=long, temp_session_id=long, expires_at=int} ``` diff --git a/docs/MTProto_docs/constructors/client_DH_inner_data.md b/docs/MTProto_docs/constructors/client_DH_inner_data.md index ecd2efbf..7d2835ad 100644 --- a/docs/MTProto_docs/constructors/client_DH_inner_data.md +++ b/docs/MTProto_docs/constructors/client_DH_inner_data.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'retry_id' => long, 'g_b' => 'bytes']; ``` @@ -35,10 +35,9 @@ $client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'serv ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua client_DH_inner_data={_='client_DH_inner_data', nonce=int128, server_nonce=int128, retry_id=long, g_b='bytes'} ``` diff --git a/docs/MTProto_docs/constructors/destroy_session_none.md b/docs/MTProto_docs/constructors/destroy_session_none.md index e20d06f5..470a0de8 100644 --- a/docs/MTProto_docs/constructors/destroy_session_none.md +++ b/docs/MTProto_docs/constructors/destroy_session_none.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long]; ``` @@ -32,10 +32,9 @@ $destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_session_none={_='destroy_session_none', session_id=long} ``` diff --git a/docs/MTProto_docs/constructors/destroy_session_ok.md b/docs/MTProto_docs/constructors/destroy_session_ok.md index f5d8cd19..c98a804d 100644 --- a/docs/MTProto_docs/constructors/destroy_session_ok.md +++ b/docs/MTProto_docs/constructors/destroy_session_ok.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long]; ``` @@ -32,10 +32,9 @@ $destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_session_ok={_='destroy_session_ok', session_id=long} ``` diff --git a/docs/MTProto_docs/constructors/dh_gen_fail.md b/docs/MTProto_docs/constructors/dh_gen_fail.md index 28fb6771..87d4a34b 100644 --- a/docs/MTProto_docs/constructors/dh_gen_fail.md +++ b/docs/MTProto_docs/constructors/dh_gen_fail.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash3' => int128]; ``` @@ -34,10 +34,9 @@ $dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int12 ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dh_gen_fail={_='dh_gen_fail', nonce=int128, server_nonce=int128, new_nonce_hash3=int128} ``` diff --git a/docs/MTProto_docs/constructors/dh_gen_ok.md b/docs/MTProto_docs/constructors/dh_gen_ok.md index 6b9723d9..2a058971 100644 --- a/docs/MTProto_docs/constructors/dh_gen_ok.md +++ b/docs/MTProto_docs/constructors/dh_gen_ok.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash1' => int128]; ``` @@ -34,10 +34,9 @@ $dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dh_gen_ok={_='dh_gen_ok', nonce=int128, server_nonce=int128, new_nonce_hash1=int128} ``` diff --git a/docs/MTProto_docs/constructors/dh_gen_retry.md b/docs/MTProto_docs/constructors/dh_gen_retry.md index 736c54f4..ab31de74 100644 --- a/docs/MTProto_docs/constructors/dh_gen_retry.md +++ b/docs/MTProto_docs/constructors/dh_gen_retry.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash2' => int128]; ``` @@ -34,10 +34,9 @@ $dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dh_gen_retry={_='dh_gen_retry', nonce=int128, server_nonce=int128, new_nonce_hash2=int128} ``` diff --git a/docs/MTProto_docs/constructors/future_salt.md b/docs/MTProto_docs/constructors/future_salt.md index de2832c4..b5dd02ed 100644 --- a/docs/MTProto_docs/constructors/future_salt.md +++ b/docs/MTProto_docs/constructors/future_salt.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int, 'salt' => long]; ``` @@ -34,10 +34,9 @@ $future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua future_salt={_='future_salt', valid_since=int, valid_until=int, salt=long} ``` diff --git a/docs/MTProto_docs/constructors/future_salts.md b/docs/MTProto_docs/constructors/future_salts.md index 811c668a..86251b37 100644 --- a/docs/MTProto_docs/constructors/future_salts.md +++ b/docs/MTProto_docs/constructors/future_salts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'salts' => [future_salt, future_salt]]; ``` @@ -34,10 +34,9 @@ $future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'sal ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua future_salts={_='future_salts', req_msg_id=long, now=int, salts={future_salt}} ``` diff --git a/docs/MTProto_docs/constructors/gzip_packed.md b/docs/MTProto_docs/constructors/gzip_packed.md index 4c539362..d082ee8f 100644 --- a/docs/MTProto_docs/constructors/gzip_packed.md +++ b/docs/MTProto_docs/constructors/gzip_packed.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $gzip_packed = ['_' => 'gzip_packed', 'packed_data' => 'bytes']; ``` @@ -32,10 +32,9 @@ $gzip_packed = ['_' => 'gzip_packed', 'packed_data' => 'bytes']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua gzip_packed={_='gzip_packed', packed_data='bytes'} ``` diff --git a/docs/MTProto_docs/constructors/msg_container.md b/docs/MTProto_docs/constructors/msg_container.md index ca401122..c7d111ac 100644 --- a/docs/MTProto_docs/constructors/msg_container.md +++ b/docs/MTProto_docs/constructors/msg_container.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_container = ['_' => 'msg_container', 'messages' => [MTmessage, MTmessage]]; ``` @@ -32,10 +32,9 @@ $msg_container = ['_' => 'msg_container', 'messages' => [MTmessage, MTmessage]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_container={_='msg_container', messages={MTmessage}} ``` diff --git a/docs/MTProto_docs/constructors/msg_copy.md b/docs/MTProto_docs/constructors/msg_copy.md index d8a897f2..ff6176d4 100644 --- a/docs/MTProto_docs/constructors/msg_copy.md +++ b/docs/MTProto_docs/constructors/msg_copy.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_copy = ['_' => 'msg_copy', 'orig_message' => MTMessage]; ``` @@ -32,10 +32,9 @@ $msg_copy = ['_' => 'msg_copy', 'orig_message' => MTMessage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_copy={_='msg_copy', orig_message=MTMessage} ``` diff --git a/docs/MTProto_docs/constructors/msg_detailed_info.md b/docs/MTProto_docs/constructors/msg_detailed_info.md index 22a4fdb0..238ea35d 100644 --- a/docs/MTProto_docs/constructors/msg_detailed_info.md +++ b/docs/MTProto_docs/constructors/msg_detailed_info.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_id' => long, 'bytes' => int, 'status' => int]; ``` @@ -35,10 +35,9 @@ $msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_detailed_info={_='msg_detailed_info', msg_id=long, answer_msg_id=long, bytes=int, status=int} ``` diff --git a/docs/MTProto_docs/constructors/msg_new_detailed_info.md b/docs/MTProto_docs/constructors/msg_new_detailed_info.md index fc671bb9..6e4ad249 100644 --- a/docs/MTProto_docs/constructors/msg_new_detailed_info.md +++ b/docs/MTProto_docs/constructors/msg_new_detailed_info.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => long, 'bytes' => int, 'status' => int]; ``` @@ -34,10 +34,9 @@ $msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_new_detailed_info={_='msg_new_detailed_info', answer_msg_id=long, bytes=int, status=int} ``` diff --git a/docs/MTProto_docs/constructors/msg_resend_req.md b/docs/MTProto_docs/constructors/msg_resend_req.md index 3ae86dfc..d9de1768 100644 --- a/docs/MTProto_docs/constructors/msg_resend_req.md +++ b/docs/MTProto_docs/constructors/msg_resend_req.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long, long]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_resend_req={_='msg_resend_req', msg_ids={long}} ``` diff --git a/docs/MTProto_docs/constructors/msgs_ack.md b/docs/MTProto_docs/constructors/msgs_ack.md index 83c78c01..78b0bed6 100644 --- a/docs/MTProto_docs/constructors/msgs_ack.md +++ b/docs/MTProto_docs/constructors/msgs_ack.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long, long]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_ack={_='msgs_ack', msg_ids={long}} ``` diff --git a/docs/MTProto_docs/constructors/msgs_all_info.md b/docs/MTProto_docs/constructors/msgs_all_info.md index 55549917..7c67d105 100644 --- a/docs/MTProto_docs/constructors/msgs_all_info.md +++ b/docs/MTProto_docs/constructors/msgs_all_info.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long, long], 'info' => 'bytes']; ``` @@ -33,10 +33,9 @@ $msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long, long], 'info' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_all_info={_='msgs_all_info', msg_ids={long}, info='bytes'} ``` diff --git a/docs/MTProto_docs/constructors/msgs_state_info.md b/docs/MTProto_docs/constructors/msgs_state_info.md index d94b7b54..c2533e32 100644 --- a/docs/MTProto_docs/constructors/msgs_state_info.md +++ b/docs/MTProto_docs/constructors/msgs_state_info.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => 'bytes']; ``` @@ -33,10 +33,9 @@ $msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_state_info={_='msgs_state_info', req_msg_id=long, info='bytes'} ``` diff --git a/docs/MTProto_docs/constructors/msgs_state_req.md b/docs/MTProto_docs/constructors/msgs_state_req.md index ede2520f..feedf3d3 100644 --- a/docs/MTProto_docs/constructors/msgs_state_req.md +++ b/docs/MTProto_docs/constructors/msgs_state_req.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long, long]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_state_req={_='msgs_state_req', msg_ids={long}} ``` diff --git a/docs/MTProto_docs/constructors/new_session_created.md b/docs/MTProto_docs/constructors/new_session_created.md index b917ad59..aa443caa 100644 --- a/docs/MTProto_docs/constructors/new_session_created.md +++ b/docs/MTProto_docs/constructors/new_session_created.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'unique_id' => long, 'server_salt' => long]; ``` @@ -34,10 +34,9 @@ $new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'u ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua new_session_created={_='new_session_created', first_msg_id=long, unique_id=long, server_salt=long} ``` diff --git a/docs/MTProto_docs/constructors/p_q_inner_data.md b/docs/MTProto_docs/constructors/p_q_inner_data.md index 1cd648d8..28fc4fbc 100644 --- a/docs/MTProto_docs/constructors/p_q_inner_data.md +++ b/docs/MTProto_docs/constructors/p_q_inner_data.md @@ -28,7 +28,7 @@ PQ inner data ### Example: -``` +```php $p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => 'bytes', 'p' => 'bytes', 'q' => 'bytes', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256]; ``` @@ -39,10 +39,9 @@ $p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => 'bytes', 'p' => 'bytes', 'q' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua p_q_inner_data={_='p_q_inner_data', pq='bytes', p='bytes', q='bytes', nonce=int128, server_nonce=int128, new_nonce=int256} ``` diff --git a/docs/MTProto_docs/constructors/p_q_inner_data_temp.md b/docs/MTProto_docs/constructors/p_q_inner_data_temp.md index cdf51d7a..44a48bb3 100644 --- a/docs/MTProto_docs/constructors/p_q_inner_data_temp.md +++ b/docs/MTProto_docs/constructors/p_q_inner_data_temp.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $p_q_inner_data_temp = ['_' => 'p_q_inner_data_temp', 'pq' => 'bytes', 'p' => 'bytes', 'q' => 'bytes', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256, 'expires_in' => int]; ``` @@ -38,10 +38,9 @@ $p_q_inner_data_temp = ['_' => 'p_q_inner_data_temp', 'pq' => 'bytes', 'p' => 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua p_q_inner_data_temp={_='p_q_inner_data_temp', pq='bytes', p='bytes', q='bytes', nonce=int128, server_nonce=int128, new_nonce=int256, expires_in=int} ``` diff --git a/docs/MTProto_docs/constructors/pong.md b/docs/MTProto_docs/constructors/pong.md index ba5a4195..932940d8 100644 --- a/docs/MTProto_docs/constructors/pong.md +++ b/docs/MTProto_docs/constructors/pong.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long]; ``` @@ -33,10 +33,9 @@ $pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pong={_='pong', msg_id=long, ping_id=long} ``` diff --git a/docs/MTProto_docs/constructors/resPQ.md b/docs/MTProto_docs/constructors/resPQ.md index f43ebea1..6fd1f61c 100644 --- a/docs/MTProto_docs/constructors/resPQ.md +++ b/docs/MTProto_docs/constructors/resPQ.md @@ -26,7 +26,7 @@ Contains pq to factorize ### Example: -``` +```php $resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => 'bytes', 'server_public_key_fingerprints' => [long, long]]; ``` @@ -37,10 +37,9 @@ $resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua resPQ={_='resPQ', nonce=int128, server_nonce=int128, pq='bytes', server_public_key_fingerprints={long}} ``` diff --git a/docs/MTProto_docs/constructors/rpc_answer_dropped.md b/docs/MTProto_docs/constructors/rpc_answer_dropped.md index e05695b5..e41855e9 100644 --- a/docs/MTProto_docs/constructors/rpc_answer_dropped.md +++ b/docs/MTProto_docs/constructors/rpc_answer_dropped.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' => int, 'bytes' => int]; ``` @@ -34,10 +34,9 @@ $rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_answer_dropped={_='rpc_answer_dropped', msg_id=long, seq_no=int, bytes=int} ``` diff --git a/docs/MTProto_docs/constructors/rpc_answer_dropped_running.md b/docs/MTProto_docs/constructors/rpc_answer_dropped_running.md index b98a0cf0..675eea40 100644 --- a/docs/MTProto_docs/constructors/rpc_answer_dropped_running.md +++ b/docs/MTProto_docs/constructors/rpc_answer_dropped_running.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running']; ``` @@ -27,10 +27,9 @@ $rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_answer_dropped_running={_='rpc_answer_dropped_running'} ``` diff --git a/docs/MTProto_docs/constructors/rpc_answer_unknown.md b/docs/MTProto_docs/constructors/rpc_answer_unknown.md index f9f425cc..3f2d3c02 100644 --- a/docs/MTProto_docs/constructors/rpc_answer_unknown.md +++ b/docs/MTProto_docs/constructors/rpc_answer_unknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_answer_unknown = ['_' => 'rpc_answer_unknown']; ``` @@ -27,10 +27,9 @@ $rpc_answer_unknown = ['_' => 'rpc_answer_unknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_answer_unknown={_='rpc_answer_unknown'} ``` diff --git a/docs/MTProto_docs/constructors/rpc_error.md b/docs/MTProto_docs/constructors/rpc_error.md index 5d9c2e9e..5b40250d 100644 --- a/docs/MTProto_docs/constructors/rpc_error.md +++ b/docs/MTProto_docs/constructors/rpc_error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => 'string']; ``` @@ -33,10 +33,9 @@ $rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_error={_='rpc_error', error_code=int, error_message='string'} ``` diff --git a/docs/MTProto_docs/constructors/rpc_result.md b/docs/MTProto_docs/constructors/rpc_result.md index 4278d414..df1207b2 100644 --- a/docs/MTProto_docs/constructors/rpc_result.md +++ b/docs/MTProto_docs/constructors/rpc_result.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_result = ['_' => 'rpc_result', 'req_msg_id' => long, 'result' => Object]; ``` @@ -33,10 +33,9 @@ $rpc_result = ['_' => 'rpc_result', 'req_msg_id' => long, 'result' => Object]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_result={_='rpc_result', req_msg_id=long, result=Object} ``` diff --git a/docs/MTProto_docs/constructors/server_DH_inner_data.md b/docs/MTProto_docs/constructors/server_DH_inner_data.md index fa34b123..cafde7b4 100644 --- a/docs/MTProto_docs/constructors/server_DH_inner_data.md +++ b/docs/MTProto_docs/constructors/server_DH_inner_data.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'g' => int, 'dh_prime' => 'bytes', 'g_a' => 'bytes', 'server_time' => int]; ``` @@ -37,10 +37,9 @@ $server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'serv ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua server_DH_inner_data={_='server_DH_inner_data', nonce=int128, server_nonce=int128, g=int, dh_prime='bytes', g_a='bytes', server_time=int} ``` diff --git a/docs/MTProto_docs/constructors/server_DH_params_fail.md b/docs/MTProto_docs/constructors/server_DH_params_fail.md index 24be7fad..d87ee6c1 100644 --- a/docs/MTProto_docs/constructors/server_DH_params_fail.md +++ b/docs/MTProto_docs/constructors/server_DH_params_fail.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash' => int128]; ``` @@ -34,10 +34,9 @@ $server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua server_DH_params_fail={_='server_DH_params_fail', nonce=int128, server_nonce=int128, new_nonce_hash=int128} ``` diff --git a/docs/MTProto_docs/constructors/server_DH_params_ok.md b/docs/MTProto_docs/constructors/server_DH_params_ok.md index dec496b3..811a7549 100644 --- a/docs/MTProto_docs/constructors/server_DH_params_ok.md +++ b/docs/MTProto_docs/constructors/server_DH_params_ok.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server_nonce' => int128, 'encrypted_answer' => 'bytes']; ``` @@ -34,10 +34,9 @@ $server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua server_DH_params_ok={_='server_DH_params_ok', nonce=int128, server_nonce=int128, encrypted_answer='bytes'} ``` diff --git a/docs/MTProto_docs/constructors/vector.md b/docs/MTProto_docs/constructors/vector.md index c9e27763..d8ea6f1f 100644 --- a/docs/MTProto_docs/constructors/vector.md +++ b/docs/MTProto_docs/constructors/vector.md @@ -18,7 +18,7 @@ Array ### Example: -``` +```php $vector = ['_' => 'vector']; ``` @@ -29,10 +29,9 @@ $vector = ['_' => 'vector']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua vector={_='vector'} ``` diff --git a/docs/MTProto_docs/methods/destroy_session.md b/docs/MTProto_docs/methods/destroy_session.md index 6892d9a0..d7472c3e 100644 --- a/docs/MTProto_docs/methods/destroy_session.md +++ b/docs/MTProto_docs/methods/destroy_session.md @@ -24,7 +24,7 @@ Destroy the current MTProto session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ session_id - Json encoded long Or, if you're into Lua: -``` +```lua DestroySessionRes = destroy_session({session_id=long, }) ``` diff --git a/docs/MTProto_docs/methods/get_future_salts.md b/docs/MTProto_docs/methods/get_future_salts.md index 94f0f8ca..2ab445b6 100644 --- a/docs/MTProto_docs/methods/get_future_salts.md +++ b/docs/MTProto_docs/methods/get_future_salts.md @@ -24,7 +24,7 @@ Get future salts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ num - Json encoded int Or, if you're into Lua: -``` +```lua FutureSalts = get_future_salts({num=int, }) ``` diff --git a/docs/MTProto_docs/methods/http_wait.md b/docs/MTProto_docs/methods/http_wait.md index 4ebc446a..4a86cf4b 100644 --- a/docs/MTProto_docs/methods/http_wait.md +++ b/docs/MTProto_docs/methods/http_wait.md @@ -26,7 +26,7 @@ Makes the server send messages waiting in the buffer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ max_wait - Json encoded int Or, if you're into Lua: -``` +```lua HttpWait = http_wait({max_delay=int, wait_after=int, max_wait=int, }) ``` diff --git a/docs/MTProto_docs/methods/ping.md b/docs/MTProto_docs/methods/ping.md index d07839e4..de80b551 100644 --- a/docs/MTProto_docs/methods/ping.md +++ b/docs/MTProto_docs/methods/ping.md @@ -24,7 +24,7 @@ pings the server ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ ping_id - Json encoded long Or, if you're into Lua: -``` +```lua Pong = ping({ping_id=long, }) ``` diff --git a/docs/MTProto_docs/methods/ping_delay_disconnect.md b/docs/MTProto_docs/methods/ping_delay_disconnect.md index 9b89e38d..337ba565 100644 --- a/docs/MTProto_docs/methods/ping_delay_disconnect.md +++ b/docs/MTProto_docs/methods/ping_delay_disconnect.md @@ -25,7 +25,7 @@ Pings the server and causes disconection if the same method is not called within ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ disconnect_delay - Json encoded int Or, if you're into Lua: -``` +```lua Pong = ping_delay_disconnect({ping_id=long, disconnect_delay=int, }) ``` diff --git a/docs/MTProto_docs/methods/req_DH_params.md b/docs/MTProto_docs/methods/req_DH_params.md index dc5e40b0..4c923321 100644 --- a/docs/MTProto_docs/methods/req_DH_params.md +++ b/docs/MTProto_docs/methods/req_DH_params.md @@ -29,7 +29,7 @@ Requests Diffie-hellman parameters for key exchange ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ encrypted_data - Json encoded bytes Or, if you're into Lua: -``` +```lua Server_DH_Params = req_DH_params({nonce=int128, server_nonce=int128, p='bytes', q='bytes', public_key_fingerprint=long, encrypted_data='bytes', }) ``` diff --git a/docs/MTProto_docs/methods/req_pq.md b/docs/MTProto_docs/methods/req_pq.md index 64da6ef7..8c764814 100644 --- a/docs/MTProto_docs/methods/req_pq.md +++ b/docs/MTProto_docs/methods/req_pq.md @@ -24,7 +24,7 @@ Requests PQ for factorization ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ nonce - Json encoded int128 Or, if you're into Lua: -``` +```lua ResPQ = req_pq({nonce=int128, }) ``` diff --git a/docs/MTProto_docs/methods/req_pq_multi.md b/docs/MTProto_docs/methods/req_pq_multi.md index 05193c0d..7159e2cd 100644 --- a/docs/MTProto_docs/methods/req_pq_multi.md +++ b/docs/MTProto_docs/methods/req_pq_multi.md @@ -24,7 +24,7 @@ Requests PQ for factorization (new version) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ nonce - Json encoded int128 Or, if you're into Lua: -``` +```lua ResPQ = req_pq_multi({nonce=int128, }) ``` diff --git a/docs/MTProto_docs/methods/rpc_drop_answer.md b/docs/MTProto_docs/methods/rpc_drop_answer.md index 8e08d16b..8b81eefd 100644 --- a/docs/MTProto_docs/methods/rpc_drop_answer.md +++ b/docs/MTProto_docs/methods/rpc_drop_answer.md @@ -24,7 +24,7 @@ Do not send answer to provided request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ req_msg_id - Json encoded long Or, if you're into Lua: -``` +```lua RpcDropAnswer = rpc_drop_answer({req_msg_id=long, }) ``` diff --git a/docs/MTProto_docs/methods/set_client_DH_params.md b/docs/MTProto_docs/methods/set_client_DH_params.md index 7981af3e..0f2a8ad3 100644 --- a/docs/MTProto_docs/methods/set_client_DH_params.md +++ b/docs/MTProto_docs/methods/set_client_DH_params.md @@ -26,7 +26,7 @@ Sets client diffie-hellman parameters ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ encrypted_data - Json encoded bytes Or, if you're into Lua: -``` +```lua Set_client_DH_params_answer = set_client_DH_params({nonce=int128, server_nonce=int128, encrypted_data='bytes', }) ``` diff --git a/docs/bot_login.md b/docs/bot_login.md index 5d008c3e..6babc850 100644 --- a/docs/bot_login.md +++ b/docs/bot_login.md @@ -16,7 +16,7 @@ description: bot_login parameters, return type and example ### Example: -``` +```php $MadelineProto = new \danog\MadelineProto\API(); $authorization = $this->bot_login($token); diff --git a/docs/complete_2FA_login.md b/docs/complete_2FA_login.md index 6d4adbb2..3f97f849 100644 --- a/docs/complete_2FA_login.md +++ b/docs/complete_2FA_login.md @@ -16,7 +16,7 @@ description: complete_2FA_login parameters, return type and example ### Example: -``` +```php $MadelineProto = new \danog\MadelineProto\API(); $MadelineProto->phone_login(readline('Enter your phone number: ')); diff --git a/docs/complete_phone_login.md b/docs/complete_phone_login.md index 652da375..37e1f3fd 100644 --- a/docs/complete_phone_login.md +++ b/docs/complete_phone_login.md @@ -18,7 +18,7 @@ You must then use [complete_2FA_login](complete_2FA_login.md) or [complete_signu ### Example: -``` +```php $MadelineProto = new \danog\MadelineProto\API(); $MadelineProto->phone_login(readline('Enter your phone number: ')); diff --git a/docs/complete_signup.md b/docs/complete_signup.md index 80fe2cc0..653f1764 100644 --- a/docs/complete_signup.md +++ b/docs/complete_signup.md @@ -17,7 +17,7 @@ description: complete_signup parameters, return type and example ### Example: -``` +```php $MadelineProto = new \danog\MadelineProto\API(); $MadelineProto->phone_login(readline('Enter your phone number: ')); diff --git a/docs/docs/INSTALLATION.md b/docs/docs/INSTALLATION.md index f811e779..3f05818d 100644 --- a/docs/docs/INSTALLATION.md +++ b/docs/docs/INSTALLATION.md @@ -37,7 +37,7 @@ require_once 'madeline.php'; ## Composer from scratch composer.json: -```json +``` { "name": "yourname/yourproject", "description": "Project description", @@ -82,7 +82,7 @@ require_once 'vendor/autoload.php'; Once you have all the requirements installed properly (on dev as well as production), add this to the ```composer.json``` file: -```json +``` "repositories": [ { "type": "git", @@ -93,13 +93,13 @@ Once you have all the requirements installed properly (on dev as well as product Make sure you also have these set in the composer.json: -```json +``` "minimum-stability": "dev", ``` Then you can require the package by addding the following line to the require section: -```json +``` "danog/madelineproto":"dev-master" ``` diff --git a/docs/docs/PROXY.md b/docs/docs/PROXY.md index 118c1ed1..613a1b4c 100644 --- a/docs/docs/PROXY.md +++ b/docs/docs/PROXY.md @@ -18,7 +18,7 @@ There are three ways to do this: No password: -``` +```php $settings['connection_settings']['all']['proxy'] = '\SocksProxy'; $settings['connection_settings']['all']['proxy_extra'] = ['address' => $proxy_address, 'port' => $proxy_port]; @@ -28,7 +28,7 @@ $MadelineProto = new \danog\MadelineProto\API('session.madeline', $settings); With password: -``` +```php $settings['connection_settings']['all']['proxy'] = '\SocksProxy'; $settings['connection_settings']['all']['proxy_extra'] = ['address' => $proxy_address, 'port' => $proxy_port, 'username' => 'user', 'password' => 'afnjasf']; @@ -39,7 +39,7 @@ $MadelineProto = new \danog\MadelineProto\API('session.madeline', $settings); No password: -``` +```php $settings['connection_settings']['all']['proxy'] = '\HttpProxy'; $settings['connection_settings']['all']['proxy_extra'] = ['address' => $proxy_address, 'port' => $proxy_port]; @@ -49,7 +49,7 @@ $MadelineProto = new \danog\MadelineProto\API('session.madeline', $settings); With password: -``` +```php $settings['connection_settings']['all']['proxy'] = '\HttpProxy'; $settings['connection_settings']['all']['proxy_extra'] = ['address' => $proxy_address, 'port' => $proxy_port, 'username' => 'user', 'password' => 'afnjasf']; diff --git a/docs/docs/UPDATES.md b/docs/docs/UPDATES.md index 28d682e4..204f9c5f 100644 --- a/docs/docs/UPDATES.md +++ b/docs/docs/UPDATES.md @@ -210,7 +210,7 @@ $MadelineProto->loop(); When an [Update](https://docs.madelineproto.xyz/API_docs/types/Update.html) is received, a POST request is made to the provided webhook URL, with json-encoded payload containing the Update. To get a list of all possible update types, [click here](https://docs.madelineproto.xyz/API_docs/types/Update.html). DO NOT provide the current script URL as webhook URL. The webhook can also respond with a JSON payload containing the name of a method to call and the arguments: -```json +``` {"method":"messages->sendMessage", "peer":"@danogentili", "message":"hi"} ``` diff --git a/docs/get_dialogs.md b/docs/get_dialogs.md index c900bde7..4f0a27a7 100644 --- a/docs/get_dialogs.md +++ b/docs/get_dialogs.md @@ -11,7 +11,7 @@ Gets full list of dialogs ### Example: -``` +```php $MadelineProto = new \danog\MadelineProto\API(); $MadelineProto->start(); @@ -20,7 +20,7 @@ $Peers = $MadelineProto->get_dialogs(); Or, if you're into Lua: -``` +```lua Peers = get_dialogs() ``` diff --git a/docs/get_full_info.md b/docs/get_full_info.md index 1d5e5a3b..f762c926 100644 --- a/docs/get_full_info.md +++ b/docs/get_full_info.md @@ -16,7 +16,7 @@ description: get_full_info parameters, return type and example ### Example: -``` +```php $MadelineProto = new \danog\MadelineProto\API(); $MadelineProto->start(); @@ -25,7 +25,7 @@ $Chat = $MadelineProto->get_full_info($id); Or, if you're into Lua: -``` +```lua Chat = get_full_info(id) ``` diff --git a/docs/get_info.md b/docs/get_info.md index f5a1cae8..1971d3e3 100644 --- a/docs/get_info.md +++ b/docs/get_info.md @@ -16,7 +16,7 @@ description: get_info parameters, return type and example ### Example: -``` +```php $MadelineProto = new \danog\MadelineProto\API(); $MadelineProto->start(); @@ -25,7 +25,7 @@ $Chat = $MadelineProto->get_info($id); Or, if you're into Lua: -``` +```lua Chat = get_info(id) ``` diff --git a/docs/get_pwr_chat.md b/docs/get_pwr_chat.md index e432dc0d..001cd029 100644 --- a/docs/get_pwr_chat.md +++ b/docs/get_pwr_chat.md @@ -17,7 +17,7 @@ description: get_pwr_chat parameters, return type and example ### Example: -``` +```php $MadelineProto = new \danog\MadelineProto\API(); $MadelineProto->start(); @@ -26,7 +26,7 @@ $Chat = $MadelineProto->get_pwr_chat($id); Or, if you're into Lua: -``` +```lua Chat = get_pwr_chat(id) ``` diff --git a/docs/get_self.md b/docs/get_self.md index 34b96672..f4cc7cb5 100644 --- a/docs/get_self.md +++ b/docs/get_self.md @@ -13,7 +13,7 @@ No parameters ### Example: -``` +```php $MadelineProto = new \danog\MadelineProto\API(); $MadelineProto->start(); @@ -22,7 +22,7 @@ $User = $MadelineProto->get_self(); Or, if you're into Lua: -``` +```lua User = get_self() ``` diff --git a/docs/logout.md b/docs/logout.md index fad4d6eb..cde81298 100644 --- a/docs/logout.md +++ b/docs/logout.md @@ -12,7 +12,7 @@ Logs you out ### Example: -``` +```php $MadelineProto->logout(); ``` diff --git a/docs/phone_login.md b/docs/phone_login.md index e2c2ee75..72ea8d6c 100644 --- a/docs/phone_login.md +++ b/docs/phone_login.md @@ -19,7 +19,7 @@ You must then use [complete_phone_login](complete_phone_login.md) ### Example: -``` +```php $MadelineProto = new \danog\MadelineProto\API(); $MadelineProto->phone_login(readline('Enter your phone number: ')); diff --git a/docs/request_call.md b/docs/request_call.md index 83339e6d..163496e0 100644 --- a/docs/request_call.md +++ b/docs/request_call.md @@ -18,7 +18,7 @@ Returns the call ### Example: -``` +```php $MadelineProto = new \danog\MadelineProto\API(); $MadelineProto->start(); diff --git a/docs/request_secret_chat.md b/docs/request_secret_chat.md index c015ff90..8d6e65cb 100644 --- a/docs/request_secret_chat.md +++ b/docs/request_secret_chat.md @@ -18,7 +18,7 @@ Returns the secret chat ID ### Example: -``` +```php $MadelineProto = new \danog\MadelineProto\API(); $MadelineProto->start(); diff --git a/old_docs/API_docs_v18/constructors/audio.md b/old_docs/API_docs_v18/constructors/audio.md index 1437e1f7..5bc6aa7a 100644 --- a/old_docs/API_docs_v18/constructors/audio.md +++ b/old_docs/API_docs_v18/constructors/audio.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` @@ -39,10 +39,9 @@ $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audio={_='audio', id=long, access_hash=long, user_id=int, date=int, duration=int, mime_type='string', size=int, dc_id=int} ``` diff --git a/old_docs/API_docs_v18/constructors/audioEmpty.md b/old_docs/API_docs_v18/constructors/audioEmpty.md index 2b0ed960..846367f4 100644 --- a/old_docs/API_docs_v18/constructors/audioEmpty.md +++ b/old_docs/API_docs_v18/constructors/audioEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audioEmpty={_='audioEmpty', id=long} ``` diff --git a/old_docs/API_docs_v18/constructors/auth_authorization.md b/old_docs/API_docs_v18/constructors/auth_authorization.md index f9d870b4..84f70ba6 100644 --- a/old_docs/API_docs_v18/constructors/auth_authorization.md +++ b/old_docs/API_docs_v18/constructors/auth_authorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User]; ``` @@ -33,10 +33,9 @@ $auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_authorization={_='auth.authorization', expires=int, user=User} ``` diff --git a/old_docs/API_docs_v18/constructors/auth_checkedPhone.md b/old_docs/API_docs_v18/constructors/auth_checkedPhone.md index 2b62b216..5bf55682 100644 --- a/old_docs/API_docs_v18/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v18/constructors/auth_checkedPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, 'phone_invited' => Bool]; ``` @@ -33,10 +33,9 @@ $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, phone_invited=Bool} ``` diff --git a/old_docs/API_docs_v18/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v18/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v18/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v18/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v18/constructors/auth_sentAppCode.md b/old_docs/API_docs_v18/constructors/auth_sentAppCode.md index 1f354541..ec13efba 100644 --- a/old_docs/API_docs_v18/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v18/constructors/auth_sentAppCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'pho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v18/constructors/auth_sentCode.md b/old_docs/API_docs_v18/constructors/auth_sentCode.md index 01834b65..2b5301e1 100644 --- a/old_docs/API_docs_v18/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v18/constructors/auth_sentCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v18/constructors/chat.md b/old_docs/API_docs_v18/constructors/chat.md index 6bfb3651..d197bfc9 100644 --- a/old_docs/API_docs_v18/constructors/chat.md +++ b/old_docs/API_docs_v18/constructors/chat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chat = ['_' => 'chat', 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int]; ``` @@ -38,10 +38,9 @@ $chat = ['_' => 'chat', 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chat={_='chat', id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, left=Bool, version=int} ``` diff --git a/old_docs/API_docs_v18/constructors/chatEmpty.md b/old_docs/API_docs_v18/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v18/constructors/chatEmpty.md +++ b/old_docs/API_docs_v18/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v18/constructors/chatForbidden.md b/old_docs/API_docs_v18/constructors/chatForbidden.md index ecbb3ed8..76708ada 100644 --- a/old_docs/API_docs_v18/constructors/chatForbidden.md +++ b/old_docs/API_docs_v18/constructors/chatForbidden.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string', 'date' => int]; ``` @@ -34,10 +34,9 @@ $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string', 'dat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatForbidden={_='chatForbidden', id=int, title='string', date=int} ``` diff --git a/old_docs/API_docs_v18/constructors/chatFull.md b/old_docs/API_docs_v18/constructors/chatFull.md index 11b5d9fb..9e090a52 100644 --- a/old_docs/API_docs_v18/constructors/chatFull.md +++ b/old_docs/API_docs_v18/constructors/chatFull.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v18/constructors/chatParticipant.md b/old_docs/API_docs_v18/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v18/constructors/chatParticipant.md +++ b/old_docs/API_docs_v18/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v18/constructors/chatParticipants.md b/old_docs/API_docs_v18/constructors/chatParticipants.md index d4acc517..5acbb81c 100644 --- a/old_docs/API_docs_v18/constructors/chatParticipants.md +++ b/old_docs/API_docs_v18/constructors/chatParticipants.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -35,10 +35,9 @@ $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipants={_='chatParticipants', chat_id=int, admin_id=int, participants={ChatParticipant}, version=int} ``` diff --git a/old_docs/API_docs_v18/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v18/constructors/chatParticipantsForbidden.md index c3b4c007..c6bb546b 100644 --- a/old_docs/API_docs_v18/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v18/constructors/chatParticipantsForbidden.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int} ``` diff --git a/old_docs/API_docs_v18/constructors/chatPhoto.md b/old_docs/API_docs_v18/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v18/constructors/chatPhoto.md +++ b/old_docs/API_docs_v18/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v18/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v18/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v18/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v18/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/config.md b/old_docs/API_docs_v18/constructors/config.md index 1508c76d..e686dc54 100644 --- a/old_docs/API_docs_v18/constructors/config.md +++ b/old_docs/API_docs_v18/constructors/config.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'date' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'broadcast_size_max' => int]; ``` @@ -37,10 +37,9 @@ $config = ['_' => 'config', 'date' => int, 'test_mode' => Bool, 'this_dc' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', date=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, broadcast_size_max=int} ``` diff --git a/old_docs/API_docs_v18/constructors/contact.md b/old_docs/API_docs_v18/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v18/constructors/contact.md +++ b/old_docs/API_docs_v18/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v18/constructors/contactBlocked.md b/old_docs/API_docs_v18/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v18/constructors/contactBlocked.md +++ b/old_docs/API_docs_v18/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v18/constructors/contactFound.md b/old_docs/API_docs_v18/constructors/contactFound.md index b7f22e4c..ecf6b905 100644 --- a/old_docs/API_docs_v18/constructors/contactFound.md +++ b/old_docs/API_docs_v18/constructors/contactFound.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactFound = ['_' => 'contactFound', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $contactFound = ['_' => 'contactFound', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactFound={_='contactFound', user_id=int} ``` diff --git a/old_docs/API_docs_v18/constructors/contactStatus.md b/old_docs/API_docs_v18/constructors/contactStatus.md index 2d7dab61..f10d61d2 100644 --- a/old_docs/API_docs_v18/constructors/contactStatus.md +++ b/old_docs/API_docs_v18/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'expires' => int]; ``` @@ -33,10 +33,9 @@ $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactStatus={_='contactStatus', user_id=int, expires=int} ``` diff --git a/old_docs/API_docs_v18/constructors/contactSuggested.md b/old_docs/API_docs_v18/constructors/contactSuggested.md index 7dc8105c..e90bf7c9 100644 --- a/old_docs/API_docs_v18/constructors/contactSuggested.md +++ b/old_docs/API_docs_v18/constructors/contactSuggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` @@ -33,10 +33,9 @@ $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int} ``` diff --git a/old_docs/API_docs_v18/constructors/contacts_blocked.md b/old_docs/API_docs_v18/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v18/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v18/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v18/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v18/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v18/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v18/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v18/constructors/contacts_contacts.md b/old_docs/API_docs_v18/constructors/contacts_contacts.md index 34dae91a..ea16b38a 100644 --- a/old_docs/API_docs_v18/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v18/constructors/contacts_contacts.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} ``` diff --git a/old_docs/API_docs_v18/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v18/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v18/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v18/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v18/constructors/contacts_foreignLinkMutual.md b/old_docs/API_docs_v18/constructors/contacts_foreignLinkMutual.md index 6d9551d9..8de4af0a 100644 --- a/old_docs/API_docs_v18/constructors/contacts_foreignLinkMutual.md +++ b/old_docs/API_docs_v18/constructors/contacts_foreignLinkMutual.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_foreignLinkMutual = ['_' => 'contacts.foreignLinkMutual']; ``` @@ -27,10 +27,9 @@ $contacts_foreignLinkMutual = ['_' => 'contacts.foreignLinkMutual']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_foreignLinkMutual={_='contacts.foreignLinkMutual'} ``` diff --git a/old_docs/API_docs_v18/constructors/contacts_foreignLinkRequested.md b/old_docs/API_docs_v18/constructors/contacts_foreignLinkRequested.md index d8ccc178..3fc01bf3 100644 --- a/old_docs/API_docs_v18/constructors/contacts_foreignLinkRequested.md +++ b/old_docs/API_docs_v18/constructors/contacts_foreignLinkRequested.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_foreignLinkRequested = ['_' => 'contacts.foreignLinkRequested', 'has_phone' => Bool]; ``` @@ -32,10 +32,9 @@ $contacts_foreignLinkRequested = ['_' => 'contacts.foreignLinkRequested', 'has_p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_foreignLinkRequested={_='contacts.foreignLinkRequested', has_phone=Bool} ``` diff --git a/old_docs/API_docs_v18/constructors/contacts_foreignLinkUnknown.md b/old_docs/API_docs_v18/constructors/contacts_foreignLinkUnknown.md index 0a693448..421205f0 100644 --- a/old_docs/API_docs_v18/constructors/contacts_foreignLinkUnknown.md +++ b/old_docs/API_docs_v18/constructors/contacts_foreignLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_foreignLinkUnknown = ['_' => 'contacts.foreignLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contacts_foreignLinkUnknown = ['_' => 'contacts.foreignLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_foreignLinkUnknown={_='contacts.foreignLinkUnknown'} ``` diff --git a/old_docs/API_docs_v18/constructors/contacts_found.md b/old_docs/API_docs_v18/constructors/contacts_found.md index ba0c9b31..940558ab 100644 --- a/old_docs/API_docs_v18/constructors/contacts_found.md +++ b/old_docs/API_docs_v18/constructors/contacts_found.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactFound], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactF ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={ContactFound}, users={User}} ``` diff --git a/old_docs/API_docs_v18/constructors/contacts_importedContacts.md b/old_docs/API_docs_v18/constructors/contacts_importedContacts.md index 7bf9c1bf..8b9012bb 100644 --- a/old_docs/API_docs_v18/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v18/constructors/contacts_importedContacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v18/constructors/contacts_link.md b/old_docs/API_docs_v18/constructors/contacts_link.md index ef32e482..22768be7 100644 --- a/old_docs/API_docs_v18/constructors/contacts_link.md +++ b/old_docs/API_docs_v18/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => contacts_MyLink, 'foreign ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=contacts_MyLink, foreign_link=contacts_ForeignLink, user=User} ``` diff --git a/old_docs/API_docs_v18/constructors/contacts_myLinkContact.md b/old_docs/API_docs_v18/constructors/contacts_myLinkContact.md index 7ddfca89..5cec6577 100644 --- a/old_docs/API_docs_v18/constructors/contacts_myLinkContact.md +++ b/old_docs/API_docs_v18/constructors/contacts_myLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_myLinkContact = ['_' => 'contacts.myLinkContact']; ``` @@ -27,10 +27,9 @@ $contacts_myLinkContact = ['_' => 'contacts.myLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_myLinkContact={_='contacts.myLinkContact'} ``` diff --git a/old_docs/API_docs_v18/constructors/contacts_myLinkEmpty.md b/old_docs/API_docs_v18/constructors/contacts_myLinkEmpty.md index df6920cf..999b470c 100644 --- a/old_docs/API_docs_v18/constructors/contacts_myLinkEmpty.md +++ b/old_docs/API_docs_v18/constructors/contacts_myLinkEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_myLinkEmpty = ['_' => 'contacts.myLinkEmpty']; ``` @@ -27,10 +27,9 @@ $contacts_myLinkEmpty = ['_' => 'contacts.myLinkEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_myLinkEmpty={_='contacts.myLinkEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/contacts_myLinkRequested.md b/old_docs/API_docs_v18/constructors/contacts_myLinkRequested.md index ac03841c..f8962def 100644 --- a/old_docs/API_docs_v18/constructors/contacts_myLinkRequested.md +++ b/old_docs/API_docs_v18/constructors/contacts_myLinkRequested.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_myLinkRequested = ['_' => 'contacts.myLinkRequested', 'contact' => Bool]; ``` @@ -32,10 +32,9 @@ $contacts_myLinkRequested = ['_' => 'contacts.myLinkRequested', 'contact' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_myLinkRequested={_='contacts.myLinkRequested', contact=Bool} ``` diff --git a/old_docs/API_docs_v18/constructors/contacts_suggested.md b/old_docs/API_docs_v18/constructors/contacts_suggested.md index 553cebcb..2659d855 100644 --- a/old_docs/API_docs_v18/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v18/constructors/contacts_suggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggest ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} ``` diff --git a/old_docs/API_docs_v18/constructors/dcOption.md b/old_docs/API_docs_v18/constructors/dcOption.md index 60a8e673..62331b41 100644 --- a/old_docs/API_docs_v18/constructors/dcOption.md +++ b/old_docs/API_docs_v18/constructors/dcOption.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => 'string', 'ip_address' => 'string', 'port' => int]; ``` @@ -35,10 +35,9 @@ $dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => 'string', 'ip_address ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', id=int, hostname='string', ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v18/constructors/dialog.md b/old_docs/API_docs_v18/constructors/dialog.md index f4cc7bad..e89240fe 100644 --- a/old_docs/API_docs_v18/constructors/dialog.md +++ b/old_docs/API_docs_v18/constructors/dialog.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` @@ -35,10 +35,9 @@ $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'unread_count' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', peer=Peer, top_message=int, unread_count=int, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v18/constructors/document.md b/old_docs/API_docs_v18/constructors/document.md index b67b0f82..6f98ee25 100644 --- a/old_docs/API_docs_v18/constructors/document.md +++ b/old_docs/API_docs_v18/constructors/document.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'file_name' => 'string', 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int]; ``` @@ -40,10 +40,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'user_id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, user_id=int, date=int, file_name='string', mime_type='string', size=int, thumb=PhotoSize, dc_id=int} ``` diff --git a/old_docs/API_docs_v18/constructors/documentEmpty.md b/old_docs/API_docs_v18/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v18/constructors/documentEmpty.md +++ b/old_docs/API_docs_v18/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v18/constructors/encryptedChat.md b/old_docs/API_docs_v18/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v18/constructors/encryptedChat.md +++ b/old_docs/API_docs_v18/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v18/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v18/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v18/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v18/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v18/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v18/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v18/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v18/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v18/constructors/encryptedChatRequested.md b/old_docs/API_docs_v18/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v18/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v18/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v18/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v18/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v18/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v18/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v18/constructors/encryptedFile.md b/old_docs/API_docs_v18/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v18/constructors/encryptedFile.md +++ b/old_docs/API_docs_v18/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v18/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v18/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v18/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v18/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/encryptedMessage.md b/old_docs/API_docs_v18/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v18/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v18/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v18/constructors/encryptedMessageService.md b/old_docs/API_docs_v18/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v18/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v18/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v18/constructors/error.md b/old_docs/API_docs_v18/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v18/constructors/error.md +++ b/old_docs/API_docs_v18/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v18/constructors/fileLocation.md b/old_docs/API_docs_v18/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v18/constructors/fileLocation.md +++ b/old_docs/API_docs_v18/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v18/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v18/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v18/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v18/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v18/constructors/geoPoint.md b/old_docs/API_docs_v18/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v18/constructors/geoPoint.md +++ b/old_docs/API_docs_v18/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v18/constructors/geoPointEmpty.md b/old_docs/API_docs_v18/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v18/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v18/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/help_appUpdate.md b/old_docs/API_docs_v18/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v18/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v18/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v18/constructors/help_inviteText.md b/old_docs/API_docs_v18/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v18/constructors/help_inviteText.md +++ b/old_docs/API_docs_v18/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v18/constructors/help_noAppUpdate.md b/old_docs/API_docs_v18/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v18/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v18/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v18/constructors/help_support.md b/old_docs/API_docs_v18/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v18/constructors/help_support.md +++ b/old_docs/API_docs_v18/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v18/constructors/importedContact.md b/old_docs/API_docs_v18/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v18/constructors/importedContact.md +++ b/old_docs/API_docs_v18/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v18/constructors/inputAppEvent.md b/old_docs/API_docs_v18/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v18/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v18/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputAudio.md b/old_docs/API_docs_v18/constructors/inputAudio.md index c428307e..ac1c82e3 100644 --- a/old_docs/API_docs_v18/constructors/inputAudio.md +++ b/old_docs/API_docs_v18/constructors/inputAudio.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudio={_='inputAudio', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v18/constructors/inputAudioEmpty.md b/old_docs/API_docs_v18/constructors/inputAudioEmpty.md index a84b3e67..b0b4e934 100644 --- a/old_docs/API_docs_v18/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputAudioEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` @@ -27,10 +27,9 @@ $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v18/constructors/inputAudioFileLocation.md index f95ad919..a2633244 100644 --- a/old_docs/API_docs_v18/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v18/constructors/inputAudioFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v18/constructors/inputChatPhoto.md b/old_docs/API_docs_v18/constructors/inputChatPhoto.md index 5affda9a..7ad8a3f7 100644 --- a/old_docs/API_docs_v18/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v18/constructors/inputChatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputP ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v18/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v18/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v18/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v18/constructors/inputChatUploadedPhoto.md index a22405b2..ed0624da 100644 --- a/old_docs/API_docs_v18/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v18/constructors/inputChatUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v18/constructors/inputDocument.md b/old_docs/API_docs_v18/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v18/constructors/inputDocument.md +++ b/old_docs/API_docs_v18/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v18/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v18/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v18/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v18/constructors/inputDocumentFileLocation.md index 2ba7d2b3..5d593784 100644 --- a/old_docs/API_docs_v18/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v18/constructors/inputDocumentFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v18/constructors/inputEncryptedChat.md b/old_docs/API_docs_v18/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v18/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v18/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v18/constructors/inputEncryptedFile.md b/old_docs/API_docs_v18/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v18/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v18/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v18/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v18/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v18/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v18/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v18/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v18/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v18/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v18/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v18/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v18/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v18/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v18/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v18/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v18/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v18/constructors/inputFile.md b/old_docs/API_docs_v18/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v18/constructors/inputFile.md +++ b/old_docs/API_docs_v18/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputFileBig.md b/old_docs/API_docs_v18/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v18/constructors/inputFileBig.md +++ b/old_docs/API_docs_v18/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputFileLocation.md b/old_docs/API_docs_v18/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v18/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v18/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v18/constructors/inputGeoPoint.md b/old_docs/API_docs_v18/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v18/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v18/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v18/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v18/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v18/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMediaAudio.md b/old_docs/API_docs_v18/constructors/inputMediaAudio.md index 6ebbe6ec..6c166ec0 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v18/constructors/inputMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` @@ -32,10 +32,9 @@ $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaAudio={_='inputMediaAudio', id=InputAudio} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMediaContact.md b/old_docs/API_docs_v18/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v18/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMediaDocument.md b/old_docs/API_docs_v18/constructors/inputMediaDocument.md index f652113b..f671c3e5 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v18/constructors/inputMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` @@ -32,10 +32,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMediaEmpty.md b/old_docs/API_docs_v18/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v18/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v18/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMediaPhoto.md b/old_docs/API_docs_v18/constructors/inputMediaPhoto.md index df83d46f..05346b80 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v18/constructors/inputMediaPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v18/constructors/inputMediaUploadedAudio.md index 4eb4cb85..73fcb4f8 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v18/constructors/inputMediaUploadedAudio.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type='string'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v18/constructors/inputMediaUploadedDocument.md index f9c5d0a2..776ec597 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v18/constructors/inputMediaUploadedDocument.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'file_name' => 'string', 'mime_type' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, file_name='string', mime_type='string'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v18/constructors/inputMediaUploadedPhoto.md index d76c47b1..1866756e 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v18/constructors/inputMediaUploadedPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile]; ``` @@ -32,10 +32,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v18/constructors/inputMediaUploadedThumbDocument.md index 9d01d07b..75ac88c3 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v18/constructors/inputMediaUploadedThumbDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'file_name' => 'string', 'mime_type' => 'string']; ``` @@ -35,10 +35,9 @@ $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, file_name='string', mime_type='string'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v18/constructors/inputMediaUploadedThumbVideo.md index f3e77fbc..eb4669b5 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v18/constructors/inputMediaUploadedThumbVideo.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string']; ``` @@ -37,10 +37,9 @@ $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type='string'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v18/constructors/inputMediaUploadedVideo.md index 14405246..571081ff 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v18/constructors/inputMediaUploadedVideo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type='string'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMediaVideo.md b/old_docs/API_docs_v18/constructors/inputMediaVideo.md index e9d29400..27892968 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v18/constructors/inputMediaVideo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo]; ``` @@ -32,10 +32,9 @@ $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVideo={_='inputMediaVideo', id=InputVideo} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterAudio.md index 066b1642..79c822fc 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterAudio.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterAudioDocuments.md index 7badd17c..a8963d46 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterAudioDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputNotifyAll.md b/old_docs/API_docs_v18/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v18/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v18/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputNotifyChats.md b/old_docs/API_docs_v18/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v18/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v18/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputNotifyPeer.md b/old_docs/API_docs_v18/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v18/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v18/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v18/constructors/inputNotifyUsers.md b/old_docs/API_docs_v18/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v18/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v18/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputPeerChat.md b/old_docs/API_docs_v18/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v18/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v18/constructors/inputPeerContact.md b/old_docs/API_docs_v18/constructors/inputPeerContact.md index d5c14923..2749ea3a 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerContact.md +++ b/old_docs/API_docs_v18/constructors/inputPeerContact.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerContact={_='inputPeerContact', user_id=int} ``` diff --git a/old_docs/API_docs_v18/constructors/inputPeerEmpty.md b/old_docs/API_docs_v18/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputPeerForeign.md b/old_docs/API_docs_v18/constructors/inputPeerForeign.md index 260746f3..45945367 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerForeign.md +++ b/old_docs/API_docs_v18/constructors/inputPeerForeign.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerForeign={_='inputPeerForeign', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v18/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v18/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v18/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v18/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v18/constructors/inputPeerNotifySettings.md index ce1896bb..a600e880 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v18/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v18/constructors/inputPeerSelf.md b/old_docs/API_docs_v18/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v18/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputPhoneContact.md b/old_docs/API_docs_v18/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v18/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v18/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputPhoto.md b/old_docs/API_docs_v18/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v18/constructors/inputPhoto.md +++ b/old_docs/API_docs_v18/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v18/constructors/inputPhotoCrop.md b/old_docs/API_docs_v18/constructors/inputPhotoCrop.md index b35bf42f..e90029a9 100644 --- a/old_docs/API_docs_v18/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v18/constructors/inputPhotoCrop.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` @@ -34,10 +34,9 @@ $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double} ``` diff --git a/old_docs/API_docs_v18/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v18/constructors/inputPhotoCropAuto.md index 6c2f121d..37414b14 100644 --- a/old_docs/API_docs_v18/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v18/constructors/inputPhotoCropAuto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` @@ -27,10 +27,9 @@ $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v18/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v18/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputUserContact.md b/old_docs/API_docs_v18/constructors/inputUserContact.md index 430975d0..e7541daf 100644 --- a/old_docs/API_docs_v18/constructors/inputUserContact.md +++ b/old_docs/API_docs_v18/constructors/inputUserContact.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserContact = ['_' => 'inputUserContact', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $inputUserContact = ['_' => 'inputUserContact', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserContact={_='inputUserContact', user_id=int} ``` diff --git a/old_docs/API_docs_v18/constructors/inputUserEmpty.md b/old_docs/API_docs_v18/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v18/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputUserForeign.md b/old_docs/API_docs_v18/constructors/inputUserForeign.md index f9e8791d..9c2c8ef8 100644 --- a/old_docs/API_docs_v18/constructors/inputUserForeign.md +++ b/old_docs/API_docs_v18/constructors/inputUserForeign.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserForeign={_='inputUserForeign', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v18/constructors/inputUserSelf.md b/old_docs/API_docs_v18/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v18/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v18/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputVideo.md b/old_docs/API_docs_v18/constructors/inputVideo.md index 4ea87c56..b3874cd7 100644 --- a/old_docs/API_docs_v18/constructors/inputVideo.md +++ b/old_docs/API_docs_v18/constructors/inputVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideo={_='inputVideo', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v18/constructors/inputVideoEmpty.md b/old_docs/API_docs_v18/constructors/inputVideoEmpty.md index b69984f7..5322ed90 100644 --- a/old_docs/API_docs_v18/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputVideoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` @@ -27,10 +27,9 @@ $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v18/constructors/inputVideoFileLocation.md index 2692222e..d9a3f678 100644 --- a/old_docs/API_docs_v18/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v18/constructors/inputVideoFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v18/constructors/message.md b/old_docs/API_docs_v18/constructors/message.md index 8bd4c715..75046385 100644 --- a/old_docs/API_docs_v18/constructors/message.md +++ b/old_docs/API_docs_v18/constructors/message.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => 'string', 'media' => MessageMedia]; ``` @@ -37,10 +37,9 @@ $message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', id=int, from_id=int, to_id=Peer, date=int, message='string', media=MessageMedia} ``` diff --git a/old_docs/API_docs_v18/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v18/constructors/messageActionChatAddUser.md index 1ea1d425..4decc491 100644 --- a/old_docs/API_docs_v18/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v18/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', user_id=int} ``` diff --git a/old_docs/API_docs_v18/constructors/messageActionChatCreate.md b/old_docs/API_docs_v18/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v18/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v18/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v18/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v18/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v18/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v18/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v18/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v18/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v18/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v18/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v18/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v18/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v18/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v18/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v18/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v18/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v18/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v18/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v18/constructors/messageActionEmpty.md b/old_docs/API_docs_v18/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v18/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v18/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/messageEmpty.md b/old_docs/API_docs_v18/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v18/constructors/messageEmpty.md +++ b/old_docs/API_docs_v18/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v18/constructors/messageForwarded.md b/old_docs/API_docs_v18/constructors/messageForwarded.md index 881e0958..35954098 100644 --- a/old_docs/API_docs_v18/constructors/messageForwarded.md +++ b/old_docs/API_docs_v18/constructors/messageForwarded.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageForwarded = ['_' => 'messageForwarded', 'id' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => 'string', 'media' => MessageMedia]; ``` @@ -39,10 +39,9 @@ $messageForwarded = ['_' => 'messageForwarded', 'id' => int, 'fwd_from_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageForwarded={_='messageForwarded', id=int, fwd_from_id=int, fwd_date=int, from_id=int, to_id=Peer, date=int, message='string', media=MessageMedia} ``` diff --git a/old_docs/API_docs_v18/constructors/messageMediaAudio.md b/old_docs/API_docs_v18/constructors/messageMediaAudio.md index c2970836..4f350752 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v18/constructors/messageMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` @@ -32,10 +32,9 @@ $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaAudio={_='messageMediaAudio', audio=Audio} ``` diff --git a/old_docs/API_docs_v18/constructors/messageMediaContact.md b/old_docs/API_docs_v18/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v18/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v18/constructors/messageMediaDocument.md b/old_docs/API_docs_v18/constructors/messageMediaDocument.md index c0a7272c..c08a097b 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v18/constructors/messageMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` @@ -32,10 +32,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document} ``` diff --git a/old_docs/API_docs_v18/constructors/messageMediaEmpty.md b/old_docs/API_docs_v18/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v18/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/messageMediaGeo.md b/old_docs/API_docs_v18/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v18/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v18/constructors/messageMediaPhoto.md b/old_docs/API_docs_v18/constructors/messageMediaPhoto.md index 5560d5b8..1e79fea8 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v18/constructors/messageMediaPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v18/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v18/constructors/messageMediaUnsupported.md index aac88ffa..63e0dc30 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v18/constructors/messageMediaUnsupported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', 'bytes' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', 'bytes' => 'bytes' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported', bytes='bytes'} ``` diff --git a/old_docs/API_docs_v18/constructors/messageMediaVideo.md b/old_docs/API_docs_v18/constructors/messageMediaVideo.md index cc4b488b..4b8b3eca 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v18/constructors/messageMediaVideo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video]; ``` @@ -32,10 +32,9 @@ $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVideo={_='messageMediaVideo', video=Video} ``` diff --git a/old_docs/API_docs_v18/constructors/messageService.md b/old_docs/API_docs_v18/constructors/messageService.md index 37d1d69b..20bb88af 100644 --- a/old_docs/API_docs_v18/constructors/messageService.md +++ b/old_docs/API_docs_v18/constructors/messageService.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` @@ -36,10 +36,9 @@ $messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', id=int, from_id=int, to_id=Peer, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v18/constructors/messages_affectedHistory.md b/old_docs/API_docs_v18/constructors/messages_affectedHistory.md index cc86fdb1..7d8c6cb3 100644 --- a/old_docs/API_docs_v18/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v18/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'seq' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, seq=int, offset=int} ``` diff --git a/old_docs/API_docs_v18/constructors/messages_chatFull.md b/old_docs/API_docs_v18/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v18/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v18/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v18/constructors/messages_chats.md b/old_docs/API_docs_v18/constructors/messages_chats.md index 8fbff7d4..abb248ce 100644 --- a/old_docs/API_docs_v18/constructors/messages_chats.md +++ b/old_docs/API_docs_v18/constructors/messages_chats.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v18/constructors/messages_dhConfig.md b/old_docs/API_docs_v18/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v18/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v18/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v18/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v18/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v18/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v18/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v18/constructors/messages_dialogs.md b/old_docs/API_docs_v18/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v18/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v18/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v18/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v18/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v18/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v18/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v18/constructors/messages_messages.md b/old_docs/API_docs_v18/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v18/constructors/messages_messages.md +++ b/old_docs/API_docs_v18/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v18/constructors/messages_messagesSlice.md b/old_docs/API_docs_v18/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v18/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v18/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v18/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v18/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v18/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v18/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v18/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v18/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v18/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v18/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v18/constructors/messages_sentMessage.md b/old_docs/API_docs_v18/constructors/messages_sentMessage.md index 4f8c1de8..0a27fc6a 100644 --- a/old_docs/API_docs_v18/constructors/messages_sentMessage.md +++ b/old_docs/API_docs_v18/constructors/messages_sentMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int]; ``` @@ -35,10 +35,9 @@ $messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentMessage={_='messages.sentMessage', id=int, date=int, pts=int, seq=int} ``` diff --git a/old_docs/API_docs_v18/constructors/messages_sentMessageLink.md b/old_docs/API_docs_v18/constructors/messages_sentMessageLink.md index 325f54d2..3ecc3456 100644 --- a/old_docs/API_docs_v18/constructors/messages_sentMessageLink.md +++ b/old_docs/API_docs_v18/constructors/messages_sentMessageLink.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, 'links' => [contacts_Link, contacts_Link]]; ``` @@ -36,10 +36,9 @@ $messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'da ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, pts=int, seq=int, links={contacts_Link}} ``` diff --git a/old_docs/API_docs_v18/constructors/messages_statedMessage.md b/old_docs/API_docs_v18/constructors/messages_statedMessage.md index 96e69928..028ed90e 100644 --- a/old_docs/API_docs_v18/constructors/messages_statedMessage.md +++ b/old_docs/API_docs_v18/constructors/messages_statedMessage.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_statedMessage = ['_' => 'messages.statedMessage', 'message' => Message, 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $messages_statedMessage = ['_' => 'messages.statedMessage', 'message' => Message ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_statedMessage={_='messages.statedMessage', message=Message, chats={Chat}, users={User}, pts=int, seq=int} ``` diff --git a/old_docs/API_docs_v18/constructors/messages_statedMessageLink.md b/old_docs/API_docs_v18/constructors/messages_statedMessageLink.md index 1491196f..9b6b7855 100644 --- a/old_docs/API_docs_v18/constructors/messages_statedMessageLink.md +++ b/old_docs/API_docs_v18/constructors/messages_statedMessageLink.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat, Chat], 'users' => [User, User], 'links' => [contacts_Link, contacts_Link], 'pts' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_statedMessageLink={_='messages.statedMessageLink', message=Message, chats={Chat}, users={User}, links={contacts_Link}, pts=int, seq=int} ``` diff --git a/old_docs/API_docs_v18/constructors/messages_statedMessages.md b/old_docs/API_docs_v18/constructors/messages_statedMessages.md index 72ee4520..9b7d95c5 100644 --- a/old_docs/API_docs_v18/constructors/messages_statedMessages.md +++ b/old_docs/API_docs_v18/constructors/messages_statedMessages.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_statedMessages = ['_' => 'messages.statedMessages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $messages_statedMessages = ['_' => 'messages.statedMessages', 'messages' => [Mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_statedMessages={_='messages.statedMessages', messages={Message}, chats={Chat}, users={User}, pts=int, seq=int} ``` diff --git a/old_docs/API_docs_v18/constructors/messages_statedMessagesLinks.md b/old_docs/API_docs_v18/constructors/messages_statedMessagesLinks.md index c9e6d041..c3ceda03 100644 --- a/old_docs/API_docs_v18/constructors/messages_statedMessagesLinks.md +++ b/old_docs/API_docs_v18/constructors/messages_statedMessagesLinks.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'links' => [contacts_Link, contacts_Link], 'pts' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'message ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_statedMessagesLinks={_='messages.statedMessagesLinks', messages={Message}, chats={Chat}, users={User}, links={contacts_Link}, pts=int, seq=int} ``` diff --git a/old_docs/API_docs_v18/constructors/nearestDc.md b/old_docs/API_docs_v18/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v18/constructors/nearestDc.md +++ b/old_docs/API_docs_v18/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v18/constructors/notifyAll.md b/old_docs/API_docs_v18/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v18/constructors/notifyAll.md +++ b/old_docs/API_docs_v18/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v18/constructors/notifyChats.md b/old_docs/API_docs_v18/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v18/constructors/notifyChats.md +++ b/old_docs/API_docs_v18/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v18/constructors/notifyPeer.md b/old_docs/API_docs_v18/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v18/constructors/notifyPeer.md +++ b/old_docs/API_docs_v18/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v18/constructors/notifyUsers.md b/old_docs/API_docs_v18/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v18/constructors/notifyUsers.md +++ b/old_docs/API_docs_v18/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v18/constructors/peerChat.md b/old_docs/API_docs_v18/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v18/constructors/peerChat.md +++ b/old_docs/API_docs_v18/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v18/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v18/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v18/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v18/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v18/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v18/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v18/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v18/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/peerNotifySettings.md b/old_docs/API_docs_v18/constructors/peerNotifySettings.md index 513132f4..12c5bbb9 100644 --- a/old_docs/API_docs_v18/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v18/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v18/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v18/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v18/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v18/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/peerUser.md b/old_docs/API_docs_v18/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v18/constructors/peerUser.md +++ b/old_docs/API_docs_v18/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v18/constructors/photo.md b/old_docs/API_docs_v18/constructors/photo.md index 469d7852..1f836f7f 100644 --- a/old_docs/API_docs_v18/constructors/photo.md +++ b/old_docs/API_docs_v18/constructors/photo.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => 'string', 'geo' => GeoPoint, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -38,10 +38,9 @@ $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', id=long, access_hash=long, user_id=int, date=int, caption='string', geo=GeoPoint, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v18/constructors/photoCachedSize.md b/old_docs/API_docs_v18/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v18/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v18/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v18/constructors/photoEmpty.md b/old_docs/API_docs_v18/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v18/constructors/photoEmpty.md +++ b/old_docs/API_docs_v18/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v18/constructors/photoSize.md b/old_docs/API_docs_v18/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v18/constructors/photoSize.md +++ b/old_docs/API_docs_v18/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v18/constructors/photoSizeEmpty.md b/old_docs/API_docs_v18/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v18/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v18/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v18/constructors/photos_photo.md b/old_docs/API_docs_v18/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v18/constructors/photos_photo.md +++ b/old_docs/API_docs_v18/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v18/constructors/photos_photos.md b/old_docs/API_docs_v18/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v18/constructors/photos_photos.md +++ b/old_docs/API_docs_v18/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v18/constructors/photos_photosSlice.md b/old_docs/API_docs_v18/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v18/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v18/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v18/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v18/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v18/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v18/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v18/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v18/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v18/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v18/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v18/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v18/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v18/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v18/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v18/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v18/constructors/sendMessageUploadAudioAction.md index 19ad4045..b3e5dcb6 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageUploadAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction'} ``` diff --git a/old_docs/API_docs_v18/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v18/constructors/sendMessageUploadDocumentAction.md index dcb7341d..2d5f57ec 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageUploadDocumentAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction']; ``` @@ -27,10 +27,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction'} ``` diff --git a/old_docs/API_docs_v18/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v18/constructors/sendMessageUploadPhotoAction.md index a1aa8497..c250d774 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageUploadPhotoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction'} ``` diff --git a/old_docs/API_docs_v18/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v18/constructors/sendMessageUploadVideoAction.md index 418203e2..f38f6c67 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageUploadVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction'} ``` diff --git a/old_docs/API_docs_v18/constructors/storage_fileGif.md b/old_docs/API_docs_v18/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v18/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v18/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v18/constructors/storage_fileJpeg.md b/old_docs/API_docs_v18/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v18/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v18/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v18/constructors/storage_fileMov.md b/old_docs/API_docs_v18/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v18/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v18/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v18/constructors/storage_fileMp3.md b/old_docs/API_docs_v18/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v18/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v18/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v18/constructors/storage_fileMp4.md b/old_docs/API_docs_v18/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v18/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v18/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v18/constructors/storage_filePartial.md b/old_docs/API_docs_v18/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v18/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v18/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v18/constructors/storage_filePdf.md b/old_docs/API_docs_v18/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v18/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v18/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v18/constructors/storage_filePng.md b/old_docs/API_docs_v18/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v18/constructors/storage_filePng.md +++ b/old_docs/API_docs_v18/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v18/constructors/storage_fileUnknown.md b/old_docs/API_docs_v18/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v18/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v18/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v18/constructors/storage_fileWebp.md b/old_docs/API_docs_v18/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v18/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v18/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v18/constructors/true.md b/old_docs/API_docs_v18/constructors/true.md index 2e27ecbf..4863f16b 100644 --- a/old_docs/API_docs_v18/constructors/true.md +++ b/old_docs/API_docs_v18/constructors/true.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $true = ['_' => 'true']; ``` @@ -27,10 +27,9 @@ $true = ['_' => 'true']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua true={_='true'} ``` diff --git a/old_docs/API_docs_v18/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v18/constructors/updateChatParticipantAdd.md index 8259bb9c..77d1fda5 100644 --- a/old_docs/API_docs_v18/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v18/constructors/updateChatParticipantAdd.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, version=int} ``` diff --git a/old_docs/API_docs_v18/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v18/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v18/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v18/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v18/constructors/updateChatParticipants.md b/old_docs/API_docs_v18/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v18/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v18/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v18/constructors/updateChatUserTyping.md b/old_docs/API_docs_v18/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v18/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v18/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v18/constructors/updateContactLink.md b/old_docs/API_docs_v18/constructors/updateContactLink.md index c18bdbfd..d82e1791 100644 --- a/old_docs/API_docs_v18/constructors/updateContactLink.md +++ b/old_docs/API_docs_v18/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=contacts_MyLink, foreign_link=contacts_ForeignLink} ``` diff --git a/old_docs/API_docs_v18/constructors/updateContactRegistered.md b/old_docs/API_docs_v18/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v18/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v18/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v18/constructors/updateDcOptions.md b/old_docs/API_docs_v18/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v18/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v18/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v18/constructors/updateDeleteMessages.md b/old_docs/API_docs_v18/constructors/updateDeleteMessages.md index fdff1261..82c0d328 100644 --- a/old_docs/API_docs_v18/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v18/constructors/updateDeleteMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int]; ``` @@ -33,10 +33,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int} ``` diff --git a/old_docs/API_docs_v18/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v18/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v18/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v18/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v18/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v18/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v18/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v18/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v18/constructors/updateEncryption.md b/old_docs/API_docs_v18/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v18/constructors/updateEncryption.md +++ b/old_docs/API_docs_v18/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v18/constructors/updateMessageID.md b/old_docs/API_docs_v18/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v18/constructors/updateMessageID.md +++ b/old_docs/API_docs_v18/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v18/constructors/updateNewAuthorization.md b/old_docs/API_docs_v18/constructors/updateNewAuthorization.md index c7a95f80..ce1d0815 100644 --- a/old_docs/API_docs_v18/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v18/constructors/updateNewAuthorization.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` @@ -35,10 +35,9 @@ $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device='string', location='string'} ``` diff --git a/old_docs/API_docs_v18/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v18/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v18/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v18/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v18/constructors/updateNewMessage.md b/old_docs/API_docs_v18/constructors/updateNewMessage.md index e0835647..b6055bce 100644 --- a/old_docs/API_docs_v18/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v18/constructors/updateNewMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int} ``` diff --git a/old_docs/API_docs_v18/constructors/updateNotifySettings.md b/old_docs/API_docs_v18/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v18/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v18/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v18/constructors/updateReadMessages.md b/old_docs/API_docs_v18/constructors/updateReadMessages.md index 2bfca732..fdf9ebbc 100644 --- a/old_docs/API_docs_v18/constructors/updateReadMessages.md +++ b/old_docs/API_docs_v18/constructors/updateReadMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [int, int], 'pts' => int]; ``` @@ -33,10 +33,9 @@ $updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [int, int], 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessages={_='updateReadMessages', messages={int}, pts=int} ``` diff --git a/old_docs/API_docs_v18/constructors/updateServiceNotification.md b/old_docs/API_docs_v18/constructors/updateServiceNotification.md index 979fe7bd..ddcf7eb5 100644 --- a/old_docs/API_docs_v18/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v18/constructors/updateServiceNotification.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` @@ -35,10 +35,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'str ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', type='string', message='string', media=MessageMedia, popup=Bool} ``` diff --git a/old_docs/API_docs_v18/constructors/updateShort.md b/old_docs/API_docs_v18/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v18/constructors/updateShort.md +++ b/old_docs/API_docs_v18/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v18/constructors/updateShortChatMessage.md b/old_docs/API_docs_v18/constructors/updateShortChatMessage.md index 531522df..30b83786 100644 --- a/old_docs/API_docs_v18/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v18/constructors/updateShortChatMessage.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'date' => int, 'seq' => int]; ``` @@ -38,10 +38,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', id=int, from_id=int, chat_id=int, message='string', pts=int, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v18/constructors/updateShortMessage.md b/old_docs/API_docs_v18/constructors/updateShortMessage.md index 137062af..c5ca2305 100644 --- a/old_docs/API_docs_v18/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v18/constructors/updateShortMessage.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'from_id' => int, 'message' => 'string', 'pts' => int, 'date' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'from_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', id=int, from_id=int, message='string', pts=int, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v18/constructors/updateUserBlocked.md b/old_docs/API_docs_v18/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v18/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v18/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v18/constructors/updateUserName.md b/old_docs/API_docs_v18/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v18/constructors/updateUserName.md +++ b/old_docs/API_docs_v18/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v18/constructors/updateUserPhoto.md b/old_docs/API_docs_v18/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v18/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v18/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v18/constructors/updateUserStatus.md b/old_docs/API_docs_v18/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v18/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v18/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v18/constructors/updateUserTyping.md b/old_docs/API_docs_v18/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v18/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v18/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v18/constructors/updates.md b/old_docs/API_docs_v18/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v18/constructors/updates.md +++ b/old_docs/API_docs_v18/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v18/constructors/updatesCombined.md b/old_docs/API_docs_v18/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v18/constructors/updatesCombined.md +++ b/old_docs/API_docs_v18/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v18/constructors/updatesTooLong.md b/old_docs/API_docs_v18/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v18/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v18/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v18/constructors/updates_difference.md b/old_docs/API_docs_v18/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v18/constructors/updates_difference.md +++ b/old_docs/API_docs_v18/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v18/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v18/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v18/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v18/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v18/constructors/updates_differenceSlice.md b/old_docs/API_docs_v18/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v18/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v18/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v18/constructors/updates_state.md b/old_docs/API_docs_v18/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v18/constructors/updates_state.md +++ b/old_docs/API_docs_v18/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v18/constructors/upload_file.md b/old_docs/API_docs_v18/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v18/constructors/upload_file.md +++ b/old_docs/API_docs_v18/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v18/constructors/userContact.md b/old_docs/API_docs_v18/constructors/userContact.md index 6e05949f..04f9567e 100644 --- a/old_docs/API_docs_v18/constructors/userContact.md +++ b/old_docs/API_docs_v18/constructors/userContact.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userContact = ['_' => 'userContact', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` @@ -39,10 +39,9 @@ $userContact = ['_' => 'userContact', 'id' => int, 'first_name' => 'string', 'la ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userContact={_='userContact', id=int, first_name='string', last_name='string', username='string', access_hash=long, phone='string', photo=UserProfilePhoto, status=UserStatus} ``` diff --git a/old_docs/API_docs_v18/constructors/userDeleted.md b/old_docs/API_docs_v18/constructors/userDeleted.md index 880c8d97..04b5b2d7 100644 --- a/old_docs/API_docs_v18/constructors/userDeleted.md +++ b/old_docs/API_docs_v18/constructors/userDeleted.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => 'string', 'la ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userDeleted={_='userDeleted', id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v18/constructors/userEmpty.md b/old_docs/API_docs_v18/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v18/constructors/userEmpty.md +++ b/old_docs/API_docs_v18/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v18/constructors/userForeign.md b/old_docs/API_docs_v18/constructors/userForeign.md index 4597140c..388e65a9 100644 --- a/old_docs/API_docs_v18/constructors/userForeign.md +++ b/old_docs/API_docs_v18/constructors/userForeign.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` @@ -38,10 +38,9 @@ $userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => 'string', 'la ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userForeign={_='userForeign', id=int, first_name='string', last_name='string', username='string', access_hash=long, photo=UserProfilePhoto, status=UserStatus} ``` diff --git a/old_docs/API_docs_v18/constructors/userFull.md b/old_docs/API_docs_v18/constructors/userFull.md index 6344d4a7..998400df 100644 --- a/old_docs/API_docs_v18/constructors/userFull.md +++ b/old_docs/API_docs_v18/constructors/userFull.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => 'string', 'real_last_name' => 'string']; ``` @@ -38,10 +38,9 @@ $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name='string', real_last_name='string'} ``` diff --git a/old_docs/API_docs_v18/constructors/userProfilePhoto.md b/old_docs/API_docs_v18/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v18/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v18/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v18/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v18/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v18/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v18/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/userRequest.md b/old_docs/API_docs_v18/constructors/userRequest.md index fd913ab1..47a892e3 100644 --- a/old_docs/API_docs_v18/constructors/userRequest.md +++ b/old_docs/API_docs_v18/constructors/userRequest.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` @@ -39,10 +39,9 @@ $userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => 'string', 'la ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userRequest={_='userRequest', id=int, first_name='string', last_name='string', username='string', access_hash=long, phone='string', photo=UserProfilePhoto, status=UserStatus} ``` diff --git a/old_docs/API_docs_v18/constructors/userSelf.md b/old_docs/API_docs_v18/constructors/userSelf.md index f9646a9c..24f1d855 100644 --- a/old_docs/API_docs_v18/constructors/userSelf.md +++ b/old_docs/API_docs_v18/constructors/userSelf.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'inactive' => Bool]; ``` @@ -39,10 +39,9 @@ $userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => 'string', 'last_nam ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userSelf={_='userSelf', id=int, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, inactive=Bool} ``` diff --git a/old_docs/API_docs_v18/constructors/userStatusEmpty.md b/old_docs/API_docs_v18/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v18/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v18/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v18/constructors/userStatusOffline.md b/old_docs/API_docs_v18/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v18/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v18/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v18/constructors/userStatusOnline.md b/old_docs/API_docs_v18/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v18/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v18/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v18/constructors/vector.md b/old_docs/API_docs_v18/constructors/vector.md index c9e27763..d8ea6f1f 100644 --- a/old_docs/API_docs_v18/constructors/vector.md +++ b/old_docs/API_docs_v18/constructors/vector.md @@ -18,7 +18,7 @@ Array ### Example: -``` +```php $vector = ['_' => 'vector']; ``` @@ -29,10 +29,9 @@ $vector = ['_' => 'vector']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua vector={_='vector'} ``` diff --git a/old_docs/API_docs_v18/constructors/video.md b/old_docs/API_docs_v18/constructors/video.md index 8aa5a6b3..6a3a4df5 100644 --- a/old_docs/API_docs_v18/constructors/video.md +++ b/old_docs/API_docs_v18/constructors/video.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => 'string', 'duration' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int]; ``` @@ -43,10 +43,9 @@ $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua video={_='video', id=long, access_hash=long, user_id=int, date=int, caption='string', duration=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v18/constructors/videoEmpty.md b/old_docs/API_docs_v18/constructors/videoEmpty.md index 8509fcf9..a41ca8ab 100644 --- a/old_docs/API_docs_v18/constructors/videoEmpty.md +++ b/old_docs/API_docs_v18/constructors/videoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua videoEmpty={_='videoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v18/constructors/wallPaper.md b/old_docs/API_docs_v18/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v18/constructors/wallPaper.md +++ b/old_docs/API_docs_v18/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v18/constructors/wallPaperSolid.md b/old_docs/API_docs_v18/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v18/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v18/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v18/methods/account_checkUsername.md b/old_docs/API_docs_v18/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v18/methods/account_checkUsername.md +++ b/old_docs/API_docs_v18/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/account_getNotifySettings.md b/old_docs/API_docs_v18/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v18/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v18/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v18/methods/account_getWallPapers.md b/old_docs/API_docs_v18/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v18/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v18/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v18/methods/account_registerDevice.md b/old_docs/API_docs_v18/methods/account_registerDevice.md index bd2b5649..3192933d 100644 --- a/old_docs/API_docs_v18/methods/account_registerDevice.md +++ b/old_docs/API_docs_v18/methods/account_registerDevice.md @@ -30,7 +30,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', device_model='string', system_version='string', app_version='string', app_sandbox=Bool, lang_code='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/account_resetNotifySettings.md b/old_docs/API_docs_v18/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v18/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v18/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v18/methods/account_unregisterDevice.md b/old_docs/API_docs_v18/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v18/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v18/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/account_updateNotifySettings.md b/old_docs/API_docs_v18/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v18/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v18/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v18/methods/account_updateProfile.md b/old_docs/API_docs_v18/methods/account_updateProfile.md index 541086a6..5034a6da 100644 --- a/old_docs/API_docs_v18/methods/account_updateProfile.md +++ b/old_docs/API_docs_v18/methods/account_updateProfile.md @@ -25,7 +25,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ last_name - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/account_updateStatus.md b/old_docs/API_docs_v18/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v18/methods/account_updateStatus.md +++ b/old_docs/API_docs_v18/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v18/methods/account_updateUsername.md b/old_docs/API_docs_v18/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v18/methods/account_updateUsername.md +++ b/old_docs/API_docs_v18/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/auth_checkPhone.md b/old_docs/API_docs_v18/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v18/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v18/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v18/methods/auth_sendCall.md b/old_docs/API_docs_v18/methods/auth_sendCall.md index 70a2870f..e8260454 100644 --- a/old_docs/API_docs_v18/methods/auth_sendCall.md +++ b/old_docs/API_docs_v18/methods/auth_sendCall.md @@ -25,7 +25,7 @@ Send verification phone call ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/auth_sendInvites.md b/old_docs/API_docs_v18/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v18/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v18/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/auth_sendSms.md b/old_docs/API_docs_v18/methods/auth_sendSms.md index 6c31f570..050926ff 100644 --- a/old_docs/API_docs_v18/methods/auth_sendSms.md +++ b/old_docs/API_docs_v18/methods/auth_sendSms.md @@ -25,7 +25,7 @@ Send SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/contacts_block.md b/old_docs/API_docs_v18/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v18/methods/contacts_block.md +++ b/old_docs/API_docs_v18/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v18/methods/contacts_deleteContact.md b/old_docs/API_docs_v18/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v18/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v18/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v18/methods/contacts_deleteContacts.md b/old_docs/API_docs_v18/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v18/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v18/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v18/methods/contacts_exportCard.md b/old_docs/API_docs_v18/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v18/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v18/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v18/methods/contacts_getBlocked.md b/old_docs/API_docs_v18/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v18/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v18/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v18/methods/contacts_getContacts.md b/old_docs/API_docs_v18/methods/contacts_getContacts.md index ccf0f99d..dfa407f2 100644 --- a/old_docs/API_docs_v18/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v18/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/contacts_getStatuses.md b/old_docs/API_docs_v18/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v18/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v18/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v18/methods/contacts_getSuggested.md b/old_docs/API_docs_v18/methods/contacts_getSuggested.md index d7feb718..8183eae4 100644 --- a/old_docs/API_docs_v18/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v18/methods/contacts_getSuggested.md @@ -24,7 +24,7 @@ Get suggested contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v18/methods/contacts_importCard.md b/old_docs/API_docs_v18/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v18/methods/contacts_importCard.md +++ b/old_docs/API_docs_v18/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v18/methods/contacts_importContacts.md b/old_docs/API_docs_v18/methods/contacts_importContacts.md index d0404dd2..f1b17e2c 100644 --- a/old_docs/API_docs_v18/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v18/methods/contacts_importContacts.md @@ -25,7 +25,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ replace - Json encoded Bool Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v18/methods/contacts_search.md b/old_docs/API_docs_v18/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v18/methods/contacts_search.md +++ b/old_docs/API_docs_v18/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v18/methods/contacts_unblock.md b/old_docs/API_docs_v18/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v18/methods/contacts_unblock.md +++ b/old_docs/API_docs_v18/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v18/methods/help_getAppUpdate.md b/old_docs/API_docs_v18/methods/help_getAppUpdate.md index a501cbc5..4bdf36c3 100644 --- a/old_docs/API_docs_v18/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v18/methods/help_getAppUpdate.md @@ -27,7 +27,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/help_getConfig.md b/old_docs/API_docs_v18/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v18/methods/help_getConfig.md +++ b/old_docs/API_docs_v18/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v18/methods/help_getInviteText.md b/old_docs/API_docs_v18/methods/help_getInviteText.md index 1b31e572..797e2ad3 100644 --- a/old_docs/API_docs_v18/methods/help_getInviteText.md +++ b/old_docs/API_docs_v18/methods/help_getInviteText.md @@ -24,7 +24,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/help_getNearestDc.md b/old_docs/API_docs_v18/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v18/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v18/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v18/methods/help_getSupport.md b/old_docs/API_docs_v18/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v18/methods/help_getSupport.md +++ b/old_docs/API_docs_v18/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v18/methods/help_saveAppLog.md b/old_docs/API_docs_v18/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v18/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v18/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v18/methods/initConnection.md b/old_docs/API_docs_v18/methods/initConnection.md index 58cdb067..e34794f8 100644 --- a/old_docs/API_docs_v18/methods/initConnection.md +++ b/old_docs/API_docs_v18/methods/initConnection.md @@ -29,7 +29,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v18/methods/invokeAfterMsg.md b/old_docs/API_docs_v18/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v18/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v18/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v18/methods/invokeAfterMsgs.md b/old_docs/API_docs_v18/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v18/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v18/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v18/methods/invokeWithLayer18.md b/old_docs/API_docs_v18/methods/invokeWithLayer18.md index 934e4095..57abbbb7 100644 --- a/old_docs/API_docs_v18/methods/invokeWithLayer18.md +++ b/old_docs/API_docs_v18/methods/invokeWithLayer18.md @@ -24,7 +24,7 @@ Invoke this method with layer 18 ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer18({query=!X, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_addChatUser.md b/old_docs/API_docs_v18/methods/messages_addChatUser.md index 07f88f50..05a836b6 100644 --- a/old_docs/API_docs_v18/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v18/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_StatedMessage = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_createChat.md b/old_docs/API_docs_v18/methods/messages_createChat.md index 801a3c7e..71b41e14 100644 --- a/old_docs/API_docs_v18/methods/messages_createChat.md +++ b/old_docs/API_docs_v18/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua messages_StatedMessage = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_deleteChatUser.md b/old_docs/API_docs_v18/methods/messages_deleteChatUser.md index 6a3db15d..ee78f262 100644 --- a/old_docs/API_docs_v18/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v18/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_StatedMessage = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_deleteHistory.md b/old_docs/API_docs_v18/methods/messages_deleteHistory.md index 5f04ad57..6c36b930 100644 --- a/old_docs/API_docs_v18/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v18/methods/messages_deleteHistory.md @@ -25,7 +25,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, offset=int, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_deleteMessages.md b/old_docs/API_docs_v18/methods/messages_deleteMessages.md index e835ba35..5d0f8ca0 100644 --- a/old_docs/API_docs_v18/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v18/methods/messages_deleteMessages.md @@ -24,7 +24,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Vector_of_int = messages.deleteMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_editChatPhoto.md b/old_docs/API_docs_v18/methods/messages_editChatPhoto.md index a0564d0d..3195b311 100644 --- a/old_docs/API_docs_v18/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v18/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua messages_StatedMessage = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_editChatTitle.md b/old_docs/API_docs_v18/methods/messages_editChatTitle.md index e51d4f1c..35939d4e 100644 --- a/old_docs/API_docs_v18/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v18/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua messages_StatedMessage = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_forwardMessage.md b/old_docs/API_docs_v18/methods/messages_forwardMessage.md index 5f1ec345..bc58a33c 100644 --- a/old_docs/API_docs_v18/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v18/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua messages_StatedMessage = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_forwardMessages.md b/old_docs/API_docs_v18/methods/messages_forwardMessages.md index 1c990900..456601f9 100644 --- a/old_docs/API_docs_v18/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v18/methods/messages_forwardMessages.md @@ -25,7 +25,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_StatedMessages = messages.forwardMessages({peer=InputPeer, id={int}, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_getChats.md b/old_docs/API_docs_v18/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v18/methods/messages_getChats.md +++ b/old_docs/API_docs_v18/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_getDialogs.md b/old_docs/API_docs_v18/methods/messages_getDialogs.md index c93f1d1c..f0a3fef2 100644 --- a/old_docs/API_docs_v18/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v18/methods/messages_getDialogs.md @@ -26,7 +26,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_getHistory.md b/old_docs/API_docs_v18/methods/messages_getHistory.md index f8240098..26296676 100644 --- a/old_docs/API_docs_v18/methods/messages_getHistory.md +++ b/old_docs/API_docs_v18/methods/messages_getHistory.md @@ -27,7 +27,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_getMessages.md b/old_docs/API_docs_v18/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v18/methods/messages_getMessages.md +++ b/old_docs/API_docs_v18/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_readHistory.md b/old_docs/API_docs_v18/methods/messages_readHistory.md index d9c8528b..7a06c601 100644 --- a/old_docs/API_docs_v18/methods/messages_readHistory.md +++ b/old_docs/API_docs_v18/methods/messages_readHistory.md @@ -27,7 +27,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ read_contents - Json encoded Bool Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.readHistory({peer=InputPeer, max_id=int, offset=int, read_contents=Bool, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_readMessageContents.md b/old_docs/API_docs_v18/methods/messages_readMessageContents.md index aaa5814c..c2c182eb 100644 --- a/old_docs/API_docs_v18/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v18/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Vector_of_int = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_receivedMessages.md b/old_docs/API_docs_v18/methods/messages_receivedMessages.md index 44dc6a71..2597d4c7 100644 --- a/old_docs/API_docs_v18/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v18/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_int = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_reportSpam.md b/old_docs/API_docs_v18/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/old_docs/API_docs_v18/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v18/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_search.md b/old_docs/API_docs_v18/methods/messages_search.md index 4c373c29..b4549f38 100644 --- a/old_docs/API_docs_v18/methods/messages_search.md +++ b/old_docs/API_docs_v18/methods/messages_search.md @@ -31,7 +31,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_sendBroadcast.md b/old_docs/API_docs_v18/methods/messages_sendBroadcast.md index c77c6e1e..f7c63f51 100644 --- a/old_docs/API_docs_v18/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v18/methods/messages_sendBroadcast.md @@ -26,7 +26,7 @@ Send a message to all users in the chat list ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua messages_StatedMessages = messages.sendBroadcast({contacts={InputUser}, message='string', media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_sendEncrypted.md b/old_docs/API_docs_v18/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v18/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v18/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v18/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v18/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v18/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_sendMedia.md b/old_docs/API_docs_v18/methods/messages_sendMedia.md index aedc1fff..f92de740 100644 --- a/old_docs/API_docs_v18/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v18/methods/messages_sendMedia.md @@ -25,7 +25,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua messages_StatedMessage = messages.sendMedia({peer=InputPeer, media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_sendMessage.md b/old_docs/API_docs_v18/methods/messages_sendMessage.md index 4ba067a4..d34dc27d 100644 --- a/old_docs/API_docs_v18/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v18/methods/messages_sendMessage.md @@ -25,7 +25,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua messages_SentMessage = messages.sendMessage({peer=InputPeer, message='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages_setTyping.md b/old_docs/API_docs_v18/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v18/methods/messages_setTyping.md +++ b/old_docs/API_docs_v18/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v18/methods/photos_deletePhotos.md b/old_docs/API_docs_v18/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v18/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v18/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v18/methods/photos_getUserPhotos.md b/old_docs/API_docs_v18/methods/photos_getUserPhotos.md index fef30862..7afef335 100644 --- a/old_docs/API_docs_v18/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v18/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md index 706f0a01..7341e4e7 100644 --- a/old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md @@ -25,7 +25,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md index 99064210..1debfc82 100644 --- a/old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md @@ -27,7 +27,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v18/methods/users_getUsers.md b/old_docs/API_docs_v18/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v18/methods/users_getUsers.md +++ b/old_docs/API_docs_v18/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v18/types/Chat.md b/old_docs/API_docs_v18/types/Chat.md index df8877f9..44d9c78d 100644 --- a/old_docs/API_docs_v18/types/Chat.md +++ b/old_docs/API_docs_v18/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v18/types/InputEncryptedChat.md b/old_docs/API_docs_v18/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v18/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v18/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v18/types/InputEncryptedFile.md b/old_docs/API_docs_v18/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v18/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v18/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v18/types/InputFile.md b/old_docs/API_docs_v18/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v18/types/InputFile.md +++ b/old_docs/API_docs_v18/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v18/types/InputNotifyPeer.md b/old_docs/API_docs_v18/types/InputNotifyPeer.md index ffc1f0cf..f9d0a662 100644 --- a/old_docs/API_docs_v18/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v18/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v18/types/InputPeer.md b/old_docs/API_docs_v18/types/InputPeer.md index 0835e3ca..77f58c16 100644 --- a/old_docs/API_docs_v18/types/InputPeer.md +++ b/old_docs/API_docs_v18/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v18/types/InputUser.md b/old_docs/API_docs_v18/types/InputUser.md index 0294e497..e6fae5b8 100644 --- a/old_docs/API_docs_v18/types/InputUser.md +++ b/old_docs/API_docs_v18/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v18/types/NotifyPeer.md b/old_docs/API_docs_v18/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v18/types/NotifyPeer.md +++ b/old_docs/API_docs_v18/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v18/types/Peer.md b/old_docs/API_docs_v18/types/Peer.md index 9edbf4bb..48d23853 100644 --- a/old_docs/API_docs_v18/types/Peer.md +++ b/old_docs/API_docs_v18/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v18/types/User.md b/old_docs/API_docs_v18/types/User.md index 750d2b96..1598ecc3 100644 --- a/old_docs/API_docs_v18/types/User.md +++ b/old_docs/API_docs_v18/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v23/constructors/accountDaysTTL.md b/old_docs/API_docs_v23/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v23/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v23/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v23/constructors/account_privacyRules.md b/old_docs/API_docs_v23/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v23/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v23/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v23/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v23/constructors/account_sentChangePhoneCode.md index 7bfd04ab..34044265 100644 --- a/old_docs/API_docs_v23/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v23/constructors/account_sentChangePhoneCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; ``` @@ -33,10 +33,9 @@ $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} ``` diff --git a/old_docs/API_docs_v23/constructors/audio.md b/old_docs/API_docs_v23/constructors/audio.md index 1437e1f7..5bc6aa7a 100644 --- a/old_docs/API_docs_v23/constructors/audio.md +++ b/old_docs/API_docs_v23/constructors/audio.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` @@ -39,10 +39,9 @@ $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audio={_='audio', id=long, access_hash=long, user_id=int, date=int, duration=int, mime_type='string', size=int, dc_id=int} ``` diff --git a/old_docs/API_docs_v23/constructors/audioEmpty.md b/old_docs/API_docs_v23/constructors/audioEmpty.md index 2b0ed960..846367f4 100644 --- a/old_docs/API_docs_v23/constructors/audioEmpty.md +++ b/old_docs/API_docs_v23/constructors/audioEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audioEmpty={_='audioEmpty', id=long} ``` diff --git a/old_docs/API_docs_v23/constructors/auth_authorization.md b/old_docs/API_docs_v23/constructors/auth_authorization.md index f9d870b4..84f70ba6 100644 --- a/old_docs/API_docs_v23/constructors/auth_authorization.md +++ b/old_docs/API_docs_v23/constructors/auth_authorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User]; ``` @@ -33,10 +33,9 @@ $auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_authorization={_='auth.authorization', expires=int, user=User} ``` diff --git a/old_docs/API_docs_v23/constructors/auth_checkedPhone.md b/old_docs/API_docs_v23/constructors/auth_checkedPhone.md index 2b62b216..5bf55682 100644 --- a/old_docs/API_docs_v23/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v23/constructors/auth_checkedPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, 'phone_invited' => Bool]; ``` @@ -33,10 +33,9 @@ $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, phone_invited=Bool} ``` diff --git a/old_docs/API_docs_v23/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v23/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v23/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v23/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v23/constructors/auth_sentAppCode.md b/old_docs/API_docs_v23/constructors/auth_sentAppCode.md index 1f354541..ec13efba 100644 --- a/old_docs/API_docs_v23/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v23/constructors/auth_sentAppCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'pho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v23/constructors/auth_sentCode.md b/old_docs/API_docs_v23/constructors/auth_sentCode.md index 01834b65..2b5301e1 100644 --- a/old_docs/API_docs_v23/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v23/constructors/auth_sentCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v23/constructors/chat.md b/old_docs/API_docs_v23/constructors/chat.md index 6bfb3651..d197bfc9 100644 --- a/old_docs/API_docs_v23/constructors/chat.md +++ b/old_docs/API_docs_v23/constructors/chat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chat = ['_' => 'chat', 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int]; ``` @@ -38,10 +38,9 @@ $chat = ['_' => 'chat', 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chat={_='chat', id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, left=Bool, version=int} ``` diff --git a/old_docs/API_docs_v23/constructors/chatEmpty.md b/old_docs/API_docs_v23/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v23/constructors/chatEmpty.md +++ b/old_docs/API_docs_v23/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v23/constructors/chatForbidden.md b/old_docs/API_docs_v23/constructors/chatForbidden.md index ecbb3ed8..76708ada 100644 --- a/old_docs/API_docs_v23/constructors/chatForbidden.md +++ b/old_docs/API_docs_v23/constructors/chatForbidden.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string', 'date' => int]; ``` @@ -34,10 +34,9 @@ $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string', 'dat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatForbidden={_='chatForbidden', id=int, title='string', date=int} ``` diff --git a/old_docs/API_docs_v23/constructors/chatFull.md b/old_docs/API_docs_v23/constructors/chatFull.md index 11b5d9fb..9e090a52 100644 --- a/old_docs/API_docs_v23/constructors/chatFull.md +++ b/old_docs/API_docs_v23/constructors/chatFull.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v23/constructors/chatParticipant.md b/old_docs/API_docs_v23/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v23/constructors/chatParticipant.md +++ b/old_docs/API_docs_v23/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v23/constructors/chatParticipants.md b/old_docs/API_docs_v23/constructors/chatParticipants.md index d4acc517..5acbb81c 100644 --- a/old_docs/API_docs_v23/constructors/chatParticipants.md +++ b/old_docs/API_docs_v23/constructors/chatParticipants.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -35,10 +35,9 @@ $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipants={_='chatParticipants', chat_id=int, admin_id=int, participants={ChatParticipant}, version=int} ``` diff --git a/old_docs/API_docs_v23/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v23/constructors/chatParticipantsForbidden.md index c3b4c007..c6bb546b 100644 --- a/old_docs/API_docs_v23/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v23/constructors/chatParticipantsForbidden.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int} ``` diff --git a/old_docs/API_docs_v23/constructors/chatPhoto.md b/old_docs/API_docs_v23/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v23/constructors/chatPhoto.md +++ b/old_docs/API_docs_v23/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v23/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v23/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v23/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v23/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/config.md b/old_docs/API_docs_v23/constructors/config.md index 86492663..da7d6ea1 100644 --- a/old_docs/API_docs_v23/constructors/config.md +++ b/old_docs/API_docs_v23/constructors/config.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_big_size' => int, 'chat_size_max' => int, 'broadcast_size_max' => int, 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -40,10 +40,9 @@ $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_big_size=int, chat_size_max=int, broadcast_size_max=int, disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v23/constructors/contact.md b/old_docs/API_docs_v23/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v23/constructors/contact.md +++ b/old_docs/API_docs_v23/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v23/constructors/contactBlocked.md b/old_docs/API_docs_v23/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v23/constructors/contactBlocked.md +++ b/old_docs/API_docs_v23/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v23/constructors/contactFound.md b/old_docs/API_docs_v23/constructors/contactFound.md index b7f22e4c..ecf6b905 100644 --- a/old_docs/API_docs_v23/constructors/contactFound.md +++ b/old_docs/API_docs_v23/constructors/contactFound.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactFound = ['_' => 'contactFound', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $contactFound = ['_' => 'contactFound', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactFound={_='contactFound', user_id=int} ``` diff --git a/old_docs/API_docs_v23/constructors/contactStatus.md b/old_docs/API_docs_v23/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v23/constructors/contactStatus.md +++ b/old_docs/API_docs_v23/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v23/constructors/contactSuggested.md b/old_docs/API_docs_v23/constructors/contactSuggested.md index 7dc8105c..e90bf7c9 100644 --- a/old_docs/API_docs_v23/constructors/contactSuggested.md +++ b/old_docs/API_docs_v23/constructors/contactSuggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` @@ -33,10 +33,9 @@ $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int} ``` diff --git a/old_docs/API_docs_v23/constructors/contacts_blocked.md b/old_docs/API_docs_v23/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v23/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v23/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v23/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v23/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v23/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v23/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v23/constructors/contacts_contacts.md b/old_docs/API_docs_v23/constructors/contacts_contacts.md index 34dae91a..ea16b38a 100644 --- a/old_docs/API_docs_v23/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v23/constructors/contacts_contacts.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} ``` diff --git a/old_docs/API_docs_v23/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v23/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v23/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v23/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v23/constructors/contacts_foreignLinkMutual.md b/old_docs/API_docs_v23/constructors/contacts_foreignLinkMutual.md index 6d9551d9..8de4af0a 100644 --- a/old_docs/API_docs_v23/constructors/contacts_foreignLinkMutual.md +++ b/old_docs/API_docs_v23/constructors/contacts_foreignLinkMutual.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_foreignLinkMutual = ['_' => 'contacts.foreignLinkMutual']; ``` @@ -27,10 +27,9 @@ $contacts_foreignLinkMutual = ['_' => 'contacts.foreignLinkMutual']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_foreignLinkMutual={_='contacts.foreignLinkMutual'} ``` diff --git a/old_docs/API_docs_v23/constructors/contacts_foreignLinkRequested.md b/old_docs/API_docs_v23/constructors/contacts_foreignLinkRequested.md index d8ccc178..3fc01bf3 100644 --- a/old_docs/API_docs_v23/constructors/contacts_foreignLinkRequested.md +++ b/old_docs/API_docs_v23/constructors/contacts_foreignLinkRequested.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_foreignLinkRequested = ['_' => 'contacts.foreignLinkRequested', 'has_phone' => Bool]; ``` @@ -32,10 +32,9 @@ $contacts_foreignLinkRequested = ['_' => 'contacts.foreignLinkRequested', 'has_p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_foreignLinkRequested={_='contacts.foreignLinkRequested', has_phone=Bool} ``` diff --git a/old_docs/API_docs_v23/constructors/contacts_foreignLinkUnknown.md b/old_docs/API_docs_v23/constructors/contacts_foreignLinkUnknown.md index 0a693448..421205f0 100644 --- a/old_docs/API_docs_v23/constructors/contacts_foreignLinkUnknown.md +++ b/old_docs/API_docs_v23/constructors/contacts_foreignLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_foreignLinkUnknown = ['_' => 'contacts.foreignLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contacts_foreignLinkUnknown = ['_' => 'contacts.foreignLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_foreignLinkUnknown={_='contacts.foreignLinkUnknown'} ``` diff --git a/old_docs/API_docs_v23/constructors/contacts_found.md b/old_docs/API_docs_v23/constructors/contacts_found.md index ba0c9b31..940558ab 100644 --- a/old_docs/API_docs_v23/constructors/contacts_found.md +++ b/old_docs/API_docs_v23/constructors/contacts_found.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactFound], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactF ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={ContactFound}, users={User}} ``` diff --git a/old_docs/API_docs_v23/constructors/contacts_importedContacts.md b/old_docs/API_docs_v23/constructors/contacts_importedContacts.md index 7bf9c1bf..8b9012bb 100644 --- a/old_docs/API_docs_v23/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v23/constructors/contacts_importedContacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v23/constructors/contacts_link.md b/old_docs/API_docs_v23/constructors/contacts_link.md index ef32e482..22768be7 100644 --- a/old_docs/API_docs_v23/constructors/contacts_link.md +++ b/old_docs/API_docs_v23/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => contacts_MyLink, 'foreign ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=contacts_MyLink, foreign_link=contacts_ForeignLink, user=User} ``` diff --git a/old_docs/API_docs_v23/constructors/contacts_myLinkContact.md b/old_docs/API_docs_v23/constructors/contacts_myLinkContact.md index 7ddfca89..5cec6577 100644 --- a/old_docs/API_docs_v23/constructors/contacts_myLinkContact.md +++ b/old_docs/API_docs_v23/constructors/contacts_myLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_myLinkContact = ['_' => 'contacts.myLinkContact']; ``` @@ -27,10 +27,9 @@ $contacts_myLinkContact = ['_' => 'contacts.myLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_myLinkContact={_='contacts.myLinkContact'} ``` diff --git a/old_docs/API_docs_v23/constructors/contacts_myLinkEmpty.md b/old_docs/API_docs_v23/constructors/contacts_myLinkEmpty.md index df6920cf..999b470c 100644 --- a/old_docs/API_docs_v23/constructors/contacts_myLinkEmpty.md +++ b/old_docs/API_docs_v23/constructors/contacts_myLinkEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_myLinkEmpty = ['_' => 'contacts.myLinkEmpty']; ``` @@ -27,10 +27,9 @@ $contacts_myLinkEmpty = ['_' => 'contacts.myLinkEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_myLinkEmpty={_='contacts.myLinkEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/contacts_myLinkRequested.md b/old_docs/API_docs_v23/constructors/contacts_myLinkRequested.md index ac03841c..f8962def 100644 --- a/old_docs/API_docs_v23/constructors/contacts_myLinkRequested.md +++ b/old_docs/API_docs_v23/constructors/contacts_myLinkRequested.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_myLinkRequested = ['_' => 'contacts.myLinkRequested', 'contact' => Bool]; ``` @@ -32,10 +32,9 @@ $contacts_myLinkRequested = ['_' => 'contacts.myLinkRequested', 'contact' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_myLinkRequested={_='contacts.myLinkRequested', contact=Bool} ``` diff --git a/old_docs/API_docs_v23/constructors/contacts_suggested.md b/old_docs/API_docs_v23/constructors/contacts_suggested.md index 553cebcb..2659d855 100644 --- a/old_docs/API_docs_v23/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v23/constructors/contacts_suggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggest ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} ``` diff --git a/old_docs/API_docs_v23/constructors/dcOption.md b/old_docs/API_docs_v23/constructors/dcOption.md index 60a8e673..62331b41 100644 --- a/old_docs/API_docs_v23/constructors/dcOption.md +++ b/old_docs/API_docs_v23/constructors/dcOption.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => 'string', 'ip_address' => 'string', 'port' => int]; ``` @@ -35,10 +35,9 @@ $dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => 'string', 'ip_address ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', id=int, hostname='string', ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v23/constructors/dialog.md b/old_docs/API_docs_v23/constructors/dialog.md index f4cc7bad..e89240fe 100644 --- a/old_docs/API_docs_v23/constructors/dialog.md +++ b/old_docs/API_docs_v23/constructors/dialog.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` @@ -35,10 +35,9 @@ $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'unread_count' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', peer=Peer, top_message=int, unread_count=int, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v23/constructors/disabledFeature.md b/old_docs/API_docs_v23/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v23/constructors/disabledFeature.md +++ b/old_docs/API_docs_v23/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v23/constructors/document.md b/old_docs/API_docs_v23/constructors/document.md index 8719d873..e9547f1f 100644 --- a/old_docs/API_docs_v23/constructors/document.md +++ b/old_docs/API_docs_v23/constructors/document.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -39,10 +39,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v23/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v23/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v23/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v23/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v23/constructors/documentAttributeAudio.md b/old_docs/API_docs_v23/constructors/documentAttributeAudio.md index c97e3289..c992cb0a 100644 --- a/old_docs/API_docs_v23/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v23/constructors/documentAttributeAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int]; ``` @@ -32,10 +32,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', duration=int} ``` diff --git a/old_docs/API_docs_v23/constructors/documentAttributeFilename.md b/old_docs/API_docs_v23/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v23/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v23/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v23/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v23/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v23/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v23/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v23/constructors/documentAttributeSticker.md b/old_docs/API_docs_v23/constructors/documentAttributeSticker.md index ee0e4fa4..719e9cac 100644 --- a/old_docs/API_docs_v23/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v23/constructors/documentAttributeSticker.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker']; ``` @@ -27,10 +27,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker'} ``` diff --git a/old_docs/API_docs_v23/constructors/documentAttributeVideo.md b/old_docs/API_docs_v23/constructors/documentAttributeVideo.md index 0902c118..cc7ffced 100644 --- a/old_docs/API_docs_v23/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v23/constructors/documentAttributeVideo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -34,10 +34,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v23/constructors/documentEmpty.md b/old_docs/API_docs_v23/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v23/constructors/documentEmpty.md +++ b/old_docs/API_docs_v23/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v23/constructors/encryptedChat.md b/old_docs/API_docs_v23/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v23/constructors/encryptedChat.md +++ b/old_docs/API_docs_v23/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v23/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v23/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v23/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v23/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v23/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v23/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v23/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v23/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v23/constructors/encryptedChatRequested.md b/old_docs/API_docs_v23/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v23/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v23/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v23/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v23/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v23/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v23/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v23/constructors/encryptedFile.md b/old_docs/API_docs_v23/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v23/constructors/encryptedFile.md +++ b/old_docs/API_docs_v23/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v23/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v23/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v23/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v23/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/encryptedMessage.md b/old_docs/API_docs_v23/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v23/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v23/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v23/constructors/encryptedMessageService.md b/old_docs/API_docs_v23/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v23/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v23/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v23/constructors/error.md b/old_docs/API_docs_v23/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v23/constructors/error.md +++ b/old_docs/API_docs_v23/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v23/constructors/fileLocation.md b/old_docs/API_docs_v23/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v23/constructors/fileLocation.md +++ b/old_docs/API_docs_v23/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v23/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v23/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v23/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v23/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v23/constructors/geoPoint.md b/old_docs/API_docs_v23/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v23/constructors/geoPoint.md +++ b/old_docs/API_docs_v23/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v23/constructors/geoPointEmpty.md b/old_docs/API_docs_v23/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v23/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v23/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/help_appUpdate.md b/old_docs/API_docs_v23/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v23/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v23/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v23/constructors/help_inviteText.md b/old_docs/API_docs_v23/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v23/constructors/help_inviteText.md +++ b/old_docs/API_docs_v23/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v23/constructors/help_noAppUpdate.md b/old_docs/API_docs_v23/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v23/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v23/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v23/constructors/help_support.md b/old_docs/API_docs_v23/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v23/constructors/help_support.md +++ b/old_docs/API_docs_v23/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v23/constructors/importedContact.md b/old_docs/API_docs_v23/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v23/constructors/importedContact.md +++ b/old_docs/API_docs_v23/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v23/constructors/inputAppEvent.md b/old_docs/API_docs_v23/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v23/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v23/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputAudio.md b/old_docs/API_docs_v23/constructors/inputAudio.md index c428307e..ac1c82e3 100644 --- a/old_docs/API_docs_v23/constructors/inputAudio.md +++ b/old_docs/API_docs_v23/constructors/inputAudio.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudio={_='inputAudio', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v23/constructors/inputAudioEmpty.md b/old_docs/API_docs_v23/constructors/inputAudioEmpty.md index a84b3e67..b0b4e934 100644 --- a/old_docs/API_docs_v23/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputAudioEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` @@ -27,10 +27,9 @@ $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v23/constructors/inputAudioFileLocation.md index f95ad919..a2633244 100644 --- a/old_docs/API_docs_v23/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v23/constructors/inputAudioFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v23/constructors/inputChatPhoto.md b/old_docs/API_docs_v23/constructors/inputChatPhoto.md index 5affda9a..7ad8a3f7 100644 --- a/old_docs/API_docs_v23/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v23/constructors/inputChatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputP ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v23/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v23/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v23/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v23/constructors/inputChatUploadedPhoto.md index a22405b2..ed0624da 100644 --- a/old_docs/API_docs_v23/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v23/constructors/inputChatUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v23/constructors/inputDocument.md b/old_docs/API_docs_v23/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v23/constructors/inputDocument.md +++ b/old_docs/API_docs_v23/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v23/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v23/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v23/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v23/constructors/inputDocumentFileLocation.md index 2ba7d2b3..5d593784 100644 --- a/old_docs/API_docs_v23/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v23/constructors/inputDocumentFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v23/constructors/inputEncryptedChat.md b/old_docs/API_docs_v23/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v23/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v23/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v23/constructors/inputEncryptedFile.md b/old_docs/API_docs_v23/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v23/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v23/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v23/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v23/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v23/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v23/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v23/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v23/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v23/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v23/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v23/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v23/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v23/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v23/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v23/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v23/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v23/constructors/inputFile.md b/old_docs/API_docs_v23/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v23/constructors/inputFile.md +++ b/old_docs/API_docs_v23/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputFileBig.md b/old_docs/API_docs_v23/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v23/constructors/inputFileBig.md +++ b/old_docs/API_docs_v23/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputFileLocation.md b/old_docs/API_docs_v23/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v23/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v23/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v23/constructors/inputGeoPoint.md b/old_docs/API_docs_v23/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v23/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v23/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v23/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v23/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v23/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMediaAudio.md b/old_docs/API_docs_v23/constructors/inputMediaAudio.md index 6ebbe6ec..6c166ec0 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v23/constructors/inputMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` @@ -32,10 +32,9 @@ $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaAudio={_='inputMediaAudio', id=InputAudio} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMediaContact.md b/old_docs/API_docs_v23/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v23/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMediaDocument.md b/old_docs/API_docs_v23/constructors/inputMediaDocument.md index f652113b..f671c3e5 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v23/constructors/inputMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` @@ -32,10 +32,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMediaEmpty.md b/old_docs/API_docs_v23/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v23/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v23/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMediaPhoto.md b/old_docs/API_docs_v23/constructors/inputMediaPhoto.md index df83d46f..05346b80 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v23/constructors/inputMediaPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v23/constructors/inputMediaUploadedAudio.md index 4eb4cb85..73fcb4f8 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v23/constructors/inputMediaUploadedAudio.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type='string'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v23/constructors/inputMediaUploadedDocument.md index 06758275..e89ad515 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v23/constructors/inputMediaUploadedDocument.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v23/constructors/inputMediaUploadedPhoto.md index d76c47b1..1866756e 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v23/constructors/inputMediaUploadedPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile]; ``` @@ -32,10 +32,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v23/constructors/inputMediaUploadedThumbDocument.md index eea9edcd..b98b9004 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v23/constructors/inputMediaUploadedThumbDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -35,10 +35,9 @@ $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v23/constructors/inputMediaUploadedThumbVideo.md index f3e77fbc..eb4669b5 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v23/constructors/inputMediaUploadedThumbVideo.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string']; ``` @@ -37,10 +37,9 @@ $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type='string'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v23/constructors/inputMediaUploadedVideo.md index 14405246..571081ff 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v23/constructors/inputMediaUploadedVideo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type='string'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMediaVideo.md b/old_docs/API_docs_v23/constructors/inputMediaVideo.md index e9d29400..27892968 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v23/constructors/inputMediaVideo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo]; ``` @@ -32,10 +32,9 @@ $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVideo={_='inputMediaVideo', id=InputVideo} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterAudio.md index 066b1642..79c822fc 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterAudio.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterAudioDocuments.md index 7badd17c..a8963d46 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterAudioDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterGif.md index 94698ecd..a3a51104 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputNotifyAll.md b/old_docs/API_docs_v23/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v23/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v23/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputNotifyChats.md b/old_docs/API_docs_v23/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v23/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v23/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputNotifyPeer.md b/old_docs/API_docs_v23/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v23/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v23/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v23/constructors/inputNotifyUsers.md b/old_docs/API_docs_v23/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v23/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v23/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPeerChat.md b/old_docs/API_docs_v23/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v23/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPeerContact.md b/old_docs/API_docs_v23/constructors/inputPeerContact.md index d5c14923..2749ea3a 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerContact.md +++ b/old_docs/API_docs_v23/constructors/inputPeerContact.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerContact={_='inputPeerContact', user_id=int} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPeerEmpty.md b/old_docs/API_docs_v23/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPeerForeign.md b/old_docs/API_docs_v23/constructors/inputPeerForeign.md index 260746f3..45945367 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerForeign.md +++ b/old_docs/API_docs_v23/constructors/inputPeerForeign.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerForeign={_='inputPeerForeign', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v23/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v23/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v23/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v23/constructors/inputPeerNotifySettings.md index ce1896bb..a600e880 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v23/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPeerSelf.md b/old_docs/API_docs_v23/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v23/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPhoneContact.md b/old_docs/API_docs_v23/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v23/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v23/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPhoto.md b/old_docs/API_docs_v23/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v23/constructors/inputPhoto.md +++ b/old_docs/API_docs_v23/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPhotoCrop.md b/old_docs/API_docs_v23/constructors/inputPhotoCrop.md index b35bf42f..e90029a9 100644 --- a/old_docs/API_docs_v23/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v23/constructors/inputPhotoCrop.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` @@ -34,10 +34,9 @@ $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v23/constructors/inputPhotoCropAuto.md index 6c2f121d..37414b14 100644 --- a/old_docs/API_docs_v23/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v23/constructors/inputPhotoCropAuto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` @@ -27,10 +27,9 @@ $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v23/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v23/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v23/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v23/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v23/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v23/constructors/inputReportReasonOther.md b/old_docs/API_docs_v23/constructors/inputReportReasonOther.md index 361582bd..4dbffa18 100644 --- a/old_docs/API_docs_v23/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v23/constructors/inputReportReasonOther.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonOther={_='inputReportReasonOther', text='string'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v23/constructors/inputReportReasonPornography.md index c18c71d3..5c80f096 100644 --- a/old_docs/API_docs_v23/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v23/constructors/inputReportReasonPornography.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` @@ -27,10 +27,9 @@ $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v23/constructors/inputReportReasonSpam.md index 19ed6687..75d59861 100644 --- a/old_docs/API_docs_v23/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v23/constructors/inputReportReasonSpam.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` @@ -27,10 +27,9 @@ $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v23/constructors/inputReportReasonViolence.md index 10fbce47..28d27e85 100644 --- a/old_docs/API_docs_v23/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v23/constructors/inputReportReasonViolence.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` @@ -27,10 +27,9 @@ $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputUserContact.md b/old_docs/API_docs_v23/constructors/inputUserContact.md index 430975d0..e7541daf 100644 --- a/old_docs/API_docs_v23/constructors/inputUserContact.md +++ b/old_docs/API_docs_v23/constructors/inputUserContact.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserContact = ['_' => 'inputUserContact', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $inputUserContact = ['_' => 'inputUserContact', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserContact={_='inputUserContact', user_id=int} ``` diff --git a/old_docs/API_docs_v23/constructors/inputUserEmpty.md b/old_docs/API_docs_v23/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v23/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputUserForeign.md b/old_docs/API_docs_v23/constructors/inputUserForeign.md index f9e8791d..9c2c8ef8 100644 --- a/old_docs/API_docs_v23/constructors/inputUserForeign.md +++ b/old_docs/API_docs_v23/constructors/inputUserForeign.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserForeign={_='inputUserForeign', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v23/constructors/inputUserSelf.md b/old_docs/API_docs_v23/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v23/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v23/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputVideo.md b/old_docs/API_docs_v23/constructors/inputVideo.md index 4ea87c56..b3874cd7 100644 --- a/old_docs/API_docs_v23/constructors/inputVideo.md +++ b/old_docs/API_docs_v23/constructors/inputVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideo={_='inputVideo', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v23/constructors/inputVideoEmpty.md b/old_docs/API_docs_v23/constructors/inputVideoEmpty.md index b69984f7..5322ed90 100644 --- a/old_docs/API_docs_v23/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputVideoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` @@ -27,10 +27,9 @@ $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v23/constructors/inputVideoFileLocation.md index 2692222e..d9a3f678 100644 --- a/old_docs/API_docs_v23/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v23/constructors/inputVideoFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v23/constructors/message.md b/old_docs/API_docs_v23/constructors/message.md index 8bd4c715..75046385 100644 --- a/old_docs/API_docs_v23/constructors/message.md +++ b/old_docs/API_docs_v23/constructors/message.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => 'string', 'media' => MessageMedia]; ``` @@ -37,10 +37,9 @@ $message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', id=int, from_id=int, to_id=Peer, date=int, message='string', media=MessageMedia} ``` diff --git a/old_docs/API_docs_v23/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v23/constructors/messageActionChatAddUser.md index 1ea1d425..4decc491 100644 --- a/old_docs/API_docs_v23/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v23/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', user_id=int} ``` diff --git a/old_docs/API_docs_v23/constructors/messageActionChatCreate.md b/old_docs/API_docs_v23/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v23/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v23/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v23/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v23/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v23/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v23/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v23/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v23/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v23/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v23/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v23/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v23/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v23/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v23/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v23/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v23/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v23/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v23/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v23/constructors/messageActionEmpty.md b/old_docs/API_docs_v23/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v23/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v23/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/messageEmpty.md b/old_docs/API_docs_v23/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v23/constructors/messageEmpty.md +++ b/old_docs/API_docs_v23/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v23/constructors/messageForwarded.md b/old_docs/API_docs_v23/constructors/messageForwarded.md index 881e0958..35954098 100644 --- a/old_docs/API_docs_v23/constructors/messageForwarded.md +++ b/old_docs/API_docs_v23/constructors/messageForwarded.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageForwarded = ['_' => 'messageForwarded', 'id' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => 'string', 'media' => MessageMedia]; ``` @@ -39,10 +39,9 @@ $messageForwarded = ['_' => 'messageForwarded', 'id' => int, 'fwd_from_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageForwarded={_='messageForwarded', id=int, fwd_from_id=int, fwd_date=int, from_id=int, to_id=Peer, date=int, message='string', media=MessageMedia} ``` diff --git a/old_docs/API_docs_v23/constructors/messageMediaAudio.md b/old_docs/API_docs_v23/constructors/messageMediaAudio.md index c2970836..4f350752 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v23/constructors/messageMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` @@ -32,10 +32,9 @@ $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaAudio={_='messageMediaAudio', audio=Audio} ``` diff --git a/old_docs/API_docs_v23/constructors/messageMediaContact.md b/old_docs/API_docs_v23/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v23/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v23/constructors/messageMediaDocument.md b/old_docs/API_docs_v23/constructors/messageMediaDocument.md index c0a7272c..c08a097b 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v23/constructors/messageMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` @@ -32,10 +32,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document} ``` diff --git a/old_docs/API_docs_v23/constructors/messageMediaEmpty.md b/old_docs/API_docs_v23/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v23/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/messageMediaGeo.md b/old_docs/API_docs_v23/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v23/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v23/constructors/messageMediaPhoto.md b/old_docs/API_docs_v23/constructors/messageMediaPhoto.md index 5560d5b8..1e79fea8 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v23/constructors/messageMediaPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v23/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v23/constructors/messageMediaUnsupported.md index aac88ffa..63e0dc30 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v23/constructors/messageMediaUnsupported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', 'bytes' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', 'bytes' => 'bytes' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported', bytes='bytes'} ``` diff --git a/old_docs/API_docs_v23/constructors/messageMediaVideo.md b/old_docs/API_docs_v23/constructors/messageMediaVideo.md index cc4b488b..4b8b3eca 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v23/constructors/messageMediaVideo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video]; ``` @@ -32,10 +32,9 @@ $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVideo={_='messageMediaVideo', video=Video} ``` diff --git a/old_docs/API_docs_v23/constructors/messageService.md b/old_docs/API_docs_v23/constructors/messageService.md index 37d1d69b..20bb88af 100644 --- a/old_docs/API_docs_v23/constructors/messageService.md +++ b/old_docs/API_docs_v23/constructors/messageService.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` @@ -36,10 +36,9 @@ $messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', id=int, from_id=int, to_id=Peer, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v23/constructors/messages_affectedHistory.md b/old_docs/API_docs_v23/constructors/messages_affectedHistory.md index cc86fdb1..7d8c6cb3 100644 --- a/old_docs/API_docs_v23/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v23/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'seq' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, seq=int, offset=int} ``` diff --git a/old_docs/API_docs_v23/constructors/messages_allStickers.md b/old_docs/API_docs_v23/constructors/messages_allStickers.md index e845c936..2f60827f 100644 --- a/old_docs/API_docs_v23/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v23/constructors/messages_allStickers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'pac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash='string', packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v23/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v23/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v23/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v23/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v23/constructors/messages_chatFull.md b/old_docs/API_docs_v23/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v23/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v23/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v23/constructors/messages_chats.md b/old_docs/API_docs_v23/constructors/messages_chats.md index 8fbff7d4..abb248ce 100644 --- a/old_docs/API_docs_v23/constructors/messages_chats.md +++ b/old_docs/API_docs_v23/constructors/messages_chats.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v23/constructors/messages_dhConfig.md b/old_docs/API_docs_v23/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v23/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v23/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v23/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v23/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v23/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v23/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v23/constructors/messages_dialogs.md b/old_docs/API_docs_v23/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v23/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v23/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v23/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v23/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v23/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v23/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v23/constructors/messages_messages.md b/old_docs/API_docs_v23/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v23/constructors/messages_messages.md +++ b/old_docs/API_docs_v23/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v23/constructors/messages_messagesSlice.md b/old_docs/API_docs_v23/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v23/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v23/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v23/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v23/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v23/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v23/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v23/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v23/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v23/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v23/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v23/constructors/messages_sentMessage.md b/old_docs/API_docs_v23/constructors/messages_sentMessage.md index 4f8c1de8..0a27fc6a 100644 --- a/old_docs/API_docs_v23/constructors/messages_sentMessage.md +++ b/old_docs/API_docs_v23/constructors/messages_sentMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int]; ``` @@ -35,10 +35,9 @@ $messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentMessage={_='messages.sentMessage', id=int, date=int, pts=int, seq=int} ``` diff --git a/old_docs/API_docs_v23/constructors/messages_sentMessageLink.md b/old_docs/API_docs_v23/constructors/messages_sentMessageLink.md index 325f54d2..3ecc3456 100644 --- a/old_docs/API_docs_v23/constructors/messages_sentMessageLink.md +++ b/old_docs/API_docs_v23/constructors/messages_sentMessageLink.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, 'links' => [contacts_Link, contacts_Link]]; ``` @@ -36,10 +36,9 @@ $messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'da ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, pts=int, seq=int, links={contacts_Link}} ``` diff --git a/old_docs/API_docs_v23/constructors/messages_statedMessage.md b/old_docs/API_docs_v23/constructors/messages_statedMessage.md index 96e69928..028ed90e 100644 --- a/old_docs/API_docs_v23/constructors/messages_statedMessage.md +++ b/old_docs/API_docs_v23/constructors/messages_statedMessage.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_statedMessage = ['_' => 'messages.statedMessage', 'message' => Message, 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $messages_statedMessage = ['_' => 'messages.statedMessage', 'message' => Message ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_statedMessage={_='messages.statedMessage', message=Message, chats={Chat}, users={User}, pts=int, seq=int} ``` diff --git a/old_docs/API_docs_v23/constructors/messages_statedMessageLink.md b/old_docs/API_docs_v23/constructors/messages_statedMessageLink.md index 1491196f..9b6b7855 100644 --- a/old_docs/API_docs_v23/constructors/messages_statedMessageLink.md +++ b/old_docs/API_docs_v23/constructors/messages_statedMessageLink.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat, Chat], 'users' => [User, User], 'links' => [contacts_Link, contacts_Link], 'pts' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_statedMessageLink={_='messages.statedMessageLink', message=Message, chats={Chat}, users={User}, links={contacts_Link}, pts=int, seq=int} ``` diff --git a/old_docs/API_docs_v23/constructors/messages_statedMessages.md b/old_docs/API_docs_v23/constructors/messages_statedMessages.md index 72ee4520..9b7d95c5 100644 --- a/old_docs/API_docs_v23/constructors/messages_statedMessages.md +++ b/old_docs/API_docs_v23/constructors/messages_statedMessages.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_statedMessages = ['_' => 'messages.statedMessages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $messages_statedMessages = ['_' => 'messages.statedMessages', 'messages' => [Mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_statedMessages={_='messages.statedMessages', messages={Message}, chats={Chat}, users={User}, pts=int, seq=int} ``` diff --git a/old_docs/API_docs_v23/constructors/messages_statedMessagesLinks.md b/old_docs/API_docs_v23/constructors/messages_statedMessagesLinks.md index c9e6d041..c3ceda03 100644 --- a/old_docs/API_docs_v23/constructors/messages_statedMessagesLinks.md +++ b/old_docs/API_docs_v23/constructors/messages_statedMessagesLinks.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'links' => [contacts_Link, contacts_Link], 'pts' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'message ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_statedMessagesLinks={_='messages.statedMessagesLinks', messages={Message}, chats={Chat}, users={User}, links={contacts_Link}, pts=int, seq=int} ``` diff --git a/old_docs/API_docs_v23/constructors/messages_stickers.md b/old_docs/API_docs_v23/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v23/constructors/messages_stickers.md +++ b/old_docs/API_docs_v23/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v23/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v23/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v23/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v23/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v23/constructors/nearestDc.md b/old_docs/API_docs_v23/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v23/constructors/nearestDc.md +++ b/old_docs/API_docs_v23/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v23/constructors/notifyAll.md b/old_docs/API_docs_v23/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v23/constructors/notifyAll.md +++ b/old_docs/API_docs_v23/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v23/constructors/notifyChats.md b/old_docs/API_docs_v23/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v23/constructors/notifyChats.md +++ b/old_docs/API_docs_v23/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v23/constructors/notifyPeer.md b/old_docs/API_docs_v23/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v23/constructors/notifyPeer.md +++ b/old_docs/API_docs_v23/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v23/constructors/notifyUsers.md b/old_docs/API_docs_v23/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v23/constructors/notifyUsers.md +++ b/old_docs/API_docs_v23/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v23/constructors/peerChat.md b/old_docs/API_docs_v23/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v23/constructors/peerChat.md +++ b/old_docs/API_docs_v23/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v23/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v23/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v23/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v23/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v23/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v23/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v23/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v23/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/peerNotifySettings.md b/old_docs/API_docs_v23/constructors/peerNotifySettings.md index 513132f4..12c5bbb9 100644 --- a/old_docs/API_docs_v23/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v23/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v23/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v23/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v23/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v23/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/peerUser.md b/old_docs/API_docs_v23/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v23/constructors/peerUser.md +++ b/old_docs/API_docs_v23/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v23/constructors/photo.md b/old_docs/API_docs_v23/constructors/photo.md index 469d7852..1f836f7f 100644 --- a/old_docs/API_docs_v23/constructors/photo.md +++ b/old_docs/API_docs_v23/constructors/photo.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => 'string', 'geo' => GeoPoint, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -38,10 +38,9 @@ $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', id=long, access_hash=long, user_id=int, date=int, caption='string', geo=GeoPoint, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v23/constructors/photoCachedSize.md b/old_docs/API_docs_v23/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v23/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v23/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v23/constructors/photoEmpty.md b/old_docs/API_docs_v23/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v23/constructors/photoEmpty.md +++ b/old_docs/API_docs_v23/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v23/constructors/photoSize.md b/old_docs/API_docs_v23/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v23/constructors/photoSize.md +++ b/old_docs/API_docs_v23/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v23/constructors/photoSizeEmpty.md b/old_docs/API_docs_v23/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v23/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v23/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v23/constructors/photos_photo.md b/old_docs/API_docs_v23/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v23/constructors/photos_photo.md +++ b/old_docs/API_docs_v23/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v23/constructors/photos_photos.md b/old_docs/API_docs_v23/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v23/constructors/photos_photos.md +++ b/old_docs/API_docs_v23/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v23/constructors/photos_photosSlice.md b/old_docs/API_docs_v23/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v23/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v23/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v23/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v23/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v23/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v23/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v23/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v23/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v23/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v23/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v23/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v23/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v23/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v23/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v23/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v23/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v23/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v23/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v23/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v23/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v23/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v23/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v23/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v23/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v23/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v23/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v23/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v23/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v23/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v23/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v23/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v23/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v23/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v23/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v23/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v23/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v23/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v23/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v23/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v23/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v23/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v23/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v23/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v23/constructors/sendMessageUploadAudioAction.md index 19ad4045..b3e5dcb6 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageUploadAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction'} ``` diff --git a/old_docs/API_docs_v23/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v23/constructors/sendMessageUploadDocumentAction.md index dcb7341d..2d5f57ec 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageUploadDocumentAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction']; ``` @@ -27,10 +27,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction'} ``` diff --git a/old_docs/API_docs_v23/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v23/constructors/sendMessageUploadPhotoAction.md index a1aa8497..c250d774 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageUploadPhotoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction'} ``` diff --git a/old_docs/API_docs_v23/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v23/constructors/sendMessageUploadVideoAction.md index 418203e2..f38f6c67 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageUploadVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction'} ``` diff --git a/old_docs/API_docs_v23/constructors/stickerPack.md b/old_docs/API_docs_v23/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v23/constructors/stickerPack.md +++ b/old_docs/API_docs_v23/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v23/constructors/storage_fileGif.md b/old_docs/API_docs_v23/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v23/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v23/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v23/constructors/storage_fileJpeg.md b/old_docs/API_docs_v23/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v23/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v23/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v23/constructors/storage_fileMov.md b/old_docs/API_docs_v23/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v23/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v23/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v23/constructors/storage_fileMp3.md b/old_docs/API_docs_v23/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v23/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v23/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v23/constructors/storage_fileMp4.md b/old_docs/API_docs_v23/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v23/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v23/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v23/constructors/storage_filePartial.md b/old_docs/API_docs_v23/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v23/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v23/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v23/constructors/storage_filePdf.md b/old_docs/API_docs_v23/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v23/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v23/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v23/constructors/storage_filePng.md b/old_docs/API_docs_v23/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v23/constructors/storage_filePng.md +++ b/old_docs/API_docs_v23/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v23/constructors/storage_fileUnknown.md b/old_docs/API_docs_v23/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v23/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v23/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v23/constructors/storage_fileWebp.md b/old_docs/API_docs_v23/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v23/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v23/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v23/constructors/true.md b/old_docs/API_docs_v23/constructors/true.md index 2e27ecbf..4863f16b 100644 --- a/old_docs/API_docs_v23/constructors/true.md +++ b/old_docs/API_docs_v23/constructors/true.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $true = ['_' => 'true']; ``` @@ -27,10 +27,9 @@ $true = ['_' => 'true']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua true={_='true'} ``` diff --git a/old_docs/API_docs_v23/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v23/constructors/updateChatParticipantAdd.md index 8259bb9c..77d1fda5 100644 --- a/old_docs/API_docs_v23/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v23/constructors/updateChatParticipantAdd.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, version=int} ``` diff --git a/old_docs/API_docs_v23/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v23/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v23/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v23/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v23/constructors/updateChatParticipants.md b/old_docs/API_docs_v23/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v23/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v23/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v23/constructors/updateChatUserTyping.md b/old_docs/API_docs_v23/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v23/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v23/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v23/constructors/updateContactLink.md b/old_docs/API_docs_v23/constructors/updateContactLink.md index c18bdbfd..d82e1791 100644 --- a/old_docs/API_docs_v23/constructors/updateContactLink.md +++ b/old_docs/API_docs_v23/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=contacts_MyLink, foreign_link=contacts_ForeignLink} ``` diff --git a/old_docs/API_docs_v23/constructors/updateContactRegistered.md b/old_docs/API_docs_v23/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v23/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v23/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v23/constructors/updateDcOptions.md b/old_docs/API_docs_v23/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v23/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v23/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v23/constructors/updateDeleteMessages.md b/old_docs/API_docs_v23/constructors/updateDeleteMessages.md index fdff1261..82c0d328 100644 --- a/old_docs/API_docs_v23/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v23/constructors/updateDeleteMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int]; ``` @@ -33,10 +33,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int} ``` diff --git a/old_docs/API_docs_v23/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v23/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v23/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v23/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v23/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v23/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v23/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v23/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v23/constructors/updateEncryption.md b/old_docs/API_docs_v23/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v23/constructors/updateEncryption.md +++ b/old_docs/API_docs_v23/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v23/constructors/updateMessageID.md b/old_docs/API_docs_v23/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v23/constructors/updateMessageID.md +++ b/old_docs/API_docs_v23/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v23/constructors/updateNewAuthorization.md b/old_docs/API_docs_v23/constructors/updateNewAuthorization.md index c7a95f80..ce1d0815 100644 --- a/old_docs/API_docs_v23/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v23/constructors/updateNewAuthorization.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` @@ -35,10 +35,9 @@ $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device='string', location='string'} ``` diff --git a/old_docs/API_docs_v23/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v23/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v23/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v23/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v23/constructors/updateNewMessage.md b/old_docs/API_docs_v23/constructors/updateNewMessage.md index e0835647..b6055bce 100644 --- a/old_docs/API_docs_v23/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v23/constructors/updateNewMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int} ``` diff --git a/old_docs/API_docs_v23/constructors/updateNotifySettings.md b/old_docs/API_docs_v23/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v23/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v23/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v23/constructors/updatePrivacy.md b/old_docs/API_docs_v23/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v23/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v23/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v23/constructors/updateReadMessages.md b/old_docs/API_docs_v23/constructors/updateReadMessages.md index 2bfca732..fdf9ebbc 100644 --- a/old_docs/API_docs_v23/constructors/updateReadMessages.md +++ b/old_docs/API_docs_v23/constructors/updateReadMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [int, int], 'pts' => int]; ``` @@ -33,10 +33,9 @@ $updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [int, int], 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessages={_='updateReadMessages', messages={int}, pts=int} ``` diff --git a/old_docs/API_docs_v23/constructors/updateServiceNotification.md b/old_docs/API_docs_v23/constructors/updateServiceNotification.md index 979fe7bd..ddcf7eb5 100644 --- a/old_docs/API_docs_v23/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v23/constructors/updateServiceNotification.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` @@ -35,10 +35,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'str ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', type='string', message='string', media=MessageMedia, popup=Bool} ``` diff --git a/old_docs/API_docs_v23/constructors/updateShort.md b/old_docs/API_docs_v23/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v23/constructors/updateShort.md +++ b/old_docs/API_docs_v23/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v23/constructors/updateShortChatMessage.md b/old_docs/API_docs_v23/constructors/updateShortChatMessage.md index 531522df..30b83786 100644 --- a/old_docs/API_docs_v23/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v23/constructors/updateShortChatMessage.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'date' => int, 'seq' => int]; ``` @@ -38,10 +38,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', id=int, from_id=int, chat_id=int, message='string', pts=int, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v23/constructors/updateShortMessage.md b/old_docs/API_docs_v23/constructors/updateShortMessage.md index 137062af..c5ca2305 100644 --- a/old_docs/API_docs_v23/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v23/constructors/updateShortMessage.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'from_id' => int, 'message' => 'string', 'pts' => int, 'date' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'from_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', id=int, from_id=int, message='string', pts=int, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v23/constructors/updateUserBlocked.md b/old_docs/API_docs_v23/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v23/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v23/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v23/constructors/updateUserName.md b/old_docs/API_docs_v23/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v23/constructors/updateUserName.md +++ b/old_docs/API_docs_v23/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v23/constructors/updateUserPhone.md b/old_docs/API_docs_v23/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v23/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v23/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v23/constructors/updateUserPhoto.md b/old_docs/API_docs_v23/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v23/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v23/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v23/constructors/updateUserStatus.md b/old_docs/API_docs_v23/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v23/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v23/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v23/constructors/updateUserTyping.md b/old_docs/API_docs_v23/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v23/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v23/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v23/constructors/updates.md b/old_docs/API_docs_v23/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v23/constructors/updates.md +++ b/old_docs/API_docs_v23/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v23/constructors/updatesCombined.md b/old_docs/API_docs_v23/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v23/constructors/updatesCombined.md +++ b/old_docs/API_docs_v23/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v23/constructors/updatesTooLong.md b/old_docs/API_docs_v23/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v23/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v23/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v23/constructors/updates_difference.md b/old_docs/API_docs_v23/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v23/constructors/updates_difference.md +++ b/old_docs/API_docs_v23/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v23/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v23/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v23/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v23/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v23/constructors/updates_differenceSlice.md b/old_docs/API_docs_v23/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v23/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v23/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v23/constructors/updates_state.md b/old_docs/API_docs_v23/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v23/constructors/updates_state.md +++ b/old_docs/API_docs_v23/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v23/constructors/upload_file.md b/old_docs/API_docs_v23/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v23/constructors/upload_file.md +++ b/old_docs/API_docs_v23/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v23/constructors/userContact.md b/old_docs/API_docs_v23/constructors/userContact.md index 6e05949f..04f9567e 100644 --- a/old_docs/API_docs_v23/constructors/userContact.md +++ b/old_docs/API_docs_v23/constructors/userContact.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userContact = ['_' => 'userContact', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` @@ -39,10 +39,9 @@ $userContact = ['_' => 'userContact', 'id' => int, 'first_name' => 'string', 'la ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userContact={_='userContact', id=int, first_name='string', last_name='string', username='string', access_hash=long, phone='string', photo=UserProfilePhoto, status=UserStatus} ``` diff --git a/old_docs/API_docs_v23/constructors/userDeleted.md b/old_docs/API_docs_v23/constructors/userDeleted.md index 880c8d97..04b5b2d7 100644 --- a/old_docs/API_docs_v23/constructors/userDeleted.md +++ b/old_docs/API_docs_v23/constructors/userDeleted.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => 'string', 'la ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userDeleted={_='userDeleted', id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v23/constructors/userEmpty.md b/old_docs/API_docs_v23/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v23/constructors/userEmpty.md +++ b/old_docs/API_docs_v23/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v23/constructors/userForeign.md b/old_docs/API_docs_v23/constructors/userForeign.md index 4597140c..388e65a9 100644 --- a/old_docs/API_docs_v23/constructors/userForeign.md +++ b/old_docs/API_docs_v23/constructors/userForeign.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` @@ -38,10 +38,9 @@ $userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => 'string', 'la ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userForeign={_='userForeign', id=int, first_name='string', last_name='string', username='string', access_hash=long, photo=UserProfilePhoto, status=UserStatus} ``` diff --git a/old_docs/API_docs_v23/constructors/userFull.md b/old_docs/API_docs_v23/constructors/userFull.md index 6344d4a7..998400df 100644 --- a/old_docs/API_docs_v23/constructors/userFull.md +++ b/old_docs/API_docs_v23/constructors/userFull.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => 'string', 'real_last_name' => 'string']; ``` @@ -38,10 +38,9 @@ $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name='string', real_last_name='string'} ``` diff --git a/old_docs/API_docs_v23/constructors/userProfilePhoto.md b/old_docs/API_docs_v23/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v23/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v23/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v23/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v23/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v23/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v23/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/userRequest.md b/old_docs/API_docs_v23/constructors/userRequest.md index fd913ab1..47a892e3 100644 --- a/old_docs/API_docs_v23/constructors/userRequest.md +++ b/old_docs/API_docs_v23/constructors/userRequest.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` @@ -39,10 +39,9 @@ $userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => 'string', 'la ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userRequest={_='userRequest', id=int, first_name='string', last_name='string', username='string', access_hash=long, phone='string', photo=UserProfilePhoto, status=UserStatus} ``` diff --git a/old_docs/API_docs_v23/constructors/userSelf.md b/old_docs/API_docs_v23/constructors/userSelf.md index f9646a9c..24f1d855 100644 --- a/old_docs/API_docs_v23/constructors/userSelf.md +++ b/old_docs/API_docs_v23/constructors/userSelf.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'inactive' => Bool]; ``` @@ -39,10 +39,9 @@ $userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => 'string', 'last_nam ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userSelf={_='userSelf', id=int, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, inactive=Bool} ``` diff --git a/old_docs/API_docs_v23/constructors/userStatusEmpty.md b/old_docs/API_docs_v23/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v23/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v23/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v23/constructors/userStatusLastMonth.md b/old_docs/API_docs_v23/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v23/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v23/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v23/constructors/userStatusLastWeek.md b/old_docs/API_docs_v23/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v23/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v23/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v23/constructors/userStatusOffline.md b/old_docs/API_docs_v23/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v23/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v23/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v23/constructors/userStatusOnline.md b/old_docs/API_docs_v23/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v23/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v23/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v23/constructors/userStatusRecently.md b/old_docs/API_docs_v23/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v23/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v23/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v23/constructors/vector.md b/old_docs/API_docs_v23/constructors/vector.md index c9e27763..d8ea6f1f 100644 --- a/old_docs/API_docs_v23/constructors/vector.md +++ b/old_docs/API_docs_v23/constructors/vector.md @@ -18,7 +18,7 @@ Array ### Example: -``` +```php $vector = ['_' => 'vector']; ``` @@ -29,10 +29,9 @@ $vector = ['_' => 'vector']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua vector={_='vector'} ``` diff --git a/old_docs/API_docs_v23/constructors/video.md b/old_docs/API_docs_v23/constructors/video.md index 8aa5a6b3..6a3a4df5 100644 --- a/old_docs/API_docs_v23/constructors/video.md +++ b/old_docs/API_docs_v23/constructors/video.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => 'string', 'duration' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int]; ``` @@ -43,10 +43,9 @@ $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua video={_='video', id=long, access_hash=long, user_id=int, date=int, caption='string', duration=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v23/constructors/videoEmpty.md b/old_docs/API_docs_v23/constructors/videoEmpty.md index 8509fcf9..a41ca8ab 100644 --- a/old_docs/API_docs_v23/constructors/videoEmpty.md +++ b/old_docs/API_docs_v23/constructors/videoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua videoEmpty={_='videoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v23/constructors/wallPaper.md b/old_docs/API_docs_v23/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v23/constructors/wallPaper.md +++ b/old_docs/API_docs_v23/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v23/constructors/wallPaperSolid.md b/old_docs/API_docs_v23/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v23/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v23/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v23/methods/account_changePhone.md b/old_docs/API_docs_v23/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v23/methods/account_changePhone.md +++ b/old_docs/API_docs_v23/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/account_checkUsername.md b/old_docs/API_docs_v23/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v23/methods/account_checkUsername.md +++ b/old_docs/API_docs_v23/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/account_deleteAccount.md b/old_docs/API_docs_v23/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v23/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v23/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/account_getAccountTTL.md b/old_docs/API_docs_v23/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v23/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v23/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v23/methods/account_getNotifySettings.md b/old_docs/API_docs_v23/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v23/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v23/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v23/methods/account_getPrivacy.md b/old_docs/API_docs_v23/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v23/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v23/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v23/methods/account_getWallPapers.md b/old_docs/API_docs_v23/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v23/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v23/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v23/methods/account_registerDevice.md b/old_docs/API_docs_v23/methods/account_registerDevice.md index bd2b5649..3192933d 100644 --- a/old_docs/API_docs_v23/methods/account_registerDevice.md +++ b/old_docs/API_docs_v23/methods/account_registerDevice.md @@ -30,7 +30,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', device_model='string', system_version='string', app_version='string', app_sandbox=Bool, lang_code='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/account_reportPeer.md b/old_docs/API_docs_v23/methods/account_reportPeer.md index d8c49851..673b48bf 100644 --- a/old_docs/API_docs_v23/methods/account_reportPeer.md +++ b/old_docs/API_docs_v23/methods/account_reportPeer.md @@ -25,7 +25,7 @@ Report for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reason - Json encoded ReportReason Or, if you're into Lua: -``` +```lua Bool = account.reportPeer({peer=InputPeer, reason=ReportReason, }) ``` diff --git a/old_docs/API_docs_v23/methods/account_resetNotifySettings.md b/old_docs/API_docs_v23/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v23/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v23/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md index 2fcdcc4c..12ea92c5 100644 --- a/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md @@ -24,7 +24,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/account_setAccountTTL.md b/old_docs/API_docs_v23/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v23/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v23/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v23/methods/account_setPrivacy.md b/old_docs/API_docs_v23/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v23/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v23/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v23/methods/account_unregisterDevice.md b/old_docs/API_docs_v23/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v23/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v23/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v23/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v23/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v23/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v23/methods/account_updateNotifySettings.md b/old_docs/API_docs_v23/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v23/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v23/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v23/methods/account_updateProfile.md b/old_docs/API_docs_v23/methods/account_updateProfile.md index 541086a6..5034a6da 100644 --- a/old_docs/API_docs_v23/methods/account_updateProfile.md +++ b/old_docs/API_docs_v23/methods/account_updateProfile.md @@ -25,7 +25,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ last_name - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/account_updateStatus.md b/old_docs/API_docs_v23/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v23/methods/account_updateStatus.md +++ b/old_docs/API_docs_v23/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v23/methods/account_updateUsername.md b/old_docs/API_docs_v23/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v23/methods/account_updateUsername.md +++ b/old_docs/API_docs_v23/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/auth_checkPhone.md b/old_docs/API_docs_v23/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v23/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v23/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v23/methods/auth_sendCall.md b/old_docs/API_docs_v23/methods/auth_sendCall.md index 70a2870f..e8260454 100644 --- a/old_docs/API_docs_v23/methods/auth_sendCall.md +++ b/old_docs/API_docs_v23/methods/auth_sendCall.md @@ -25,7 +25,7 @@ Send verification phone call ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/auth_sendInvites.md b/old_docs/API_docs_v23/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v23/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v23/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/auth_sendSms.md b/old_docs/API_docs_v23/methods/auth_sendSms.md index 6c31f570..050926ff 100644 --- a/old_docs/API_docs_v23/methods/auth_sendSms.md +++ b/old_docs/API_docs_v23/methods/auth_sendSms.md @@ -25,7 +25,7 @@ Send SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/contacts_block.md b/old_docs/API_docs_v23/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v23/methods/contacts_block.md +++ b/old_docs/API_docs_v23/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v23/methods/contacts_deleteContact.md b/old_docs/API_docs_v23/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v23/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v23/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v23/methods/contacts_deleteContacts.md b/old_docs/API_docs_v23/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v23/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v23/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v23/methods/contacts_exportCard.md b/old_docs/API_docs_v23/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v23/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v23/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v23/methods/contacts_getBlocked.md b/old_docs/API_docs_v23/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v23/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v23/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v23/methods/contacts_getContacts.md b/old_docs/API_docs_v23/methods/contacts_getContacts.md index ccf0f99d..dfa407f2 100644 --- a/old_docs/API_docs_v23/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v23/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/contacts_getStatuses.md b/old_docs/API_docs_v23/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v23/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v23/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v23/methods/contacts_getSuggested.md b/old_docs/API_docs_v23/methods/contacts_getSuggested.md index d7feb718..8183eae4 100644 --- a/old_docs/API_docs_v23/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v23/methods/contacts_getSuggested.md @@ -24,7 +24,7 @@ Get suggested contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v23/methods/contacts_importCard.md b/old_docs/API_docs_v23/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v23/methods/contacts_importCard.md +++ b/old_docs/API_docs_v23/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v23/methods/contacts_importContacts.md b/old_docs/API_docs_v23/methods/contacts_importContacts.md index d0404dd2..f1b17e2c 100644 --- a/old_docs/API_docs_v23/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v23/methods/contacts_importContacts.md @@ -25,7 +25,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ replace - Json encoded Bool Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v23/methods/contacts_search.md b/old_docs/API_docs_v23/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v23/methods/contacts_search.md +++ b/old_docs/API_docs_v23/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v23/methods/contacts_unblock.md b/old_docs/API_docs_v23/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v23/methods/contacts_unblock.md +++ b/old_docs/API_docs_v23/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v23/methods/help_getAppUpdate.md b/old_docs/API_docs_v23/methods/help_getAppUpdate.md index a501cbc5..4bdf36c3 100644 --- a/old_docs/API_docs_v23/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v23/methods/help_getAppUpdate.md @@ -27,7 +27,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/help_getConfig.md b/old_docs/API_docs_v23/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v23/methods/help_getConfig.md +++ b/old_docs/API_docs_v23/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v23/methods/help_getInviteText.md b/old_docs/API_docs_v23/methods/help_getInviteText.md index 1b31e572..797e2ad3 100644 --- a/old_docs/API_docs_v23/methods/help_getInviteText.md +++ b/old_docs/API_docs_v23/methods/help_getInviteText.md @@ -24,7 +24,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/help_getNearestDc.md b/old_docs/API_docs_v23/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v23/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v23/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v23/methods/help_getSupport.md b/old_docs/API_docs_v23/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v23/methods/help_getSupport.md +++ b/old_docs/API_docs_v23/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v23/methods/help_saveAppLog.md b/old_docs/API_docs_v23/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v23/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v23/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v23/methods/initConnection.md b/old_docs/API_docs_v23/methods/initConnection.md index 58cdb067..e34794f8 100644 --- a/old_docs/API_docs_v23/methods/initConnection.md +++ b/old_docs/API_docs_v23/methods/initConnection.md @@ -29,7 +29,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v23/methods/invokeAfterMsg.md b/old_docs/API_docs_v23/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v23/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v23/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v23/methods/invokeAfterMsgs.md b/old_docs/API_docs_v23/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v23/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v23/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v23/methods/invokeWithLayer.md b/old_docs/API_docs_v23/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v23/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v23/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_addChatUser.md b/old_docs/API_docs_v23/methods/messages_addChatUser.md index 07f88f50..05a836b6 100644 --- a/old_docs/API_docs_v23/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v23/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_StatedMessage = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_createChat.md b/old_docs/API_docs_v23/methods/messages_createChat.md index 801a3c7e..71b41e14 100644 --- a/old_docs/API_docs_v23/methods/messages_createChat.md +++ b/old_docs/API_docs_v23/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua messages_StatedMessage = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_deleteChatUser.md b/old_docs/API_docs_v23/methods/messages_deleteChatUser.md index 6a3db15d..ee78f262 100644 --- a/old_docs/API_docs_v23/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v23/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_StatedMessage = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_deleteHistory.md b/old_docs/API_docs_v23/methods/messages_deleteHistory.md index 5f04ad57..6c36b930 100644 --- a/old_docs/API_docs_v23/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v23/methods/messages_deleteHistory.md @@ -25,7 +25,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, offset=int, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_deleteMessages.md b/old_docs/API_docs_v23/methods/messages_deleteMessages.md index e835ba35..5d0f8ca0 100644 --- a/old_docs/API_docs_v23/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v23/methods/messages_deleteMessages.md @@ -24,7 +24,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Vector_of_int = messages.deleteMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_editChatPhoto.md b/old_docs/API_docs_v23/methods/messages_editChatPhoto.md index a0564d0d..3195b311 100644 --- a/old_docs/API_docs_v23/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v23/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua messages_StatedMessage = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_editChatTitle.md b/old_docs/API_docs_v23/methods/messages_editChatTitle.md index e51d4f1c..35939d4e 100644 --- a/old_docs/API_docs_v23/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v23/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua messages_StatedMessage = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_forwardMessage.md b/old_docs/API_docs_v23/methods/messages_forwardMessage.md index 5f1ec345..bc58a33c 100644 --- a/old_docs/API_docs_v23/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v23/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua messages_StatedMessage = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_forwardMessages.md b/old_docs/API_docs_v23/methods/messages_forwardMessages.md index 1c990900..456601f9 100644 --- a/old_docs/API_docs_v23/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v23/methods/messages_forwardMessages.md @@ -25,7 +25,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_StatedMessages = messages.forwardMessages({peer=InputPeer, id={int}, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_getAllStickers.md b/old_docs/API_docs_v23/methods/messages_getAllStickers.md index faa8eea2..c90a48ea 100644 --- a/old_docs/API_docs_v23/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v23/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_getChats.md b/old_docs/API_docs_v23/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v23/methods/messages_getChats.md +++ b/old_docs/API_docs_v23/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_getDialogs.md b/old_docs/API_docs_v23/methods/messages_getDialogs.md index c93f1d1c..f0a3fef2 100644 --- a/old_docs/API_docs_v23/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v23/methods/messages_getDialogs.md @@ -26,7 +26,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_getHistory.md b/old_docs/API_docs_v23/methods/messages_getHistory.md index f8240098..26296676 100644 --- a/old_docs/API_docs_v23/methods/messages_getHistory.md +++ b/old_docs/API_docs_v23/methods/messages_getHistory.md @@ -27,7 +27,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_getMessages.md b/old_docs/API_docs_v23/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v23/methods/messages_getMessages.md +++ b/old_docs/API_docs_v23/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_getStickers.md b/old_docs/API_docs_v23/methods/messages_getStickers.md index b1d3bd83..f4ca9972 100644 --- a/old_docs/API_docs_v23/methods/messages_getStickers.md +++ b/old_docs/API_docs_v23/methods/messages_getStickers.md @@ -25,7 +25,7 @@ Get stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_readHistory.md b/old_docs/API_docs_v23/methods/messages_readHistory.md index d9c8528b..7a06c601 100644 --- a/old_docs/API_docs_v23/methods/messages_readHistory.md +++ b/old_docs/API_docs_v23/methods/messages_readHistory.md @@ -27,7 +27,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ read_contents - Json encoded Bool Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.readHistory({peer=InputPeer, max_id=int, offset=int, read_contents=Bool, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_readMessageContents.md b/old_docs/API_docs_v23/methods/messages_readMessageContents.md index aaa5814c..c2c182eb 100644 --- a/old_docs/API_docs_v23/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v23/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Vector_of_int = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_receivedMessages.md b/old_docs/API_docs_v23/methods/messages_receivedMessages.md index 44dc6a71..2597d4c7 100644 --- a/old_docs/API_docs_v23/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v23/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_int = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_reportSpam.md b/old_docs/API_docs_v23/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/old_docs/API_docs_v23/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v23/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_search.md b/old_docs/API_docs_v23/methods/messages_search.md index 4c373c29..b4549f38 100644 --- a/old_docs/API_docs_v23/methods/messages_search.md +++ b/old_docs/API_docs_v23/methods/messages_search.md @@ -31,7 +31,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_sendBroadcast.md b/old_docs/API_docs_v23/methods/messages_sendBroadcast.md index c77c6e1e..f7c63f51 100644 --- a/old_docs/API_docs_v23/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v23/methods/messages_sendBroadcast.md @@ -26,7 +26,7 @@ Send a message to all users in the chat list ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua messages_StatedMessages = messages.sendBroadcast({contacts={InputUser}, message='string', media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_sendEncrypted.md b/old_docs/API_docs_v23/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v23/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v23/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v23/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v23/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v23/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_sendMedia.md b/old_docs/API_docs_v23/methods/messages_sendMedia.md index aedc1fff..f92de740 100644 --- a/old_docs/API_docs_v23/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v23/methods/messages_sendMedia.md @@ -25,7 +25,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua messages_StatedMessage = messages.sendMedia({peer=InputPeer, media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_sendMessage.md b/old_docs/API_docs_v23/methods/messages_sendMessage.md index 4ba067a4..d34dc27d 100644 --- a/old_docs/API_docs_v23/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v23/methods/messages_sendMessage.md @@ -25,7 +25,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua messages_SentMessage = messages.sendMessage({peer=InputPeer, message='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages_setTyping.md b/old_docs/API_docs_v23/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v23/methods/messages_setTyping.md +++ b/old_docs/API_docs_v23/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v23/methods/photos_deletePhotos.md b/old_docs/API_docs_v23/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v23/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v23/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v23/methods/photos_getUserPhotos.md b/old_docs/API_docs_v23/methods/photos_getUserPhotos.md index fef30862..7afef335 100644 --- a/old_docs/API_docs_v23/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v23/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md index 706f0a01..7341e4e7 100644 --- a/old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md @@ -25,7 +25,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md index 99064210..1debfc82 100644 --- a/old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md @@ -27,7 +27,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v23/methods/users_getUsers.md b/old_docs/API_docs_v23/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v23/methods/users_getUsers.md +++ b/old_docs/API_docs_v23/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v23/types/Chat.md b/old_docs/API_docs_v23/types/Chat.md index df8877f9..44d9c78d 100644 --- a/old_docs/API_docs_v23/types/Chat.md +++ b/old_docs/API_docs_v23/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v23/types/InputEncryptedChat.md b/old_docs/API_docs_v23/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v23/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v23/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v23/types/InputEncryptedFile.md b/old_docs/API_docs_v23/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v23/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v23/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v23/types/InputFile.md b/old_docs/API_docs_v23/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v23/types/InputFile.md +++ b/old_docs/API_docs_v23/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v23/types/InputNotifyPeer.md b/old_docs/API_docs_v23/types/InputNotifyPeer.md index ffc1f0cf..f9d0a662 100644 --- a/old_docs/API_docs_v23/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v23/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v23/types/InputPeer.md b/old_docs/API_docs_v23/types/InputPeer.md index 0835e3ca..77f58c16 100644 --- a/old_docs/API_docs_v23/types/InputPeer.md +++ b/old_docs/API_docs_v23/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v23/types/InputUser.md b/old_docs/API_docs_v23/types/InputUser.md index 0294e497..e6fae5b8 100644 --- a/old_docs/API_docs_v23/types/InputUser.md +++ b/old_docs/API_docs_v23/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v23/types/NotifyPeer.md b/old_docs/API_docs_v23/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v23/types/NotifyPeer.md +++ b/old_docs/API_docs_v23/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v23/types/Peer.md b/old_docs/API_docs_v23/types/Peer.md index 9edbf4bb..48d23853 100644 --- a/old_docs/API_docs_v23/types/Peer.md +++ b/old_docs/API_docs_v23/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v23/types/User.md b/old_docs/API_docs_v23/types/User.md index 6dbfd982..5c7944e9 100644 --- a/old_docs/API_docs_v23/types/User.md +++ b/old_docs/API_docs_v23/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v25/constructors/accountDaysTTL.md b/old_docs/API_docs_v25/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v25/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v25/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v25/constructors/account_noPassword.md b/old_docs/API_docs_v25/constructors/account_noPassword.md index 68e35c16..389bbe3f 100644 --- a/old_docs/API_docs_v25/constructors/account_noPassword.md +++ b/old_docs/API_docs_v25/constructors/account_noPassword.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes']; ``` @@ -32,10 +32,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes'} ``` diff --git a/old_docs/API_docs_v25/constructors/account_password.md b/old_docs/API_docs_v25/constructors/account_password.md index 614b7e73..f4b0127b 100644 --- a/old_docs/API_docs_v25/constructors/account_password.md +++ b/old_docs/API_docs_v25/constructors/account_password.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string']; ``` @@ -34,10 +34,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/account_privacyRules.md b/old_docs/API_docs_v25/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v25/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v25/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v25/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v25/constructors/account_sentChangePhoneCode.md index 7bfd04ab..34044265 100644 --- a/old_docs/API_docs_v25/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v25/constructors/account_sentChangePhoneCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; ``` @@ -33,10 +33,9 @@ $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} ``` diff --git a/old_docs/API_docs_v25/constructors/audio.md b/old_docs/API_docs_v25/constructors/audio.md index 1437e1f7..5bc6aa7a 100644 --- a/old_docs/API_docs_v25/constructors/audio.md +++ b/old_docs/API_docs_v25/constructors/audio.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` @@ -39,10 +39,9 @@ $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audio={_='audio', id=long, access_hash=long, user_id=int, date=int, duration=int, mime_type='string', size=int, dc_id=int} ``` diff --git a/old_docs/API_docs_v25/constructors/audioEmpty.md b/old_docs/API_docs_v25/constructors/audioEmpty.md index 2b0ed960..846367f4 100644 --- a/old_docs/API_docs_v25/constructors/audioEmpty.md +++ b/old_docs/API_docs_v25/constructors/audioEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audioEmpty={_='audioEmpty', id=long} ``` diff --git a/old_docs/API_docs_v25/constructors/auth_authorization.md b/old_docs/API_docs_v25/constructors/auth_authorization.md index f9d870b4..84f70ba6 100644 --- a/old_docs/API_docs_v25/constructors/auth_authorization.md +++ b/old_docs/API_docs_v25/constructors/auth_authorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User]; ``` @@ -33,10 +33,9 @@ $auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_authorization={_='auth.authorization', expires=int, user=User} ``` diff --git a/old_docs/API_docs_v25/constructors/auth_checkedPhone.md b/old_docs/API_docs_v25/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v25/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v25/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v25/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v25/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v25/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v25/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v25/constructors/auth_sentAppCode.md b/old_docs/API_docs_v25/constructors/auth_sentAppCode.md index 1f354541..ec13efba 100644 --- a/old_docs/API_docs_v25/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v25/constructors/auth_sentAppCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'pho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v25/constructors/auth_sentCode.md b/old_docs/API_docs_v25/constructors/auth_sentCode.md index 01834b65..2b5301e1 100644 --- a/old_docs/API_docs_v25/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v25/constructors/auth_sentCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v25/constructors/chat.md b/old_docs/API_docs_v25/constructors/chat.md index 6bfb3651..d197bfc9 100644 --- a/old_docs/API_docs_v25/constructors/chat.md +++ b/old_docs/API_docs_v25/constructors/chat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chat = ['_' => 'chat', 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int]; ``` @@ -38,10 +38,9 @@ $chat = ['_' => 'chat', 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chat={_='chat', id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, left=Bool, version=int} ``` diff --git a/old_docs/API_docs_v25/constructors/chatEmpty.md b/old_docs/API_docs_v25/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v25/constructors/chatEmpty.md +++ b/old_docs/API_docs_v25/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v25/constructors/chatForbidden.md b/old_docs/API_docs_v25/constructors/chatForbidden.md index ecbb3ed8..76708ada 100644 --- a/old_docs/API_docs_v25/constructors/chatForbidden.md +++ b/old_docs/API_docs_v25/constructors/chatForbidden.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string', 'date' => int]; ``` @@ -34,10 +34,9 @@ $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string', 'dat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatForbidden={_='chatForbidden', id=int, title='string', date=int} ``` diff --git a/old_docs/API_docs_v25/constructors/chatFull.md b/old_docs/API_docs_v25/constructors/chatFull.md index 11b5d9fb..9e090a52 100644 --- a/old_docs/API_docs_v25/constructors/chatFull.md +++ b/old_docs/API_docs_v25/constructors/chatFull.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v25/constructors/chatLocated.md b/old_docs/API_docs_v25/constructors/chatLocated.md index 7c2cc78a..8b53e150 100644 --- a/old_docs/API_docs_v25/constructors/chatLocated.md +++ b/old_docs/API_docs_v25/constructors/chatLocated.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatLocated = ['_' => 'chatLocated', 'chat_id' => int, 'distance' => int]; ``` @@ -33,10 +33,9 @@ $chatLocated = ['_' => 'chatLocated', 'chat_id' => int, 'distance' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatLocated={_='chatLocated', chat_id=int, distance=int} ``` diff --git a/old_docs/API_docs_v25/constructors/chatParticipant.md b/old_docs/API_docs_v25/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v25/constructors/chatParticipant.md +++ b/old_docs/API_docs_v25/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v25/constructors/chatParticipants.md b/old_docs/API_docs_v25/constructors/chatParticipants.md index d4acc517..5acbb81c 100644 --- a/old_docs/API_docs_v25/constructors/chatParticipants.md +++ b/old_docs/API_docs_v25/constructors/chatParticipants.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -35,10 +35,9 @@ $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipants={_='chatParticipants', chat_id=int, admin_id=int, participants={ChatParticipant}, version=int} ``` diff --git a/old_docs/API_docs_v25/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v25/constructors/chatParticipantsForbidden.md index c3b4c007..c6bb546b 100644 --- a/old_docs/API_docs_v25/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v25/constructors/chatParticipantsForbidden.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int} ``` diff --git a/old_docs/API_docs_v25/constructors/chatPhoto.md b/old_docs/API_docs_v25/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v25/constructors/chatPhoto.md +++ b/old_docs/API_docs_v25/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v25/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v25/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v25/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v25/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/config.md b/old_docs/API_docs_v25/constructors/config.md index 8d9c4304..06f50443 100644 --- a/old_docs/API_docs_v25/constructors/config.md +++ b/old_docs/API_docs_v25/constructors/config.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'broadcast_size_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -46,10 +46,9 @@ $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, broadcast_size_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v25/constructors/contact.md b/old_docs/API_docs_v25/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v25/constructors/contact.md +++ b/old_docs/API_docs_v25/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v25/constructors/contactBlocked.md b/old_docs/API_docs_v25/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v25/constructors/contactBlocked.md +++ b/old_docs/API_docs_v25/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v25/constructors/contactFound.md b/old_docs/API_docs_v25/constructors/contactFound.md index b7f22e4c..ecf6b905 100644 --- a/old_docs/API_docs_v25/constructors/contactFound.md +++ b/old_docs/API_docs_v25/constructors/contactFound.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactFound = ['_' => 'contactFound', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $contactFound = ['_' => 'contactFound', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactFound={_='contactFound', user_id=int} ``` diff --git a/old_docs/API_docs_v25/constructors/contactLinkContact.md b/old_docs/API_docs_v25/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v25/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v25/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v25/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v25/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v25/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v25/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v25/constructors/contactLinkNone.md b/old_docs/API_docs_v25/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v25/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v25/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v25/constructors/contactLinkUnknown.md b/old_docs/API_docs_v25/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v25/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v25/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v25/constructors/contactStatus.md b/old_docs/API_docs_v25/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v25/constructors/contactStatus.md +++ b/old_docs/API_docs_v25/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v25/constructors/contactSuggested.md b/old_docs/API_docs_v25/constructors/contactSuggested.md index 7dc8105c..e90bf7c9 100644 --- a/old_docs/API_docs_v25/constructors/contactSuggested.md +++ b/old_docs/API_docs_v25/constructors/contactSuggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` @@ -33,10 +33,9 @@ $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int} ``` diff --git a/old_docs/API_docs_v25/constructors/contacts_blocked.md b/old_docs/API_docs_v25/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v25/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v25/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v25/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v25/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v25/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v25/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v25/constructors/contacts_contacts.md b/old_docs/API_docs_v25/constructors/contacts_contacts.md index 34dae91a..ea16b38a 100644 --- a/old_docs/API_docs_v25/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v25/constructors/contacts_contacts.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} ``` diff --git a/old_docs/API_docs_v25/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v25/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v25/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v25/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v25/constructors/contacts_found.md b/old_docs/API_docs_v25/constructors/contacts_found.md index ba0c9b31..940558ab 100644 --- a/old_docs/API_docs_v25/constructors/contacts_found.md +++ b/old_docs/API_docs_v25/constructors/contacts_found.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactFound], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactF ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={ContactFound}, users={User}} ``` diff --git a/old_docs/API_docs_v25/constructors/contacts_importedContacts.md b/old_docs/API_docs_v25/constructors/contacts_importedContacts.md index 7bf9c1bf..8b9012bb 100644 --- a/old_docs/API_docs_v25/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v25/constructors/contacts_importedContacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v25/constructors/contacts_link.md b/old_docs/API_docs_v25/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v25/constructors/contacts_link.md +++ b/old_docs/API_docs_v25/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v25/constructors/contacts_suggested.md b/old_docs/API_docs_v25/constructors/contacts_suggested.md index 553cebcb..2659d855 100644 --- a/old_docs/API_docs_v25/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v25/constructors/contacts_suggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggest ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} ``` diff --git a/old_docs/API_docs_v25/constructors/dcOption.md b/old_docs/API_docs_v25/constructors/dcOption.md index 60a8e673..62331b41 100644 --- a/old_docs/API_docs_v25/constructors/dcOption.md +++ b/old_docs/API_docs_v25/constructors/dcOption.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => 'string', 'ip_address' => 'string', 'port' => int]; ``` @@ -35,10 +35,9 @@ $dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => 'string', 'ip_address ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', id=int, hostname='string', ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v25/constructors/dialog.md b/old_docs/API_docs_v25/constructors/dialog.md index cbb327d6..539225bf 100644 --- a/old_docs/API_docs_v25/constructors/dialog.md +++ b/old_docs/API_docs_v25/constructors/dialog.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` @@ -36,10 +36,9 @@ $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_ma ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v25/constructors/disabledFeature.md b/old_docs/API_docs_v25/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v25/constructors/disabledFeature.md +++ b/old_docs/API_docs_v25/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/document.md b/old_docs/API_docs_v25/constructors/document.md index 8719d873..e9547f1f 100644 --- a/old_docs/API_docs_v25/constructors/document.md +++ b/old_docs/API_docs_v25/constructors/document.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -39,10 +39,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v25/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v25/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v25/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v25/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v25/constructors/documentAttributeAudio.md b/old_docs/API_docs_v25/constructors/documentAttributeAudio.md index c97e3289..c992cb0a 100644 --- a/old_docs/API_docs_v25/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v25/constructors/documentAttributeAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int]; ``` @@ -32,10 +32,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', duration=int} ``` diff --git a/old_docs/API_docs_v25/constructors/documentAttributeFilename.md b/old_docs/API_docs_v25/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v25/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v25/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v25/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v25/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v25/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v25/constructors/documentAttributeSticker.md b/old_docs/API_docs_v25/constructors/documentAttributeSticker.md index b574dee8..2e857c22 100644 --- a/old_docs/API_docs_v25/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v25/constructors/documentAttributeSticker.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', alt='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/documentAttributeVideo.md b/old_docs/API_docs_v25/constructors/documentAttributeVideo.md index 0902c118..cc7ffced 100644 --- a/old_docs/API_docs_v25/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v25/constructors/documentAttributeVideo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -34,10 +34,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v25/constructors/documentEmpty.md b/old_docs/API_docs_v25/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v25/constructors/documentEmpty.md +++ b/old_docs/API_docs_v25/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v25/constructors/encryptedChat.md b/old_docs/API_docs_v25/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v25/constructors/encryptedChat.md +++ b/old_docs/API_docs_v25/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v25/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v25/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v25/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v25/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v25/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v25/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v25/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v25/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v25/constructors/encryptedChatRequested.md b/old_docs/API_docs_v25/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v25/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v25/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v25/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v25/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v25/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v25/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v25/constructors/encryptedFile.md b/old_docs/API_docs_v25/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v25/constructors/encryptedFile.md +++ b/old_docs/API_docs_v25/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v25/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v25/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v25/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v25/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/encryptedMessage.md b/old_docs/API_docs_v25/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v25/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v25/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v25/constructors/encryptedMessageService.md b/old_docs/API_docs_v25/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v25/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v25/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v25/constructors/error.md b/old_docs/API_docs_v25/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v25/constructors/error.md +++ b/old_docs/API_docs_v25/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/fileLocation.md b/old_docs/API_docs_v25/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v25/constructors/fileLocation.md +++ b/old_docs/API_docs_v25/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v25/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v25/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v25/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v25/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v25/constructors/geoChat.md b/old_docs/API_docs_v25/constructors/geoChat.md index 12ca0ce8..2a3d07c8 100644 --- a/old_docs/API_docs_v25/constructors/geoChat.md +++ b/old_docs/API_docs_v25/constructors/geoChat.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoChat = ['_' => 'geoChat', 'id' => int, 'access_hash' => long, 'title' => 'string', 'address' => 'string', 'venue' => 'string', 'geo' => GeoPoint, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'checked_in' => Bool, 'version' => int]; ``` @@ -42,10 +42,9 @@ $geoChat = ['_' => 'geoChat', 'id' => int, 'access_hash' => long, 'title' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoChat={_='geoChat', id=int, access_hash=long, title='string', address='string', venue='string', geo=GeoPoint, photo=ChatPhoto, participants_count=int, date=int, checked_in=Bool, version=int} ``` diff --git a/old_docs/API_docs_v25/constructors/geoChatMessage.md b/old_docs/API_docs_v25/constructors/geoChatMessage.md index b9f51d8a..c8b4fec0 100644 --- a/old_docs/API_docs_v25/constructors/geoChatMessage.md +++ b/old_docs/API_docs_v25/constructors/geoChatMessage.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoChatMessage = ['_' => 'geoChatMessage', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia]; ``` @@ -37,10 +37,9 @@ $geoChatMessage = ['_' => 'geoChatMessage', 'chat_id' => int, 'id' => int, 'from ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoChatMessage={_='geoChatMessage', chat_id=int, id=int, from_id=int, date=int, message='string', media=MessageMedia} ``` diff --git a/old_docs/API_docs_v25/constructors/geoChatMessageEmpty.md b/old_docs/API_docs_v25/constructors/geoChatMessageEmpty.md index d14df307..d578dca5 100644 --- a/old_docs/API_docs_v25/constructors/geoChatMessageEmpty.md +++ b/old_docs/API_docs_v25/constructors/geoChatMessageEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoChatMessageEmpty = ['_' => 'geoChatMessageEmpty', 'chat_id' => int, 'id' => int]; ``` @@ -33,10 +33,9 @@ $geoChatMessageEmpty = ['_' => 'geoChatMessageEmpty', 'chat_id' => int, 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoChatMessageEmpty={_='geoChatMessageEmpty', chat_id=int, id=int} ``` diff --git a/old_docs/API_docs_v25/constructors/geoChatMessageService.md b/old_docs/API_docs_v25/constructors/geoChatMessageService.md index ac79d96f..23c03351 100644 --- a/old_docs/API_docs_v25/constructors/geoChatMessageService.md +++ b/old_docs/API_docs_v25/constructors/geoChatMessageService.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoChatMessageService = ['_' => 'geoChatMessageService', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'action' => MessageAction]; ``` @@ -36,10 +36,9 @@ $geoChatMessageService = ['_' => 'geoChatMessageService', 'chat_id' => int, 'id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoChatMessageService={_='geoChatMessageService', chat_id=int, id=int, from_id=int, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v25/constructors/geoPoint.md b/old_docs/API_docs_v25/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v25/constructors/geoPoint.md +++ b/old_docs/API_docs_v25/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v25/constructors/geoPointEmpty.md b/old_docs/API_docs_v25/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v25/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v25/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/geochats_located.md b/old_docs/API_docs_v25/constructors/geochats_located.md index 5646af06..1a521b23 100644 --- a/old_docs/API_docs_v25/constructors/geochats_located.md +++ b/old_docs/API_docs_v25/constructors/geochats_located.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geochats_located = ['_' => 'geochats.located', 'results' => [ChatLocated, ChatLocated], 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $geochats_located = ['_' => 'geochats.located', 'results' => [ChatLocated, ChatL ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geochats_located={_='geochats.located', results={ChatLocated}, messages={GeoChatMessage}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v25/constructors/geochats_messages.md b/old_docs/API_docs_v25/constructors/geochats_messages.md index 048a009f..ce50e9cf 100644 --- a/old_docs/API_docs_v25/constructors/geochats_messages.md +++ b/old_docs/API_docs_v25/constructors/geochats_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geochats_messages = ['_' => 'geochats.messages', 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $geochats_messages = ['_' => 'geochats.messages', 'messages' => [GeoChatMessage, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geochats_messages={_='geochats.messages', messages={GeoChatMessage}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v25/constructors/geochats_messagesSlice.md b/old_docs/API_docs_v25/constructors/geochats_messagesSlice.md index c4df1ba1..bb3b0804 100644 --- a/old_docs/API_docs_v25/constructors/geochats_messagesSlice.md +++ b/old_docs/API_docs_v25/constructors/geochats_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geochats_messagesSlice = ['_' => 'geochats.messagesSlice', 'count' => int, 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $geochats_messagesSlice = ['_' => 'geochats.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geochats_messagesSlice={_='geochats.messagesSlice', count=int, messages={GeoChatMessage}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v25/constructors/geochats_statedMessage.md b/old_docs/API_docs_v25/constructors/geochats_statedMessage.md index 9be23e90..b347df0e 100644 --- a/old_docs/API_docs_v25/constructors/geochats_statedMessage.md +++ b/old_docs/API_docs_v25/constructors/geochats_statedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geochats_statedMessage = ['_' => 'geochats.statedMessage', 'message' => GeoChatMessage, 'chats' => [Chat, Chat], 'users' => [User, User], 'seq' => int]; ``` @@ -35,10 +35,9 @@ $geochats_statedMessage = ['_' => 'geochats.statedMessage', 'message' => GeoChat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geochats_statedMessage={_='geochats.statedMessage', message=GeoChatMessage, chats={Chat}, users={User}, seq=int} ``` diff --git a/old_docs/API_docs_v25/constructors/help_appUpdate.md b/old_docs/API_docs_v25/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v25/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v25/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/help_inviteText.md b/old_docs/API_docs_v25/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v25/constructors/help_inviteText.md +++ b/old_docs/API_docs_v25/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/help_noAppUpdate.md b/old_docs/API_docs_v25/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v25/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v25/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v25/constructors/help_support.md b/old_docs/API_docs_v25/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v25/constructors/help_support.md +++ b/old_docs/API_docs_v25/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v25/constructors/importedContact.md b/old_docs/API_docs_v25/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v25/constructors/importedContact.md +++ b/old_docs/API_docs_v25/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v25/constructors/inputAppEvent.md b/old_docs/API_docs_v25/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v25/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v25/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputAudio.md b/old_docs/API_docs_v25/constructors/inputAudio.md index c428307e..ac1c82e3 100644 --- a/old_docs/API_docs_v25/constructors/inputAudio.md +++ b/old_docs/API_docs_v25/constructors/inputAudio.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudio={_='inputAudio', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v25/constructors/inputAudioEmpty.md b/old_docs/API_docs_v25/constructors/inputAudioEmpty.md index a84b3e67..b0b4e934 100644 --- a/old_docs/API_docs_v25/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputAudioEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` @@ -27,10 +27,9 @@ $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v25/constructors/inputAudioFileLocation.md index f95ad919..a2633244 100644 --- a/old_docs/API_docs_v25/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v25/constructors/inputAudioFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v25/constructors/inputChatPhoto.md b/old_docs/API_docs_v25/constructors/inputChatPhoto.md index 5affda9a..7ad8a3f7 100644 --- a/old_docs/API_docs_v25/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v25/constructors/inputChatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputP ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v25/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v25/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v25/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v25/constructors/inputChatUploadedPhoto.md index a22405b2..ed0624da 100644 --- a/old_docs/API_docs_v25/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v25/constructors/inputChatUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v25/constructors/inputDocument.md b/old_docs/API_docs_v25/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v25/constructors/inputDocument.md +++ b/old_docs/API_docs_v25/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v25/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v25/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v25/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v25/constructors/inputDocumentFileLocation.md index 2ba7d2b3..5d593784 100644 --- a/old_docs/API_docs_v25/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v25/constructors/inputDocumentFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v25/constructors/inputEncryptedChat.md b/old_docs/API_docs_v25/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v25/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v25/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v25/constructors/inputEncryptedFile.md b/old_docs/API_docs_v25/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v25/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v25/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v25/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v25/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v25/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v25/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v25/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v25/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v25/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v25/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v25/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v25/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v25/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v25/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v25/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v25/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v25/constructors/inputFile.md b/old_docs/API_docs_v25/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v25/constructors/inputFile.md +++ b/old_docs/API_docs_v25/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputFileBig.md b/old_docs/API_docs_v25/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v25/constructors/inputFileBig.md +++ b/old_docs/API_docs_v25/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputFileLocation.md b/old_docs/API_docs_v25/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v25/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v25/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v25/constructors/inputGeoChat.md b/old_docs/API_docs_v25/constructors/inputGeoChat.md index d253a9ee..b1bb20d3 100644 --- a/old_docs/API_docs_v25/constructors/inputGeoChat.md +++ b/old_docs/API_docs_v25/constructors/inputGeoChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoChat = ['_' => 'inputGeoChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputGeoChat = ['_' => 'inputGeoChat', 'chat_id' => int, 'access_hash' => long] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoChat={_='inputGeoChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v25/constructors/inputGeoPoint.md b/old_docs/API_docs_v25/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v25/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v25/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v25/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v25/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v25/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMediaAudio.md b/old_docs/API_docs_v25/constructors/inputMediaAudio.md index 6ebbe6ec..6c166ec0 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v25/constructors/inputMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` @@ -32,10 +32,9 @@ $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaAudio={_='inputMediaAudio', id=InputAudio} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMediaContact.md b/old_docs/API_docs_v25/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v25/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMediaDocument.md b/old_docs/API_docs_v25/constructors/inputMediaDocument.md index f652113b..f671c3e5 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v25/constructors/inputMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` @@ -32,10 +32,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMediaEmpty.md b/old_docs/API_docs_v25/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v25/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v25/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMediaPhoto.md b/old_docs/API_docs_v25/constructors/inputMediaPhoto.md index df83d46f..05346b80 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v25/constructors/inputMediaPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v25/constructors/inputMediaUploadedAudio.md index 4eb4cb85..73fcb4f8 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v25/constructors/inputMediaUploadedAudio.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v25/constructors/inputMediaUploadedDocument.md index 06758275..e89ad515 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v25/constructors/inputMediaUploadedDocument.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v25/constructors/inputMediaUploadedPhoto.md index d76c47b1..1866756e 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v25/constructors/inputMediaUploadedPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile]; ``` @@ -32,10 +32,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v25/constructors/inputMediaUploadedThumbDocument.md index eea9edcd..b98b9004 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v25/constructors/inputMediaUploadedThumbDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -35,10 +35,9 @@ $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v25/constructors/inputMediaUploadedThumbVideo.md index f3e77fbc..eb4669b5 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v25/constructors/inputMediaUploadedThumbVideo.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string']; ``` @@ -37,10 +37,9 @@ $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v25/constructors/inputMediaUploadedVideo.md index 14405246..571081ff 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v25/constructors/inputMediaUploadedVideo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMediaVideo.md b/old_docs/API_docs_v25/constructors/inputMediaVideo.md index e9d29400..27892968 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v25/constructors/inputMediaVideo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo]; ``` @@ -32,10 +32,9 @@ $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVideo={_='inputMediaVideo', id=InputVideo} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v25/constructors/inputMessagesFilterAudio.md index 066b1642..79c822fc 100644 --- a/old_docs/API_docs_v25/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v25/constructors/inputMessagesFilterAudio.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v25/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v25/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v25/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v25/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v25/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v25/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v25/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v25/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputNotifyAll.md b/old_docs/API_docs_v25/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v25/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v25/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputNotifyChats.md b/old_docs/API_docs_v25/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v25/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v25/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputNotifyGeoChatPeer.md b/old_docs/API_docs_v25/constructors/inputNotifyGeoChatPeer.md index 11705079..91c1327f 100644 --- a/old_docs/API_docs_v25/constructors/inputNotifyGeoChatPeer.md +++ b/old_docs/API_docs_v25/constructors/inputNotifyGeoChatPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyGeoChatPeer = ['_' => 'inputNotifyGeoChatPeer', 'peer' => InputGeoChat]; ``` @@ -32,10 +32,9 @@ $inputNotifyGeoChatPeer = ['_' => 'inputNotifyGeoChatPeer', 'peer' => InputGeoCh ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyGeoChatPeer={_='inputNotifyGeoChatPeer', peer=InputGeoChat} ``` diff --git a/old_docs/API_docs_v25/constructors/inputNotifyPeer.md b/old_docs/API_docs_v25/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v25/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v25/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v25/constructors/inputNotifyUsers.md b/old_docs/API_docs_v25/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v25/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v25/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPeerChat.md b/old_docs/API_docs_v25/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v25/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPeerContact.md b/old_docs/API_docs_v25/constructors/inputPeerContact.md index d5c14923..2749ea3a 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerContact.md +++ b/old_docs/API_docs_v25/constructors/inputPeerContact.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerContact={_='inputPeerContact', user_id=int} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPeerEmpty.md b/old_docs/API_docs_v25/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPeerForeign.md b/old_docs/API_docs_v25/constructors/inputPeerForeign.md index 260746f3..45945367 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerForeign.md +++ b/old_docs/API_docs_v25/constructors/inputPeerForeign.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerForeign={_='inputPeerForeign', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v25/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v25/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v25/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v25/constructors/inputPeerNotifySettings.md index ce1896bb..a600e880 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v25/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPeerSelf.md b/old_docs/API_docs_v25/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v25/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPhoneContact.md b/old_docs/API_docs_v25/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v25/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v25/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPhoto.md b/old_docs/API_docs_v25/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v25/constructors/inputPhoto.md +++ b/old_docs/API_docs_v25/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPhotoCrop.md b/old_docs/API_docs_v25/constructors/inputPhotoCrop.md index b35bf42f..e90029a9 100644 --- a/old_docs/API_docs_v25/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v25/constructors/inputPhotoCrop.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` @@ -34,10 +34,9 @@ $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v25/constructors/inputPhotoCropAuto.md index 6c2f121d..37414b14 100644 --- a/old_docs/API_docs_v25/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v25/constructors/inputPhotoCropAuto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` @@ -27,10 +27,9 @@ $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v25/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v25/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v25/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v25/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v25/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v25/constructors/inputUserContact.md b/old_docs/API_docs_v25/constructors/inputUserContact.md index 430975d0..e7541daf 100644 --- a/old_docs/API_docs_v25/constructors/inputUserContact.md +++ b/old_docs/API_docs_v25/constructors/inputUserContact.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserContact = ['_' => 'inputUserContact', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $inputUserContact = ['_' => 'inputUserContact', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserContact={_='inputUserContact', user_id=int} ``` diff --git a/old_docs/API_docs_v25/constructors/inputUserEmpty.md b/old_docs/API_docs_v25/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v25/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputUserForeign.md b/old_docs/API_docs_v25/constructors/inputUserForeign.md index f9e8791d..9c2c8ef8 100644 --- a/old_docs/API_docs_v25/constructors/inputUserForeign.md +++ b/old_docs/API_docs_v25/constructors/inputUserForeign.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserForeign={_='inputUserForeign', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v25/constructors/inputUserSelf.md b/old_docs/API_docs_v25/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v25/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v25/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputVideo.md b/old_docs/API_docs_v25/constructors/inputVideo.md index 4ea87c56..b3874cd7 100644 --- a/old_docs/API_docs_v25/constructors/inputVideo.md +++ b/old_docs/API_docs_v25/constructors/inputVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideo={_='inputVideo', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v25/constructors/inputVideoEmpty.md b/old_docs/API_docs_v25/constructors/inputVideoEmpty.md index b69984f7..5322ed90 100644 --- a/old_docs/API_docs_v25/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputVideoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` @@ -27,10 +27,9 @@ $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v25/constructors/inputVideoFileLocation.md index 2692222e..d9a3f678 100644 --- a/old_docs/API_docs_v25/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v25/constructors/inputVideoFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v25/constructors/message.md b/old_docs/API_docs_v25/constructors/message.md index dbdd3f9e..f88ebf72 100644 --- a/old_docs/API_docs_v25/constructors/message.md +++ b/old_docs/API_docs_v25/constructors/message.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia]; ``` @@ -40,10 +40,9 @@ $message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', id=int, from_id=int, to_id=Peer, fwd_from_id=int, fwd_date=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia} ``` diff --git a/old_docs/API_docs_v25/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v25/constructors/messageActionChatAddUser.md index 1ea1d425..4decc491 100644 --- a/old_docs/API_docs_v25/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v25/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', user_id=int} ``` diff --git a/old_docs/API_docs_v25/constructors/messageActionChatCreate.md b/old_docs/API_docs_v25/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v25/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v25/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v25/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v25/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v25/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v25/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v25/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v25/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v25/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v25/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v25/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v25/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v25/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v25/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v25/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v25/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v25/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v25/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/messageActionEmpty.md b/old_docs/API_docs_v25/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v25/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v25/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/messageActionGeoChatCheckin.md b/old_docs/API_docs_v25/constructors/messageActionGeoChatCheckin.md index d37e8da1..a48dd877 100644 --- a/old_docs/API_docs_v25/constructors/messageActionGeoChatCheckin.md +++ b/old_docs/API_docs_v25/constructors/messageActionGeoChatCheckin.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionGeoChatCheckin = ['_' => 'messageActionGeoChatCheckin']; ``` @@ -27,10 +27,9 @@ $messageActionGeoChatCheckin = ['_' => 'messageActionGeoChatCheckin']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionGeoChatCheckin={_='messageActionGeoChatCheckin'} ``` diff --git a/old_docs/API_docs_v25/constructors/messageActionGeoChatCreate.md b/old_docs/API_docs_v25/constructors/messageActionGeoChatCreate.md index cd2c4881..69259aa9 100644 --- a/old_docs/API_docs_v25/constructors/messageActionGeoChatCreate.md +++ b/old_docs/API_docs_v25/constructors/messageActionGeoChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionGeoChatCreate = ['_' => 'messageActionGeoChatCreate', 'title' => 'string', 'address' => 'string']; ``` @@ -33,10 +33,9 @@ $messageActionGeoChatCreate = ['_' => 'messageActionGeoChatCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionGeoChatCreate={_='messageActionGeoChatCreate', title='string', address='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/messageEmpty.md b/old_docs/API_docs_v25/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v25/constructors/messageEmpty.md +++ b/old_docs/API_docs_v25/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v25/constructors/messageMediaAudio.md b/old_docs/API_docs_v25/constructors/messageMediaAudio.md index c2970836..4f350752 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v25/constructors/messageMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` @@ -32,10 +32,9 @@ $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaAudio={_='messageMediaAudio', audio=Audio} ``` diff --git a/old_docs/API_docs_v25/constructors/messageMediaContact.md b/old_docs/API_docs_v25/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v25/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v25/constructors/messageMediaDocument.md b/old_docs/API_docs_v25/constructors/messageMediaDocument.md index c0a7272c..c08a097b 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v25/constructors/messageMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` @@ -32,10 +32,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document} ``` diff --git a/old_docs/API_docs_v25/constructors/messageMediaEmpty.md b/old_docs/API_docs_v25/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v25/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/messageMediaGeo.md b/old_docs/API_docs_v25/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v25/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v25/constructors/messageMediaPhoto.md b/old_docs/API_docs_v25/constructors/messageMediaPhoto.md index 5560d5b8..1e79fea8 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v25/constructors/messageMediaPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v25/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v25/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v25/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v25/constructors/messageMediaVideo.md b/old_docs/API_docs_v25/constructors/messageMediaVideo.md index cc4b488b..4b8b3eca 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v25/constructors/messageMediaVideo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video]; ``` @@ -32,10 +32,9 @@ $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVideo={_='messageMediaVideo', video=Video} ``` diff --git a/old_docs/API_docs_v25/constructors/messageService.md b/old_docs/API_docs_v25/constructors/messageService.md index 37d1d69b..20bb88af 100644 --- a/old_docs/API_docs_v25/constructors/messageService.md +++ b/old_docs/API_docs_v25/constructors/messageService.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` @@ -36,10 +36,9 @@ $messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', id=int, from_id=int, to_id=Peer, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_affectedHistory.md b/old_docs/API_docs_v25/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v25/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v25/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_affectedMessages.md b/old_docs/API_docs_v25/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v25/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v25/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_allStickers.md b/old_docs/API_docs_v25/constructors/messages_allStickers.md index e845c936..2f60827f 100644 --- a/old_docs/API_docs_v25/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v25/constructors/messages_allStickers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'pac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash='string', packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v25/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v25/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v25/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_chatFull.md b/old_docs/API_docs_v25/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v25/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v25/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_chats.md b/old_docs/API_docs_v25/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v25/constructors/messages_chats.md +++ b/old_docs/API_docs_v25/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_dhConfig.md b/old_docs/API_docs_v25/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v25/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v25/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v25/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v25/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v25/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_dialogs.md b/old_docs/API_docs_v25/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v25/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v25/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v25/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v25/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v25/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_messageEmpty.md b/old_docs/API_docs_v25/constructors/messages_messageEmpty.md index 49386522..c1e64b8e 100644 --- a/old_docs/API_docs_v25/constructors/messages_messageEmpty.md +++ b/old_docs/API_docs_v25/constructors/messages_messageEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messageEmpty = ['_' => 'messages.messageEmpty']; ``` @@ -27,10 +27,9 @@ $messages_messageEmpty = ['_' => 'messages.messageEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messageEmpty={_='messages.messageEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_messages.md b/old_docs/API_docs_v25/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v25/constructors/messages_messages.md +++ b/old_docs/API_docs_v25/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_messagesSlice.md b/old_docs/API_docs_v25/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v25/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v25/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v25/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v25/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v25/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v25/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v25/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v25/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_sentMessage.md b/old_docs/API_docs_v25/constructors/messages_sentMessage.md index 27e1173d..52655565 100644 --- a/old_docs/API_docs_v25/constructors/messages_sentMessage.md +++ b/old_docs/API_docs_v25/constructors/messages_sentMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentMessage={_='messages.sentMessage', id=int, date=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_sentMessageLink.md b/old_docs/API_docs_v25/constructors/messages_sentMessageLink.md index 9e89e170..7df2c9e9 100644 --- a/old_docs/API_docs_v25/constructors/messages_sentMessageLink.md +++ b/old_docs/API_docs_v25/constructors/messages_sentMessageLink.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link, contacts_Link], 'seq' => int]; ``` @@ -37,10 +37,9 @@ $messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'da ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, pts=int, pts_count=int, links={contacts_Link}, seq=int} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_statedMessage.md b/old_docs/API_docs_v25/constructors/messages_statedMessage.md index cf42bfd7..8951c392 100644 --- a/old_docs/API_docs_v25/constructors/messages_statedMessage.md +++ b/old_docs/API_docs_v25/constructors/messages_statedMessage.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_statedMessage = ['_' => 'messages.statedMessage', 'message' => Message, 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'pts_count' => int]; ``` @@ -36,10 +36,9 @@ $messages_statedMessage = ['_' => 'messages.statedMessage', 'message' => Message ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_statedMessage={_='messages.statedMessage', message=Message, chats={Chat}, users={User}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_statedMessageLink.md b/old_docs/API_docs_v25/constructors/messages_statedMessageLink.md index 868707d3..6d6e8e2d 100644 --- a/old_docs/API_docs_v25/constructors/messages_statedMessageLink.md +++ b/old_docs/API_docs_v25/constructors/messages_statedMessageLink.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link, contacts_Link], 'seq' => int]; ``` @@ -38,10 +38,9 @@ $messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_statedMessageLink={_='messages.statedMessageLink', message=Message, chats={Chat}, users={User}, pts=int, pts_count=int, links={contacts_Link}, seq=int} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_statedMessages.md b/old_docs/API_docs_v25/constructors/messages_statedMessages.md index 4bb5f2cd..f00bef6b 100644 --- a/old_docs/API_docs_v25/constructors/messages_statedMessages.md +++ b/old_docs/API_docs_v25/constructors/messages_statedMessages.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_statedMessages = ['_' => 'messages.statedMessages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'pts_count' => int]; ``` @@ -36,10 +36,9 @@ $messages_statedMessages = ['_' => 'messages.statedMessages', 'messages' => [Mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_statedMessages={_='messages.statedMessages', messages={Message}, chats={Chat}, users={User}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_statedMessagesLinks.md b/old_docs/API_docs_v25/constructors/messages_statedMessagesLinks.md index fe00c7c5..0b4fd3ae 100644 --- a/old_docs/API_docs_v25/constructors/messages_statedMessagesLinks.md +++ b/old_docs/API_docs_v25/constructors/messages_statedMessagesLinks.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link, contacts_Link], 'seq' => int]; ``` @@ -38,10 +38,9 @@ $messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'message ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_statedMessagesLinks={_='messages.statedMessagesLinks', messages={Message}, chats={Chat}, users={User}, pts=int, pts_count=int, links={contacts_Link}, seq=int} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_stickers.md b/old_docs/API_docs_v25/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v25/constructors/messages_stickers.md +++ b/old_docs/API_docs_v25/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v25/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v25/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v25/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v25/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v25/constructors/nearestDc.md b/old_docs/API_docs_v25/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v25/constructors/nearestDc.md +++ b/old_docs/API_docs_v25/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v25/constructors/notifyAll.md b/old_docs/API_docs_v25/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v25/constructors/notifyAll.md +++ b/old_docs/API_docs_v25/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v25/constructors/notifyChats.md b/old_docs/API_docs_v25/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v25/constructors/notifyChats.md +++ b/old_docs/API_docs_v25/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v25/constructors/notifyPeer.md b/old_docs/API_docs_v25/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v25/constructors/notifyPeer.md +++ b/old_docs/API_docs_v25/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v25/constructors/notifyUsers.md b/old_docs/API_docs_v25/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v25/constructors/notifyUsers.md +++ b/old_docs/API_docs_v25/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v25/constructors/peerChat.md b/old_docs/API_docs_v25/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v25/constructors/peerChat.md +++ b/old_docs/API_docs_v25/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v25/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v25/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v25/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v25/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v25/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v25/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v25/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v25/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/peerNotifySettings.md b/old_docs/API_docs_v25/constructors/peerNotifySettings.md index 513132f4..12c5bbb9 100644 --- a/old_docs/API_docs_v25/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v25/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v25/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v25/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v25/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v25/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/peerUser.md b/old_docs/API_docs_v25/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v25/constructors/peerUser.md +++ b/old_docs/API_docs_v25/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v25/constructors/photo.md b/old_docs/API_docs_v25/constructors/photo.md index 469d7852..1f836f7f 100644 --- a/old_docs/API_docs_v25/constructors/photo.md +++ b/old_docs/API_docs_v25/constructors/photo.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => 'string', 'geo' => GeoPoint, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -38,10 +38,9 @@ $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', id=long, access_hash=long, user_id=int, date=int, caption='string', geo=GeoPoint, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v25/constructors/photoCachedSize.md b/old_docs/API_docs_v25/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v25/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v25/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v25/constructors/photoEmpty.md b/old_docs/API_docs_v25/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v25/constructors/photoEmpty.md +++ b/old_docs/API_docs_v25/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v25/constructors/photoSize.md b/old_docs/API_docs_v25/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v25/constructors/photoSize.md +++ b/old_docs/API_docs_v25/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v25/constructors/photoSizeEmpty.md b/old_docs/API_docs_v25/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v25/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v25/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/photos_photo.md b/old_docs/API_docs_v25/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v25/constructors/photos_photo.md +++ b/old_docs/API_docs_v25/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v25/constructors/photos_photos.md b/old_docs/API_docs_v25/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v25/constructors/photos_photos.md +++ b/old_docs/API_docs_v25/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v25/constructors/photos_photosSlice.md b/old_docs/API_docs_v25/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v25/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v25/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v25/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v25/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v25/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v25/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v25/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v25/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v25/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v25/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v25/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v25/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v25/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v25/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v25/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v25/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v25/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v25/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v25/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v25/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v25/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v25/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v25/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v25/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v25/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v25/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v25/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v25/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v25/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v25/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v25/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v25/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v25/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v25/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v25/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v25/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v25/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v25/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v25/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v25/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v25/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v25/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v25/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v25/constructors/sendMessageUploadAudioAction.md index 19ad4045..b3e5dcb6 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageUploadAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction'} ``` diff --git a/old_docs/API_docs_v25/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v25/constructors/sendMessageUploadDocumentAction.md index dcb7341d..2d5f57ec 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageUploadDocumentAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction']; ``` @@ -27,10 +27,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction'} ``` diff --git a/old_docs/API_docs_v25/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v25/constructors/sendMessageUploadPhotoAction.md index a1aa8497..c250d774 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageUploadPhotoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction'} ``` diff --git a/old_docs/API_docs_v25/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v25/constructors/sendMessageUploadVideoAction.md index 418203e2..f38f6c67 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageUploadVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction'} ``` diff --git a/old_docs/API_docs_v25/constructors/stickerPack.md b/old_docs/API_docs_v25/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v25/constructors/stickerPack.md +++ b/old_docs/API_docs_v25/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v25/constructors/storage_fileGif.md b/old_docs/API_docs_v25/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v25/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v25/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v25/constructors/storage_fileJpeg.md b/old_docs/API_docs_v25/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v25/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v25/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v25/constructors/storage_fileMov.md b/old_docs/API_docs_v25/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v25/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v25/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v25/constructors/storage_fileMp3.md b/old_docs/API_docs_v25/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v25/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v25/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v25/constructors/storage_fileMp4.md b/old_docs/API_docs_v25/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v25/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v25/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v25/constructors/storage_filePartial.md b/old_docs/API_docs_v25/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v25/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v25/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v25/constructors/storage_filePdf.md b/old_docs/API_docs_v25/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v25/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v25/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v25/constructors/storage_filePng.md b/old_docs/API_docs_v25/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v25/constructors/storage_filePng.md +++ b/old_docs/API_docs_v25/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v25/constructors/storage_fileUnknown.md b/old_docs/API_docs_v25/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v25/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v25/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v25/constructors/storage_fileWebp.md b/old_docs/API_docs_v25/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v25/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v25/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v25/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v25/constructors/updateChatParticipantAdd.md index 8259bb9c..77d1fda5 100644 --- a/old_docs/API_docs_v25/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v25/constructors/updateChatParticipantAdd.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, version=int} ``` diff --git a/old_docs/API_docs_v25/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v25/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v25/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v25/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v25/constructors/updateChatParticipants.md b/old_docs/API_docs_v25/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v25/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v25/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v25/constructors/updateChatUserTyping.md b/old_docs/API_docs_v25/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v25/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v25/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v25/constructors/updateContactLink.md b/old_docs/API_docs_v25/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v25/constructors/updateContactLink.md +++ b/old_docs/API_docs_v25/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v25/constructors/updateContactRegistered.md b/old_docs/API_docs_v25/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v25/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v25/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v25/constructors/updateDcOptions.md b/old_docs/API_docs_v25/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v25/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v25/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v25/constructors/updateDeleteMessages.md b/old_docs/API_docs_v25/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v25/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v25/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v25/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v25/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v25/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v25/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v25/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v25/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v25/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v25/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v25/constructors/updateEncryption.md b/old_docs/API_docs_v25/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v25/constructors/updateEncryption.md +++ b/old_docs/API_docs_v25/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v25/constructors/updateMessageID.md b/old_docs/API_docs_v25/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v25/constructors/updateMessageID.md +++ b/old_docs/API_docs_v25/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v25/constructors/updateNewAuthorization.md b/old_docs/API_docs_v25/constructors/updateNewAuthorization.md index c7a95f80..ce1d0815 100644 --- a/old_docs/API_docs_v25/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v25/constructors/updateNewAuthorization.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` @@ -35,10 +35,9 @@ $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device='string', location='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v25/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v25/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v25/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v25/constructors/updateNewGeoChatMessage.md b/old_docs/API_docs_v25/constructors/updateNewGeoChatMessage.md index ace41fa6..6585fedc 100644 --- a/old_docs/API_docs_v25/constructors/updateNewGeoChatMessage.md +++ b/old_docs/API_docs_v25/constructors/updateNewGeoChatMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewGeoChatMessage = ['_' => 'updateNewGeoChatMessage', 'message' => GeoChatMessage]; ``` @@ -32,10 +32,9 @@ $updateNewGeoChatMessage = ['_' => 'updateNewGeoChatMessage', 'message' => GeoCh ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewGeoChatMessage={_='updateNewGeoChatMessage', message=GeoChatMessage} ``` diff --git a/old_docs/API_docs_v25/constructors/updateNewMessage.md b/old_docs/API_docs_v25/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v25/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v25/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v25/constructors/updateNotifySettings.md b/old_docs/API_docs_v25/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v25/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v25/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v25/constructors/updatePrivacy.md b/old_docs/API_docs_v25/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v25/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v25/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v25/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v25/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v25/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v25/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v25/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v25/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v25/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v25/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v25/constructors/updateReadMessages.md b/old_docs/API_docs_v25/constructors/updateReadMessages.md index 34e372b3..ffb22348 100644 --- a/old_docs/API_docs_v25/constructors/updateReadMessages.md +++ b/old_docs/API_docs_v25/constructors/updateReadMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [int, int], 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessages={_='updateReadMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v25/constructors/updateServiceNotification.md b/old_docs/API_docs_v25/constructors/updateServiceNotification.md index 979fe7bd..ddcf7eb5 100644 --- a/old_docs/API_docs_v25/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v25/constructors/updateServiceNotification.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` @@ -35,10 +35,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'str ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', type='string', message='string', media=MessageMedia, popup=Bool} ``` diff --git a/old_docs/API_docs_v25/constructors/updateShort.md b/old_docs/API_docs_v25/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v25/constructors/updateShort.md +++ b/old_docs/API_docs_v25/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v25/constructors/updateShortChatMessage.md b/old_docs/API_docs_v25/constructors/updateShortChatMessage.md index b38de3ca..3a0392d7 100644 --- a/old_docs/API_docs_v25/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v25/constructors/updateShortChatMessage.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int]; ``` @@ -41,10 +41,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from_id=int, fwd_date=int, reply_to_msg_id=int} ``` diff --git a/old_docs/API_docs_v25/constructors/updateShortMessage.md b/old_docs/API_docs_v25/constructors/updateShortMessage.md index a83eff88..330d5a52 100644 --- a/old_docs/API_docs_v25/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v25/constructors/updateShortMessage.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int]; ``` @@ -40,10 +40,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'user_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from_id=int, fwd_date=int, reply_to_msg_id=int} ``` diff --git a/old_docs/API_docs_v25/constructors/updateUserBlocked.md b/old_docs/API_docs_v25/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v25/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v25/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v25/constructors/updateUserName.md b/old_docs/API_docs_v25/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v25/constructors/updateUserName.md +++ b/old_docs/API_docs_v25/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/updateUserPhone.md b/old_docs/API_docs_v25/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v25/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v25/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/updateUserPhoto.md b/old_docs/API_docs_v25/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v25/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v25/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v25/constructors/updateUserStatus.md b/old_docs/API_docs_v25/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v25/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v25/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v25/constructors/updateUserTyping.md b/old_docs/API_docs_v25/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v25/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v25/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v25/constructors/updates.md b/old_docs/API_docs_v25/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v25/constructors/updates.md +++ b/old_docs/API_docs_v25/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v25/constructors/updatesCombined.md b/old_docs/API_docs_v25/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v25/constructors/updatesCombined.md +++ b/old_docs/API_docs_v25/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v25/constructors/updatesTooLong.md b/old_docs/API_docs_v25/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v25/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v25/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v25/constructors/updates_difference.md b/old_docs/API_docs_v25/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v25/constructors/updates_difference.md +++ b/old_docs/API_docs_v25/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v25/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v25/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v25/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v25/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v25/constructors/updates_differenceSlice.md b/old_docs/API_docs_v25/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v25/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v25/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v25/constructors/updates_state.md b/old_docs/API_docs_v25/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v25/constructors/updates_state.md +++ b/old_docs/API_docs_v25/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v25/constructors/upload_file.md b/old_docs/API_docs_v25/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v25/constructors/upload_file.md +++ b/old_docs/API_docs_v25/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v25/constructors/userContact.md b/old_docs/API_docs_v25/constructors/userContact.md index 6e05949f..04f9567e 100644 --- a/old_docs/API_docs_v25/constructors/userContact.md +++ b/old_docs/API_docs_v25/constructors/userContact.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userContact = ['_' => 'userContact', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` @@ -39,10 +39,9 @@ $userContact = ['_' => 'userContact', 'id' => int, 'first_name' => 'string', 'la ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userContact={_='userContact', id=int, first_name='string', last_name='string', username='string', access_hash=long, phone='string', photo=UserProfilePhoto, status=UserStatus} ``` diff --git a/old_docs/API_docs_v25/constructors/userDeleted.md b/old_docs/API_docs_v25/constructors/userDeleted.md index 880c8d97..04b5b2d7 100644 --- a/old_docs/API_docs_v25/constructors/userDeleted.md +++ b/old_docs/API_docs_v25/constructors/userDeleted.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => 'string', 'la ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userDeleted={_='userDeleted', id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/userEmpty.md b/old_docs/API_docs_v25/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v25/constructors/userEmpty.md +++ b/old_docs/API_docs_v25/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v25/constructors/userForeign.md b/old_docs/API_docs_v25/constructors/userForeign.md index 4597140c..388e65a9 100644 --- a/old_docs/API_docs_v25/constructors/userForeign.md +++ b/old_docs/API_docs_v25/constructors/userForeign.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` @@ -38,10 +38,9 @@ $userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => 'string', 'la ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userForeign={_='userForeign', id=int, first_name='string', last_name='string', username='string', access_hash=long, photo=UserProfilePhoto, status=UserStatus} ``` diff --git a/old_docs/API_docs_v25/constructors/userFull.md b/old_docs/API_docs_v25/constructors/userFull.md index 6344d4a7..998400df 100644 --- a/old_docs/API_docs_v25/constructors/userFull.md +++ b/old_docs/API_docs_v25/constructors/userFull.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => 'string', 'real_last_name' => 'string']; ``` @@ -38,10 +38,9 @@ $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name='string', real_last_name='string'} ``` diff --git a/old_docs/API_docs_v25/constructors/userProfilePhoto.md b/old_docs/API_docs_v25/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v25/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v25/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v25/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v25/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v25/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v25/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/userRequest.md b/old_docs/API_docs_v25/constructors/userRequest.md index fd913ab1..47a892e3 100644 --- a/old_docs/API_docs_v25/constructors/userRequest.md +++ b/old_docs/API_docs_v25/constructors/userRequest.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` @@ -39,10 +39,9 @@ $userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => 'string', 'la ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userRequest={_='userRequest', id=int, first_name='string', last_name='string', username='string', access_hash=long, phone='string', photo=UserProfilePhoto, status=UserStatus} ``` diff --git a/old_docs/API_docs_v25/constructors/userSelf.md b/old_docs/API_docs_v25/constructors/userSelf.md index a844d2a1..8e6410cf 100644 --- a/old_docs/API_docs_v25/constructors/userSelf.md +++ b/old_docs/API_docs_v25/constructors/userSelf.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` @@ -38,10 +38,9 @@ $userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => 'string', 'last_nam ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userSelf={_='userSelf', id=int, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus} ``` diff --git a/old_docs/API_docs_v25/constructors/userStatusEmpty.md b/old_docs/API_docs_v25/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v25/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v25/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v25/constructors/userStatusLastMonth.md b/old_docs/API_docs_v25/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v25/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v25/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v25/constructors/userStatusLastWeek.md b/old_docs/API_docs_v25/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v25/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v25/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v25/constructors/userStatusOffline.md b/old_docs/API_docs_v25/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v25/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v25/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v25/constructors/userStatusOnline.md b/old_docs/API_docs_v25/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v25/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v25/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v25/constructors/userStatusRecently.md b/old_docs/API_docs_v25/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v25/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v25/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v25/constructors/vector.md b/old_docs/API_docs_v25/constructors/vector.md index c9e27763..d8ea6f1f 100644 --- a/old_docs/API_docs_v25/constructors/vector.md +++ b/old_docs/API_docs_v25/constructors/vector.md @@ -18,7 +18,7 @@ Array ### Example: -``` +```php $vector = ['_' => 'vector']; ``` @@ -29,10 +29,9 @@ $vector = ['_' => 'vector']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua vector={_='vector'} ``` diff --git a/old_docs/API_docs_v25/constructors/video.md b/old_docs/API_docs_v25/constructors/video.md index 8aa5a6b3..6a3a4df5 100644 --- a/old_docs/API_docs_v25/constructors/video.md +++ b/old_docs/API_docs_v25/constructors/video.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => 'string', 'duration' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int]; ``` @@ -43,10 +43,9 @@ $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua video={_='video', id=long, access_hash=long, user_id=int, date=int, caption='string', duration=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v25/constructors/videoEmpty.md b/old_docs/API_docs_v25/constructors/videoEmpty.md index 8509fcf9..a41ca8ab 100644 --- a/old_docs/API_docs_v25/constructors/videoEmpty.md +++ b/old_docs/API_docs_v25/constructors/videoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua videoEmpty={_='videoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v25/constructors/wallPaper.md b/old_docs/API_docs_v25/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v25/constructors/wallPaper.md +++ b/old_docs/API_docs_v25/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v25/constructors/wallPaperSolid.md b/old_docs/API_docs_v25/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v25/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v25/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v25/methods/account_changePhone.md b/old_docs/API_docs_v25/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v25/methods/account_changePhone.md +++ b/old_docs/API_docs_v25/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/account_checkUsername.md b/old_docs/API_docs_v25/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v25/methods/account_checkUsername.md +++ b/old_docs/API_docs_v25/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/account_deleteAccount.md b/old_docs/API_docs_v25/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v25/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v25/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/account_getAccountTTL.md b/old_docs/API_docs_v25/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v25/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v25/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v25/methods/account_getNotifySettings.md b/old_docs/API_docs_v25/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v25/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v25/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v25/methods/account_getPassword.md b/old_docs/API_docs_v25/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v25/methods/account_getPassword.md +++ b/old_docs/API_docs_v25/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v25/methods/account_getPrivacy.md b/old_docs/API_docs_v25/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v25/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v25/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v25/methods/account_getWallPapers.md b/old_docs/API_docs_v25/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v25/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v25/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v25/methods/account_registerDevice.md b/old_docs/API_docs_v25/methods/account_registerDevice.md index bd2b5649..3192933d 100644 --- a/old_docs/API_docs_v25/methods/account_registerDevice.md +++ b/old_docs/API_docs_v25/methods/account_registerDevice.md @@ -30,7 +30,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', device_model='string', system_version='string', app_version='string', app_sandbox=Bool, lang_code='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/account_resetNotifySettings.md b/old_docs/API_docs_v25/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v25/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v25/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md index 2fcdcc4c..12ea92c5 100644 --- a/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md @@ -24,7 +24,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/account_setAccountTTL.md b/old_docs/API_docs_v25/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v25/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v25/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v25/methods/account_setPassword.md b/old_docs/API_docs_v25/methods/account_setPassword.md index 6dda13c7..50cc89c4 100644 --- a/old_docs/API_docs_v25/methods/account_setPassword.md +++ b/old_docs/API_docs_v25/methods/account_setPassword.md @@ -27,7 +27,7 @@ Set 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ hint - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.setPassword({current_password_hash='bytes', new_salt='bytes', new_password_hash='bytes', hint='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/account_setPrivacy.md b/old_docs/API_docs_v25/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v25/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v25/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v25/methods/account_unregisterDevice.md b/old_docs/API_docs_v25/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v25/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v25/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v25/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v25/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v25/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/account_updateNotifySettings.md b/old_docs/API_docs_v25/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v25/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v25/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v25/methods/account_updateProfile.md b/old_docs/API_docs_v25/methods/account_updateProfile.md index 541086a6..5034a6da 100644 --- a/old_docs/API_docs_v25/methods/account_updateProfile.md +++ b/old_docs/API_docs_v25/methods/account_updateProfile.md @@ -25,7 +25,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ last_name - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/account_updateStatus.md b/old_docs/API_docs_v25/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v25/methods/account_updateStatus.md +++ b/old_docs/API_docs_v25/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v25/methods/account_updateUsername.md b/old_docs/API_docs_v25/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v25/methods/account_updateUsername.md +++ b/old_docs/API_docs_v25/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/auth_checkPhone.md b/old_docs/API_docs_v25/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v25/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v25/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v25/methods/auth_sendCall.md b/old_docs/API_docs_v25/methods/auth_sendCall.md index 70a2870f..e8260454 100644 --- a/old_docs/API_docs_v25/methods/auth_sendCall.md +++ b/old_docs/API_docs_v25/methods/auth_sendCall.md @@ -25,7 +25,7 @@ Send verification phone call ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/auth_sendInvites.md b/old_docs/API_docs_v25/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v25/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v25/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/auth_sendSms.md b/old_docs/API_docs_v25/methods/auth_sendSms.md index 6c31f570..050926ff 100644 --- a/old_docs/API_docs_v25/methods/auth_sendSms.md +++ b/old_docs/API_docs_v25/methods/auth_sendSms.md @@ -25,7 +25,7 @@ Send SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/contacts_block.md b/old_docs/API_docs_v25/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v25/methods/contacts_block.md +++ b/old_docs/API_docs_v25/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v25/methods/contacts_deleteContact.md b/old_docs/API_docs_v25/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v25/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v25/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v25/methods/contacts_deleteContacts.md b/old_docs/API_docs_v25/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v25/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v25/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v25/methods/contacts_exportCard.md b/old_docs/API_docs_v25/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v25/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v25/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v25/methods/contacts_getBlocked.md b/old_docs/API_docs_v25/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v25/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v25/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/contacts_getContacts.md b/old_docs/API_docs_v25/methods/contacts_getContacts.md index ccf0f99d..dfa407f2 100644 --- a/old_docs/API_docs_v25/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v25/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/contacts_getStatuses.md b/old_docs/API_docs_v25/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v25/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v25/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v25/methods/contacts_getSuggested.md b/old_docs/API_docs_v25/methods/contacts_getSuggested.md index d7feb718..8183eae4 100644 --- a/old_docs/API_docs_v25/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v25/methods/contacts_getSuggested.md @@ -24,7 +24,7 @@ Get suggested contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/contacts_importCard.md b/old_docs/API_docs_v25/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v25/methods/contacts_importCard.md +++ b/old_docs/API_docs_v25/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v25/methods/contacts_importContacts.md b/old_docs/API_docs_v25/methods/contacts_importContacts.md index d0404dd2..f1b17e2c 100644 --- a/old_docs/API_docs_v25/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v25/methods/contacts_importContacts.md @@ -25,7 +25,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ replace - Json encoded Bool Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v25/methods/contacts_search.md b/old_docs/API_docs_v25/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v25/methods/contacts_search.md +++ b/old_docs/API_docs_v25/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/contacts_unblock.md b/old_docs/API_docs_v25/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v25/methods/contacts_unblock.md +++ b/old_docs/API_docs_v25/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v25/methods/geochats_checkin.md b/old_docs/API_docs_v25/methods/geochats_checkin.md index c1909467..9f824537 100644 --- a/old_docs/API_docs_v25/methods/geochats_checkin.md +++ b/old_docs/API_docs_v25/methods/geochats_checkin.md @@ -24,7 +24,7 @@ Join a geochat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ peer - Json encoded InputGeoChat Or, if you're into Lua: -``` +```lua geochats_StatedMessage = geochats.checkin({peer=InputGeoChat, }) ``` diff --git a/old_docs/API_docs_v25/methods/geochats_createGeoChat.md b/old_docs/API_docs_v25/methods/geochats_createGeoChat.md index 4781b50d..d37da677 100644 --- a/old_docs/API_docs_v25/methods/geochats_createGeoChat.md +++ b/old_docs/API_docs_v25/methods/geochats_createGeoChat.md @@ -27,7 +27,7 @@ Create geochat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ venue - Json encoded string Or, if you're into Lua: -``` +```lua geochats_StatedMessage = geochats.createGeoChat({title='string', geo_point=InputGeoPoint, address='string', venue='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/geochats_editChatPhoto.md b/old_docs/API_docs_v25/methods/geochats_editChatPhoto.md index 296b220a..8f51f566 100644 --- a/old_docs/API_docs_v25/methods/geochats_editChatPhoto.md +++ b/old_docs/API_docs_v25/methods/geochats_editChatPhoto.md @@ -25,7 +25,7 @@ Edit geochat photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua geochats_StatedMessage = geochats.editChatPhoto({peer=InputGeoChat, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v25/methods/geochats_editChatTitle.md b/old_docs/API_docs_v25/methods/geochats_editChatTitle.md index f8cff88d..85836d21 100644 --- a/old_docs/API_docs_v25/methods/geochats_editChatTitle.md +++ b/old_docs/API_docs_v25/methods/geochats_editChatTitle.md @@ -26,7 +26,7 @@ Edit geochat title ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ address - Json encoded string Or, if you're into Lua: -``` +```lua geochats_StatedMessage = geochats.editChatTitle({peer=InputGeoChat, title='string', address='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/geochats_getFullChat.md b/old_docs/API_docs_v25/methods/geochats_getFullChat.md index fa3baeb0..df0f06db 100644 --- a/old_docs/API_docs_v25/methods/geochats_getFullChat.md +++ b/old_docs/API_docs_v25/methods/geochats_getFullChat.md @@ -24,7 +24,7 @@ Get full info about a geochat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ peer - Json encoded InputGeoChat Or, if you're into Lua: -``` +```lua messages_ChatFull = geochats.getFullChat({peer=InputGeoChat, }) ``` diff --git a/old_docs/API_docs_v25/methods/geochats_getHistory.md b/old_docs/API_docs_v25/methods/geochats_getHistory.md index 30f78447..ca049a05 100644 --- a/old_docs/API_docs_v25/methods/geochats_getHistory.md +++ b/old_docs/API_docs_v25/methods/geochats_getHistory.md @@ -27,7 +27,7 @@ Get geochat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua geochats_Messages = geochats.getHistory({peer=InputGeoChat, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/geochats_getLocated.md b/old_docs/API_docs_v25/methods/geochats_getLocated.md index 8f9bf461..03eb75e8 100644 --- a/old_docs/API_docs_v25/methods/geochats_getLocated.md +++ b/old_docs/API_docs_v25/methods/geochats_getLocated.md @@ -26,7 +26,7 @@ Get nearby geochats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua geochats_Located = geochats.getLocated({geo_point=InputGeoPoint, radius=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/geochats_getRecents.md b/old_docs/API_docs_v25/methods/geochats_getRecents.md index 7c8fbc31..e46ad953 100644 --- a/old_docs/API_docs_v25/methods/geochats_getRecents.md +++ b/old_docs/API_docs_v25/methods/geochats_getRecents.md @@ -25,7 +25,7 @@ Get recent geochats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua geochats_Messages = geochats.getRecents({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/geochats_search.md b/old_docs/API_docs_v25/methods/geochats_search.md index 318f125c..8fa03b4e 100644 --- a/old_docs/API_docs_v25/methods/geochats_search.md +++ b/old_docs/API_docs_v25/methods/geochats_search.md @@ -31,7 +31,7 @@ Search messages in geocha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -83,7 +83,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua geochats_Messages = geochats.search({peer=InputGeoChat, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/geochats_sendMedia.md b/old_docs/API_docs_v25/methods/geochats_sendMedia.md index 5fd1a158..7490e936 100644 --- a/old_docs/API_docs_v25/methods/geochats_sendMedia.md +++ b/old_docs/API_docs_v25/methods/geochats_sendMedia.md @@ -25,7 +25,7 @@ Send media to geochat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua geochats_StatedMessage = geochats.sendMedia({peer=InputGeoChat, media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v25/methods/geochats_sendMessage.md b/old_docs/API_docs_v25/methods/geochats_sendMessage.md index 85de20d8..3a92a0e1 100644 --- a/old_docs/API_docs_v25/methods/geochats_sendMessage.md +++ b/old_docs/API_docs_v25/methods/geochats_sendMessage.md @@ -25,7 +25,7 @@ Send message to geochat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua geochats_StatedMessage = geochats.sendMessage({peer=InputGeoChat, message='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/geochats_setTyping.md b/old_docs/API_docs_v25/methods/geochats_setTyping.md index fb709484..ecdda227 100644 --- a/old_docs/API_docs_v25/methods/geochats_setTyping.md +++ b/old_docs/API_docs_v25/methods/geochats_setTyping.md @@ -25,7 +25,7 @@ Send typing notification to geochat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = geochats.setTyping({peer=InputGeoChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v25/methods/help_getAppUpdate.md b/old_docs/API_docs_v25/methods/help_getAppUpdate.md index a501cbc5..4bdf36c3 100644 --- a/old_docs/API_docs_v25/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v25/methods/help_getAppUpdate.md @@ -27,7 +27,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/help_getConfig.md b/old_docs/API_docs_v25/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v25/methods/help_getConfig.md +++ b/old_docs/API_docs_v25/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v25/methods/help_getInviteText.md b/old_docs/API_docs_v25/methods/help_getInviteText.md index 1b31e572..797e2ad3 100644 --- a/old_docs/API_docs_v25/methods/help_getInviteText.md +++ b/old_docs/API_docs_v25/methods/help_getInviteText.md @@ -24,7 +24,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/help_getNearestDc.md b/old_docs/API_docs_v25/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v25/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v25/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v25/methods/help_getSupport.md b/old_docs/API_docs_v25/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v25/methods/help_getSupport.md +++ b/old_docs/API_docs_v25/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v25/methods/help_saveAppLog.md b/old_docs/API_docs_v25/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v25/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v25/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v25/methods/initConnection.md b/old_docs/API_docs_v25/methods/initConnection.md index 58cdb067..e34794f8 100644 --- a/old_docs/API_docs_v25/methods/initConnection.md +++ b/old_docs/API_docs_v25/methods/initConnection.md @@ -29,7 +29,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v25/methods/invokeAfterMsg.md b/old_docs/API_docs_v25/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v25/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v25/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v25/methods/invokeAfterMsgs.md b/old_docs/API_docs_v25/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v25/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v25/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v25/methods/invokeWithLayer.md b/old_docs/API_docs_v25/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v25/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v25/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_addChatUser.md b/old_docs/API_docs_v25/methods/messages_addChatUser.md index 07f88f50..05a836b6 100644 --- a/old_docs/API_docs_v25/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v25/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_StatedMessage = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_createChat.md b/old_docs/API_docs_v25/methods/messages_createChat.md index 801a3c7e..71b41e14 100644 --- a/old_docs/API_docs_v25/methods/messages_createChat.md +++ b/old_docs/API_docs_v25/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua messages_StatedMessage = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_deleteChatUser.md b/old_docs/API_docs_v25/methods/messages_deleteChatUser.md index 6a3db15d..ee78f262 100644 --- a/old_docs/API_docs_v25/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v25/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_StatedMessage = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_deleteHistory.md b/old_docs/API_docs_v25/methods/messages_deleteHistory.md index 5f04ad57..6c36b930 100644 --- a/old_docs/API_docs_v25/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v25/methods/messages_deleteHistory.md @@ -25,7 +25,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, offset=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_deleteMessages.md b/old_docs/API_docs_v25/methods/messages_deleteMessages.md index 2aa9d7d1..24152bec 100644 --- a/old_docs/API_docs_v25/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v25/methods/messages_deleteMessages.md @@ -24,7 +24,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_editChatPhoto.md b/old_docs/API_docs_v25/methods/messages_editChatPhoto.md index a0564d0d..3195b311 100644 --- a/old_docs/API_docs_v25/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v25/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua messages_StatedMessage = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_editChatTitle.md b/old_docs/API_docs_v25/methods/messages_editChatTitle.md index e51d4f1c..35939d4e 100644 --- a/old_docs/API_docs_v25/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v25/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua messages_StatedMessage = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_forwardMessage.md b/old_docs/API_docs_v25/methods/messages_forwardMessage.md index 5f1ec345..bc58a33c 100644 --- a/old_docs/API_docs_v25/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v25/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua messages_StatedMessage = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_forwardMessages.md b/old_docs/API_docs_v25/methods/messages_forwardMessages.md index 1c990900..456601f9 100644 --- a/old_docs/API_docs_v25/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v25/methods/messages_forwardMessages.md @@ -25,7 +25,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_StatedMessages = messages.forwardMessages({peer=InputPeer, id={int}, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_getAllStickers.md b/old_docs/API_docs_v25/methods/messages_getAllStickers.md index faa8eea2..c90a48ea 100644 --- a/old_docs/API_docs_v25/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v25/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_getChats.md b/old_docs/API_docs_v25/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v25/methods/messages_getChats.md +++ b/old_docs/API_docs_v25/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_getDialogs.md b/old_docs/API_docs_v25/methods/messages_getDialogs.md index c93f1d1c..f0a3fef2 100644 --- a/old_docs/API_docs_v25/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v25/methods/messages_getDialogs.md @@ -26,7 +26,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_getHistory.md b/old_docs/API_docs_v25/methods/messages_getHistory.md index f8240098..26296676 100644 --- a/old_docs/API_docs_v25/methods/messages_getHistory.md +++ b/old_docs/API_docs_v25/methods/messages_getHistory.md @@ -27,7 +27,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_getMessages.md b/old_docs/API_docs_v25/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v25/methods/messages_getMessages.md +++ b/old_docs/API_docs_v25/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_getStickers.md b/old_docs/API_docs_v25/methods/messages_getStickers.md index b1d3bd83..f4ca9972 100644 --- a/old_docs/API_docs_v25/methods/messages_getStickers.md +++ b/old_docs/API_docs_v25/methods/messages_getStickers.md @@ -25,7 +25,7 @@ Get stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_readHistory.md b/old_docs/API_docs_v25/methods/messages_readHistory.md index 22f247bc..903268e6 100644 --- a/old_docs/API_docs_v25/methods/messages_readHistory.md +++ b/old_docs/API_docs_v25/methods/messages_readHistory.md @@ -26,7 +26,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.readHistory({peer=InputPeer, max_id=int, offset=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_readMessageContents.md b/old_docs/API_docs_v25/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v25/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v25/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_receivedMessages.md b/old_docs/API_docs_v25/methods/messages_receivedMessages.md index 44dc6a71..2597d4c7 100644 --- a/old_docs/API_docs_v25/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v25/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_int = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_search.md b/old_docs/API_docs_v25/methods/messages_search.md index 4c373c29..b4549f38 100644 --- a/old_docs/API_docs_v25/methods/messages_search.md +++ b/old_docs/API_docs_v25/methods/messages_search.md @@ -31,7 +31,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_sendBroadcast.md b/old_docs/API_docs_v25/methods/messages_sendBroadcast.md index c77c6e1e..f7c63f51 100644 --- a/old_docs/API_docs_v25/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v25/methods/messages_sendBroadcast.md @@ -26,7 +26,7 @@ Send a message to all users in the chat list ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua messages_StatedMessages = messages.sendBroadcast({contacts={InputUser}, message='string', media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_sendEncrypted.md b/old_docs/API_docs_v25/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v25/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v25/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v25/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v25/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v25/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_sendMedia.md b/old_docs/API_docs_v25/methods/messages_sendMedia.md index b1e5ed90..1019939d 100644 --- a/old_docs/API_docs_v25/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v25/methods/messages_sendMedia.md @@ -26,7 +26,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua messages_StatedMessage = messages.sendMedia({peer=InputPeer, reply_to_msg_id=int, media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_sendMessage.md b/old_docs/API_docs_v25/methods/messages_sendMessage.md index 0c5a0626..dfbfe41d 100644 --- a/old_docs/API_docs_v25/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v25/methods/messages_sendMessage.md @@ -26,7 +26,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua messages_SentMessage = messages.sendMessage({peer=InputPeer, reply_to_msg_id=int, message='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages_setTyping.md b/old_docs/API_docs_v25/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v25/methods/messages_setTyping.md +++ b/old_docs/API_docs_v25/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v25/methods/photos_deletePhotos.md b/old_docs/API_docs_v25/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v25/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v25/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v25/methods/photos_getUserPhotos.md b/old_docs/API_docs_v25/methods/photos_getUserPhotos.md index fef30862..7afef335 100644 --- a/old_docs/API_docs_v25/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v25/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md index 706f0a01..7341e4e7 100644 --- a/old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md @@ -25,7 +25,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md index 99064210..1debfc82 100644 --- a/old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md @@ -27,7 +27,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v25/methods/users_getUsers.md b/old_docs/API_docs_v25/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v25/methods/users_getUsers.md +++ b/old_docs/API_docs_v25/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v25/types/Chat.md b/old_docs/API_docs_v25/types/Chat.md index 75d5690e..17d39a19 100644 --- a/old_docs/API_docs_v25/types/Chat.md +++ b/old_docs/API_docs_v25/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v25/types/InputEncryptedChat.md b/old_docs/API_docs_v25/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v25/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v25/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v25/types/InputEncryptedFile.md b/old_docs/API_docs_v25/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v25/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v25/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v25/types/InputFile.md b/old_docs/API_docs_v25/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v25/types/InputFile.md +++ b/old_docs/API_docs_v25/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v25/types/InputNotifyPeer.md b/old_docs/API_docs_v25/types/InputNotifyPeer.md index 8347c390..215723c6 100644 --- a/old_docs/API_docs_v25/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v25/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v25/types/InputPeer.md b/old_docs/API_docs_v25/types/InputPeer.md index 0835e3ca..77f58c16 100644 --- a/old_docs/API_docs_v25/types/InputPeer.md +++ b/old_docs/API_docs_v25/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v25/types/InputUser.md b/old_docs/API_docs_v25/types/InputUser.md index 0294e497..e6fae5b8 100644 --- a/old_docs/API_docs_v25/types/InputUser.md +++ b/old_docs/API_docs_v25/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v25/types/NotifyPeer.md b/old_docs/API_docs_v25/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v25/types/NotifyPeer.md +++ b/old_docs/API_docs_v25/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v25/types/Peer.md b/old_docs/API_docs_v25/types/Peer.md index 9edbf4bb..48d23853 100644 --- a/old_docs/API_docs_v25/types/Peer.md +++ b/old_docs/API_docs_v25/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v25/types/User.md b/old_docs/API_docs_v25/types/User.md index 6dbfd982..5c7944e9 100644 --- a/old_docs/API_docs_v25/types/User.md +++ b/old_docs/API_docs_v25/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v27/constructors/accountDaysTTL.md b/old_docs/API_docs_v27/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v27/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v27/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v27/constructors/account_authorizations.md b/old_docs/API_docs_v27/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v27/constructors/account_authorizations.md +++ b/old_docs/API_docs_v27/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v27/constructors/account_noPassword.md b/old_docs/API_docs_v27/constructors/account_noPassword.md index 81a483d6..63a4af6d 100644 --- a/old_docs/API_docs_v27/constructors/account_noPassword.md +++ b/old_docs/API_docs_v27/constructors/account_noPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -33,10 +33,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'emai ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/account_password.md b/old_docs/API_docs_v27/constructors/account_password.md index 9a8b31c6..5c4c334b 100644 --- a/old_docs/API_docs_v27/constructors/account_password.md +++ b/old_docs/API_docs_v27/constructors/account_password.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` @@ -36,10 +36,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v27/constructors/account_passwordInputSettings.md index f474e0c7..b5838f0a 100644 --- a/old_docs/API_docs_v27/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v27/constructors/account_passwordInputSettings.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v27/constructors/account_passwordSettings.md b/old_docs/API_docs_v27/constructors/account_passwordSettings.md index 27d14f59..04fc8621 100644 --- a/old_docs/API_docs_v27/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v27/constructors/account_passwordSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v27/constructors/account_privacyRules.md b/old_docs/API_docs_v27/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v27/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v27/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v27/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v27/constructors/account_sentChangePhoneCode.md index 7bfd04ab..34044265 100644 --- a/old_docs/API_docs_v27/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v27/constructors/account_sentChangePhoneCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; ``` @@ -33,10 +33,9 @@ $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} ``` diff --git a/old_docs/API_docs_v27/constructors/audio.md b/old_docs/API_docs_v27/constructors/audio.md index 1437e1f7..5bc6aa7a 100644 --- a/old_docs/API_docs_v27/constructors/audio.md +++ b/old_docs/API_docs_v27/constructors/audio.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` @@ -39,10 +39,9 @@ $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audio={_='audio', id=long, access_hash=long, user_id=int, date=int, duration=int, mime_type='string', size=int, dc_id=int} ``` diff --git a/old_docs/API_docs_v27/constructors/audioEmpty.md b/old_docs/API_docs_v27/constructors/audioEmpty.md index 2b0ed960..846367f4 100644 --- a/old_docs/API_docs_v27/constructors/audioEmpty.md +++ b/old_docs/API_docs_v27/constructors/audioEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audioEmpty={_='audioEmpty', id=long} ``` diff --git a/old_docs/API_docs_v27/constructors/auth_authorization.md b/old_docs/API_docs_v27/constructors/auth_authorization.md index f9d870b4..84f70ba6 100644 --- a/old_docs/API_docs_v27/constructors/auth_authorization.md +++ b/old_docs/API_docs_v27/constructors/auth_authorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User]; ``` @@ -33,10 +33,9 @@ $auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_authorization={_='auth.authorization', expires=int, user=User} ``` diff --git a/old_docs/API_docs_v27/constructors/auth_checkedPhone.md b/old_docs/API_docs_v27/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v27/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v27/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v27/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v27/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v27/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v27/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v27/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v27/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v27/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v27/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v27/constructors/auth_sentAppCode.md b/old_docs/API_docs_v27/constructors/auth_sentAppCode.md index 1f354541..ec13efba 100644 --- a/old_docs/API_docs_v27/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v27/constructors/auth_sentAppCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'pho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v27/constructors/auth_sentCode.md b/old_docs/API_docs_v27/constructors/auth_sentCode.md index 01834b65..2b5301e1 100644 --- a/old_docs/API_docs_v27/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v27/constructors/auth_sentCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v27/constructors/authorization.md b/old_docs/API_docs_v27/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v27/constructors/authorization.md +++ b/old_docs/API_docs_v27/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v27/constructors/chat.md b/old_docs/API_docs_v27/constructors/chat.md index 6bfb3651..d197bfc9 100644 --- a/old_docs/API_docs_v27/constructors/chat.md +++ b/old_docs/API_docs_v27/constructors/chat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chat = ['_' => 'chat', 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int]; ``` @@ -38,10 +38,9 @@ $chat = ['_' => 'chat', 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chat={_='chat', id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, left=Bool, version=int} ``` diff --git a/old_docs/API_docs_v27/constructors/chatEmpty.md b/old_docs/API_docs_v27/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v27/constructors/chatEmpty.md +++ b/old_docs/API_docs_v27/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v27/constructors/chatForbidden.md b/old_docs/API_docs_v27/constructors/chatForbidden.md index ecbb3ed8..76708ada 100644 --- a/old_docs/API_docs_v27/constructors/chatForbidden.md +++ b/old_docs/API_docs_v27/constructors/chatForbidden.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string', 'date' => int]; ``` @@ -34,10 +34,9 @@ $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string', 'dat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatForbidden={_='chatForbidden', id=int, title='string', date=int} ``` diff --git a/old_docs/API_docs_v27/constructors/chatFull.md b/old_docs/API_docs_v27/constructors/chatFull.md index 11b5d9fb..9e090a52 100644 --- a/old_docs/API_docs_v27/constructors/chatFull.md +++ b/old_docs/API_docs_v27/constructors/chatFull.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v27/constructors/chatLocated.md b/old_docs/API_docs_v27/constructors/chatLocated.md index 7c2cc78a..8b53e150 100644 --- a/old_docs/API_docs_v27/constructors/chatLocated.md +++ b/old_docs/API_docs_v27/constructors/chatLocated.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatLocated = ['_' => 'chatLocated', 'chat_id' => int, 'distance' => int]; ``` @@ -33,10 +33,9 @@ $chatLocated = ['_' => 'chatLocated', 'chat_id' => int, 'distance' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatLocated={_='chatLocated', chat_id=int, distance=int} ``` diff --git a/old_docs/API_docs_v27/constructors/chatParticipant.md b/old_docs/API_docs_v27/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v27/constructors/chatParticipant.md +++ b/old_docs/API_docs_v27/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v27/constructors/chatParticipants.md b/old_docs/API_docs_v27/constructors/chatParticipants.md index d4acc517..5acbb81c 100644 --- a/old_docs/API_docs_v27/constructors/chatParticipants.md +++ b/old_docs/API_docs_v27/constructors/chatParticipants.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -35,10 +35,9 @@ $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipants={_='chatParticipants', chat_id=int, admin_id=int, participants={ChatParticipant}, version=int} ``` diff --git a/old_docs/API_docs_v27/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v27/constructors/chatParticipantsForbidden.md index c3b4c007..c6bb546b 100644 --- a/old_docs/API_docs_v27/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v27/constructors/chatParticipantsForbidden.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int} ``` diff --git a/old_docs/API_docs_v27/constructors/chatPhoto.md b/old_docs/API_docs_v27/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v27/constructors/chatPhoto.md +++ b/old_docs/API_docs_v27/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v27/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v27/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v27/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v27/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/config.md b/old_docs/API_docs_v27/constructors/config.md index a89c2394..e43dff6c 100644 --- a/old_docs/API_docs_v27/constructors/config.md +++ b/old_docs/API_docs_v27/constructors/config.md @@ -36,7 +36,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'broadcast_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -47,10 +47,9 @@ $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, broadcast_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v27/constructors/contact.md b/old_docs/API_docs_v27/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v27/constructors/contact.md +++ b/old_docs/API_docs_v27/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v27/constructors/contactBlocked.md b/old_docs/API_docs_v27/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v27/constructors/contactBlocked.md +++ b/old_docs/API_docs_v27/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v27/constructors/contactFound.md b/old_docs/API_docs_v27/constructors/contactFound.md index b7f22e4c..ecf6b905 100644 --- a/old_docs/API_docs_v27/constructors/contactFound.md +++ b/old_docs/API_docs_v27/constructors/contactFound.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactFound = ['_' => 'contactFound', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $contactFound = ['_' => 'contactFound', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactFound={_='contactFound', user_id=int} ``` diff --git a/old_docs/API_docs_v27/constructors/contactLinkContact.md b/old_docs/API_docs_v27/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v27/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v27/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v27/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v27/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v27/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v27/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v27/constructors/contactLinkNone.md b/old_docs/API_docs_v27/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v27/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v27/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v27/constructors/contactLinkUnknown.md b/old_docs/API_docs_v27/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v27/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v27/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v27/constructors/contactStatus.md b/old_docs/API_docs_v27/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v27/constructors/contactStatus.md +++ b/old_docs/API_docs_v27/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v27/constructors/contactSuggested.md b/old_docs/API_docs_v27/constructors/contactSuggested.md index 7dc8105c..e90bf7c9 100644 --- a/old_docs/API_docs_v27/constructors/contactSuggested.md +++ b/old_docs/API_docs_v27/constructors/contactSuggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` @@ -33,10 +33,9 @@ $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int} ``` diff --git a/old_docs/API_docs_v27/constructors/contacts_blocked.md b/old_docs/API_docs_v27/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v27/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v27/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v27/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v27/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v27/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v27/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v27/constructors/contacts_contacts.md b/old_docs/API_docs_v27/constructors/contacts_contacts.md index 34dae91a..ea16b38a 100644 --- a/old_docs/API_docs_v27/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v27/constructors/contacts_contacts.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} ``` diff --git a/old_docs/API_docs_v27/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v27/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v27/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v27/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v27/constructors/contacts_found.md b/old_docs/API_docs_v27/constructors/contacts_found.md index ba0c9b31..940558ab 100644 --- a/old_docs/API_docs_v27/constructors/contacts_found.md +++ b/old_docs/API_docs_v27/constructors/contacts_found.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactFound], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactF ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={ContactFound}, users={User}} ``` diff --git a/old_docs/API_docs_v27/constructors/contacts_importedContacts.md b/old_docs/API_docs_v27/constructors/contacts_importedContacts.md index 7bf9c1bf..8b9012bb 100644 --- a/old_docs/API_docs_v27/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v27/constructors/contacts_importedContacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v27/constructors/contacts_link.md b/old_docs/API_docs_v27/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v27/constructors/contacts_link.md +++ b/old_docs/API_docs_v27/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v27/constructors/contacts_suggested.md b/old_docs/API_docs_v27/constructors/contacts_suggested.md index 553cebcb..2659d855 100644 --- a/old_docs/API_docs_v27/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v27/constructors/contacts_suggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggest ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} ``` diff --git a/old_docs/API_docs_v27/constructors/dcOption.md b/old_docs/API_docs_v27/constructors/dcOption.md index 60a8e673..62331b41 100644 --- a/old_docs/API_docs_v27/constructors/dcOption.md +++ b/old_docs/API_docs_v27/constructors/dcOption.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => 'string', 'ip_address' => 'string', 'port' => int]; ``` @@ -35,10 +35,9 @@ $dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => 'string', 'ip_address ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', id=int, hostname='string', ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v27/constructors/dialog.md b/old_docs/API_docs_v27/constructors/dialog.md index cbb327d6..539225bf 100644 --- a/old_docs/API_docs_v27/constructors/dialog.md +++ b/old_docs/API_docs_v27/constructors/dialog.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` @@ -36,10 +36,9 @@ $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_ma ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v27/constructors/disabledFeature.md b/old_docs/API_docs_v27/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v27/constructors/disabledFeature.md +++ b/old_docs/API_docs_v27/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/document.md b/old_docs/API_docs_v27/constructors/document.md index 8719d873..e9547f1f 100644 --- a/old_docs/API_docs_v27/constructors/document.md +++ b/old_docs/API_docs_v27/constructors/document.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -39,10 +39,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v27/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v27/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v27/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v27/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v27/constructors/documentAttributeAudio.md b/old_docs/API_docs_v27/constructors/documentAttributeAudio.md index c97e3289..c992cb0a 100644 --- a/old_docs/API_docs_v27/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v27/constructors/documentAttributeAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int]; ``` @@ -32,10 +32,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', duration=int} ``` diff --git a/old_docs/API_docs_v27/constructors/documentAttributeFilename.md b/old_docs/API_docs_v27/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v27/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v27/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v27/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v27/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v27/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v27/constructors/documentAttributeSticker.md b/old_docs/API_docs_v27/constructors/documentAttributeSticker.md index b574dee8..2e857c22 100644 --- a/old_docs/API_docs_v27/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v27/constructors/documentAttributeSticker.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', alt='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/documentAttributeVideo.md b/old_docs/API_docs_v27/constructors/documentAttributeVideo.md index 0902c118..cc7ffced 100644 --- a/old_docs/API_docs_v27/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v27/constructors/documentAttributeVideo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -34,10 +34,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v27/constructors/documentEmpty.md b/old_docs/API_docs_v27/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v27/constructors/documentEmpty.md +++ b/old_docs/API_docs_v27/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v27/constructors/encryptedChat.md b/old_docs/API_docs_v27/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v27/constructors/encryptedChat.md +++ b/old_docs/API_docs_v27/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v27/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v27/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v27/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v27/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v27/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v27/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v27/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v27/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v27/constructors/encryptedChatRequested.md b/old_docs/API_docs_v27/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v27/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v27/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v27/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v27/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v27/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v27/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v27/constructors/encryptedFile.md b/old_docs/API_docs_v27/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v27/constructors/encryptedFile.md +++ b/old_docs/API_docs_v27/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v27/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v27/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v27/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v27/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/encryptedMessage.md b/old_docs/API_docs_v27/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v27/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v27/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v27/constructors/encryptedMessageService.md b/old_docs/API_docs_v27/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v27/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v27/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v27/constructors/error.md b/old_docs/API_docs_v27/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v27/constructors/error.md +++ b/old_docs/API_docs_v27/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/fileLocation.md b/old_docs/API_docs_v27/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v27/constructors/fileLocation.md +++ b/old_docs/API_docs_v27/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v27/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v27/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v27/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v27/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v27/constructors/geoChat.md b/old_docs/API_docs_v27/constructors/geoChat.md index 12ca0ce8..2a3d07c8 100644 --- a/old_docs/API_docs_v27/constructors/geoChat.md +++ b/old_docs/API_docs_v27/constructors/geoChat.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoChat = ['_' => 'geoChat', 'id' => int, 'access_hash' => long, 'title' => 'string', 'address' => 'string', 'venue' => 'string', 'geo' => GeoPoint, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'checked_in' => Bool, 'version' => int]; ``` @@ -42,10 +42,9 @@ $geoChat = ['_' => 'geoChat', 'id' => int, 'access_hash' => long, 'title' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoChat={_='geoChat', id=int, access_hash=long, title='string', address='string', venue='string', geo=GeoPoint, photo=ChatPhoto, participants_count=int, date=int, checked_in=Bool, version=int} ``` diff --git a/old_docs/API_docs_v27/constructors/geoChatMessage.md b/old_docs/API_docs_v27/constructors/geoChatMessage.md index b9f51d8a..c8b4fec0 100644 --- a/old_docs/API_docs_v27/constructors/geoChatMessage.md +++ b/old_docs/API_docs_v27/constructors/geoChatMessage.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoChatMessage = ['_' => 'geoChatMessage', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia]; ``` @@ -37,10 +37,9 @@ $geoChatMessage = ['_' => 'geoChatMessage', 'chat_id' => int, 'id' => int, 'from ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoChatMessage={_='geoChatMessage', chat_id=int, id=int, from_id=int, date=int, message='string', media=MessageMedia} ``` diff --git a/old_docs/API_docs_v27/constructors/geoChatMessageEmpty.md b/old_docs/API_docs_v27/constructors/geoChatMessageEmpty.md index d14df307..d578dca5 100644 --- a/old_docs/API_docs_v27/constructors/geoChatMessageEmpty.md +++ b/old_docs/API_docs_v27/constructors/geoChatMessageEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoChatMessageEmpty = ['_' => 'geoChatMessageEmpty', 'chat_id' => int, 'id' => int]; ``` @@ -33,10 +33,9 @@ $geoChatMessageEmpty = ['_' => 'geoChatMessageEmpty', 'chat_id' => int, 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoChatMessageEmpty={_='geoChatMessageEmpty', chat_id=int, id=int} ``` diff --git a/old_docs/API_docs_v27/constructors/geoChatMessageService.md b/old_docs/API_docs_v27/constructors/geoChatMessageService.md index ac79d96f..23c03351 100644 --- a/old_docs/API_docs_v27/constructors/geoChatMessageService.md +++ b/old_docs/API_docs_v27/constructors/geoChatMessageService.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoChatMessageService = ['_' => 'geoChatMessageService', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'action' => MessageAction]; ``` @@ -36,10 +36,9 @@ $geoChatMessageService = ['_' => 'geoChatMessageService', 'chat_id' => int, 'id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoChatMessageService={_='geoChatMessageService', chat_id=int, id=int, from_id=int, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v27/constructors/geoPoint.md b/old_docs/API_docs_v27/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v27/constructors/geoPoint.md +++ b/old_docs/API_docs_v27/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v27/constructors/geoPointEmpty.md b/old_docs/API_docs_v27/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v27/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v27/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/geochats_located.md b/old_docs/API_docs_v27/constructors/geochats_located.md index 5646af06..1a521b23 100644 --- a/old_docs/API_docs_v27/constructors/geochats_located.md +++ b/old_docs/API_docs_v27/constructors/geochats_located.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geochats_located = ['_' => 'geochats.located', 'results' => [ChatLocated, ChatLocated], 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $geochats_located = ['_' => 'geochats.located', 'results' => [ChatLocated, ChatL ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geochats_located={_='geochats.located', results={ChatLocated}, messages={GeoChatMessage}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v27/constructors/geochats_messages.md b/old_docs/API_docs_v27/constructors/geochats_messages.md index 048a009f..ce50e9cf 100644 --- a/old_docs/API_docs_v27/constructors/geochats_messages.md +++ b/old_docs/API_docs_v27/constructors/geochats_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geochats_messages = ['_' => 'geochats.messages', 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $geochats_messages = ['_' => 'geochats.messages', 'messages' => [GeoChatMessage, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geochats_messages={_='geochats.messages', messages={GeoChatMessage}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v27/constructors/geochats_messagesSlice.md b/old_docs/API_docs_v27/constructors/geochats_messagesSlice.md index c4df1ba1..bb3b0804 100644 --- a/old_docs/API_docs_v27/constructors/geochats_messagesSlice.md +++ b/old_docs/API_docs_v27/constructors/geochats_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geochats_messagesSlice = ['_' => 'geochats.messagesSlice', 'count' => int, 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $geochats_messagesSlice = ['_' => 'geochats.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geochats_messagesSlice={_='geochats.messagesSlice', count=int, messages={GeoChatMessage}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v27/constructors/geochats_statedMessage.md b/old_docs/API_docs_v27/constructors/geochats_statedMessage.md index 9be23e90..b347df0e 100644 --- a/old_docs/API_docs_v27/constructors/geochats_statedMessage.md +++ b/old_docs/API_docs_v27/constructors/geochats_statedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geochats_statedMessage = ['_' => 'geochats.statedMessage', 'message' => GeoChatMessage, 'chats' => [Chat, Chat], 'users' => [User, User], 'seq' => int]; ``` @@ -35,10 +35,9 @@ $geochats_statedMessage = ['_' => 'geochats.statedMessage', 'message' => GeoChat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geochats_statedMessage={_='geochats.statedMessage', message=GeoChatMessage, chats={Chat}, users={User}, seq=int} ``` diff --git a/old_docs/API_docs_v27/constructors/help_appUpdate.md b/old_docs/API_docs_v27/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v27/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v27/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/help_inviteText.md b/old_docs/API_docs_v27/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v27/constructors/help_inviteText.md +++ b/old_docs/API_docs_v27/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/help_noAppUpdate.md b/old_docs/API_docs_v27/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v27/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v27/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v27/constructors/help_support.md b/old_docs/API_docs_v27/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v27/constructors/help_support.md +++ b/old_docs/API_docs_v27/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v27/constructors/importedContact.md b/old_docs/API_docs_v27/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v27/constructors/importedContact.md +++ b/old_docs/API_docs_v27/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v27/constructors/inputAppEvent.md b/old_docs/API_docs_v27/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v27/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v27/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputAudio.md b/old_docs/API_docs_v27/constructors/inputAudio.md index c428307e..ac1c82e3 100644 --- a/old_docs/API_docs_v27/constructors/inputAudio.md +++ b/old_docs/API_docs_v27/constructors/inputAudio.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudio={_='inputAudio', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v27/constructors/inputAudioEmpty.md b/old_docs/API_docs_v27/constructors/inputAudioEmpty.md index a84b3e67..b0b4e934 100644 --- a/old_docs/API_docs_v27/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputAudioEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` @@ -27,10 +27,9 @@ $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v27/constructors/inputAudioFileLocation.md index f95ad919..a2633244 100644 --- a/old_docs/API_docs_v27/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v27/constructors/inputAudioFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v27/constructors/inputChatPhoto.md b/old_docs/API_docs_v27/constructors/inputChatPhoto.md index 5affda9a..7ad8a3f7 100644 --- a/old_docs/API_docs_v27/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v27/constructors/inputChatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputP ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v27/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v27/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v27/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v27/constructors/inputChatUploadedPhoto.md index a22405b2..ed0624da 100644 --- a/old_docs/API_docs_v27/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v27/constructors/inputChatUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v27/constructors/inputDocument.md b/old_docs/API_docs_v27/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v27/constructors/inputDocument.md +++ b/old_docs/API_docs_v27/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v27/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v27/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v27/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v27/constructors/inputDocumentFileLocation.md index 2ba7d2b3..5d593784 100644 --- a/old_docs/API_docs_v27/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v27/constructors/inputDocumentFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v27/constructors/inputEncryptedChat.md b/old_docs/API_docs_v27/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v27/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v27/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v27/constructors/inputEncryptedFile.md b/old_docs/API_docs_v27/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v27/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v27/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v27/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v27/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v27/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v27/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v27/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v27/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v27/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v27/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v27/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v27/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v27/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v27/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v27/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v27/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v27/constructors/inputFile.md b/old_docs/API_docs_v27/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v27/constructors/inputFile.md +++ b/old_docs/API_docs_v27/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputFileBig.md b/old_docs/API_docs_v27/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v27/constructors/inputFileBig.md +++ b/old_docs/API_docs_v27/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputFileLocation.md b/old_docs/API_docs_v27/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v27/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v27/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v27/constructors/inputGeoChat.md b/old_docs/API_docs_v27/constructors/inputGeoChat.md index d253a9ee..b1bb20d3 100644 --- a/old_docs/API_docs_v27/constructors/inputGeoChat.md +++ b/old_docs/API_docs_v27/constructors/inputGeoChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoChat = ['_' => 'inputGeoChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputGeoChat = ['_' => 'inputGeoChat', 'chat_id' => int, 'access_hash' => long] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoChat={_='inputGeoChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v27/constructors/inputGeoPoint.md b/old_docs/API_docs_v27/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v27/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v27/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v27/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v27/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v27/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMediaAudio.md b/old_docs/API_docs_v27/constructors/inputMediaAudio.md index 6ebbe6ec..6c166ec0 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v27/constructors/inputMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` @@ -32,10 +32,9 @@ $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaAudio={_='inputMediaAudio', id=InputAudio} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMediaContact.md b/old_docs/API_docs_v27/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v27/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMediaDocument.md b/old_docs/API_docs_v27/constructors/inputMediaDocument.md index f652113b..f671c3e5 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v27/constructors/inputMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` @@ -32,10 +32,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMediaEmpty.md b/old_docs/API_docs_v27/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v27/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v27/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMediaPhoto.md b/old_docs/API_docs_v27/constructors/inputMediaPhoto.md index df83d46f..05346b80 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v27/constructors/inputMediaPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v27/constructors/inputMediaUploadedAudio.md index 4eb4cb85..73fcb4f8 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v27/constructors/inputMediaUploadedAudio.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v27/constructors/inputMediaUploadedDocument.md index 06758275..e89ad515 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v27/constructors/inputMediaUploadedDocument.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v27/constructors/inputMediaUploadedPhoto.md index d76c47b1..1866756e 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v27/constructors/inputMediaUploadedPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile]; ``` @@ -32,10 +32,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v27/constructors/inputMediaUploadedThumbDocument.md index eea9edcd..b98b9004 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v27/constructors/inputMediaUploadedThumbDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -35,10 +35,9 @@ $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v27/constructors/inputMediaUploadedThumbVideo.md index f3e77fbc..eb4669b5 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v27/constructors/inputMediaUploadedThumbVideo.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string']; ``` @@ -37,10 +37,9 @@ $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v27/constructors/inputMediaUploadedVideo.md index 14405246..571081ff 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v27/constructors/inputMediaUploadedVideo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMediaVideo.md b/old_docs/API_docs_v27/constructors/inputMediaVideo.md index e9d29400..27892968 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v27/constructors/inputMediaVideo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo]; ``` @@ -32,10 +32,9 @@ $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVideo={_='inputMediaVideo', id=InputVideo} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v27/constructors/inputMessagesFilterAudio.md index 066b1642..79c822fc 100644 --- a/old_docs/API_docs_v27/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v27/constructors/inputMessagesFilterAudio.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v27/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v27/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v27/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v27/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v27/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v27/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v27/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v27/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputNotifyAll.md b/old_docs/API_docs_v27/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v27/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v27/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputNotifyChats.md b/old_docs/API_docs_v27/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v27/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v27/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputNotifyGeoChatPeer.md b/old_docs/API_docs_v27/constructors/inputNotifyGeoChatPeer.md index 11705079..91c1327f 100644 --- a/old_docs/API_docs_v27/constructors/inputNotifyGeoChatPeer.md +++ b/old_docs/API_docs_v27/constructors/inputNotifyGeoChatPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyGeoChatPeer = ['_' => 'inputNotifyGeoChatPeer', 'peer' => InputGeoChat]; ``` @@ -32,10 +32,9 @@ $inputNotifyGeoChatPeer = ['_' => 'inputNotifyGeoChatPeer', 'peer' => InputGeoCh ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyGeoChatPeer={_='inputNotifyGeoChatPeer', peer=InputGeoChat} ``` diff --git a/old_docs/API_docs_v27/constructors/inputNotifyPeer.md b/old_docs/API_docs_v27/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v27/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v27/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v27/constructors/inputNotifyUsers.md b/old_docs/API_docs_v27/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v27/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v27/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPeerChat.md b/old_docs/API_docs_v27/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v27/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPeerContact.md b/old_docs/API_docs_v27/constructors/inputPeerContact.md index d5c14923..2749ea3a 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerContact.md +++ b/old_docs/API_docs_v27/constructors/inputPeerContact.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerContact={_='inputPeerContact', user_id=int} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPeerEmpty.md b/old_docs/API_docs_v27/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPeerForeign.md b/old_docs/API_docs_v27/constructors/inputPeerForeign.md index 260746f3..45945367 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerForeign.md +++ b/old_docs/API_docs_v27/constructors/inputPeerForeign.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerForeign={_='inputPeerForeign', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v27/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v27/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v27/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v27/constructors/inputPeerNotifySettings.md index ce1896bb..a600e880 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v27/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPeerSelf.md b/old_docs/API_docs_v27/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v27/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPhoneContact.md b/old_docs/API_docs_v27/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v27/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v27/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPhoto.md b/old_docs/API_docs_v27/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v27/constructors/inputPhoto.md +++ b/old_docs/API_docs_v27/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPhotoCrop.md b/old_docs/API_docs_v27/constructors/inputPhotoCrop.md index b35bf42f..e90029a9 100644 --- a/old_docs/API_docs_v27/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v27/constructors/inputPhotoCrop.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` @@ -34,10 +34,9 @@ $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v27/constructors/inputPhotoCropAuto.md index 6c2f121d..37414b14 100644 --- a/old_docs/API_docs_v27/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v27/constructors/inputPhotoCropAuto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` @@ -27,10 +27,9 @@ $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v27/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v27/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v27/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v27/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v27/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v27/constructors/inputUserContact.md b/old_docs/API_docs_v27/constructors/inputUserContact.md index 430975d0..e7541daf 100644 --- a/old_docs/API_docs_v27/constructors/inputUserContact.md +++ b/old_docs/API_docs_v27/constructors/inputUserContact.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserContact = ['_' => 'inputUserContact', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $inputUserContact = ['_' => 'inputUserContact', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserContact={_='inputUserContact', user_id=int} ``` diff --git a/old_docs/API_docs_v27/constructors/inputUserEmpty.md b/old_docs/API_docs_v27/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v27/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputUserForeign.md b/old_docs/API_docs_v27/constructors/inputUserForeign.md index f9e8791d..9c2c8ef8 100644 --- a/old_docs/API_docs_v27/constructors/inputUserForeign.md +++ b/old_docs/API_docs_v27/constructors/inputUserForeign.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserForeign={_='inputUserForeign', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v27/constructors/inputUserSelf.md b/old_docs/API_docs_v27/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v27/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v27/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputVideo.md b/old_docs/API_docs_v27/constructors/inputVideo.md index 4ea87c56..b3874cd7 100644 --- a/old_docs/API_docs_v27/constructors/inputVideo.md +++ b/old_docs/API_docs_v27/constructors/inputVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideo={_='inputVideo', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v27/constructors/inputVideoEmpty.md b/old_docs/API_docs_v27/constructors/inputVideoEmpty.md index b69984f7..5322ed90 100644 --- a/old_docs/API_docs_v27/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputVideoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` @@ -27,10 +27,9 @@ $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v27/constructors/inputVideoFileLocation.md index 2692222e..d9a3f678 100644 --- a/old_docs/API_docs_v27/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v27/constructors/inputVideoFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v27/constructors/message.md b/old_docs/API_docs_v27/constructors/message.md index dbdd3f9e..f88ebf72 100644 --- a/old_docs/API_docs_v27/constructors/message.md +++ b/old_docs/API_docs_v27/constructors/message.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia]; ``` @@ -40,10 +40,9 @@ $message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', id=int, from_id=int, to_id=Peer, fwd_from_id=int, fwd_date=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia} ``` diff --git a/old_docs/API_docs_v27/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v27/constructors/messageActionChatAddUser.md index 1ea1d425..4decc491 100644 --- a/old_docs/API_docs_v27/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v27/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', user_id=int} ``` diff --git a/old_docs/API_docs_v27/constructors/messageActionChatCreate.md b/old_docs/API_docs_v27/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v27/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v27/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v27/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v27/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v27/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v27/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v27/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v27/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v27/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v27/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v27/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v27/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v27/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v27/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v27/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v27/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v27/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v27/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/messageActionEmpty.md b/old_docs/API_docs_v27/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v27/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v27/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/messageActionGeoChatCheckin.md b/old_docs/API_docs_v27/constructors/messageActionGeoChatCheckin.md index d37e8da1..a48dd877 100644 --- a/old_docs/API_docs_v27/constructors/messageActionGeoChatCheckin.md +++ b/old_docs/API_docs_v27/constructors/messageActionGeoChatCheckin.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionGeoChatCheckin = ['_' => 'messageActionGeoChatCheckin']; ``` @@ -27,10 +27,9 @@ $messageActionGeoChatCheckin = ['_' => 'messageActionGeoChatCheckin']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionGeoChatCheckin={_='messageActionGeoChatCheckin'} ``` diff --git a/old_docs/API_docs_v27/constructors/messageActionGeoChatCreate.md b/old_docs/API_docs_v27/constructors/messageActionGeoChatCreate.md index cd2c4881..69259aa9 100644 --- a/old_docs/API_docs_v27/constructors/messageActionGeoChatCreate.md +++ b/old_docs/API_docs_v27/constructors/messageActionGeoChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionGeoChatCreate = ['_' => 'messageActionGeoChatCreate', 'title' => 'string', 'address' => 'string']; ``` @@ -33,10 +33,9 @@ $messageActionGeoChatCreate = ['_' => 'messageActionGeoChatCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionGeoChatCreate={_='messageActionGeoChatCreate', title='string', address='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/messageEmpty.md b/old_docs/API_docs_v27/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v27/constructors/messageEmpty.md +++ b/old_docs/API_docs_v27/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v27/constructors/messageMediaAudio.md b/old_docs/API_docs_v27/constructors/messageMediaAudio.md index c2970836..4f350752 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v27/constructors/messageMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` @@ -32,10 +32,9 @@ $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaAudio={_='messageMediaAudio', audio=Audio} ``` diff --git a/old_docs/API_docs_v27/constructors/messageMediaContact.md b/old_docs/API_docs_v27/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v27/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v27/constructors/messageMediaDocument.md b/old_docs/API_docs_v27/constructors/messageMediaDocument.md index c0a7272c..c08a097b 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v27/constructors/messageMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` @@ -32,10 +32,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document} ``` diff --git a/old_docs/API_docs_v27/constructors/messageMediaEmpty.md b/old_docs/API_docs_v27/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v27/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/messageMediaGeo.md b/old_docs/API_docs_v27/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v27/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v27/constructors/messageMediaPhoto.md b/old_docs/API_docs_v27/constructors/messageMediaPhoto.md index 5560d5b8..1e79fea8 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v27/constructors/messageMediaPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v27/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v27/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v27/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v27/constructors/messageMediaVideo.md b/old_docs/API_docs_v27/constructors/messageMediaVideo.md index cc4b488b..4b8b3eca 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v27/constructors/messageMediaVideo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video]; ``` @@ -32,10 +32,9 @@ $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVideo={_='messageMediaVideo', video=Video} ``` diff --git a/old_docs/API_docs_v27/constructors/messageMediaWebPage.md b/old_docs/API_docs_v27/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v27/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v27/constructors/messageService.md b/old_docs/API_docs_v27/constructors/messageService.md index 37d1d69b..20bb88af 100644 --- a/old_docs/API_docs_v27/constructors/messageService.md +++ b/old_docs/API_docs_v27/constructors/messageService.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` @@ -36,10 +36,9 @@ $messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', id=int, from_id=int, to_id=Peer, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v27/constructors/messages_affectedHistory.md b/old_docs/API_docs_v27/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v27/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v27/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v27/constructors/messages_affectedMessages.md b/old_docs/API_docs_v27/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v27/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v27/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v27/constructors/messages_allStickers.md b/old_docs/API_docs_v27/constructors/messages_allStickers.md index e845c936..2f60827f 100644 --- a/old_docs/API_docs_v27/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v27/constructors/messages_allStickers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'pac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash='string', packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v27/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v27/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v27/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v27/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v27/constructors/messages_chatFull.md b/old_docs/API_docs_v27/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v27/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v27/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v27/constructors/messages_chats.md b/old_docs/API_docs_v27/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v27/constructors/messages_chats.md +++ b/old_docs/API_docs_v27/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v27/constructors/messages_dhConfig.md b/old_docs/API_docs_v27/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v27/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v27/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v27/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v27/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v27/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v27/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v27/constructors/messages_dialogs.md b/old_docs/API_docs_v27/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v27/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v27/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v27/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v27/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v27/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v27/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v27/constructors/messages_messageEmpty.md b/old_docs/API_docs_v27/constructors/messages_messageEmpty.md index 49386522..c1e64b8e 100644 --- a/old_docs/API_docs_v27/constructors/messages_messageEmpty.md +++ b/old_docs/API_docs_v27/constructors/messages_messageEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messageEmpty = ['_' => 'messages.messageEmpty']; ``` @@ -27,10 +27,9 @@ $messages_messageEmpty = ['_' => 'messages.messageEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messageEmpty={_='messages.messageEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/messages_messages.md b/old_docs/API_docs_v27/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v27/constructors/messages_messages.md +++ b/old_docs/API_docs_v27/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v27/constructors/messages_messagesSlice.md b/old_docs/API_docs_v27/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v27/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v27/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v27/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v27/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v27/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v27/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v27/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v27/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v27/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v27/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v27/constructors/messages_sentMessage.md b/old_docs/API_docs_v27/constructors/messages_sentMessage.md index b3533adc..d224ca0a 100644 --- a/old_docs/API_docs_v27/constructors/messages_sentMessage.md +++ b/old_docs/API_docs_v27/constructors/messages_sentMessage.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int]; ``` @@ -36,10 +36,9 @@ $messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentMessage={_='messages.sentMessage', id=int, date=int, media=MessageMedia, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v27/constructors/messages_sentMessageLink.md b/old_docs/API_docs_v27/constructors/messages_sentMessageLink.md index 91e77a16..ab827566 100644 --- a/old_docs/API_docs_v27/constructors/messages_sentMessageLink.md +++ b/old_docs/API_docs_v27/constructors/messages_sentMessageLink.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link, contacts_Link], 'seq' => int]; ``` @@ -38,10 +38,9 @@ $messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'da ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, media=MessageMedia, pts=int, pts_count=int, links={contacts_Link}, seq=int} ``` diff --git a/old_docs/API_docs_v27/constructors/messages_stickers.md b/old_docs/API_docs_v27/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v27/constructors/messages_stickers.md +++ b/old_docs/API_docs_v27/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v27/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v27/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v27/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v27/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v27/constructors/nearestDc.md b/old_docs/API_docs_v27/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v27/constructors/nearestDc.md +++ b/old_docs/API_docs_v27/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v27/constructors/notifyAll.md b/old_docs/API_docs_v27/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v27/constructors/notifyAll.md +++ b/old_docs/API_docs_v27/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v27/constructors/notifyChats.md b/old_docs/API_docs_v27/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v27/constructors/notifyChats.md +++ b/old_docs/API_docs_v27/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v27/constructors/notifyPeer.md b/old_docs/API_docs_v27/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v27/constructors/notifyPeer.md +++ b/old_docs/API_docs_v27/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v27/constructors/notifyUsers.md b/old_docs/API_docs_v27/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v27/constructors/notifyUsers.md +++ b/old_docs/API_docs_v27/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v27/constructors/peerChat.md b/old_docs/API_docs_v27/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v27/constructors/peerChat.md +++ b/old_docs/API_docs_v27/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v27/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v27/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v27/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v27/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v27/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v27/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v27/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v27/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/peerNotifySettings.md b/old_docs/API_docs_v27/constructors/peerNotifySettings.md index 513132f4..12c5bbb9 100644 --- a/old_docs/API_docs_v27/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v27/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v27/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v27/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v27/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v27/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/peerUser.md b/old_docs/API_docs_v27/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v27/constructors/peerUser.md +++ b/old_docs/API_docs_v27/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v27/constructors/photo.md b/old_docs/API_docs_v27/constructors/photo.md index 469d7852..1f836f7f 100644 --- a/old_docs/API_docs_v27/constructors/photo.md +++ b/old_docs/API_docs_v27/constructors/photo.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => 'string', 'geo' => GeoPoint, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -38,10 +38,9 @@ $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', id=long, access_hash=long, user_id=int, date=int, caption='string', geo=GeoPoint, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v27/constructors/photoCachedSize.md b/old_docs/API_docs_v27/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v27/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v27/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v27/constructors/photoEmpty.md b/old_docs/API_docs_v27/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v27/constructors/photoEmpty.md +++ b/old_docs/API_docs_v27/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v27/constructors/photoSize.md b/old_docs/API_docs_v27/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v27/constructors/photoSize.md +++ b/old_docs/API_docs_v27/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v27/constructors/photoSizeEmpty.md b/old_docs/API_docs_v27/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v27/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v27/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/photos_photo.md b/old_docs/API_docs_v27/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v27/constructors/photos_photo.md +++ b/old_docs/API_docs_v27/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v27/constructors/photos_photos.md b/old_docs/API_docs_v27/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v27/constructors/photos_photos.md +++ b/old_docs/API_docs_v27/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v27/constructors/photos_photosSlice.md b/old_docs/API_docs_v27/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v27/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v27/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v27/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v27/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v27/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v27/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v27/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v27/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v27/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v27/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v27/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v27/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v27/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v27/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v27/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v27/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v27/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v27/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v27/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v27/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v27/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v27/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v27/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v27/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v27/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v27/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v27/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v27/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v27/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v27/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v27/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v27/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v27/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v27/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v27/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v27/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v27/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v27/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v27/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v27/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v27/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v27/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v27/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v27/constructors/sendMessageUploadAudioAction.md index 19ad4045..b3e5dcb6 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageUploadAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction'} ``` diff --git a/old_docs/API_docs_v27/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v27/constructors/sendMessageUploadDocumentAction.md index dcb7341d..2d5f57ec 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageUploadDocumentAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction']; ``` @@ -27,10 +27,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction'} ``` diff --git a/old_docs/API_docs_v27/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v27/constructors/sendMessageUploadPhotoAction.md index a1aa8497..c250d774 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageUploadPhotoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction'} ``` diff --git a/old_docs/API_docs_v27/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v27/constructors/sendMessageUploadVideoAction.md index 418203e2..f38f6c67 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageUploadVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction'} ``` diff --git a/old_docs/API_docs_v27/constructors/stickerPack.md b/old_docs/API_docs_v27/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v27/constructors/stickerPack.md +++ b/old_docs/API_docs_v27/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v27/constructors/storage_fileGif.md b/old_docs/API_docs_v27/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v27/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v27/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v27/constructors/storage_fileJpeg.md b/old_docs/API_docs_v27/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v27/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v27/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v27/constructors/storage_fileMov.md b/old_docs/API_docs_v27/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v27/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v27/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v27/constructors/storage_fileMp3.md b/old_docs/API_docs_v27/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v27/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v27/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v27/constructors/storage_fileMp4.md b/old_docs/API_docs_v27/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v27/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v27/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v27/constructors/storage_filePartial.md b/old_docs/API_docs_v27/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v27/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v27/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v27/constructors/storage_filePdf.md b/old_docs/API_docs_v27/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v27/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v27/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v27/constructors/storage_filePng.md b/old_docs/API_docs_v27/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v27/constructors/storage_filePng.md +++ b/old_docs/API_docs_v27/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v27/constructors/storage_fileUnknown.md b/old_docs/API_docs_v27/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v27/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v27/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v27/constructors/storage_fileWebp.md b/old_docs/API_docs_v27/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v27/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v27/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v27/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v27/constructors/updateChatParticipantAdd.md index 8259bb9c..77d1fda5 100644 --- a/old_docs/API_docs_v27/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v27/constructors/updateChatParticipantAdd.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, version=int} ``` diff --git a/old_docs/API_docs_v27/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v27/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v27/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v27/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v27/constructors/updateChatParticipants.md b/old_docs/API_docs_v27/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v27/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v27/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v27/constructors/updateChatUserTyping.md b/old_docs/API_docs_v27/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v27/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v27/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v27/constructors/updateContactLink.md b/old_docs/API_docs_v27/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v27/constructors/updateContactLink.md +++ b/old_docs/API_docs_v27/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v27/constructors/updateContactRegistered.md b/old_docs/API_docs_v27/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v27/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v27/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v27/constructors/updateDcOptions.md b/old_docs/API_docs_v27/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v27/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v27/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v27/constructors/updateDeleteMessages.md b/old_docs/API_docs_v27/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v27/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v27/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v27/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v27/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v27/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v27/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v27/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v27/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v27/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v27/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v27/constructors/updateEncryption.md b/old_docs/API_docs_v27/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v27/constructors/updateEncryption.md +++ b/old_docs/API_docs_v27/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v27/constructors/updateMessageID.md b/old_docs/API_docs_v27/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v27/constructors/updateMessageID.md +++ b/old_docs/API_docs_v27/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v27/constructors/updateNewAuthorization.md b/old_docs/API_docs_v27/constructors/updateNewAuthorization.md index c7a95f80..ce1d0815 100644 --- a/old_docs/API_docs_v27/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v27/constructors/updateNewAuthorization.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` @@ -35,10 +35,9 @@ $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device='string', location='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v27/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v27/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v27/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v27/constructors/updateNewGeoChatMessage.md b/old_docs/API_docs_v27/constructors/updateNewGeoChatMessage.md index ace41fa6..6585fedc 100644 --- a/old_docs/API_docs_v27/constructors/updateNewGeoChatMessage.md +++ b/old_docs/API_docs_v27/constructors/updateNewGeoChatMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewGeoChatMessage = ['_' => 'updateNewGeoChatMessage', 'message' => GeoChatMessage]; ``` @@ -32,10 +32,9 @@ $updateNewGeoChatMessage = ['_' => 'updateNewGeoChatMessage', 'message' => GeoCh ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewGeoChatMessage={_='updateNewGeoChatMessage', message=GeoChatMessage} ``` diff --git a/old_docs/API_docs_v27/constructors/updateNewMessage.md b/old_docs/API_docs_v27/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v27/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v27/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v27/constructors/updateNotifySettings.md b/old_docs/API_docs_v27/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v27/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v27/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v27/constructors/updatePrivacy.md b/old_docs/API_docs_v27/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v27/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v27/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v27/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v27/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v27/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v27/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v27/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v27/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v27/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v27/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v27/constructors/updateReadMessages.md b/old_docs/API_docs_v27/constructors/updateReadMessages.md index 34e372b3..ffb22348 100644 --- a/old_docs/API_docs_v27/constructors/updateReadMessages.md +++ b/old_docs/API_docs_v27/constructors/updateReadMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [int, int], 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessages={_='updateReadMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v27/constructors/updateServiceNotification.md b/old_docs/API_docs_v27/constructors/updateServiceNotification.md index 979fe7bd..ddcf7eb5 100644 --- a/old_docs/API_docs_v27/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v27/constructors/updateServiceNotification.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` @@ -35,10 +35,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'str ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', type='string', message='string', media=MessageMedia, popup=Bool} ``` diff --git a/old_docs/API_docs_v27/constructors/updateShort.md b/old_docs/API_docs_v27/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v27/constructors/updateShort.md +++ b/old_docs/API_docs_v27/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v27/constructors/updateShortChatMessage.md b/old_docs/API_docs_v27/constructors/updateShortChatMessage.md index b38de3ca..3a0392d7 100644 --- a/old_docs/API_docs_v27/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v27/constructors/updateShortChatMessage.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int]; ``` @@ -41,10 +41,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from_id=int, fwd_date=int, reply_to_msg_id=int} ``` diff --git a/old_docs/API_docs_v27/constructors/updateShortMessage.md b/old_docs/API_docs_v27/constructors/updateShortMessage.md index a83eff88..330d5a52 100644 --- a/old_docs/API_docs_v27/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v27/constructors/updateShortMessage.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int]; ``` @@ -40,10 +40,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'user_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from_id=int, fwd_date=int, reply_to_msg_id=int} ``` diff --git a/old_docs/API_docs_v27/constructors/updateUserBlocked.md b/old_docs/API_docs_v27/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v27/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v27/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v27/constructors/updateUserName.md b/old_docs/API_docs_v27/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v27/constructors/updateUserName.md +++ b/old_docs/API_docs_v27/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/updateUserPhone.md b/old_docs/API_docs_v27/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v27/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v27/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/updateUserPhoto.md b/old_docs/API_docs_v27/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v27/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v27/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v27/constructors/updateUserStatus.md b/old_docs/API_docs_v27/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v27/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v27/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v27/constructors/updateUserTyping.md b/old_docs/API_docs_v27/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v27/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v27/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v27/constructors/updateWebPage.md b/old_docs/API_docs_v27/constructors/updateWebPage.md index f44983bd..bdc26e81 100644 --- a/old_docs/API_docs_v27/constructors/updateWebPage.md +++ b/old_docs/API_docs_v27/constructors/updateWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v27/constructors/updates.md b/old_docs/API_docs_v27/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v27/constructors/updates.md +++ b/old_docs/API_docs_v27/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v27/constructors/updatesCombined.md b/old_docs/API_docs_v27/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v27/constructors/updatesCombined.md +++ b/old_docs/API_docs_v27/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v27/constructors/updatesTooLong.md b/old_docs/API_docs_v27/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v27/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v27/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v27/constructors/updates_difference.md b/old_docs/API_docs_v27/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v27/constructors/updates_difference.md +++ b/old_docs/API_docs_v27/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v27/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v27/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v27/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v27/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v27/constructors/updates_differenceSlice.md b/old_docs/API_docs_v27/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v27/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v27/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v27/constructors/updates_state.md b/old_docs/API_docs_v27/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v27/constructors/updates_state.md +++ b/old_docs/API_docs_v27/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v27/constructors/upload_file.md b/old_docs/API_docs_v27/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v27/constructors/upload_file.md +++ b/old_docs/API_docs_v27/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v27/constructors/userContact.md b/old_docs/API_docs_v27/constructors/userContact.md index 6e05949f..04f9567e 100644 --- a/old_docs/API_docs_v27/constructors/userContact.md +++ b/old_docs/API_docs_v27/constructors/userContact.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userContact = ['_' => 'userContact', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` @@ -39,10 +39,9 @@ $userContact = ['_' => 'userContact', 'id' => int, 'first_name' => 'string', 'la ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userContact={_='userContact', id=int, first_name='string', last_name='string', username='string', access_hash=long, phone='string', photo=UserProfilePhoto, status=UserStatus} ``` diff --git a/old_docs/API_docs_v27/constructors/userDeleted.md b/old_docs/API_docs_v27/constructors/userDeleted.md index 880c8d97..04b5b2d7 100644 --- a/old_docs/API_docs_v27/constructors/userDeleted.md +++ b/old_docs/API_docs_v27/constructors/userDeleted.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => 'string', 'la ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userDeleted={_='userDeleted', id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/userEmpty.md b/old_docs/API_docs_v27/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v27/constructors/userEmpty.md +++ b/old_docs/API_docs_v27/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v27/constructors/userForeign.md b/old_docs/API_docs_v27/constructors/userForeign.md index 4597140c..388e65a9 100644 --- a/old_docs/API_docs_v27/constructors/userForeign.md +++ b/old_docs/API_docs_v27/constructors/userForeign.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` @@ -38,10 +38,9 @@ $userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => 'string', 'la ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userForeign={_='userForeign', id=int, first_name='string', last_name='string', username='string', access_hash=long, photo=UserProfilePhoto, status=UserStatus} ``` diff --git a/old_docs/API_docs_v27/constructors/userFull.md b/old_docs/API_docs_v27/constructors/userFull.md index 6344d4a7..998400df 100644 --- a/old_docs/API_docs_v27/constructors/userFull.md +++ b/old_docs/API_docs_v27/constructors/userFull.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => 'string', 'real_last_name' => 'string']; ``` @@ -38,10 +38,9 @@ $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name='string', real_last_name='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/userProfilePhoto.md b/old_docs/API_docs_v27/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v27/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v27/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v27/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v27/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v27/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v27/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/userRequest.md b/old_docs/API_docs_v27/constructors/userRequest.md index fd913ab1..47a892e3 100644 --- a/old_docs/API_docs_v27/constructors/userRequest.md +++ b/old_docs/API_docs_v27/constructors/userRequest.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'access_hash' => long, 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` @@ -39,10 +39,9 @@ $userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => 'string', 'la ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userRequest={_='userRequest', id=int, first_name='string', last_name='string', username='string', access_hash=long, phone='string', photo=UserProfilePhoto, status=UserStatus} ``` diff --git a/old_docs/API_docs_v27/constructors/userSelf.md b/old_docs/API_docs_v27/constructors/userSelf.md index a844d2a1..8e6410cf 100644 --- a/old_docs/API_docs_v27/constructors/userSelf.md +++ b/old_docs/API_docs_v27/constructors/userSelf.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus]; ``` @@ -38,10 +38,9 @@ $userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => 'string', 'last_nam ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userSelf={_='userSelf', id=int, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus} ``` diff --git a/old_docs/API_docs_v27/constructors/userStatusEmpty.md b/old_docs/API_docs_v27/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v27/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v27/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v27/constructors/userStatusLastMonth.md b/old_docs/API_docs_v27/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v27/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v27/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v27/constructors/userStatusLastWeek.md b/old_docs/API_docs_v27/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v27/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v27/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v27/constructors/userStatusOffline.md b/old_docs/API_docs_v27/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v27/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v27/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v27/constructors/userStatusOnline.md b/old_docs/API_docs_v27/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v27/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v27/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v27/constructors/userStatusRecently.md b/old_docs/API_docs_v27/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v27/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v27/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v27/constructors/vector.md b/old_docs/API_docs_v27/constructors/vector.md index c9e27763..d8ea6f1f 100644 --- a/old_docs/API_docs_v27/constructors/vector.md +++ b/old_docs/API_docs_v27/constructors/vector.md @@ -18,7 +18,7 @@ Array ### Example: -``` +```php $vector = ['_' => 'vector']; ``` @@ -29,10 +29,9 @@ $vector = ['_' => 'vector']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua vector={_='vector'} ``` diff --git a/old_docs/API_docs_v27/constructors/video.md b/old_docs/API_docs_v27/constructors/video.md index 8aa5a6b3..6a3a4df5 100644 --- a/old_docs/API_docs_v27/constructors/video.md +++ b/old_docs/API_docs_v27/constructors/video.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => 'string', 'duration' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int]; ``` @@ -43,10 +43,9 @@ $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua video={_='video', id=long, access_hash=long, user_id=int, date=int, caption='string', duration=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v27/constructors/videoEmpty.md b/old_docs/API_docs_v27/constructors/videoEmpty.md index 8509fcf9..a41ca8ab 100644 --- a/old_docs/API_docs_v27/constructors/videoEmpty.md +++ b/old_docs/API_docs_v27/constructors/videoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua videoEmpty={_='videoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v27/constructors/wallPaper.md b/old_docs/API_docs_v27/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v27/constructors/wallPaper.md +++ b/old_docs/API_docs_v27/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v27/constructors/wallPaperSolid.md b/old_docs/API_docs_v27/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v27/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v27/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v27/constructors/webPage.md b/old_docs/API_docs_v27/constructors/webPage.md index 761ef87b..2668f932 100644 --- a/old_docs/API_docs_v27/constructors/webPage.md +++ b/old_docs/API_docs_v27/constructors/webPage.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string']; ``` @@ -45,10 +45,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string'} ``` diff --git a/old_docs/API_docs_v27/constructors/webPageEmpty.md b/old_docs/API_docs_v27/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v27/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v27/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v27/constructors/webPagePending.md b/old_docs/API_docs_v27/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v27/constructors/webPagePending.md +++ b/old_docs/API_docs_v27/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v27/methods/account_changePhone.md b/old_docs/API_docs_v27/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v27/methods/account_changePhone.md +++ b/old_docs/API_docs_v27/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/account_checkUsername.md b/old_docs/API_docs_v27/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v27/methods/account_checkUsername.md +++ b/old_docs/API_docs_v27/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/account_deleteAccount.md b/old_docs/API_docs_v27/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v27/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v27/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/account_getAccountTTL.md b/old_docs/API_docs_v27/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v27/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v27/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v27/methods/account_getAuthorizations.md b/old_docs/API_docs_v27/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v27/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v27/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v27/methods/account_getNotifySettings.md b/old_docs/API_docs_v27/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v27/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v27/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v27/methods/account_getPassword.md b/old_docs/API_docs_v27/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v27/methods/account_getPassword.md +++ b/old_docs/API_docs_v27/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v27/methods/account_getPasswordSettings.md b/old_docs/API_docs_v27/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v27/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v27/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v27/methods/account_getPrivacy.md b/old_docs/API_docs_v27/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v27/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v27/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v27/methods/account_getWallPapers.md b/old_docs/API_docs_v27/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v27/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v27/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v27/methods/account_registerDevice.md b/old_docs/API_docs_v27/methods/account_registerDevice.md index bd2b5649..3192933d 100644 --- a/old_docs/API_docs_v27/methods/account_registerDevice.md +++ b/old_docs/API_docs_v27/methods/account_registerDevice.md @@ -30,7 +30,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', device_model='string', system_version='string', app_version='string', app_sandbox=Bool, lang_code='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/account_resetAuthorization.md b/old_docs/API_docs_v27/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v27/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v27/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v27/methods/account_resetNotifySettings.md b/old_docs/API_docs_v27/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v27/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v27/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md index 2fcdcc4c..12ea92c5 100644 --- a/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md @@ -24,7 +24,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/account_setAccountTTL.md b/old_docs/API_docs_v27/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v27/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v27/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v27/methods/account_setPrivacy.md b/old_docs/API_docs_v27/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v27/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v27/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v27/methods/account_unregisterDevice.md b/old_docs/API_docs_v27/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v27/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v27/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v27/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v27/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v27/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/account_updateNotifySettings.md b/old_docs/API_docs_v27/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v27/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v27/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v27/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v27/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v27/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v27/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v27/methods/account_updateProfile.md b/old_docs/API_docs_v27/methods/account_updateProfile.md index 541086a6..5034a6da 100644 --- a/old_docs/API_docs_v27/methods/account_updateProfile.md +++ b/old_docs/API_docs_v27/methods/account_updateProfile.md @@ -25,7 +25,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ last_name - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/account_updateStatus.md b/old_docs/API_docs_v27/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v27/methods/account_updateStatus.md +++ b/old_docs/API_docs_v27/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v27/methods/account_updateUsername.md b/old_docs/API_docs_v27/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v27/methods/account_updateUsername.md +++ b/old_docs/API_docs_v27/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/auth_checkPhone.md b/old_docs/API_docs_v27/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v27/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v27/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/auth_recoverPassword.md b/old_docs/API_docs_v27/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v27/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v27/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v27/methods/auth_sendCall.md b/old_docs/API_docs_v27/methods/auth_sendCall.md index 70a2870f..e8260454 100644 --- a/old_docs/API_docs_v27/methods/auth_sendCall.md +++ b/old_docs/API_docs_v27/methods/auth_sendCall.md @@ -25,7 +25,7 @@ Send verification phone call ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/auth_sendInvites.md b/old_docs/API_docs_v27/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v27/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v27/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/auth_sendSms.md b/old_docs/API_docs_v27/methods/auth_sendSms.md index 6c31f570..050926ff 100644 --- a/old_docs/API_docs_v27/methods/auth_sendSms.md +++ b/old_docs/API_docs_v27/methods/auth_sendSms.md @@ -25,7 +25,7 @@ Send SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/contacts_block.md b/old_docs/API_docs_v27/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v27/methods/contacts_block.md +++ b/old_docs/API_docs_v27/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v27/methods/contacts_deleteContact.md b/old_docs/API_docs_v27/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v27/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v27/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v27/methods/contacts_deleteContacts.md b/old_docs/API_docs_v27/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v27/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v27/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v27/methods/contacts_exportCard.md b/old_docs/API_docs_v27/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v27/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v27/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v27/methods/contacts_getBlocked.md b/old_docs/API_docs_v27/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v27/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v27/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/contacts_getContacts.md b/old_docs/API_docs_v27/methods/contacts_getContacts.md index ccf0f99d..dfa407f2 100644 --- a/old_docs/API_docs_v27/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v27/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/contacts_getStatuses.md b/old_docs/API_docs_v27/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v27/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v27/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v27/methods/contacts_getSuggested.md b/old_docs/API_docs_v27/methods/contacts_getSuggested.md index d7feb718..8183eae4 100644 --- a/old_docs/API_docs_v27/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v27/methods/contacts_getSuggested.md @@ -24,7 +24,7 @@ Get suggested contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/contacts_importCard.md b/old_docs/API_docs_v27/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v27/methods/contacts_importCard.md +++ b/old_docs/API_docs_v27/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v27/methods/contacts_importContacts.md b/old_docs/API_docs_v27/methods/contacts_importContacts.md index d0404dd2..f1b17e2c 100644 --- a/old_docs/API_docs_v27/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v27/methods/contacts_importContacts.md @@ -25,7 +25,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ replace - Json encoded Bool Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v27/methods/contacts_search.md b/old_docs/API_docs_v27/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v27/methods/contacts_search.md +++ b/old_docs/API_docs_v27/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/contacts_unblock.md b/old_docs/API_docs_v27/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v27/methods/contacts_unblock.md +++ b/old_docs/API_docs_v27/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v27/methods/geochats_checkin.md b/old_docs/API_docs_v27/methods/geochats_checkin.md index c1909467..9f824537 100644 --- a/old_docs/API_docs_v27/methods/geochats_checkin.md +++ b/old_docs/API_docs_v27/methods/geochats_checkin.md @@ -24,7 +24,7 @@ Join a geochat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ peer - Json encoded InputGeoChat Or, if you're into Lua: -``` +```lua geochats_StatedMessage = geochats.checkin({peer=InputGeoChat, }) ``` diff --git a/old_docs/API_docs_v27/methods/geochats_createGeoChat.md b/old_docs/API_docs_v27/methods/geochats_createGeoChat.md index 4781b50d..d37da677 100644 --- a/old_docs/API_docs_v27/methods/geochats_createGeoChat.md +++ b/old_docs/API_docs_v27/methods/geochats_createGeoChat.md @@ -27,7 +27,7 @@ Create geochat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ venue - Json encoded string Or, if you're into Lua: -``` +```lua geochats_StatedMessage = geochats.createGeoChat({title='string', geo_point=InputGeoPoint, address='string', venue='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/geochats_editChatPhoto.md b/old_docs/API_docs_v27/methods/geochats_editChatPhoto.md index 296b220a..8f51f566 100644 --- a/old_docs/API_docs_v27/methods/geochats_editChatPhoto.md +++ b/old_docs/API_docs_v27/methods/geochats_editChatPhoto.md @@ -25,7 +25,7 @@ Edit geochat photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua geochats_StatedMessage = geochats.editChatPhoto({peer=InputGeoChat, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v27/methods/geochats_editChatTitle.md b/old_docs/API_docs_v27/methods/geochats_editChatTitle.md index f8cff88d..85836d21 100644 --- a/old_docs/API_docs_v27/methods/geochats_editChatTitle.md +++ b/old_docs/API_docs_v27/methods/geochats_editChatTitle.md @@ -26,7 +26,7 @@ Edit geochat title ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ address - Json encoded string Or, if you're into Lua: -``` +```lua geochats_StatedMessage = geochats.editChatTitle({peer=InputGeoChat, title='string', address='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/geochats_getFullChat.md b/old_docs/API_docs_v27/methods/geochats_getFullChat.md index fa3baeb0..df0f06db 100644 --- a/old_docs/API_docs_v27/methods/geochats_getFullChat.md +++ b/old_docs/API_docs_v27/methods/geochats_getFullChat.md @@ -24,7 +24,7 @@ Get full info about a geochat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ peer - Json encoded InputGeoChat Or, if you're into Lua: -``` +```lua messages_ChatFull = geochats.getFullChat({peer=InputGeoChat, }) ``` diff --git a/old_docs/API_docs_v27/methods/geochats_getHistory.md b/old_docs/API_docs_v27/methods/geochats_getHistory.md index 30f78447..ca049a05 100644 --- a/old_docs/API_docs_v27/methods/geochats_getHistory.md +++ b/old_docs/API_docs_v27/methods/geochats_getHistory.md @@ -27,7 +27,7 @@ Get geochat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua geochats_Messages = geochats.getHistory({peer=InputGeoChat, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/geochats_getLocated.md b/old_docs/API_docs_v27/methods/geochats_getLocated.md index 8f9bf461..03eb75e8 100644 --- a/old_docs/API_docs_v27/methods/geochats_getLocated.md +++ b/old_docs/API_docs_v27/methods/geochats_getLocated.md @@ -26,7 +26,7 @@ Get nearby geochats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua geochats_Located = geochats.getLocated({geo_point=InputGeoPoint, radius=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/geochats_getRecents.md b/old_docs/API_docs_v27/methods/geochats_getRecents.md index 7c8fbc31..e46ad953 100644 --- a/old_docs/API_docs_v27/methods/geochats_getRecents.md +++ b/old_docs/API_docs_v27/methods/geochats_getRecents.md @@ -25,7 +25,7 @@ Get recent geochats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua geochats_Messages = geochats.getRecents({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/geochats_search.md b/old_docs/API_docs_v27/methods/geochats_search.md index 318f125c..8fa03b4e 100644 --- a/old_docs/API_docs_v27/methods/geochats_search.md +++ b/old_docs/API_docs_v27/methods/geochats_search.md @@ -31,7 +31,7 @@ Search messages in geocha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -83,7 +83,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua geochats_Messages = geochats.search({peer=InputGeoChat, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/geochats_sendMedia.md b/old_docs/API_docs_v27/methods/geochats_sendMedia.md index 5fd1a158..7490e936 100644 --- a/old_docs/API_docs_v27/methods/geochats_sendMedia.md +++ b/old_docs/API_docs_v27/methods/geochats_sendMedia.md @@ -25,7 +25,7 @@ Send media to geochat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua geochats_StatedMessage = geochats.sendMedia({peer=InputGeoChat, media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v27/methods/geochats_sendMessage.md b/old_docs/API_docs_v27/methods/geochats_sendMessage.md index 85de20d8..3a92a0e1 100644 --- a/old_docs/API_docs_v27/methods/geochats_sendMessage.md +++ b/old_docs/API_docs_v27/methods/geochats_sendMessage.md @@ -25,7 +25,7 @@ Send message to geochat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua geochats_StatedMessage = geochats.sendMessage({peer=InputGeoChat, message='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/geochats_setTyping.md b/old_docs/API_docs_v27/methods/geochats_setTyping.md index fb709484..ecdda227 100644 --- a/old_docs/API_docs_v27/methods/geochats_setTyping.md +++ b/old_docs/API_docs_v27/methods/geochats_setTyping.md @@ -25,7 +25,7 @@ Send typing notification to geochat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = geochats.setTyping({peer=InputGeoChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v27/methods/help_getAppUpdate.md b/old_docs/API_docs_v27/methods/help_getAppUpdate.md index a501cbc5..4bdf36c3 100644 --- a/old_docs/API_docs_v27/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v27/methods/help_getAppUpdate.md @@ -27,7 +27,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/help_getConfig.md b/old_docs/API_docs_v27/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v27/methods/help_getConfig.md +++ b/old_docs/API_docs_v27/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v27/methods/help_getInviteText.md b/old_docs/API_docs_v27/methods/help_getInviteText.md index 1b31e572..797e2ad3 100644 --- a/old_docs/API_docs_v27/methods/help_getInviteText.md +++ b/old_docs/API_docs_v27/methods/help_getInviteText.md @@ -24,7 +24,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/help_getNearestDc.md b/old_docs/API_docs_v27/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v27/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v27/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v27/methods/help_getSupport.md b/old_docs/API_docs_v27/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v27/methods/help_getSupport.md +++ b/old_docs/API_docs_v27/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v27/methods/help_saveAppLog.md b/old_docs/API_docs_v27/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v27/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v27/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v27/methods/initConnection.md b/old_docs/API_docs_v27/methods/initConnection.md index 58cdb067..e34794f8 100644 --- a/old_docs/API_docs_v27/methods/initConnection.md +++ b/old_docs/API_docs_v27/methods/initConnection.md @@ -29,7 +29,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v27/methods/invokeAfterMsg.md b/old_docs/API_docs_v27/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v27/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v27/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v27/methods/invokeAfterMsgs.md b/old_docs/API_docs_v27/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v27/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v27/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v27/methods/invokeWithLayer.md b/old_docs/API_docs_v27/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v27/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v27/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_addChatUser.md b/old_docs/API_docs_v27/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v27/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v27/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_createChat.md b/old_docs/API_docs_v27/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v27/methods/messages_createChat.md +++ b/old_docs/API_docs_v27/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_deleteChatUser.md b/old_docs/API_docs_v27/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v27/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v27/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_deleteHistory.md b/old_docs/API_docs_v27/methods/messages_deleteHistory.md index 5f04ad57..6c36b930 100644 --- a/old_docs/API_docs_v27/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v27/methods/messages_deleteHistory.md @@ -25,7 +25,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, offset=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_deleteMessages.md b/old_docs/API_docs_v27/methods/messages_deleteMessages.md index 2aa9d7d1..24152bec 100644 --- a/old_docs/API_docs_v27/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v27/methods/messages_deleteMessages.md @@ -24,7 +24,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_editChatPhoto.md b/old_docs/API_docs_v27/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v27/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v27/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_editChatTitle.md b/old_docs/API_docs_v27/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v27/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v27/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_forwardMessage.md b/old_docs/API_docs_v27/methods/messages_forwardMessage.md index 586670b8..d9c0453f 100644 --- a/old_docs/API_docs_v27/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v27/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_forwardMessages.md b/old_docs/API_docs_v27/methods/messages_forwardMessages.md index 13e1fed1..19594227 100644 --- a/old_docs/API_docs_v27/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v27/methods/messages_forwardMessages.md @@ -25,7 +25,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({peer=InputPeer, id={int}, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_getAllStickers.md b/old_docs/API_docs_v27/methods/messages_getAllStickers.md index faa8eea2..c90a48ea 100644 --- a/old_docs/API_docs_v27/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v27/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_getChats.md b/old_docs/API_docs_v27/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v27/methods/messages_getChats.md +++ b/old_docs/API_docs_v27/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_getDialogs.md b/old_docs/API_docs_v27/methods/messages_getDialogs.md index c93f1d1c..f0a3fef2 100644 --- a/old_docs/API_docs_v27/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v27/methods/messages_getDialogs.md @@ -26,7 +26,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_getHistory.md b/old_docs/API_docs_v27/methods/messages_getHistory.md index f8240098..26296676 100644 --- a/old_docs/API_docs_v27/methods/messages_getHistory.md +++ b/old_docs/API_docs_v27/methods/messages_getHistory.md @@ -27,7 +27,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_getMessages.md b/old_docs/API_docs_v27/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v27/methods/messages_getMessages.md +++ b/old_docs/API_docs_v27/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_getStickers.md b/old_docs/API_docs_v27/methods/messages_getStickers.md index b1d3bd83..f4ca9972 100644 --- a/old_docs/API_docs_v27/methods/messages_getStickers.md +++ b/old_docs/API_docs_v27/methods/messages_getStickers.md @@ -25,7 +25,7 @@ Get stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v27/methods/messages_getWebPagePreview.md index 8475c8f5..4838be94 100644 --- a/old_docs/API_docs_v27/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v27/methods/messages_getWebPagePreview.md @@ -24,7 +24,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_readHistory.md b/old_docs/API_docs_v27/methods/messages_readHistory.md index 22f247bc..903268e6 100644 --- a/old_docs/API_docs_v27/methods/messages_readHistory.md +++ b/old_docs/API_docs_v27/methods/messages_readHistory.md @@ -26,7 +26,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.readHistory({peer=InputPeer, max_id=int, offset=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_readMessageContents.md b/old_docs/API_docs_v27/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v27/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v27/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_receivedMessages.md b/old_docs/API_docs_v27/methods/messages_receivedMessages.md index 44dc6a71..2597d4c7 100644 --- a/old_docs/API_docs_v27/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v27/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_int = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_search.md b/old_docs/API_docs_v27/methods/messages_search.md index 4c373c29..b4549f38 100644 --- a/old_docs/API_docs_v27/methods/messages_search.md +++ b/old_docs/API_docs_v27/methods/messages_search.md @@ -31,7 +31,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_sendBroadcast.md b/old_docs/API_docs_v27/methods/messages_sendBroadcast.md index 11f43d4c..5813ba9c 100644 --- a/old_docs/API_docs_v27/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v27/methods/messages_sendBroadcast.md @@ -26,7 +26,7 @@ Send a message to all users in the chat list ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua Updates = messages.sendBroadcast({contacts={InputUser}, message='string', media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_sendEncrypted.md b/old_docs/API_docs_v27/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v27/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v27/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v27/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v27/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v27/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_sendMedia.md b/old_docs/API_docs_v27/methods/messages_sendMedia.md index 5767e394..1edc3ede 100644 --- a/old_docs/API_docs_v27/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v27/methods/messages_sendMedia.md @@ -26,7 +26,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({peer=InputPeer, reply_to_msg_id=int, media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_sendMessage.md b/old_docs/API_docs_v27/methods/messages_sendMessage.md index aa220850..c1fb8909 100644 --- a/old_docs/API_docs_v27/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v27/methods/messages_sendMessage.md @@ -26,7 +26,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua messages_SentMessage = messages.sendMessage({peer=InputPeer, reply_to_msg_id=int, message='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages_setTyping.md b/old_docs/API_docs_v27/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v27/methods/messages_setTyping.md +++ b/old_docs/API_docs_v27/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v27/methods/photos_deletePhotos.md b/old_docs/API_docs_v27/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v27/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v27/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v27/methods/photos_getUserPhotos.md b/old_docs/API_docs_v27/methods/photos_getUserPhotos.md index fef30862..7afef335 100644 --- a/old_docs/API_docs_v27/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v27/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md index 706f0a01..7341e4e7 100644 --- a/old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md @@ -25,7 +25,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md index 99064210..1debfc82 100644 --- a/old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md @@ -27,7 +27,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v27/methods/users_getUsers.md b/old_docs/API_docs_v27/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v27/methods/users_getUsers.md +++ b/old_docs/API_docs_v27/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v27/types/Chat.md b/old_docs/API_docs_v27/types/Chat.md index 75d5690e..17d39a19 100644 --- a/old_docs/API_docs_v27/types/Chat.md +++ b/old_docs/API_docs_v27/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v27/types/InputEncryptedChat.md b/old_docs/API_docs_v27/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v27/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v27/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v27/types/InputEncryptedFile.md b/old_docs/API_docs_v27/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v27/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v27/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v27/types/InputFile.md b/old_docs/API_docs_v27/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v27/types/InputFile.md +++ b/old_docs/API_docs_v27/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v27/types/InputNotifyPeer.md b/old_docs/API_docs_v27/types/InputNotifyPeer.md index 8347c390..215723c6 100644 --- a/old_docs/API_docs_v27/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v27/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v27/types/InputPeer.md b/old_docs/API_docs_v27/types/InputPeer.md index 0835e3ca..77f58c16 100644 --- a/old_docs/API_docs_v27/types/InputPeer.md +++ b/old_docs/API_docs_v27/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v27/types/InputUser.md b/old_docs/API_docs_v27/types/InputUser.md index 0294e497..e6fae5b8 100644 --- a/old_docs/API_docs_v27/types/InputUser.md +++ b/old_docs/API_docs_v27/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v27/types/NotifyPeer.md b/old_docs/API_docs_v27/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v27/types/NotifyPeer.md +++ b/old_docs/API_docs_v27/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v27/types/Peer.md b/old_docs/API_docs_v27/types/Peer.md index 9edbf4bb..48d23853 100644 --- a/old_docs/API_docs_v27/types/Peer.md +++ b/old_docs/API_docs_v27/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v27/types/User.md b/old_docs/API_docs_v27/types/User.md index 6dbfd982..5c7944e9 100644 --- a/old_docs/API_docs_v27/types/User.md +++ b/old_docs/API_docs_v27/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v33/constructors/accountDaysTTL.md b/old_docs/API_docs_v33/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v33/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v33/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v33/constructors/account_authorizations.md b/old_docs/API_docs_v33/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v33/constructors/account_authorizations.md +++ b/old_docs/API_docs_v33/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v33/constructors/account_noPassword.md b/old_docs/API_docs_v33/constructors/account_noPassword.md index 81a483d6..63a4af6d 100644 --- a/old_docs/API_docs_v33/constructors/account_noPassword.md +++ b/old_docs/API_docs_v33/constructors/account_noPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -33,10 +33,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'emai ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/account_password.md b/old_docs/API_docs_v33/constructors/account_password.md index 9a8b31c6..5c4c334b 100644 --- a/old_docs/API_docs_v33/constructors/account_password.md +++ b/old_docs/API_docs_v33/constructors/account_password.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` @@ -36,10 +36,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v33/constructors/account_passwordInputSettings.md index f474e0c7..b5838f0a 100644 --- a/old_docs/API_docs_v33/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v33/constructors/account_passwordInputSettings.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v33/constructors/account_passwordSettings.md b/old_docs/API_docs_v33/constructors/account_passwordSettings.md index 27d14f59..04fc8621 100644 --- a/old_docs/API_docs_v33/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v33/constructors/account_passwordSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v33/constructors/account_privacyRules.md b/old_docs/API_docs_v33/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v33/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v33/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v33/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v33/constructors/account_sentChangePhoneCode.md index 7bfd04ab..34044265 100644 --- a/old_docs/API_docs_v33/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v33/constructors/account_sentChangePhoneCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; ``` @@ -33,10 +33,9 @@ $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} ``` diff --git a/old_docs/API_docs_v33/constructors/audio.md b/old_docs/API_docs_v33/constructors/audio.md index 1d899f64..785de6e2 100644 --- a/old_docs/API_docs_v33/constructors/audio.md +++ b/old_docs/API_docs_v33/constructors/audio.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` @@ -38,10 +38,9 @@ $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audio={_='audio', id=long, access_hash=long, date=int, duration=int, mime_type='string', size=int, dc_id=int} ``` diff --git a/old_docs/API_docs_v33/constructors/audioEmpty.md b/old_docs/API_docs_v33/constructors/audioEmpty.md index 2b0ed960..846367f4 100644 --- a/old_docs/API_docs_v33/constructors/audioEmpty.md +++ b/old_docs/API_docs_v33/constructors/audioEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audioEmpty={_='audioEmpty', id=long} ``` diff --git a/old_docs/API_docs_v33/constructors/auth_authorization.md b/old_docs/API_docs_v33/constructors/auth_authorization.md index bbe5a8b9..1a75a113 100644 --- a/old_docs/API_docs_v33/constructors/auth_authorization.md +++ b/old_docs/API_docs_v33/constructors/auth_authorization.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` @@ -32,10 +32,9 @@ $auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_authorization={_='auth.authorization', user=User} ``` diff --git a/old_docs/API_docs_v33/constructors/auth_checkedPhone.md b/old_docs/API_docs_v33/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v33/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v33/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v33/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v33/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v33/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v33/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v33/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v33/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v33/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v33/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v33/constructors/auth_sentAppCode.md b/old_docs/API_docs_v33/constructors/auth_sentAppCode.md index 1f354541..ec13efba 100644 --- a/old_docs/API_docs_v33/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v33/constructors/auth_sentAppCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'pho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v33/constructors/auth_sentCode.md b/old_docs/API_docs_v33/constructors/auth_sentCode.md index 01834b65..2b5301e1 100644 --- a/old_docs/API_docs_v33/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v33/constructors/auth_sentCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v33/constructors/authorization.md b/old_docs/API_docs_v33/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v33/constructors/authorization.md +++ b/old_docs/API_docs_v33/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v33/constructors/botCommand.md b/old_docs/API_docs_v33/constructors/botCommand.md index 8569358d..fcb65461 100644 --- a/old_docs/API_docs_v33/constructors/botCommand.md +++ b/old_docs/API_docs_v33/constructors/botCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v33/constructors/botInfo.md b/old_docs/API_docs_v33/constructors/botInfo.md index afa0de7c..86584a29 100644 --- a/old_docs/API_docs_v33/constructors/botInfo.md +++ b/old_docs/API_docs_v33/constructors/botInfo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => 'string', 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -36,10 +36,9 @@ $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInfo={_='botInfo', user_id=int, version=int, share_text='string', description='string', commands={BotCommand}} ``` diff --git a/old_docs/API_docs_v33/constructors/botInfoEmpty.md b/old_docs/API_docs_v33/constructors/botInfoEmpty.md index df42ad4b..7afd677c 100644 --- a/old_docs/API_docs_v33/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v33/constructors/botInfoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfoEmpty = ['_' => 'botInfoEmpty']; ``` @@ -27,10 +27,9 @@ $botInfoEmpty = ['_' => 'botInfoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInfoEmpty={_='botInfoEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/chat.md b/old_docs/API_docs_v33/constructors/chat.md index 6bfb3651..d197bfc9 100644 --- a/old_docs/API_docs_v33/constructors/chat.md +++ b/old_docs/API_docs_v33/constructors/chat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chat = ['_' => 'chat', 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int]; ``` @@ -38,10 +38,9 @@ $chat = ['_' => 'chat', 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chat={_='chat', id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, left=Bool, version=int} ``` diff --git a/old_docs/API_docs_v33/constructors/chatEmpty.md b/old_docs/API_docs_v33/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v33/constructors/chatEmpty.md +++ b/old_docs/API_docs_v33/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v33/constructors/chatForbidden.md b/old_docs/API_docs_v33/constructors/chatForbidden.md index ecbb3ed8..76708ada 100644 --- a/old_docs/API_docs_v33/constructors/chatForbidden.md +++ b/old_docs/API_docs_v33/constructors/chatForbidden.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string', 'date' => int]; ``` @@ -34,10 +34,9 @@ $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string', 'dat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatForbidden={_='chatForbidden', id=int, title='string', date=int} ``` diff --git a/old_docs/API_docs_v33/constructors/chatFull.md b/old_docs/API_docs_v33/constructors/chatFull.md index 6e138596..2a5f67f6 100644 --- a/old_docs/API_docs_v33/constructors/chatFull.md +++ b/old_docs/API_docs_v33/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v33/constructors/chatInvite.md b/old_docs/API_docs_v33/constructors/chatInvite.md index 40f74fba..73b6ea39 100644 --- a/old_docs/API_docs_v33/constructors/chatInvite.md +++ b/old_docs/API_docs_v33/constructors/chatInvite.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInvite = ['_' => 'chatInvite', 'title' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInvite={_='chatInvite', title='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/chatInviteAlready.md b/old_docs/API_docs_v33/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/old_docs/API_docs_v33/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v33/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/old_docs/API_docs_v33/constructors/chatInviteEmpty.md b/old_docs/API_docs_v33/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/old_docs/API_docs_v33/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v33/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/chatInviteExported.md b/old_docs/API_docs_v33/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/old_docs/API_docs_v33/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v33/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/chatLocated.md b/old_docs/API_docs_v33/constructors/chatLocated.md index 7c2cc78a..8b53e150 100644 --- a/old_docs/API_docs_v33/constructors/chatLocated.md +++ b/old_docs/API_docs_v33/constructors/chatLocated.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatLocated = ['_' => 'chatLocated', 'chat_id' => int, 'distance' => int]; ``` @@ -33,10 +33,9 @@ $chatLocated = ['_' => 'chatLocated', 'chat_id' => int, 'distance' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatLocated={_='chatLocated', chat_id=int, distance=int} ``` diff --git a/old_docs/API_docs_v33/constructors/chatParticipant.md b/old_docs/API_docs_v33/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v33/constructors/chatParticipant.md +++ b/old_docs/API_docs_v33/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v33/constructors/chatParticipants.md b/old_docs/API_docs_v33/constructors/chatParticipants.md index d4acc517..5acbb81c 100644 --- a/old_docs/API_docs_v33/constructors/chatParticipants.md +++ b/old_docs/API_docs_v33/constructors/chatParticipants.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -35,10 +35,9 @@ $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipants={_='chatParticipants', chat_id=int, admin_id=int, participants={ChatParticipant}, version=int} ``` diff --git a/old_docs/API_docs_v33/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v33/constructors/chatParticipantsForbidden.md index c3b4c007..c6bb546b 100644 --- a/old_docs/API_docs_v33/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v33/constructors/chatParticipantsForbidden.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int} ``` diff --git a/old_docs/API_docs_v33/constructors/chatPhoto.md b/old_docs/API_docs_v33/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v33/constructors/chatPhoto.md +++ b/old_docs/API_docs_v33/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v33/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v33/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v33/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v33/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/config.md b/old_docs/API_docs_v33/constructors/config.md index 46c622a6..67fdddff 100644 --- a/old_docs/API_docs_v33/constructors/config.md +++ b/old_docs/API_docs_v33/constructors/config.md @@ -38,7 +38,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'broadcast_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -49,10 +49,9 @@ $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, broadcast_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v33/constructors/contact.md b/old_docs/API_docs_v33/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v33/constructors/contact.md +++ b/old_docs/API_docs_v33/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v33/constructors/contactBlocked.md b/old_docs/API_docs_v33/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v33/constructors/contactBlocked.md +++ b/old_docs/API_docs_v33/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v33/constructors/contactFound.md b/old_docs/API_docs_v33/constructors/contactFound.md index b7f22e4c..ecf6b905 100644 --- a/old_docs/API_docs_v33/constructors/contactFound.md +++ b/old_docs/API_docs_v33/constructors/contactFound.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactFound = ['_' => 'contactFound', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $contactFound = ['_' => 'contactFound', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactFound={_='contactFound', user_id=int} ``` diff --git a/old_docs/API_docs_v33/constructors/contactLinkContact.md b/old_docs/API_docs_v33/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v33/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v33/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v33/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v33/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v33/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v33/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v33/constructors/contactLinkNone.md b/old_docs/API_docs_v33/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v33/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v33/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v33/constructors/contactLinkUnknown.md b/old_docs/API_docs_v33/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v33/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v33/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v33/constructors/contactStatus.md b/old_docs/API_docs_v33/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v33/constructors/contactStatus.md +++ b/old_docs/API_docs_v33/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v33/constructors/contactSuggested.md b/old_docs/API_docs_v33/constructors/contactSuggested.md index 7dc8105c..e90bf7c9 100644 --- a/old_docs/API_docs_v33/constructors/contactSuggested.md +++ b/old_docs/API_docs_v33/constructors/contactSuggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` @@ -33,10 +33,9 @@ $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int} ``` diff --git a/old_docs/API_docs_v33/constructors/contacts_blocked.md b/old_docs/API_docs_v33/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v33/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v33/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v33/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v33/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v33/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v33/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v33/constructors/contacts_contacts.md b/old_docs/API_docs_v33/constructors/contacts_contacts.md index 34dae91a..ea16b38a 100644 --- a/old_docs/API_docs_v33/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v33/constructors/contacts_contacts.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} ``` diff --git a/old_docs/API_docs_v33/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v33/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v33/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v33/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v33/constructors/contacts_found.md b/old_docs/API_docs_v33/constructors/contacts_found.md index ba0c9b31..940558ab 100644 --- a/old_docs/API_docs_v33/constructors/contacts_found.md +++ b/old_docs/API_docs_v33/constructors/contacts_found.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactFound], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactF ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={ContactFound}, users={User}} ``` diff --git a/old_docs/API_docs_v33/constructors/contacts_importedContacts.md b/old_docs/API_docs_v33/constructors/contacts_importedContacts.md index 7bf9c1bf..8b9012bb 100644 --- a/old_docs/API_docs_v33/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v33/constructors/contacts_importedContacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v33/constructors/contacts_link.md b/old_docs/API_docs_v33/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v33/constructors/contacts_link.md +++ b/old_docs/API_docs_v33/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v33/constructors/contacts_suggested.md b/old_docs/API_docs_v33/constructors/contacts_suggested.md index 553cebcb..2659d855 100644 --- a/old_docs/API_docs_v33/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v33/constructors/contacts_suggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggest ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} ``` diff --git a/old_docs/API_docs_v33/constructors/dcOption.md b/old_docs/API_docs_v33/constructors/dcOption.md index 7b27e5c3..b0be0745 100644 --- a/old_docs/API_docs_v33/constructors/dcOption.md +++ b/old_docs/API_docs_v33/constructors/dcOption.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` @@ -34,10 +34,9 @@ $dcOption = ['_' => 'dcOption', 'id' => int, 'ip_address' => 'string', 'port' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', id=int, ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v33/constructors/dialog.md b/old_docs/API_docs_v33/constructors/dialog.md index cbb327d6..539225bf 100644 --- a/old_docs/API_docs_v33/constructors/dialog.md +++ b/old_docs/API_docs_v33/constructors/dialog.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` @@ -36,10 +36,9 @@ $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_ma ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v33/constructors/disabledFeature.md b/old_docs/API_docs_v33/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v33/constructors/disabledFeature.md +++ b/old_docs/API_docs_v33/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/document.md b/old_docs/API_docs_v33/constructors/document.md index 8719d873..e9547f1f 100644 --- a/old_docs/API_docs_v33/constructors/document.md +++ b/old_docs/API_docs_v33/constructors/document.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -39,10 +39,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v33/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v33/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v33/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v33/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v33/constructors/documentAttributeAudio.md b/old_docs/API_docs_v33/constructors/documentAttributeAudio.md index 8fb77965..8bf344bb 100644 --- a/old_docs/API_docs_v33/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v33/constructors/documentAttributeAudio.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => 'string', 'performer' => 'string']; ``` @@ -34,10 +34,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', duration=int, title='string', performer='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/documentAttributeFilename.md b/old_docs/API_docs_v33/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v33/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v33/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v33/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v33/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v33/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v33/constructors/documentAttributeSticker.md b/old_docs/API_docs_v33/constructors/documentAttributeSticker.md index d44d94cd..397679ef 100644 --- a/old_docs/API_docs_v33/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v33/constructors/documentAttributeSticker.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` @@ -33,10 +33,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', alt='string', stickerset=InputStickerSet} ``` diff --git a/old_docs/API_docs_v33/constructors/documentAttributeVideo.md b/old_docs/API_docs_v33/constructors/documentAttributeVideo.md index 0902c118..cc7ffced 100644 --- a/old_docs/API_docs_v33/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v33/constructors/documentAttributeVideo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -34,10 +34,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v33/constructors/documentEmpty.md b/old_docs/API_docs_v33/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v33/constructors/documentEmpty.md +++ b/old_docs/API_docs_v33/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v33/constructors/encryptedChat.md b/old_docs/API_docs_v33/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v33/constructors/encryptedChat.md +++ b/old_docs/API_docs_v33/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v33/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v33/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v33/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v33/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v33/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v33/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v33/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v33/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v33/constructors/encryptedChatRequested.md b/old_docs/API_docs_v33/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v33/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v33/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v33/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v33/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v33/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v33/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v33/constructors/encryptedFile.md b/old_docs/API_docs_v33/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v33/constructors/encryptedFile.md +++ b/old_docs/API_docs_v33/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v33/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v33/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v33/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v33/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/encryptedMessage.md b/old_docs/API_docs_v33/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v33/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v33/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v33/constructors/encryptedMessageService.md b/old_docs/API_docs_v33/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v33/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v33/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v33/constructors/error.md b/old_docs/API_docs_v33/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v33/constructors/error.md +++ b/old_docs/API_docs_v33/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/fileLocation.md b/old_docs/API_docs_v33/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v33/constructors/fileLocation.md +++ b/old_docs/API_docs_v33/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v33/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v33/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v33/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v33/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v33/constructors/geoChat.md b/old_docs/API_docs_v33/constructors/geoChat.md index 12ca0ce8..2a3d07c8 100644 --- a/old_docs/API_docs_v33/constructors/geoChat.md +++ b/old_docs/API_docs_v33/constructors/geoChat.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoChat = ['_' => 'geoChat', 'id' => int, 'access_hash' => long, 'title' => 'string', 'address' => 'string', 'venue' => 'string', 'geo' => GeoPoint, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'checked_in' => Bool, 'version' => int]; ``` @@ -42,10 +42,9 @@ $geoChat = ['_' => 'geoChat', 'id' => int, 'access_hash' => long, 'title' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoChat={_='geoChat', id=int, access_hash=long, title='string', address='string', venue='string', geo=GeoPoint, photo=ChatPhoto, participants_count=int, date=int, checked_in=Bool, version=int} ``` diff --git a/old_docs/API_docs_v33/constructors/geoChatMessage.md b/old_docs/API_docs_v33/constructors/geoChatMessage.md index b9f51d8a..c8b4fec0 100644 --- a/old_docs/API_docs_v33/constructors/geoChatMessage.md +++ b/old_docs/API_docs_v33/constructors/geoChatMessage.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoChatMessage = ['_' => 'geoChatMessage', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia]; ``` @@ -37,10 +37,9 @@ $geoChatMessage = ['_' => 'geoChatMessage', 'chat_id' => int, 'id' => int, 'from ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoChatMessage={_='geoChatMessage', chat_id=int, id=int, from_id=int, date=int, message='string', media=MessageMedia} ``` diff --git a/old_docs/API_docs_v33/constructors/geoChatMessageEmpty.md b/old_docs/API_docs_v33/constructors/geoChatMessageEmpty.md index d14df307..d578dca5 100644 --- a/old_docs/API_docs_v33/constructors/geoChatMessageEmpty.md +++ b/old_docs/API_docs_v33/constructors/geoChatMessageEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoChatMessageEmpty = ['_' => 'geoChatMessageEmpty', 'chat_id' => int, 'id' => int]; ``` @@ -33,10 +33,9 @@ $geoChatMessageEmpty = ['_' => 'geoChatMessageEmpty', 'chat_id' => int, 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoChatMessageEmpty={_='geoChatMessageEmpty', chat_id=int, id=int} ``` diff --git a/old_docs/API_docs_v33/constructors/geoChatMessageService.md b/old_docs/API_docs_v33/constructors/geoChatMessageService.md index ac79d96f..23c03351 100644 --- a/old_docs/API_docs_v33/constructors/geoChatMessageService.md +++ b/old_docs/API_docs_v33/constructors/geoChatMessageService.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoChatMessageService = ['_' => 'geoChatMessageService', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'action' => MessageAction]; ``` @@ -36,10 +36,9 @@ $geoChatMessageService = ['_' => 'geoChatMessageService', 'chat_id' => int, 'id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoChatMessageService={_='geoChatMessageService', chat_id=int, id=int, from_id=int, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v33/constructors/geoPoint.md b/old_docs/API_docs_v33/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v33/constructors/geoPoint.md +++ b/old_docs/API_docs_v33/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v33/constructors/geoPointEmpty.md b/old_docs/API_docs_v33/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v33/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v33/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/geochats_located.md b/old_docs/API_docs_v33/constructors/geochats_located.md index 5646af06..1a521b23 100644 --- a/old_docs/API_docs_v33/constructors/geochats_located.md +++ b/old_docs/API_docs_v33/constructors/geochats_located.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geochats_located = ['_' => 'geochats.located', 'results' => [ChatLocated, ChatLocated], 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $geochats_located = ['_' => 'geochats.located', 'results' => [ChatLocated, ChatL ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geochats_located={_='geochats.located', results={ChatLocated}, messages={GeoChatMessage}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v33/constructors/geochats_messages.md b/old_docs/API_docs_v33/constructors/geochats_messages.md index 048a009f..ce50e9cf 100644 --- a/old_docs/API_docs_v33/constructors/geochats_messages.md +++ b/old_docs/API_docs_v33/constructors/geochats_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geochats_messages = ['_' => 'geochats.messages', 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $geochats_messages = ['_' => 'geochats.messages', 'messages' => [GeoChatMessage, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geochats_messages={_='geochats.messages', messages={GeoChatMessage}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v33/constructors/geochats_messagesSlice.md b/old_docs/API_docs_v33/constructors/geochats_messagesSlice.md index c4df1ba1..bb3b0804 100644 --- a/old_docs/API_docs_v33/constructors/geochats_messagesSlice.md +++ b/old_docs/API_docs_v33/constructors/geochats_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geochats_messagesSlice = ['_' => 'geochats.messagesSlice', 'count' => int, 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $geochats_messagesSlice = ['_' => 'geochats.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geochats_messagesSlice={_='geochats.messagesSlice', count=int, messages={GeoChatMessage}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v33/constructors/geochats_statedMessage.md b/old_docs/API_docs_v33/constructors/geochats_statedMessage.md index 9be23e90..b347df0e 100644 --- a/old_docs/API_docs_v33/constructors/geochats_statedMessage.md +++ b/old_docs/API_docs_v33/constructors/geochats_statedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geochats_statedMessage = ['_' => 'geochats.statedMessage', 'message' => GeoChatMessage, 'chats' => [Chat, Chat], 'users' => [User, User], 'seq' => int]; ``` @@ -35,10 +35,9 @@ $geochats_statedMessage = ['_' => 'geochats.statedMessage', 'message' => GeoChat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geochats_statedMessage={_='geochats.statedMessage', message=GeoChatMessage, chats={Chat}, users={User}, seq=int} ``` diff --git a/old_docs/API_docs_v33/constructors/help_appChangelog.md b/old_docs/API_docs_v33/constructors/help_appChangelog.md index 5b7b353a..d30f8acd 100644 --- a/old_docs/API_docs_v33/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v33/constructors/help_appChangelog.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelog={_='help.appChangelog', text='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v33/constructors/help_appChangelogEmpty.md index 0f0827c3..e20017b7 100644 --- a/old_docs/API_docs_v33/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v33/constructors/help_appChangelogEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` @@ -27,10 +27,9 @@ $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelogEmpty={_='help.appChangelogEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/help_appUpdate.md b/old_docs/API_docs_v33/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v33/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v33/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/help_inviteText.md b/old_docs/API_docs_v33/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v33/constructors/help_inviteText.md +++ b/old_docs/API_docs_v33/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/help_noAppUpdate.md b/old_docs/API_docs_v33/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v33/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v33/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v33/constructors/help_support.md b/old_docs/API_docs_v33/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v33/constructors/help_support.md +++ b/old_docs/API_docs_v33/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v33/constructors/importedContact.md b/old_docs/API_docs_v33/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v33/constructors/importedContact.md +++ b/old_docs/API_docs_v33/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v33/constructors/inputAppEvent.md b/old_docs/API_docs_v33/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v33/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v33/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputAudio.md b/old_docs/API_docs_v33/constructors/inputAudio.md index c428307e..ac1c82e3 100644 --- a/old_docs/API_docs_v33/constructors/inputAudio.md +++ b/old_docs/API_docs_v33/constructors/inputAudio.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudio={_='inputAudio', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v33/constructors/inputAudioEmpty.md b/old_docs/API_docs_v33/constructors/inputAudioEmpty.md index a84b3e67..b0b4e934 100644 --- a/old_docs/API_docs_v33/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputAudioEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` @@ -27,10 +27,9 @@ $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v33/constructors/inputAudioFileLocation.md index f95ad919..a2633244 100644 --- a/old_docs/API_docs_v33/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v33/constructors/inputAudioFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v33/constructors/inputChatPhoto.md b/old_docs/API_docs_v33/constructors/inputChatPhoto.md index 5affda9a..7ad8a3f7 100644 --- a/old_docs/API_docs_v33/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v33/constructors/inputChatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputP ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v33/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v33/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v33/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v33/constructors/inputChatUploadedPhoto.md index a22405b2..ed0624da 100644 --- a/old_docs/API_docs_v33/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v33/constructors/inputChatUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v33/constructors/inputDocument.md b/old_docs/API_docs_v33/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v33/constructors/inputDocument.md +++ b/old_docs/API_docs_v33/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v33/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v33/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v33/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v33/constructors/inputDocumentFileLocation.md index 2ba7d2b3..5d593784 100644 --- a/old_docs/API_docs_v33/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v33/constructors/inputDocumentFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v33/constructors/inputEncryptedChat.md b/old_docs/API_docs_v33/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v33/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v33/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v33/constructors/inputEncryptedFile.md b/old_docs/API_docs_v33/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v33/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v33/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v33/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v33/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v33/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v33/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v33/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v33/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v33/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v33/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v33/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v33/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v33/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v33/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v33/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v33/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v33/constructors/inputFile.md b/old_docs/API_docs_v33/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v33/constructors/inputFile.md +++ b/old_docs/API_docs_v33/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputFileBig.md b/old_docs/API_docs_v33/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v33/constructors/inputFileBig.md +++ b/old_docs/API_docs_v33/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputFileLocation.md b/old_docs/API_docs_v33/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v33/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v33/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v33/constructors/inputGeoChat.md b/old_docs/API_docs_v33/constructors/inputGeoChat.md index d253a9ee..b1bb20d3 100644 --- a/old_docs/API_docs_v33/constructors/inputGeoChat.md +++ b/old_docs/API_docs_v33/constructors/inputGeoChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoChat = ['_' => 'inputGeoChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputGeoChat = ['_' => 'inputGeoChat', 'chat_id' => int, 'access_hash' => long] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoChat={_='inputGeoChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v33/constructors/inputGeoPoint.md b/old_docs/API_docs_v33/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v33/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v33/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v33/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v33/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v33/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMediaAudio.md b/old_docs/API_docs_v33/constructors/inputMediaAudio.md index 6ebbe6ec..6c166ec0 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v33/constructors/inputMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` @@ -32,10 +32,9 @@ $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaAudio={_='inputMediaAudio', id=InputAudio} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMediaContact.md b/old_docs/API_docs_v33/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v33/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMediaDocument.md b/old_docs/API_docs_v33/constructors/inputMediaDocument.md index f652113b..f671c3e5 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v33/constructors/inputMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` @@ -32,10 +32,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMediaEmpty.md b/old_docs/API_docs_v33/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v33/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v33/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMediaPhoto.md b/old_docs/API_docs_v33/constructors/inputMediaPhoto.md index 0be7f6fe..71f4ded5 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v33/constructors/inputMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v33/constructors/inputMediaUploadedAudio.md index 4eb4cb85..73fcb4f8 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v33/constructors/inputMediaUploadedAudio.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v33/constructors/inputMediaUploadedDocument.md index 06758275..e89ad515 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v33/constructors/inputMediaUploadedDocument.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v33/constructors/inputMediaUploadedPhoto.md index 499857ce..ad2a8680 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v33/constructors/inputMediaUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v33/constructors/inputMediaUploadedThumbDocument.md index eea9edcd..b98b9004 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v33/constructors/inputMediaUploadedThumbDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -35,10 +35,9 @@ $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v33/constructors/inputMediaUploadedThumbVideo.md index 1acd9b79..12fdd189 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v33/constructors/inputMediaUploadedThumbVideo.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'caption' => 'string']; ``` @@ -37,10 +37,9 @@ $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, caption='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v33/constructors/inputMediaUploadedVideo.md index 0e66ada6..491ae9d3 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v33/constructors/inputMediaUploadedVideo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'caption' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, caption='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMediaVenue.md b/old_docs/API_docs_v33/constructors/inputMediaVenue.md index 3e7ee3a1..b2171fbc 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v33/constructors/inputMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMediaVideo.md b/old_docs/API_docs_v33/constructors/inputMediaVideo.md index 05af7adb..b16b97d5 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v33/constructors/inputMediaVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVideo={_='inputMediaVideo', id=InputVideo, caption='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterAudio.md index 066b1642..79c822fc 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterAudio.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterAudioDocuments.md index 7badd17c..a8963d46 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterAudioDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputNotifyAll.md b/old_docs/API_docs_v33/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v33/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v33/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputNotifyChats.md b/old_docs/API_docs_v33/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v33/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v33/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputNotifyGeoChatPeer.md b/old_docs/API_docs_v33/constructors/inputNotifyGeoChatPeer.md index 11705079..91c1327f 100644 --- a/old_docs/API_docs_v33/constructors/inputNotifyGeoChatPeer.md +++ b/old_docs/API_docs_v33/constructors/inputNotifyGeoChatPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyGeoChatPeer = ['_' => 'inputNotifyGeoChatPeer', 'peer' => InputGeoChat]; ``` @@ -32,10 +32,9 @@ $inputNotifyGeoChatPeer = ['_' => 'inputNotifyGeoChatPeer', 'peer' => InputGeoCh ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyGeoChatPeer={_='inputNotifyGeoChatPeer', peer=InputGeoChat} ``` diff --git a/old_docs/API_docs_v33/constructors/inputNotifyPeer.md b/old_docs/API_docs_v33/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v33/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v33/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v33/constructors/inputNotifyUsers.md b/old_docs/API_docs_v33/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v33/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v33/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPeerChat.md b/old_docs/API_docs_v33/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v33/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v33/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPeerEmpty.md b/old_docs/API_docs_v33/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v33/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v33/constructors/inputPeerNotifySettings.md index ce1896bb..a600e880 100644 --- a/old_docs/API_docs_v33/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v33/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPeerSelf.md b/old_docs/API_docs_v33/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v33/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v33/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPeerUser.md b/old_docs/API_docs_v33/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/old_docs/API_docs_v33/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v33/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPhoneContact.md b/old_docs/API_docs_v33/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v33/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v33/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPhoto.md b/old_docs/API_docs_v33/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v33/constructors/inputPhoto.md +++ b/old_docs/API_docs_v33/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPhotoCrop.md b/old_docs/API_docs_v33/constructors/inputPhotoCrop.md index b35bf42f..e90029a9 100644 --- a/old_docs/API_docs_v33/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v33/constructors/inputPhotoCrop.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` @@ -34,10 +34,9 @@ $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v33/constructors/inputPhotoCropAuto.md index 6c2f121d..37414b14 100644 --- a/old_docs/API_docs_v33/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v33/constructors/inputPhotoCropAuto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` @@ -27,10 +27,9 @@ $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v33/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v33/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v33/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v33/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v33/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v33/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v33/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/old_docs/API_docs_v33/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputStickerSetID.md b/old_docs/API_docs_v33/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/old_docs/API_docs_v33/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v33/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v33/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v33/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/old_docs/API_docs_v33/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v33/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputUser.md b/old_docs/API_docs_v33/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/old_docs/API_docs_v33/constructors/inputUser.md +++ b/old_docs/API_docs_v33/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v33/constructors/inputUserEmpty.md b/old_docs/API_docs_v33/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v33/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputUserSelf.md b/old_docs/API_docs_v33/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v33/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v33/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputVideo.md b/old_docs/API_docs_v33/constructors/inputVideo.md index 4ea87c56..b3874cd7 100644 --- a/old_docs/API_docs_v33/constructors/inputVideo.md +++ b/old_docs/API_docs_v33/constructors/inputVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideo={_='inputVideo', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v33/constructors/inputVideoEmpty.md b/old_docs/API_docs_v33/constructors/inputVideoEmpty.md index b69984f7..5322ed90 100644 --- a/old_docs/API_docs_v33/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputVideoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` @@ -27,10 +27,9 @@ $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v33/constructors/inputVideoFileLocation.md index 2692222e..d9a3f678 100644 --- a/old_docs/API_docs_v33/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v33/constructors/inputVideoFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v33/constructors/keyboardButton.md b/old_docs/API_docs_v33/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/old_docs/API_docs_v33/constructors/keyboardButton.md +++ b/old_docs/API_docs_v33/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/keyboardButtonRow.md b/old_docs/API_docs_v33/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/old_docs/API_docs_v33/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v33/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/old_docs/API_docs_v33/constructors/message.md b/old_docs/API_docs_v33/constructors/message.md index f5267c92..878f512b 100644 --- a/old_docs/API_docs_v33/constructors/message.md +++ b/old_docs/API_docs_v33/constructors/message.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup]; ``` @@ -41,10 +41,9 @@ $message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', id=int, from_id=int, to_id=Peer, fwd_from_id=int, fwd_date=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v33/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v33/constructors/messageActionChatAddUser.md index 1ea1d425..4decc491 100644 --- a/old_docs/API_docs_v33/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v33/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', user_id=int} ``` diff --git a/old_docs/API_docs_v33/constructors/messageActionChatCreate.md b/old_docs/API_docs_v33/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v33/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v33/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v33/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v33/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v33/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v33/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v33/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v33/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v33/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v33/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v33/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v33/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v33/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v33/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v33/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v33/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v33/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v33/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v33/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/old_docs/API_docs_v33/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v33/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/old_docs/API_docs_v33/constructors/messageActionEmpty.md b/old_docs/API_docs_v33/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v33/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v33/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/messageActionGeoChatCheckin.md b/old_docs/API_docs_v33/constructors/messageActionGeoChatCheckin.md index d37e8da1..a48dd877 100644 --- a/old_docs/API_docs_v33/constructors/messageActionGeoChatCheckin.md +++ b/old_docs/API_docs_v33/constructors/messageActionGeoChatCheckin.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionGeoChatCheckin = ['_' => 'messageActionGeoChatCheckin']; ``` @@ -27,10 +27,9 @@ $messageActionGeoChatCheckin = ['_' => 'messageActionGeoChatCheckin']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionGeoChatCheckin={_='messageActionGeoChatCheckin'} ``` diff --git a/old_docs/API_docs_v33/constructors/messageActionGeoChatCreate.md b/old_docs/API_docs_v33/constructors/messageActionGeoChatCreate.md index cd2c4881..69259aa9 100644 --- a/old_docs/API_docs_v33/constructors/messageActionGeoChatCreate.md +++ b/old_docs/API_docs_v33/constructors/messageActionGeoChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionGeoChatCreate = ['_' => 'messageActionGeoChatCreate', 'title' => 'string', 'address' => 'string']; ``` @@ -33,10 +33,9 @@ $messageActionGeoChatCreate = ['_' => 'messageActionGeoChatCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionGeoChatCreate={_='messageActionGeoChatCreate', title='string', address='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/messageEmpty.md b/old_docs/API_docs_v33/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v33/constructors/messageEmpty.md +++ b/old_docs/API_docs_v33/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v33/constructors/messageMediaAudio.md b/old_docs/API_docs_v33/constructors/messageMediaAudio.md index c2970836..4f350752 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v33/constructors/messageMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` @@ -32,10 +32,9 @@ $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaAudio={_='messageMediaAudio', audio=Audio} ``` diff --git a/old_docs/API_docs_v33/constructors/messageMediaContact.md b/old_docs/API_docs_v33/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v33/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v33/constructors/messageMediaDocument.md b/old_docs/API_docs_v33/constructors/messageMediaDocument.md index c0a7272c..c08a097b 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v33/constructors/messageMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` @@ -32,10 +32,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document} ``` diff --git a/old_docs/API_docs_v33/constructors/messageMediaEmpty.md b/old_docs/API_docs_v33/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v33/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/messageMediaGeo.md b/old_docs/API_docs_v33/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v33/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v33/constructors/messageMediaPhoto.md b/old_docs/API_docs_v33/constructors/messageMediaPhoto.md index 47579066..7350efce 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v33/constructors/messageMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v33/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v33/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v33/constructors/messageMediaVenue.md b/old_docs/API_docs_v33/constructors/messageMediaVenue.md index 2db2d25d..2ef2b27f 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v33/constructors/messageMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/messageMediaVideo.md b/old_docs/API_docs_v33/constructors/messageMediaVideo.md index 444b12eb..694f6928 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v33/constructors/messageMediaVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVideo={_='messageMediaVideo', video=Video, caption='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/messageMediaWebPage.md b/old_docs/API_docs_v33/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v33/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v33/constructors/messageService.md b/old_docs/API_docs_v33/constructors/messageService.md index 37d1d69b..20bb88af 100644 --- a/old_docs/API_docs_v33/constructors/messageService.md +++ b/old_docs/API_docs_v33/constructors/messageService.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` @@ -36,10 +36,9 @@ $messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', id=int, from_id=int, to_id=Peer, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v33/constructors/messages_affectedHistory.md b/old_docs/API_docs_v33/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v33/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v33/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v33/constructors/messages_affectedMessages.md b/old_docs/API_docs_v33/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v33/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v33/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v33/constructors/messages_allStickers.md b/old_docs/API_docs_v33/constructors/messages_allStickers.md index e933488f..06237df7 100644 --- a/old_docs/API_docs_v33/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v33/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'set ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash='string', sets={StickerSet}} ``` diff --git a/old_docs/API_docs_v33/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v33/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v33/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v33/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v33/constructors/messages_chatFull.md b/old_docs/API_docs_v33/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v33/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v33/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v33/constructors/messages_chats.md b/old_docs/API_docs_v33/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v33/constructors/messages_chats.md +++ b/old_docs/API_docs_v33/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v33/constructors/messages_dhConfig.md b/old_docs/API_docs_v33/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v33/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v33/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v33/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v33/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v33/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v33/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v33/constructors/messages_dialogs.md b/old_docs/API_docs_v33/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v33/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v33/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v33/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v33/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v33/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v33/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v33/constructors/messages_messageEmpty.md b/old_docs/API_docs_v33/constructors/messages_messageEmpty.md index 49386522..c1e64b8e 100644 --- a/old_docs/API_docs_v33/constructors/messages_messageEmpty.md +++ b/old_docs/API_docs_v33/constructors/messages_messageEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messageEmpty = ['_' => 'messages.messageEmpty']; ``` @@ -27,10 +27,9 @@ $messages_messageEmpty = ['_' => 'messages.messageEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messageEmpty={_='messages.messageEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/messages_messages.md b/old_docs/API_docs_v33/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v33/constructors/messages_messages.md +++ b/old_docs/API_docs_v33/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v33/constructors/messages_messagesSlice.md b/old_docs/API_docs_v33/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v33/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v33/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v33/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v33/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v33/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v33/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v33/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v33/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v33/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v33/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v33/constructors/messages_sentMessage.md b/old_docs/API_docs_v33/constructors/messages_sentMessage.md index b3533adc..d224ca0a 100644 --- a/old_docs/API_docs_v33/constructors/messages_sentMessage.md +++ b/old_docs/API_docs_v33/constructors/messages_sentMessage.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int]; ``` @@ -36,10 +36,9 @@ $messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentMessage={_='messages.sentMessage', id=int, date=int, media=MessageMedia, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v33/constructors/messages_sentMessageLink.md b/old_docs/API_docs_v33/constructors/messages_sentMessageLink.md index 91e77a16..ab827566 100644 --- a/old_docs/API_docs_v33/constructors/messages_sentMessageLink.md +++ b/old_docs/API_docs_v33/constructors/messages_sentMessageLink.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link, contacts_Link], 'seq' => int]; ``` @@ -38,10 +38,9 @@ $messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'da ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, media=MessageMedia, pts=int, pts_count=int, links={contacts_Link}, seq=int} ``` diff --git a/old_docs/API_docs_v33/constructors/messages_stickerSet.md b/old_docs/API_docs_v33/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/old_docs/API_docs_v33/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v33/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v33/constructors/messages_stickers.md b/old_docs/API_docs_v33/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v33/constructors/messages_stickers.md +++ b/old_docs/API_docs_v33/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v33/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v33/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v33/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v33/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v33/constructors/nearestDc.md b/old_docs/API_docs_v33/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v33/constructors/nearestDc.md +++ b/old_docs/API_docs_v33/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v33/constructors/notifyAll.md b/old_docs/API_docs_v33/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v33/constructors/notifyAll.md +++ b/old_docs/API_docs_v33/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v33/constructors/notifyChats.md b/old_docs/API_docs_v33/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v33/constructors/notifyChats.md +++ b/old_docs/API_docs_v33/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v33/constructors/notifyPeer.md b/old_docs/API_docs_v33/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v33/constructors/notifyPeer.md +++ b/old_docs/API_docs_v33/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v33/constructors/notifyUsers.md b/old_docs/API_docs_v33/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v33/constructors/notifyUsers.md +++ b/old_docs/API_docs_v33/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v33/constructors/peerChat.md b/old_docs/API_docs_v33/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v33/constructors/peerChat.md +++ b/old_docs/API_docs_v33/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v33/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v33/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v33/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v33/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v33/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v33/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v33/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v33/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/peerNotifySettings.md b/old_docs/API_docs_v33/constructors/peerNotifySettings.md index 513132f4..12c5bbb9 100644 --- a/old_docs/API_docs_v33/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v33/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v33/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v33/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v33/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v33/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/peerUser.md b/old_docs/API_docs_v33/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v33/constructors/peerUser.md +++ b/old_docs/API_docs_v33/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v33/constructors/photo.md b/old_docs/API_docs_v33/constructors/photo.md index 7055e7a9..982122b9 100644 --- a/old_docs/API_docs_v33/constructors/photo.md +++ b/old_docs/API_docs_v33/constructors/photo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -35,10 +35,9 @@ $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v33/constructors/photoCachedSize.md b/old_docs/API_docs_v33/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v33/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v33/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v33/constructors/photoEmpty.md b/old_docs/API_docs_v33/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v33/constructors/photoEmpty.md +++ b/old_docs/API_docs_v33/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v33/constructors/photoSize.md b/old_docs/API_docs_v33/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v33/constructors/photoSize.md +++ b/old_docs/API_docs_v33/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v33/constructors/photoSizeEmpty.md b/old_docs/API_docs_v33/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v33/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v33/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/photos_photo.md b/old_docs/API_docs_v33/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v33/constructors/photos_photo.md +++ b/old_docs/API_docs_v33/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v33/constructors/photos_photos.md b/old_docs/API_docs_v33/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v33/constructors/photos_photos.md +++ b/old_docs/API_docs_v33/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v33/constructors/photos_photosSlice.md b/old_docs/API_docs_v33/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v33/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v33/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v33/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v33/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v33/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v33/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v33/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v33/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v33/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v33/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v33/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v33/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v33/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v33/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v33/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v33/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v33/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v33/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v33/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v33/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v33/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v33/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v33/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v33/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v33/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v33/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v33/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v33/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v33/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v33/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v33/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v33/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/old_docs/API_docs_v33/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v33/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/old_docs/API_docs_v33/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v33/constructors/replyKeyboardForceReply.md index 19016e59..2e2bdaed 100644 --- a/old_docs/API_docs_v33/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v33/constructors/replyKeyboardForceReply.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply']; ``` @@ -31,10 +31,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply'} ``` diff --git a/old_docs/API_docs_v33/constructors/replyKeyboardHide.md b/old_docs/API_docs_v33/constructors/replyKeyboardHide.md index 56aab4c7..c4619d2d 100644 --- a/old_docs/API_docs_v33/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v33/constructors/replyKeyboardHide.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide']; ``` @@ -31,10 +31,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide'} ``` diff --git a/old_docs/API_docs_v33/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v33/constructors/replyKeyboardMarkup.md index a9c0222a..61e6dd9b 100644 --- a/old_docs/API_docs_v33/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v33/constructors/replyKeyboardMarkup.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -32,10 +32,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'rows' => [KeyboardButtonR ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v33/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v33/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v33/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v33/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v33/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v33/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v33/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v33/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v33/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v33/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v33/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v33/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v33/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v33/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/old_docs/API_docs_v33/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v33/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/old_docs/API_docs_v33/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v33/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/old_docs/API_docs_v33/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v33/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/old_docs/API_docs_v33/constructors/stickerPack.md b/old_docs/API_docs_v33/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v33/constructors/stickerPack.md +++ b/old_docs/API_docs_v33/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v33/constructors/stickerSet.md b/old_docs/API_docs_v33/constructors/stickerSet.md index dd97d4be..1875e0bb 100644 --- a/old_docs/API_docs_v33/constructors/stickerSet.md +++ b/old_docs/API_docs_v33/constructors/stickerSet.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -37,10 +37,9 @@ $stickerSet = ['_' => 'stickerSet', 'id' => long, 'access_hash' => long, 'title' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/old_docs/API_docs_v33/constructors/storage_fileGif.md b/old_docs/API_docs_v33/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v33/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v33/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v33/constructors/storage_fileJpeg.md b/old_docs/API_docs_v33/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v33/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v33/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v33/constructors/storage_fileMov.md b/old_docs/API_docs_v33/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v33/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v33/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v33/constructors/storage_fileMp3.md b/old_docs/API_docs_v33/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v33/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v33/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v33/constructors/storage_fileMp4.md b/old_docs/API_docs_v33/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v33/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v33/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v33/constructors/storage_filePartial.md b/old_docs/API_docs_v33/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v33/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v33/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v33/constructors/storage_filePdf.md b/old_docs/API_docs_v33/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v33/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v33/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v33/constructors/storage_filePng.md b/old_docs/API_docs_v33/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v33/constructors/storage_filePng.md +++ b/old_docs/API_docs_v33/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v33/constructors/storage_fileUnknown.md b/old_docs/API_docs_v33/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v33/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v33/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v33/constructors/storage_fileWebp.md b/old_docs/API_docs_v33/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v33/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v33/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v33/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v33/constructors/updateChatParticipantAdd.md index 8259bb9c..77d1fda5 100644 --- a/old_docs/API_docs_v33/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v33/constructors/updateChatParticipantAdd.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, version=int} ``` diff --git a/old_docs/API_docs_v33/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v33/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v33/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v33/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v33/constructors/updateChatParticipants.md b/old_docs/API_docs_v33/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v33/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v33/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v33/constructors/updateChatUserTyping.md b/old_docs/API_docs_v33/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v33/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v33/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v33/constructors/updateContactLink.md b/old_docs/API_docs_v33/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v33/constructors/updateContactLink.md +++ b/old_docs/API_docs_v33/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v33/constructors/updateContactRegistered.md b/old_docs/API_docs_v33/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v33/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v33/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v33/constructors/updateDcOptions.md b/old_docs/API_docs_v33/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v33/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v33/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v33/constructors/updateDeleteMessages.md b/old_docs/API_docs_v33/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v33/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v33/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v33/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v33/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v33/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v33/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v33/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v33/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v33/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v33/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v33/constructors/updateEncryption.md b/old_docs/API_docs_v33/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v33/constructors/updateEncryption.md +++ b/old_docs/API_docs_v33/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v33/constructors/updateMessageID.md b/old_docs/API_docs_v33/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v33/constructors/updateMessageID.md +++ b/old_docs/API_docs_v33/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v33/constructors/updateNewAuthorization.md b/old_docs/API_docs_v33/constructors/updateNewAuthorization.md index c7a95f80..ce1d0815 100644 --- a/old_docs/API_docs_v33/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v33/constructors/updateNewAuthorization.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` @@ -35,10 +35,9 @@ $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device='string', location='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v33/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v33/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v33/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v33/constructors/updateNewGeoChatMessage.md b/old_docs/API_docs_v33/constructors/updateNewGeoChatMessage.md index ace41fa6..6585fedc 100644 --- a/old_docs/API_docs_v33/constructors/updateNewGeoChatMessage.md +++ b/old_docs/API_docs_v33/constructors/updateNewGeoChatMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewGeoChatMessage = ['_' => 'updateNewGeoChatMessage', 'message' => GeoChatMessage]; ``` @@ -32,10 +32,9 @@ $updateNewGeoChatMessage = ['_' => 'updateNewGeoChatMessage', 'message' => GeoCh ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewGeoChatMessage={_='updateNewGeoChatMessage', message=GeoChatMessage} ``` diff --git a/old_docs/API_docs_v33/constructors/updateNewMessage.md b/old_docs/API_docs_v33/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v33/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v33/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v33/constructors/updateNotifySettings.md b/old_docs/API_docs_v33/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v33/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v33/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v33/constructors/updatePrivacy.md b/old_docs/API_docs_v33/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v33/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v33/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v33/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v33/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v33/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v33/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v33/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v33/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v33/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v33/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v33/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v33/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/old_docs/API_docs_v33/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v33/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v33/constructors/updateServiceNotification.md b/old_docs/API_docs_v33/constructors/updateServiceNotification.md index 979fe7bd..ddcf7eb5 100644 --- a/old_docs/API_docs_v33/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v33/constructors/updateServiceNotification.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` @@ -35,10 +35,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'str ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', type='string', message='string', media=MessageMedia, popup=Bool} ``` diff --git a/old_docs/API_docs_v33/constructors/updateShort.md b/old_docs/API_docs_v33/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v33/constructors/updateShort.md +++ b/old_docs/API_docs_v33/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v33/constructors/updateShortChatMessage.md b/old_docs/API_docs_v33/constructors/updateShortChatMessage.md index b38de3ca..3a0392d7 100644 --- a/old_docs/API_docs_v33/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v33/constructors/updateShortChatMessage.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int]; ``` @@ -41,10 +41,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from_id=int, fwd_date=int, reply_to_msg_id=int} ``` diff --git a/old_docs/API_docs_v33/constructors/updateShortMessage.md b/old_docs/API_docs_v33/constructors/updateShortMessage.md index a83eff88..330d5a52 100644 --- a/old_docs/API_docs_v33/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v33/constructors/updateShortMessage.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int]; ``` @@ -40,10 +40,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'user_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from_id=int, fwd_date=int, reply_to_msg_id=int} ``` diff --git a/old_docs/API_docs_v33/constructors/updateUserBlocked.md b/old_docs/API_docs_v33/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v33/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v33/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v33/constructors/updateUserName.md b/old_docs/API_docs_v33/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v33/constructors/updateUserName.md +++ b/old_docs/API_docs_v33/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/updateUserPhone.md b/old_docs/API_docs_v33/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v33/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v33/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/updateUserPhoto.md b/old_docs/API_docs_v33/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v33/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v33/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v33/constructors/updateUserStatus.md b/old_docs/API_docs_v33/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v33/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v33/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v33/constructors/updateUserTyping.md b/old_docs/API_docs_v33/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v33/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v33/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v33/constructors/updateWebPage.md b/old_docs/API_docs_v33/constructors/updateWebPage.md index f44983bd..bdc26e81 100644 --- a/old_docs/API_docs_v33/constructors/updateWebPage.md +++ b/old_docs/API_docs_v33/constructors/updateWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v33/constructors/updates.md b/old_docs/API_docs_v33/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v33/constructors/updates.md +++ b/old_docs/API_docs_v33/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v33/constructors/updatesCombined.md b/old_docs/API_docs_v33/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v33/constructors/updatesCombined.md +++ b/old_docs/API_docs_v33/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v33/constructors/updatesTooLong.md b/old_docs/API_docs_v33/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v33/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v33/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v33/constructors/updates_difference.md b/old_docs/API_docs_v33/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v33/constructors/updates_difference.md +++ b/old_docs/API_docs_v33/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v33/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v33/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v33/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v33/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v33/constructors/updates_differenceSlice.md b/old_docs/API_docs_v33/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v33/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v33/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v33/constructors/updates_state.md b/old_docs/API_docs_v33/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v33/constructors/updates_state.md +++ b/old_docs/API_docs_v33/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v33/constructors/upload_file.md b/old_docs/API_docs_v33/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v33/constructors/upload_file.md +++ b/old_docs/API_docs_v33/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v33/constructors/user.md b/old_docs/API_docs_v33/constructors/user.md index ea934b96..b7913d14 100644 --- a/old_docs/API_docs_v33/constructors/user.md +++ b/old_docs/API_docs_v33/constructors/user.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int]; ``` @@ -40,10 +40,9 @@ $user = ['_' => 'user', 'id' => int, 'access_hash' => long, 'first_name' => 'str ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int} ``` diff --git a/old_docs/API_docs_v33/constructors/userEmpty.md b/old_docs/API_docs_v33/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v33/constructors/userEmpty.md +++ b/old_docs/API_docs_v33/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v33/constructors/userFull.md b/old_docs/API_docs_v33/constructors/userFull.md index dff5cfa2..9b32a434 100644 --- a/old_docs/API_docs_v33/constructors/userFull.md +++ b/old_docs/API_docs_v33/constructors/userFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` @@ -37,10 +37,9 @@ $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v33/constructors/userProfilePhoto.md b/old_docs/API_docs_v33/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v33/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v33/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v33/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v33/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v33/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v33/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/userStatusEmpty.md b/old_docs/API_docs_v33/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v33/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v33/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v33/constructors/userStatusLastMonth.md b/old_docs/API_docs_v33/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v33/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v33/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v33/constructors/userStatusLastWeek.md b/old_docs/API_docs_v33/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v33/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v33/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v33/constructors/userStatusOffline.md b/old_docs/API_docs_v33/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v33/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v33/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v33/constructors/userStatusOnline.md b/old_docs/API_docs_v33/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v33/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v33/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v33/constructors/userStatusRecently.md b/old_docs/API_docs_v33/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v33/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v33/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v33/constructors/vector.md b/old_docs/API_docs_v33/constructors/vector.md index c9e27763..d8ea6f1f 100644 --- a/old_docs/API_docs_v33/constructors/vector.md +++ b/old_docs/API_docs_v33/constructors/vector.md @@ -18,7 +18,7 @@ Array ### Example: -``` +```php $vector = ['_' => 'vector']; ``` @@ -29,10 +29,9 @@ $vector = ['_' => 'vector']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua vector={_='vector'} ``` diff --git a/old_docs/API_docs_v33/constructors/video.md b/old_docs/API_docs_v33/constructors/video.md index 58154db2..a0ab3175 100644 --- a/old_docs/API_docs_v33/constructors/video.md +++ b/old_docs/API_docs_v33/constructors/video.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int]; ``` @@ -41,10 +41,9 @@ $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua video={_='video', id=long, access_hash=long, date=int, duration=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v33/constructors/videoEmpty.md b/old_docs/API_docs_v33/constructors/videoEmpty.md index 8509fcf9..a41ca8ab 100644 --- a/old_docs/API_docs_v33/constructors/videoEmpty.md +++ b/old_docs/API_docs_v33/constructors/videoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua videoEmpty={_='videoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v33/constructors/wallPaper.md b/old_docs/API_docs_v33/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v33/constructors/wallPaper.md +++ b/old_docs/API_docs_v33/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v33/constructors/wallPaperSolid.md b/old_docs/API_docs_v33/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v33/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v33/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v33/constructors/webPage.md b/old_docs/API_docs_v33/constructors/webPage.md index 761ef87b..2668f932 100644 --- a/old_docs/API_docs_v33/constructors/webPage.md +++ b/old_docs/API_docs_v33/constructors/webPage.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string']; ``` @@ -45,10 +45,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string'} ``` diff --git a/old_docs/API_docs_v33/constructors/webPageEmpty.md b/old_docs/API_docs_v33/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v33/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v33/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v33/constructors/webPagePending.md b/old_docs/API_docs_v33/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v33/constructors/webPagePending.md +++ b/old_docs/API_docs_v33/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v33/methods/account_changePhone.md b/old_docs/API_docs_v33/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v33/methods/account_changePhone.md +++ b/old_docs/API_docs_v33/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/account_checkUsername.md b/old_docs/API_docs_v33/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v33/methods/account_checkUsername.md +++ b/old_docs/API_docs_v33/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/account_deleteAccount.md b/old_docs/API_docs_v33/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v33/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v33/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/account_getAccountTTL.md b/old_docs/API_docs_v33/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v33/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v33/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v33/methods/account_getAuthorizations.md b/old_docs/API_docs_v33/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v33/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v33/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v33/methods/account_getNotifySettings.md b/old_docs/API_docs_v33/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v33/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v33/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v33/methods/account_getPassword.md b/old_docs/API_docs_v33/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v33/methods/account_getPassword.md +++ b/old_docs/API_docs_v33/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v33/methods/account_getPasswordSettings.md b/old_docs/API_docs_v33/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v33/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v33/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v33/methods/account_getPrivacy.md b/old_docs/API_docs_v33/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v33/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v33/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v33/methods/account_getWallPapers.md b/old_docs/API_docs_v33/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v33/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v33/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v33/methods/account_registerDevice.md b/old_docs/API_docs_v33/methods/account_registerDevice.md index bd2b5649..3192933d 100644 --- a/old_docs/API_docs_v33/methods/account_registerDevice.md +++ b/old_docs/API_docs_v33/methods/account_registerDevice.md @@ -30,7 +30,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', device_model='string', system_version='string', app_version='string', app_sandbox=Bool, lang_code='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/account_resetAuthorization.md b/old_docs/API_docs_v33/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v33/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v33/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v33/methods/account_resetNotifySettings.md b/old_docs/API_docs_v33/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v33/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v33/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md index 2fcdcc4c..12ea92c5 100644 --- a/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md @@ -24,7 +24,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/account_setAccountTTL.md b/old_docs/API_docs_v33/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v33/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v33/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v33/methods/account_setPrivacy.md b/old_docs/API_docs_v33/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v33/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v33/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v33/methods/account_unregisterDevice.md b/old_docs/API_docs_v33/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v33/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v33/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v33/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v33/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v33/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/account_updateNotifySettings.md b/old_docs/API_docs_v33/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v33/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v33/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v33/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v33/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v33/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v33/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v33/methods/account_updateProfile.md b/old_docs/API_docs_v33/methods/account_updateProfile.md index 541086a6..5034a6da 100644 --- a/old_docs/API_docs_v33/methods/account_updateProfile.md +++ b/old_docs/API_docs_v33/methods/account_updateProfile.md @@ -25,7 +25,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ last_name - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/account_updateStatus.md b/old_docs/API_docs_v33/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v33/methods/account_updateStatus.md +++ b/old_docs/API_docs_v33/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v33/methods/account_updateUsername.md b/old_docs/API_docs_v33/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v33/methods/account_updateUsername.md +++ b/old_docs/API_docs_v33/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/auth_checkPhone.md b/old_docs/API_docs_v33/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v33/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v33/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/auth_recoverPassword.md b/old_docs/API_docs_v33/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v33/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v33/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v33/methods/auth_sendCall.md b/old_docs/API_docs_v33/methods/auth_sendCall.md index 70a2870f..e8260454 100644 --- a/old_docs/API_docs_v33/methods/auth_sendCall.md +++ b/old_docs/API_docs_v33/methods/auth_sendCall.md @@ -25,7 +25,7 @@ Send verification phone call ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/auth_sendInvites.md b/old_docs/API_docs_v33/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v33/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v33/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/auth_sendSms.md b/old_docs/API_docs_v33/methods/auth_sendSms.md index 6c31f570..050926ff 100644 --- a/old_docs/API_docs_v33/methods/auth_sendSms.md +++ b/old_docs/API_docs_v33/methods/auth_sendSms.md @@ -25,7 +25,7 @@ Send SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/contacts_block.md b/old_docs/API_docs_v33/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v33/methods/contacts_block.md +++ b/old_docs/API_docs_v33/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v33/methods/contacts_deleteContact.md b/old_docs/API_docs_v33/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v33/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v33/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v33/methods/contacts_deleteContacts.md b/old_docs/API_docs_v33/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v33/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v33/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v33/methods/contacts_exportCard.md b/old_docs/API_docs_v33/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v33/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v33/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v33/methods/contacts_getBlocked.md b/old_docs/API_docs_v33/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v33/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v33/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/contacts_getContacts.md b/old_docs/API_docs_v33/methods/contacts_getContacts.md index ccf0f99d..dfa407f2 100644 --- a/old_docs/API_docs_v33/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v33/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/contacts_getStatuses.md b/old_docs/API_docs_v33/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v33/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v33/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v33/methods/contacts_getSuggested.md b/old_docs/API_docs_v33/methods/contacts_getSuggested.md index d7feb718..8183eae4 100644 --- a/old_docs/API_docs_v33/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v33/methods/contacts_getSuggested.md @@ -24,7 +24,7 @@ Get suggested contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/contacts_importCard.md b/old_docs/API_docs_v33/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v33/methods/contacts_importCard.md +++ b/old_docs/API_docs_v33/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v33/methods/contacts_importContacts.md b/old_docs/API_docs_v33/methods/contacts_importContacts.md index d0404dd2..f1b17e2c 100644 --- a/old_docs/API_docs_v33/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v33/methods/contacts_importContacts.md @@ -25,7 +25,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ replace - Json encoded Bool Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v33/methods/contacts_search.md b/old_docs/API_docs_v33/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v33/methods/contacts_search.md +++ b/old_docs/API_docs_v33/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/contacts_unblock.md b/old_docs/API_docs_v33/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v33/methods/contacts_unblock.md +++ b/old_docs/API_docs_v33/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v33/methods/geochats_checkin.md b/old_docs/API_docs_v33/methods/geochats_checkin.md index c1909467..9f824537 100644 --- a/old_docs/API_docs_v33/methods/geochats_checkin.md +++ b/old_docs/API_docs_v33/methods/geochats_checkin.md @@ -24,7 +24,7 @@ Join a geochat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ peer - Json encoded InputGeoChat Or, if you're into Lua: -``` +```lua geochats_StatedMessage = geochats.checkin({peer=InputGeoChat, }) ``` diff --git a/old_docs/API_docs_v33/methods/geochats_createGeoChat.md b/old_docs/API_docs_v33/methods/geochats_createGeoChat.md index 4781b50d..d37da677 100644 --- a/old_docs/API_docs_v33/methods/geochats_createGeoChat.md +++ b/old_docs/API_docs_v33/methods/geochats_createGeoChat.md @@ -27,7 +27,7 @@ Create geochat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ venue - Json encoded string Or, if you're into Lua: -``` +```lua geochats_StatedMessage = geochats.createGeoChat({title='string', geo_point=InputGeoPoint, address='string', venue='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/geochats_editChatPhoto.md b/old_docs/API_docs_v33/methods/geochats_editChatPhoto.md index 296b220a..8f51f566 100644 --- a/old_docs/API_docs_v33/methods/geochats_editChatPhoto.md +++ b/old_docs/API_docs_v33/methods/geochats_editChatPhoto.md @@ -25,7 +25,7 @@ Edit geochat photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua geochats_StatedMessage = geochats.editChatPhoto({peer=InputGeoChat, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v33/methods/geochats_editChatTitle.md b/old_docs/API_docs_v33/methods/geochats_editChatTitle.md index f8cff88d..85836d21 100644 --- a/old_docs/API_docs_v33/methods/geochats_editChatTitle.md +++ b/old_docs/API_docs_v33/methods/geochats_editChatTitle.md @@ -26,7 +26,7 @@ Edit geochat title ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ address - Json encoded string Or, if you're into Lua: -``` +```lua geochats_StatedMessage = geochats.editChatTitle({peer=InputGeoChat, title='string', address='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/geochats_getFullChat.md b/old_docs/API_docs_v33/methods/geochats_getFullChat.md index fa3baeb0..df0f06db 100644 --- a/old_docs/API_docs_v33/methods/geochats_getFullChat.md +++ b/old_docs/API_docs_v33/methods/geochats_getFullChat.md @@ -24,7 +24,7 @@ Get full info about a geochat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ peer - Json encoded InputGeoChat Or, if you're into Lua: -``` +```lua messages_ChatFull = geochats.getFullChat({peer=InputGeoChat, }) ``` diff --git a/old_docs/API_docs_v33/methods/geochats_getHistory.md b/old_docs/API_docs_v33/methods/geochats_getHistory.md index 30f78447..ca049a05 100644 --- a/old_docs/API_docs_v33/methods/geochats_getHistory.md +++ b/old_docs/API_docs_v33/methods/geochats_getHistory.md @@ -27,7 +27,7 @@ Get geochat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua geochats_Messages = geochats.getHistory({peer=InputGeoChat, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/geochats_getLocated.md b/old_docs/API_docs_v33/methods/geochats_getLocated.md index 8f9bf461..03eb75e8 100644 --- a/old_docs/API_docs_v33/methods/geochats_getLocated.md +++ b/old_docs/API_docs_v33/methods/geochats_getLocated.md @@ -26,7 +26,7 @@ Get nearby geochats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua geochats_Located = geochats.getLocated({geo_point=InputGeoPoint, radius=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/geochats_getRecents.md b/old_docs/API_docs_v33/methods/geochats_getRecents.md index 7c8fbc31..e46ad953 100644 --- a/old_docs/API_docs_v33/methods/geochats_getRecents.md +++ b/old_docs/API_docs_v33/methods/geochats_getRecents.md @@ -25,7 +25,7 @@ Get recent geochats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua geochats_Messages = geochats.getRecents({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/geochats_search.md b/old_docs/API_docs_v33/methods/geochats_search.md index 318f125c..8fa03b4e 100644 --- a/old_docs/API_docs_v33/methods/geochats_search.md +++ b/old_docs/API_docs_v33/methods/geochats_search.md @@ -31,7 +31,7 @@ Search messages in geocha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -83,7 +83,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua geochats_Messages = geochats.search({peer=InputGeoChat, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/geochats_sendMedia.md b/old_docs/API_docs_v33/methods/geochats_sendMedia.md index 5fd1a158..7490e936 100644 --- a/old_docs/API_docs_v33/methods/geochats_sendMedia.md +++ b/old_docs/API_docs_v33/methods/geochats_sendMedia.md @@ -25,7 +25,7 @@ Send media to geochat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua geochats_StatedMessage = geochats.sendMedia({peer=InputGeoChat, media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v33/methods/geochats_sendMessage.md b/old_docs/API_docs_v33/methods/geochats_sendMessage.md index 85de20d8..3a92a0e1 100644 --- a/old_docs/API_docs_v33/methods/geochats_sendMessage.md +++ b/old_docs/API_docs_v33/methods/geochats_sendMessage.md @@ -25,7 +25,7 @@ Send message to geochat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua geochats_StatedMessage = geochats.sendMessage({peer=InputGeoChat, message='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/geochats_setTyping.md b/old_docs/API_docs_v33/methods/geochats_setTyping.md index fb709484..ecdda227 100644 --- a/old_docs/API_docs_v33/methods/geochats_setTyping.md +++ b/old_docs/API_docs_v33/methods/geochats_setTyping.md @@ -25,7 +25,7 @@ Send typing notification to geochat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = geochats.setTyping({peer=InputGeoChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v33/methods/help_getAppChangelog.md b/old_docs/API_docs_v33/methods/help_getAppChangelog.md index e5f9dae5..872c377b 100644 --- a/old_docs/API_docs_v33/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v33/methods/help_getAppChangelog.md @@ -27,7 +27,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/help_getAppUpdate.md b/old_docs/API_docs_v33/methods/help_getAppUpdate.md index a501cbc5..4bdf36c3 100644 --- a/old_docs/API_docs_v33/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v33/methods/help_getAppUpdate.md @@ -27,7 +27,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/help_getConfig.md b/old_docs/API_docs_v33/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v33/methods/help_getConfig.md +++ b/old_docs/API_docs_v33/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v33/methods/help_getInviteText.md b/old_docs/API_docs_v33/methods/help_getInviteText.md index 1b31e572..797e2ad3 100644 --- a/old_docs/API_docs_v33/methods/help_getInviteText.md +++ b/old_docs/API_docs_v33/methods/help_getInviteText.md @@ -24,7 +24,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/help_getNearestDc.md b/old_docs/API_docs_v33/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v33/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v33/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v33/methods/help_getSupport.md b/old_docs/API_docs_v33/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v33/methods/help_getSupport.md +++ b/old_docs/API_docs_v33/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v33/methods/help_saveAppLog.md b/old_docs/API_docs_v33/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v33/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v33/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v33/methods/initConnection.md b/old_docs/API_docs_v33/methods/initConnection.md index 58cdb067..e34794f8 100644 --- a/old_docs/API_docs_v33/methods/initConnection.md +++ b/old_docs/API_docs_v33/methods/initConnection.md @@ -29,7 +29,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v33/methods/invokeAfterMsg.md b/old_docs/API_docs_v33/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v33/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v33/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v33/methods/invokeAfterMsgs.md b/old_docs/API_docs_v33/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v33/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v33/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v33/methods/invokeWithLayer.md b/old_docs/API_docs_v33/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v33/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v33/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v33/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v33/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/old_docs/API_docs_v33/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v33/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_addChatUser.md b/old_docs/API_docs_v33/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v33/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v33/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_checkChatInvite.md b/old_docs/API_docs_v33/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/old_docs/API_docs_v33/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v33/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_createChat.md b/old_docs/API_docs_v33/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v33/methods/messages_createChat.md +++ b/old_docs/API_docs_v33/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_deleteChatUser.md b/old_docs/API_docs_v33/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v33/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v33/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_deleteHistory.md b/old_docs/API_docs_v33/methods/messages_deleteHistory.md index 5f04ad57..6c36b930 100644 --- a/old_docs/API_docs_v33/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v33/methods/messages_deleteHistory.md @@ -25,7 +25,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, offset=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_deleteMessages.md b/old_docs/API_docs_v33/methods/messages_deleteMessages.md index 2aa9d7d1..24152bec 100644 --- a/old_docs/API_docs_v33/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v33/methods/messages_deleteMessages.md @@ -24,7 +24,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_editChatPhoto.md b/old_docs/API_docs_v33/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v33/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v33/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_editChatTitle.md b/old_docs/API_docs_v33/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v33/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v33/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_exportChatInvite.md b/old_docs/API_docs_v33/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/old_docs/API_docs_v33/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v33/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_forwardMessage.md b/old_docs/API_docs_v33/methods/messages_forwardMessage.md index 586670b8..d9c0453f 100644 --- a/old_docs/API_docs_v33/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v33/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_forwardMessages.md b/old_docs/API_docs_v33/methods/messages_forwardMessages.md index 13e1fed1..19594227 100644 --- a/old_docs/API_docs_v33/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v33/methods/messages_forwardMessages.md @@ -25,7 +25,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({peer=InputPeer, id={int}, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_getAllStickers.md b/old_docs/API_docs_v33/methods/messages_getAllStickers.md index faa8eea2..c90a48ea 100644 --- a/old_docs/API_docs_v33/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v33/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_getChats.md b/old_docs/API_docs_v33/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v33/methods/messages_getChats.md +++ b/old_docs/API_docs_v33/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_getDialogs.md b/old_docs/API_docs_v33/methods/messages_getDialogs.md index c93f1d1c..f0a3fef2 100644 --- a/old_docs/API_docs_v33/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v33/methods/messages_getDialogs.md @@ -26,7 +26,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_getHistory.md b/old_docs/API_docs_v33/methods/messages_getHistory.md index f8240098..26296676 100644 --- a/old_docs/API_docs_v33/methods/messages_getHistory.md +++ b/old_docs/API_docs_v33/methods/messages_getHistory.md @@ -27,7 +27,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_getMessages.md b/old_docs/API_docs_v33/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v33/methods/messages_getMessages.md +++ b/old_docs/API_docs_v33/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_getStickerSet.md b/old_docs/API_docs_v33/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/old_docs/API_docs_v33/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v33/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_getStickers.md b/old_docs/API_docs_v33/methods/messages_getStickers.md index b1d3bd83..f4ca9972 100644 --- a/old_docs/API_docs_v33/methods/messages_getStickers.md +++ b/old_docs/API_docs_v33/methods/messages_getStickers.md @@ -25,7 +25,7 @@ Get stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v33/methods/messages_getWebPagePreview.md index 8475c8f5..4838be94 100644 --- a/old_docs/API_docs_v33/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v33/methods/messages_getWebPagePreview.md @@ -24,7 +24,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_importChatInvite.md b/old_docs/API_docs_v33/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/old_docs/API_docs_v33/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v33/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_installStickerSet.md b/old_docs/API_docs_v33/methods/messages_installStickerSet.md index 1cd832e5..41be11e1 100644 --- a/old_docs/API_docs_v33/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v33/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ disabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.installStickerSet({stickerset=InputStickerSet, disabled=Bool, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_readHistory.md b/old_docs/API_docs_v33/methods/messages_readHistory.md index 22f247bc..903268e6 100644 --- a/old_docs/API_docs_v33/methods/messages_readHistory.md +++ b/old_docs/API_docs_v33/methods/messages_readHistory.md @@ -26,7 +26,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.readHistory({peer=InputPeer, max_id=int, offset=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_readMessageContents.md b/old_docs/API_docs_v33/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v33/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v33/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_receivedMessages.md b/old_docs/API_docs_v33/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/old_docs/API_docs_v33/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v33/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_search.md b/old_docs/API_docs_v33/methods/messages_search.md index 4c373c29..b4549f38 100644 --- a/old_docs/API_docs_v33/methods/messages_search.md +++ b/old_docs/API_docs_v33/methods/messages_search.md @@ -31,7 +31,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_sendBroadcast.md b/old_docs/API_docs_v33/methods/messages_sendBroadcast.md index 11f43d4c..5813ba9c 100644 --- a/old_docs/API_docs_v33/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v33/methods/messages_sendBroadcast.md @@ -26,7 +26,7 @@ Send a message to all users in the chat list ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua Updates = messages.sendBroadcast({contacts={InputUser}, message='string', media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_sendEncrypted.md b/old_docs/API_docs_v33/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v33/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v33/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v33/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v33/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v33/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_sendMedia.md b/old_docs/API_docs_v33/methods/messages_sendMedia.md index 0b1180e8..2ff294be 100644 --- a/old_docs/API_docs_v33/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v33/methods/messages_sendMedia.md @@ -27,7 +27,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({peer=InputPeer, reply_to_msg_id=int, media=InputMedia, reply_markup=ReplyMarkup, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_sendMessage.md b/old_docs/API_docs_v33/methods/messages_sendMessage.md index 95d39434..0ae2cf88 100644 --- a/old_docs/API_docs_v33/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v33/methods/messages_sendMessage.md @@ -27,7 +27,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: -``` +```lua messages_SentMessage = messages.sendMessage({peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_setTyping.md b/old_docs/API_docs_v33/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v33/methods/messages_setTyping.md +++ b/old_docs/API_docs_v33/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_startBot.md b/old_docs/API_docs_v33/methods/messages_startBot.md index 79d18a42..37d3e12c 100644 --- a/old_docs/API_docs_v33/methods/messages_startBot.md +++ b/old_docs/API_docs_v33/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, chat_id=InputPeer, start_param='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v33/methods/photos_deletePhotos.md b/old_docs/API_docs_v33/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v33/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v33/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v33/methods/photos_getUserPhotos.md b/old_docs/API_docs_v33/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/old_docs/API_docs_v33/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v33/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md index 706f0a01..7341e4e7 100644 --- a/old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md @@ -25,7 +25,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md index 99064210..1debfc82 100644 --- a/old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md @@ -27,7 +27,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v33/methods/users_getUsers.md b/old_docs/API_docs_v33/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v33/methods/users_getUsers.md +++ b/old_docs/API_docs_v33/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v33/types/Chat.md b/old_docs/API_docs_v33/types/Chat.md index 75d5690e..17d39a19 100644 --- a/old_docs/API_docs_v33/types/Chat.md +++ b/old_docs/API_docs_v33/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v33/types/InputEncryptedChat.md b/old_docs/API_docs_v33/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v33/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v33/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v33/types/InputEncryptedFile.md b/old_docs/API_docs_v33/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v33/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v33/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v33/types/InputFile.md b/old_docs/API_docs_v33/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v33/types/InputFile.md +++ b/old_docs/API_docs_v33/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v33/types/InputNotifyPeer.md b/old_docs/API_docs_v33/types/InputNotifyPeer.md index 8347c390..215723c6 100644 --- a/old_docs/API_docs_v33/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v33/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v33/types/InputPeer.md b/old_docs/API_docs_v33/types/InputPeer.md index e100a87d..a3c46fc7 100644 --- a/old_docs/API_docs_v33/types/InputPeer.md +++ b/old_docs/API_docs_v33/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v33/types/InputUser.md b/old_docs/API_docs_v33/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/old_docs/API_docs_v33/types/InputUser.md +++ b/old_docs/API_docs_v33/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v33/types/KeyboardButton.md b/old_docs/API_docs_v33/types/KeyboardButton.md index f292ca69..9de6a7fc 100644 --- a/old_docs/API_docs_v33/types/KeyboardButton.md +++ b/old_docs/API_docs_v33/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/old_docs/API_docs_v33/types/NotifyPeer.md b/old_docs/API_docs_v33/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v33/types/NotifyPeer.md +++ b/old_docs/API_docs_v33/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v33/types/Peer.md b/old_docs/API_docs_v33/types/Peer.md index 9edbf4bb..48d23853 100644 --- a/old_docs/API_docs_v33/types/Peer.md +++ b/old_docs/API_docs_v33/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v33/types/User.md b/old_docs/API_docs_v33/types/User.md index d82488f8..728ad6a5 100644 --- a/old_docs/API_docs_v33/types/User.md +++ b/old_docs/API_docs_v33/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v38/constructors/accountDaysTTL.md b/old_docs/API_docs_v38/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v38/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v38/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v38/constructors/account_authorizations.md b/old_docs/API_docs_v38/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v38/constructors/account_authorizations.md +++ b/old_docs/API_docs_v38/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v38/constructors/account_noPassword.md b/old_docs/API_docs_v38/constructors/account_noPassword.md index 81a483d6..63a4af6d 100644 --- a/old_docs/API_docs_v38/constructors/account_noPassword.md +++ b/old_docs/API_docs_v38/constructors/account_noPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -33,10 +33,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'emai ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/account_password.md b/old_docs/API_docs_v38/constructors/account_password.md index 9a8b31c6..5c4c334b 100644 --- a/old_docs/API_docs_v38/constructors/account_password.md +++ b/old_docs/API_docs_v38/constructors/account_password.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` @@ -36,10 +36,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v38/constructors/account_passwordInputSettings.md index f474e0c7..b5838f0a 100644 --- a/old_docs/API_docs_v38/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v38/constructors/account_passwordInputSettings.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v38/constructors/account_passwordSettings.md b/old_docs/API_docs_v38/constructors/account_passwordSettings.md index 27d14f59..04fc8621 100644 --- a/old_docs/API_docs_v38/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v38/constructors/account_passwordSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v38/constructors/account_privacyRules.md b/old_docs/API_docs_v38/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v38/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v38/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v38/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v38/constructors/account_sentChangePhoneCode.md index 7bfd04ab..34044265 100644 --- a/old_docs/API_docs_v38/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v38/constructors/account_sentChangePhoneCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; ``` @@ -33,10 +33,9 @@ $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} ``` diff --git a/old_docs/API_docs_v38/constructors/audio.md b/old_docs/API_docs_v38/constructors/audio.md index 1d899f64..785de6e2 100644 --- a/old_docs/API_docs_v38/constructors/audio.md +++ b/old_docs/API_docs_v38/constructors/audio.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` @@ -38,10 +38,9 @@ $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audio={_='audio', id=long, access_hash=long, date=int, duration=int, mime_type='string', size=int, dc_id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/audioEmpty.md b/old_docs/API_docs_v38/constructors/audioEmpty.md index 2b0ed960..846367f4 100644 --- a/old_docs/API_docs_v38/constructors/audioEmpty.md +++ b/old_docs/API_docs_v38/constructors/audioEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audioEmpty={_='audioEmpty', id=long} ``` diff --git a/old_docs/API_docs_v38/constructors/auth_authorization.md b/old_docs/API_docs_v38/constructors/auth_authorization.md index bbe5a8b9..1a75a113 100644 --- a/old_docs/API_docs_v38/constructors/auth_authorization.md +++ b/old_docs/API_docs_v38/constructors/auth_authorization.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` @@ -32,10 +32,9 @@ $auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_authorization={_='auth.authorization', user=User} ``` diff --git a/old_docs/API_docs_v38/constructors/auth_checkedPhone.md b/old_docs/API_docs_v38/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v38/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v38/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v38/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v38/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v38/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v38/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v38/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v38/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v38/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v38/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v38/constructors/auth_sentAppCode.md b/old_docs/API_docs_v38/constructors/auth_sentAppCode.md index 1f354541..ec13efba 100644 --- a/old_docs/API_docs_v38/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v38/constructors/auth_sentAppCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'pho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v38/constructors/auth_sentCode.md b/old_docs/API_docs_v38/constructors/auth_sentCode.md index 01834b65..2b5301e1 100644 --- a/old_docs/API_docs_v38/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v38/constructors/auth_sentCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v38/constructors/authorization.md b/old_docs/API_docs_v38/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v38/constructors/authorization.md +++ b/old_docs/API_docs_v38/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v38/constructors/botCommand.md b/old_docs/API_docs_v38/constructors/botCommand.md index 8569358d..fcb65461 100644 --- a/old_docs/API_docs_v38/constructors/botCommand.md +++ b/old_docs/API_docs_v38/constructors/botCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v38/constructors/botInfo.md b/old_docs/API_docs_v38/constructors/botInfo.md index afa0de7c..86584a29 100644 --- a/old_docs/API_docs_v38/constructors/botInfo.md +++ b/old_docs/API_docs_v38/constructors/botInfo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => 'string', 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -36,10 +36,9 @@ $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInfo={_='botInfo', user_id=int, version=int, share_text='string', description='string', commands={BotCommand}} ``` diff --git a/old_docs/API_docs_v38/constructors/botInfoEmpty.md b/old_docs/API_docs_v38/constructors/botInfoEmpty.md index df42ad4b..7afd677c 100644 --- a/old_docs/API_docs_v38/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v38/constructors/botInfoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfoEmpty = ['_' => 'botInfoEmpty']; ``` @@ -27,10 +27,9 @@ $botInfoEmpty = ['_' => 'botInfoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInfoEmpty={_='botInfoEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/channel.md b/old_docs/API_docs_v38/constructors/channel.md index d69d1efe..8dc1d468 100644 --- a/old_docs/API_docs_v38/constructors/channel.md +++ b/old_docs/API_docs_v38/constructors/channel.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channel = ['_' => 'channel', 'id' => int, 'access_hash' => long, 'title' => 'string', 'username' => 'string', 'photo' => ChatPhoto, 'date' => int, 'version' => int]; ``` @@ -38,10 +38,9 @@ $channel = ['_' => 'channel', 'id' => int, 'access_hash' => long, 'title' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channel={_='channel', id=int, access_hash=long, title='string', username='string', photo=ChatPhoto, date=int, version=int} ``` diff --git a/old_docs/API_docs_v38/constructors/channelForbidden.md b/old_docs/API_docs_v38/constructors/channelForbidden.md index cc8b60d1..6e168c38 100644 --- a/old_docs/API_docs_v38/constructors/channelForbidden.md +++ b/old_docs/API_docs_v38/constructors/channelForbidden.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` @@ -34,10 +34,9 @@ $channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelForbidden={_='channelForbidden', id=int, access_hash=long, title='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/channelFull.md b/old_docs/API_docs_v38/constructors/channelFull.md index 7fc39398..e2f6fddd 100644 --- a/old_docs/API_docs_v38/constructors/channelFull.md +++ b/old_docs/API_docs_v38/constructors/channelFull.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelFull = ['_' => 'channelFull', 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite]; ``` @@ -42,10 +42,9 @@ $channelFull = ['_' => 'channelFull', 'id' => int, 'about' => 'string', 'partici ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelFull={_='channelFull', id=int, about='string', participants_count=int, admins_count=int, kicked_count=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite} ``` diff --git a/old_docs/API_docs_v38/constructors/channelMessagesFilter.md b/old_docs/API_docs_v38/constructors/channelMessagesFilter.md index 987bc8f3..79d5b021 100644 --- a/old_docs/API_docs_v38/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v38/constructors/channelMessagesFilter.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'ranges' => [MessageRange, MessageRange]]; ``` @@ -32,10 +32,9 @@ $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'ranges' => [MessageRa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilter={_='channelMessagesFilter', ranges={MessageRange}} ``` diff --git a/old_docs/API_docs_v38/constructors/channelMessagesFilterCollapsed.md b/old_docs/API_docs_v38/constructors/channelMessagesFilterCollapsed.md index fa1fff29..770cc788 100644 --- a/old_docs/API_docs_v38/constructors/channelMessagesFilterCollapsed.md +++ b/old_docs/API_docs_v38/constructors/channelMessagesFilterCollapsed.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterCollapsed={_='channelMessagesFilterCollapsed'} ``` diff --git a/old_docs/API_docs_v38/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v38/constructors/channelMessagesFilterEmpty.md index 350e50de..a446b896 100644 --- a/old_docs/API_docs_v38/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v38/constructors/channelMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/channelParticipant.md b/old_docs/API_docs_v38/constructors/channelParticipant.md index c7de5400..dbcb792b 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipant.md +++ b/old_docs/API_docs_v38/constructors/channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v38/constructors/channelParticipantCreator.md b/old_docs/API_docs_v38/constructors/channelParticipantCreator.md index 86cafe0a..e999fb9c 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantCreator={_='channelParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/channelParticipantEditor.md b/old_docs/API_docs_v38/constructors/channelParticipantEditor.md index 37ae4bb0..7c7e4dc9 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantEditor.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v38/constructors/channelParticipantKicked.md b/old_docs/API_docs_v38/constructors/channelParticipantKicked.md index ccc454be..6bcc2e0f 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantKicked.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int} ``` diff --git a/old_docs/API_docs_v38/constructors/channelParticipantModerator.md b/old_docs/API_docs_v38/constructors/channelParticipantModerator.md index 90b4ab52..49c68acd 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantModerator.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v38/constructors/channelParticipantSelf.md b/old_docs/API_docs_v38/constructors/channelParticipantSelf.md index 83864972..4b5949ac 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantSelf.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v38/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v38/constructors/channelParticipantsAdmins.md index c86cb9a4..4b0c30d4 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantsAdmins.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` @@ -27,10 +27,9 @@ $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v38/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v38/constructors/channelParticipantsKicked.md index 7f026ceb..38cf128e 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantsKicked.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` @@ -27,10 +27,9 @@ $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v38/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v38/constructors/channelParticipantsRecent.md index e4cb6466..51e57069 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantsRecent.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` @@ -27,10 +27,9 @@ $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v38/constructors/channelRoleEditor.md b/old_docs/API_docs_v38/constructors/channelRoleEditor.md index 86d953a9..1e472d2f 100644 --- a/old_docs/API_docs_v38/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v38/constructors/channelRoleEditor.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` @@ -27,10 +27,9 @@ $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v38/constructors/channelRoleEmpty.md b/old_docs/API_docs_v38/constructors/channelRoleEmpty.md index a50bb310..85d1c3fb 100644 --- a/old_docs/API_docs_v38/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v38/constructors/channelRoleEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` @@ -27,10 +27,9 @@ $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/channelRoleModerator.md b/old_docs/API_docs_v38/constructors/channelRoleModerator.md index 781f60ad..f242ff5c 100644 --- a/old_docs/API_docs_v38/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v38/constructors/channelRoleModerator.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` @@ -27,10 +27,9 @@ $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleModerator={_='channelRoleModerator'} ``` diff --git a/old_docs/API_docs_v38/constructors/channels_channelParticipant.md b/old_docs/API_docs_v38/constructors/channels_channelParticipant.md index bdf27b08..107502c5 100644 --- a/old_docs/API_docs_v38/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v38/constructors/channels_channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v38/constructors/channels_channelParticipants.md b/old_docs/API_docs_v38/constructors/channels_channelParticipants.md index 1b76b1e0..0402423f 100644 --- a/old_docs/API_docs_v38/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v38/constructors/channels_channelParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v38/constructors/chat.md b/old_docs/API_docs_v38/constructors/chat.md index dbd9ea82..0639d05a 100644 --- a/old_docs/API_docs_v38/constructors/chat.md +++ b/old_docs/API_docs_v38/constructors/chat.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chat = ['_' => 'chat', 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int]; ``` @@ -37,10 +37,9 @@ $chat = ['_' => 'chat', 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chat={_='chat', id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, version=int} ``` diff --git a/old_docs/API_docs_v38/constructors/chatEmpty.md b/old_docs/API_docs_v38/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v38/constructors/chatEmpty.md +++ b/old_docs/API_docs_v38/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/chatForbidden.md b/old_docs/API_docs_v38/constructors/chatForbidden.md index de5bb302..61c45660 100644 --- a/old_docs/API_docs_v38/constructors/chatForbidden.md +++ b/old_docs/API_docs_v38/constructors/chatForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v38/constructors/chatFull.md b/old_docs/API_docs_v38/constructors/chatFull.md index 6e138596..2a5f67f6 100644 --- a/old_docs/API_docs_v38/constructors/chatFull.md +++ b/old_docs/API_docs_v38/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v38/constructors/chatInvite.md b/old_docs/API_docs_v38/constructors/chatInvite.md index 40f74fba..73b6ea39 100644 --- a/old_docs/API_docs_v38/constructors/chatInvite.md +++ b/old_docs/API_docs_v38/constructors/chatInvite.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInvite = ['_' => 'chatInvite', 'title' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInvite={_='chatInvite', title='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/chatInviteAlready.md b/old_docs/API_docs_v38/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/old_docs/API_docs_v38/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v38/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/old_docs/API_docs_v38/constructors/chatInviteEmpty.md b/old_docs/API_docs_v38/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/old_docs/API_docs_v38/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v38/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/chatInviteExported.md b/old_docs/API_docs_v38/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/old_docs/API_docs_v38/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v38/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/chatParticipant.md b/old_docs/API_docs_v38/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v38/constructors/chatParticipant.md +++ b/old_docs/API_docs_v38/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v38/constructors/chatParticipants.md b/old_docs/API_docs_v38/constructors/chatParticipants.md index d4acc517..5acbb81c 100644 --- a/old_docs/API_docs_v38/constructors/chatParticipants.md +++ b/old_docs/API_docs_v38/constructors/chatParticipants.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -35,10 +35,9 @@ $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipants={_='chatParticipants', chat_id=int, admin_id=int, participants={ChatParticipant}, version=int} ``` diff --git a/old_docs/API_docs_v38/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v38/constructors/chatParticipantsForbidden.md index 2ecdfe10..639b30ee 100644 --- a/old_docs/API_docs_v38/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v38/constructors/chatParticipantsForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v38/constructors/chatPhoto.md b/old_docs/API_docs_v38/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v38/constructors/chatPhoto.md +++ b/old_docs/API_docs_v38/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v38/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v38/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v38/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v38/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/config.md b/old_docs/API_docs_v38/constructors/config.md index 46c622a6..67fdddff 100644 --- a/old_docs/API_docs_v38/constructors/config.md +++ b/old_docs/API_docs_v38/constructors/config.md @@ -38,7 +38,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'broadcast_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -49,10 +49,9 @@ $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, broadcast_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v38/constructors/contact.md b/old_docs/API_docs_v38/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v38/constructors/contact.md +++ b/old_docs/API_docs_v38/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v38/constructors/contactBlocked.md b/old_docs/API_docs_v38/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v38/constructors/contactBlocked.md +++ b/old_docs/API_docs_v38/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v38/constructors/contactLinkContact.md b/old_docs/API_docs_v38/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v38/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v38/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v38/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v38/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v38/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v38/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v38/constructors/contactLinkNone.md b/old_docs/API_docs_v38/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v38/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v38/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v38/constructors/contactLinkUnknown.md b/old_docs/API_docs_v38/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v38/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v38/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v38/constructors/contactStatus.md b/old_docs/API_docs_v38/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v38/constructors/contactStatus.md +++ b/old_docs/API_docs_v38/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v38/constructors/contactSuggested.md b/old_docs/API_docs_v38/constructors/contactSuggested.md index 7dc8105c..e90bf7c9 100644 --- a/old_docs/API_docs_v38/constructors/contactSuggested.md +++ b/old_docs/API_docs_v38/constructors/contactSuggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` @@ -33,10 +33,9 @@ $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int} ``` diff --git a/old_docs/API_docs_v38/constructors/contacts_blocked.md b/old_docs/API_docs_v38/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v38/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v38/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v38/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v38/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v38/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v38/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v38/constructors/contacts_contacts.md b/old_docs/API_docs_v38/constructors/contacts_contacts.md index 34dae91a..ea16b38a 100644 --- a/old_docs/API_docs_v38/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v38/constructors/contacts_contacts.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} ``` diff --git a/old_docs/API_docs_v38/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v38/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v38/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v38/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v38/constructors/contacts_found.md b/old_docs/API_docs_v38/constructors/contacts_found.md index 7e0e458c..624fa475 100644 --- a/old_docs/API_docs_v38/constructors/contacts_found.md +++ b/old_docs/API_docs_v38/constructors/contacts_found.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v38/constructors/contacts_importedContacts.md b/old_docs/API_docs_v38/constructors/contacts_importedContacts.md index 7bf9c1bf..8b9012bb 100644 --- a/old_docs/API_docs_v38/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v38/constructors/contacts_importedContacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v38/constructors/contacts_link.md b/old_docs/API_docs_v38/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v38/constructors/contacts_link.md +++ b/old_docs/API_docs_v38/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v38/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v38/constructors/contacts_resolvedPeer.md index add29235..4aa323dd 100644 --- a/old_docs/API_docs_v38/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v38/constructors/contacts_resolvedPeer.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v38/constructors/contacts_suggested.md b/old_docs/API_docs_v38/constructors/contacts_suggested.md index 553cebcb..2659d855 100644 --- a/old_docs/API_docs_v38/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v38/constructors/contacts_suggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggest ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} ``` diff --git a/old_docs/API_docs_v38/constructors/dcOption.md b/old_docs/API_docs_v38/constructors/dcOption.md index 7b27e5c3..b0be0745 100644 --- a/old_docs/API_docs_v38/constructors/dcOption.md +++ b/old_docs/API_docs_v38/constructors/dcOption.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` @@ -34,10 +34,9 @@ $dcOption = ['_' => 'dcOption', 'id' => int, 'ip_address' => 'string', 'port' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', id=int, ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v38/constructors/dialog.md b/old_docs/API_docs_v38/constructors/dialog.md index cbb327d6..539225bf 100644 --- a/old_docs/API_docs_v38/constructors/dialog.md +++ b/old_docs/API_docs_v38/constructors/dialog.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` @@ -36,10 +36,9 @@ $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_ma ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v38/constructors/dialogChannel.md b/old_docs/API_docs_v38/constructors/dialogChannel.md index 298ffa24..918b6bed 100644 --- a/old_docs/API_docs_v38/constructors/dialogChannel.md +++ b/old_docs/API_docs_v38/constructors/dialogChannel.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int]; ``` @@ -39,10 +39,9 @@ $dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialogChannel={_='dialogChannel', peer=Peer, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, notify_settings=PeerNotifySettings, pts=int} ``` diff --git a/old_docs/API_docs_v38/constructors/disabledFeature.md b/old_docs/API_docs_v38/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v38/constructors/disabledFeature.md +++ b/old_docs/API_docs_v38/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/document.md b/old_docs/API_docs_v38/constructors/document.md index 8719d873..e9547f1f 100644 --- a/old_docs/API_docs_v38/constructors/document.md +++ b/old_docs/API_docs_v38/constructors/document.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -39,10 +39,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v38/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v38/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v38/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v38/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v38/constructors/documentAttributeAudio.md b/old_docs/API_docs_v38/constructors/documentAttributeAudio.md index 8fb77965..8bf344bb 100644 --- a/old_docs/API_docs_v38/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v38/constructors/documentAttributeAudio.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => 'string', 'performer' => 'string']; ``` @@ -34,10 +34,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', duration=int, title='string', performer='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/documentAttributeFilename.md b/old_docs/API_docs_v38/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v38/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v38/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v38/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v38/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v38/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v38/constructors/documentAttributeSticker.md b/old_docs/API_docs_v38/constructors/documentAttributeSticker.md index d44d94cd..397679ef 100644 --- a/old_docs/API_docs_v38/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v38/constructors/documentAttributeSticker.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` @@ -33,10 +33,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', alt='string', stickerset=InputStickerSet} ``` diff --git a/old_docs/API_docs_v38/constructors/documentAttributeVideo.md b/old_docs/API_docs_v38/constructors/documentAttributeVideo.md index 0902c118..cc7ffced 100644 --- a/old_docs/API_docs_v38/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v38/constructors/documentAttributeVideo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -34,10 +34,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v38/constructors/documentEmpty.md b/old_docs/API_docs_v38/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v38/constructors/documentEmpty.md +++ b/old_docs/API_docs_v38/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v38/constructors/encryptedChat.md b/old_docs/API_docs_v38/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v38/constructors/encryptedChat.md +++ b/old_docs/API_docs_v38/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v38/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v38/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v38/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v38/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v38/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v38/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v38/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/encryptedChatRequested.md b/old_docs/API_docs_v38/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v38/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v38/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v38/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v38/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v38/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v38/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/encryptedFile.md b/old_docs/API_docs_v38/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v38/constructors/encryptedFile.md +++ b/old_docs/API_docs_v38/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v38/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v38/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v38/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v38/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/encryptedMessage.md b/old_docs/API_docs_v38/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v38/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v38/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v38/constructors/encryptedMessageService.md b/old_docs/API_docs_v38/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v38/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v38/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v38/constructors/error.md b/old_docs/API_docs_v38/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v38/constructors/error.md +++ b/old_docs/API_docs_v38/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/fileLocation.md b/old_docs/API_docs_v38/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v38/constructors/fileLocation.md +++ b/old_docs/API_docs_v38/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v38/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v38/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v38/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v38/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v38/constructors/geoPoint.md b/old_docs/API_docs_v38/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v38/constructors/geoPoint.md +++ b/old_docs/API_docs_v38/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v38/constructors/geoPointEmpty.md b/old_docs/API_docs_v38/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v38/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v38/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/help_appChangelog.md b/old_docs/API_docs_v38/constructors/help_appChangelog.md index 5b7b353a..d30f8acd 100644 --- a/old_docs/API_docs_v38/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v38/constructors/help_appChangelog.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelog={_='help.appChangelog', text='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v38/constructors/help_appChangelogEmpty.md index 0f0827c3..e20017b7 100644 --- a/old_docs/API_docs_v38/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v38/constructors/help_appChangelogEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` @@ -27,10 +27,9 @@ $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelogEmpty={_='help.appChangelogEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/help_appUpdate.md b/old_docs/API_docs_v38/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v38/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v38/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/help_inviteText.md b/old_docs/API_docs_v38/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v38/constructors/help_inviteText.md +++ b/old_docs/API_docs_v38/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/help_noAppUpdate.md b/old_docs/API_docs_v38/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v38/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v38/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v38/constructors/help_support.md b/old_docs/API_docs_v38/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v38/constructors/help_support.md +++ b/old_docs/API_docs_v38/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v38/constructors/importedContact.md b/old_docs/API_docs_v38/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v38/constructors/importedContact.md +++ b/old_docs/API_docs_v38/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v38/constructors/inputAppEvent.md b/old_docs/API_docs_v38/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v38/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v38/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputAudio.md b/old_docs/API_docs_v38/constructors/inputAudio.md index c428307e..ac1c82e3 100644 --- a/old_docs/API_docs_v38/constructors/inputAudio.md +++ b/old_docs/API_docs_v38/constructors/inputAudio.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudio={_='inputAudio', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v38/constructors/inputAudioEmpty.md b/old_docs/API_docs_v38/constructors/inputAudioEmpty.md index a84b3e67..b0b4e934 100644 --- a/old_docs/API_docs_v38/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputAudioEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` @@ -27,10 +27,9 @@ $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v38/constructors/inputAudioFileLocation.md index f95ad919..a2633244 100644 --- a/old_docs/API_docs_v38/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v38/constructors/inputAudioFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v38/constructors/inputChannel.md b/old_docs/API_docs_v38/constructors/inputChannel.md index b5cb3566..34ed10ca 100644 --- a/old_docs/API_docs_v38/constructors/inputChannel.md +++ b/old_docs/API_docs_v38/constructors/inputChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannel={_='inputChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v38/constructors/inputChannelEmpty.md b/old_docs/API_docs_v38/constructors/inputChannelEmpty.md index f7e18434..bd53602b 100644 --- a/old_docs/API_docs_v38/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputChannelEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` @@ -27,10 +27,9 @@ $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputChatPhoto.md b/old_docs/API_docs_v38/constructors/inputChatPhoto.md index 5affda9a..7ad8a3f7 100644 --- a/old_docs/API_docs_v38/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v38/constructors/inputChatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputP ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v38/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v38/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v38/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v38/constructors/inputChatUploadedPhoto.md index a22405b2..ed0624da 100644 --- a/old_docs/API_docs_v38/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v38/constructors/inputChatUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v38/constructors/inputDocument.md b/old_docs/API_docs_v38/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v38/constructors/inputDocument.md +++ b/old_docs/API_docs_v38/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v38/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v38/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v38/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v38/constructors/inputDocumentFileLocation.md index 2ba7d2b3..5d593784 100644 --- a/old_docs/API_docs_v38/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v38/constructors/inputDocumentFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v38/constructors/inputEncryptedChat.md b/old_docs/API_docs_v38/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v38/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v38/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v38/constructors/inputEncryptedFile.md b/old_docs/API_docs_v38/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v38/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v38/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v38/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v38/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v38/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v38/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v38/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v38/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v38/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v38/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v38/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v38/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v38/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v38/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v38/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v38/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v38/constructors/inputFile.md b/old_docs/API_docs_v38/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v38/constructors/inputFile.md +++ b/old_docs/API_docs_v38/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputFileBig.md b/old_docs/API_docs_v38/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v38/constructors/inputFileBig.md +++ b/old_docs/API_docs_v38/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputFileLocation.md b/old_docs/API_docs_v38/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v38/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v38/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v38/constructors/inputGeoPoint.md b/old_docs/API_docs_v38/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v38/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v38/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v38/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v38/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v38/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMediaAudio.md b/old_docs/API_docs_v38/constructors/inputMediaAudio.md index 6ebbe6ec..6c166ec0 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v38/constructors/inputMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` @@ -32,10 +32,9 @@ $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaAudio={_='inputMediaAudio', id=InputAudio} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMediaContact.md b/old_docs/API_docs_v38/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v38/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMediaDocument.md b/old_docs/API_docs_v38/constructors/inputMediaDocument.md index f652113b..f671c3e5 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v38/constructors/inputMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` @@ -32,10 +32,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMediaEmpty.md b/old_docs/API_docs_v38/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v38/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v38/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMediaPhoto.md b/old_docs/API_docs_v38/constructors/inputMediaPhoto.md index 0be7f6fe..71f4ded5 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v38/constructors/inputMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v38/constructors/inputMediaUploadedAudio.md index 4eb4cb85..73fcb4f8 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v38/constructors/inputMediaUploadedAudio.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v38/constructors/inputMediaUploadedDocument.md index 06758275..e89ad515 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v38/constructors/inputMediaUploadedDocument.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v38/constructors/inputMediaUploadedPhoto.md index 499857ce..ad2a8680 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v38/constructors/inputMediaUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v38/constructors/inputMediaUploadedThumbDocument.md index eea9edcd..b98b9004 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v38/constructors/inputMediaUploadedThumbDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -35,10 +35,9 @@ $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v38/constructors/inputMediaUploadedThumbVideo.md index 0a4afc86..e9d00c6e 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v38/constructors/inputMediaUploadedThumbVideo.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` @@ -38,10 +38,9 @@ $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type='string', caption='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v38/constructors/inputMediaUploadedVideo.md index 2409751b..b3984571 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v38/constructors/inputMediaUploadedVideo.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` @@ -37,10 +37,9 @@ $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type='string', caption='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMediaVenue.md b/old_docs/API_docs_v38/constructors/inputMediaVenue.md index 3e7ee3a1..b2171fbc 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v38/constructors/inputMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMediaVideo.md b/old_docs/API_docs_v38/constructors/inputMediaVideo.md index 05af7adb..b16b97d5 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v38/constructors/inputMediaVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVideo={_='inputMediaVideo', id=InputVideo, caption='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterAudio.md index 066b1642..79c822fc 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterAudio.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterAudioDocuments.md index 7badd17c..a8963d46 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterAudioDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputNotifyAll.md b/old_docs/API_docs_v38/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v38/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v38/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputNotifyChats.md b/old_docs/API_docs_v38/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v38/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v38/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputNotifyPeer.md b/old_docs/API_docs_v38/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v38/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v38/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v38/constructors/inputNotifyUsers.md b/old_docs/API_docs_v38/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v38/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v38/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPeerChannel.md b/old_docs/API_docs_v38/constructors/inputPeerChannel.md index 8b84fe20..14c2f105 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v38/constructors/inputPeerChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPeerChat.md b/old_docs/API_docs_v38/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v38/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPeerEmpty.md b/old_docs/API_docs_v38/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v38/constructors/inputPeerNotifySettings.md index ce1896bb..a600e880 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v38/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPeerSelf.md b/old_docs/API_docs_v38/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v38/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPeerUser.md b/old_docs/API_docs_v38/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v38/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPhoneContact.md b/old_docs/API_docs_v38/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v38/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v38/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPhoto.md b/old_docs/API_docs_v38/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v38/constructors/inputPhoto.md +++ b/old_docs/API_docs_v38/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPhotoCrop.md b/old_docs/API_docs_v38/constructors/inputPhotoCrop.md index b35bf42f..e90029a9 100644 --- a/old_docs/API_docs_v38/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v38/constructors/inputPhotoCrop.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` @@ -34,10 +34,9 @@ $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v38/constructors/inputPhotoCropAuto.md index 6c2f121d..37414b14 100644 --- a/old_docs/API_docs_v38/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v38/constructors/inputPhotoCropAuto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` @@ -27,10 +27,9 @@ $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v38/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v38/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v38/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v38/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v38/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v38/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v38/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/old_docs/API_docs_v38/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputStickerSetID.md b/old_docs/API_docs_v38/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/old_docs/API_docs_v38/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v38/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v38/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v38/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/old_docs/API_docs_v38/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v38/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputUser.md b/old_docs/API_docs_v38/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/old_docs/API_docs_v38/constructors/inputUser.md +++ b/old_docs/API_docs_v38/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v38/constructors/inputUserEmpty.md b/old_docs/API_docs_v38/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v38/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputUserSelf.md b/old_docs/API_docs_v38/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v38/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v38/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputVideo.md b/old_docs/API_docs_v38/constructors/inputVideo.md index 4ea87c56..b3874cd7 100644 --- a/old_docs/API_docs_v38/constructors/inputVideo.md +++ b/old_docs/API_docs_v38/constructors/inputVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideo={_='inputVideo', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v38/constructors/inputVideoEmpty.md b/old_docs/API_docs_v38/constructors/inputVideoEmpty.md index b69984f7..5322ed90 100644 --- a/old_docs/API_docs_v38/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputVideoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` @@ -27,10 +27,9 @@ $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v38/constructors/inputVideoFileLocation.md index 2692222e..d9a3f678 100644 --- a/old_docs/API_docs_v38/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v38/constructors/inputVideoFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v38/constructors/keyboardButton.md b/old_docs/API_docs_v38/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/old_docs/API_docs_v38/constructors/keyboardButton.md +++ b/old_docs/API_docs_v38/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/keyboardButtonRow.md b/old_docs/API_docs_v38/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/old_docs/API_docs_v38/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v38/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/old_docs/API_docs_v38/constructors/message.md b/old_docs/API_docs_v38/constructors/message.md index f5fd04a1..fb7d2bf9 100644 --- a/old_docs/API_docs_v38/constructors/message.md +++ b/old_docs/API_docs_v38/constructors/message.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'views' => int]; ``` @@ -43,10 +43,9 @@ $message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', id=int, from_id=int, to_id=Peer, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int} ``` diff --git a/old_docs/API_docs_v38/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v38/constructors/messageActionChannelCreate.md index b1750d73..2600ab63 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v38/constructors/messageActionChannelCreate.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v38/constructors/messageActionChatAddUser.md index 1ea1d425..4decc491 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v38/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', user_id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/messageActionChatCreate.md b/old_docs/API_docs_v38/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v38/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v38/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v38/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v38/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v38/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v38/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v38/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v38/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v38/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v38/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v38/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v38/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v38/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v38/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/messageActionEmpty.md b/old_docs/API_docs_v38/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v38/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v38/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/messageEmpty.md b/old_docs/API_docs_v38/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v38/constructors/messageEmpty.md +++ b/old_docs/API_docs_v38/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/messageEntityBold.md b/old_docs/API_docs_v38/constructors/messageEntityBold.md index 950699fb..90f74ad5 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v38/constructors/messageEntityBold.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v38/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v38/constructors/messageEntityBotCommand.md index 8be471d3..9fb8f6a6 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v38/constructors/messageEntityBotCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v38/constructors/messageEntityCode.md b/old_docs/API_docs_v38/constructors/messageEntityCode.md index 7c701844..d236e57e 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v38/constructors/messageEntityCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v38/constructors/messageEntityEmail.md b/old_docs/API_docs_v38/constructors/messageEntityEmail.md index 35a968c7..74e910f3 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v38/constructors/messageEntityEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v38/constructors/messageEntityHashtag.md b/old_docs/API_docs_v38/constructors/messageEntityHashtag.md index 6b124e73..77e29387 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v38/constructors/messageEntityHashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v38/constructors/messageEntityItalic.md b/old_docs/API_docs_v38/constructors/messageEntityItalic.md index 25f73428..5975bae2 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v38/constructors/messageEntityItalic.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v38/constructors/messageEntityMention.md b/old_docs/API_docs_v38/constructors/messageEntityMention.md index 9eb4d266..1a21cb10 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v38/constructors/messageEntityMention.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v38/constructors/messageEntityPre.md b/old_docs/API_docs_v38/constructors/messageEntityPre.md index abfc9136..13b165fe 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v38/constructors/messageEntityPre.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPre={_='messageEntityPre', offset=int, length=int, language='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v38/constructors/messageEntityTextUrl.md index 91f6d36c..b6d82843 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v38/constructors/messageEntityTextUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/messageEntityUnknown.md b/old_docs/API_docs_v38/constructors/messageEntityUnknown.md index 69ca8a1b..4c434fd7 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v38/constructors/messageEntityUnknown.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v38/constructors/messageEntityUrl.md b/old_docs/API_docs_v38/constructors/messageEntityUrl.md index 377c3dda..2cf334a5 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v38/constructors/messageEntityUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v38/constructors/messageGroup.md b/old_docs/API_docs_v38/constructors/messageGroup.md index 31de6cb4..ee695490 100644 --- a/old_docs/API_docs_v38/constructors/messageGroup.md +++ b/old_docs/API_docs_v38/constructors/messageGroup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int]; ``` @@ -35,10 +35,9 @@ $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageGroup={_='messageGroup', min_id=int, max_id=int, count=int, date=int} ``` diff --git a/old_docs/API_docs_v38/constructors/messageMediaAudio.md b/old_docs/API_docs_v38/constructors/messageMediaAudio.md index c2970836..4f350752 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v38/constructors/messageMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` @@ -32,10 +32,9 @@ $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaAudio={_='messageMediaAudio', audio=Audio} ``` diff --git a/old_docs/API_docs_v38/constructors/messageMediaContact.md b/old_docs/API_docs_v38/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v38/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/messageMediaDocument.md b/old_docs/API_docs_v38/constructors/messageMediaDocument.md index c0a7272c..c08a097b 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v38/constructors/messageMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` @@ -32,10 +32,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document} ``` diff --git a/old_docs/API_docs_v38/constructors/messageMediaEmpty.md b/old_docs/API_docs_v38/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v38/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/messageMediaGeo.md b/old_docs/API_docs_v38/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v38/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v38/constructors/messageMediaPhoto.md b/old_docs/API_docs_v38/constructors/messageMediaPhoto.md index 47579066..7350efce 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v38/constructors/messageMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v38/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v38/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v38/constructors/messageMediaVenue.md b/old_docs/API_docs_v38/constructors/messageMediaVenue.md index 2db2d25d..2ef2b27f 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v38/constructors/messageMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/messageMediaVideo.md b/old_docs/API_docs_v38/constructors/messageMediaVideo.md index 444b12eb..694f6928 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v38/constructors/messageMediaVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVideo={_='messageMediaVideo', video=Video, caption='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/messageMediaWebPage.md b/old_docs/API_docs_v38/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v38/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v38/constructors/messageRange.md b/old_docs/API_docs_v38/constructors/messageRange.md index 40c3f81a..527e8646 100644 --- a/old_docs/API_docs_v38/constructors/messageRange.md +++ b/old_docs/API_docs_v38/constructors/messageRange.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageRange={_='messageRange', min_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/messageService.md b/old_docs/API_docs_v38/constructors/messageService.md index 69a71232..5cf8eaab 100644 --- a/old_docs/API_docs_v38/constructors/messageService.md +++ b/old_docs/API_docs_v38/constructors/messageService.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` @@ -36,10 +36,9 @@ $messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', id=int, from_id=int, to_id=Peer, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v38/constructors/messages_affectedHistory.md b/old_docs/API_docs_v38/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v38/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v38/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v38/constructors/messages_affectedMessages.md b/old_docs/API_docs_v38/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v38/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v38/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v38/constructors/messages_allStickers.md b/old_docs/API_docs_v38/constructors/messages_allStickers.md index e933488f..06237df7 100644 --- a/old_docs/API_docs_v38/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v38/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'set ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash='string', sets={StickerSet}} ``` diff --git a/old_docs/API_docs_v38/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v38/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v38/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v38/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v38/constructors/messages_channelMessages.md b/old_docs/API_docs_v38/constructors/messages_channelMessages.md index 8948bf1d..eadc5001 100644 --- a/old_docs/API_docs_v38/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v38/constructors/messages_channelMessages.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -37,10 +37,9 @@ $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'c ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v38/constructors/messages_chatFull.md b/old_docs/API_docs_v38/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v38/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v38/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v38/constructors/messages_chats.md b/old_docs/API_docs_v38/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v38/constructors/messages_chats.md +++ b/old_docs/API_docs_v38/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v38/constructors/messages_dhConfig.md b/old_docs/API_docs_v38/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v38/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v38/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v38/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v38/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v38/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v38/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v38/constructors/messages_dialogs.md b/old_docs/API_docs_v38/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v38/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v38/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v38/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v38/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v38/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v38/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v38/constructors/messages_messages.md b/old_docs/API_docs_v38/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v38/constructors/messages_messages.md +++ b/old_docs/API_docs_v38/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v38/constructors/messages_messagesSlice.md b/old_docs/API_docs_v38/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v38/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v38/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v38/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v38/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v38/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v38/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v38/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v38/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v38/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v38/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v38/constructors/messages_stickerSet.md b/old_docs/API_docs_v38/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/old_docs/API_docs_v38/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v38/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v38/constructors/messages_stickers.md b/old_docs/API_docs_v38/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v38/constructors/messages_stickers.md +++ b/old_docs/API_docs_v38/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v38/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v38/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v38/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v38/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v38/constructors/nearestDc.md b/old_docs/API_docs_v38/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v38/constructors/nearestDc.md +++ b/old_docs/API_docs_v38/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v38/constructors/notifyAll.md b/old_docs/API_docs_v38/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v38/constructors/notifyAll.md +++ b/old_docs/API_docs_v38/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v38/constructors/notifyChats.md b/old_docs/API_docs_v38/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v38/constructors/notifyChats.md +++ b/old_docs/API_docs_v38/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v38/constructors/notifyPeer.md b/old_docs/API_docs_v38/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v38/constructors/notifyPeer.md +++ b/old_docs/API_docs_v38/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v38/constructors/notifyUsers.md b/old_docs/API_docs_v38/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v38/constructors/notifyUsers.md +++ b/old_docs/API_docs_v38/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v38/constructors/peerChannel.md b/old_docs/API_docs_v38/constructors/peerChannel.md index f30e3f41..360d5c42 100644 --- a/old_docs/API_docs_v38/constructors/peerChannel.md +++ b/old_docs/API_docs_v38/constructors/peerChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/peerChat.md b/old_docs/API_docs_v38/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v38/constructors/peerChat.md +++ b/old_docs/API_docs_v38/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v38/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v38/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v38/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v38/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v38/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v38/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v38/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/peerNotifySettings.md b/old_docs/API_docs_v38/constructors/peerNotifySettings.md index 513132f4..12c5bbb9 100644 --- a/old_docs/API_docs_v38/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v38/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v38/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v38/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v38/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v38/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/peerUser.md b/old_docs/API_docs_v38/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v38/constructors/peerUser.md +++ b/old_docs/API_docs_v38/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/photo.md b/old_docs/API_docs_v38/constructors/photo.md index 7055e7a9..982122b9 100644 --- a/old_docs/API_docs_v38/constructors/photo.md +++ b/old_docs/API_docs_v38/constructors/photo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -35,10 +35,9 @@ $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v38/constructors/photoCachedSize.md b/old_docs/API_docs_v38/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v38/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v38/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v38/constructors/photoEmpty.md b/old_docs/API_docs_v38/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v38/constructors/photoEmpty.md +++ b/old_docs/API_docs_v38/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v38/constructors/photoSize.md b/old_docs/API_docs_v38/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v38/constructors/photoSize.md +++ b/old_docs/API_docs_v38/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v38/constructors/photoSizeEmpty.md b/old_docs/API_docs_v38/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v38/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v38/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/photos_photo.md b/old_docs/API_docs_v38/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v38/constructors/photos_photo.md +++ b/old_docs/API_docs_v38/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v38/constructors/photos_photos.md b/old_docs/API_docs_v38/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v38/constructors/photos_photos.md +++ b/old_docs/API_docs_v38/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v38/constructors/photos_photosSlice.md b/old_docs/API_docs_v38/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v38/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v38/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v38/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v38/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v38/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v38/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v38/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v38/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v38/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v38/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v38/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v38/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v38/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v38/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v38/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v38/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v38/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v38/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v38/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v38/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v38/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v38/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v38/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v38/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v38/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v38/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v38/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v38/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v38/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v38/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v38/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v38/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/old_docs/API_docs_v38/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v38/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v38/constructors/replyKeyboardForceReply.md index 19016e59..2e2bdaed 100644 --- a/old_docs/API_docs_v38/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v38/constructors/replyKeyboardForceReply.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply']; ``` @@ -31,10 +31,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply'} ``` diff --git a/old_docs/API_docs_v38/constructors/replyKeyboardHide.md b/old_docs/API_docs_v38/constructors/replyKeyboardHide.md index 56aab4c7..c4619d2d 100644 --- a/old_docs/API_docs_v38/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v38/constructors/replyKeyboardHide.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide']; ``` @@ -31,10 +31,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide'} ``` diff --git a/old_docs/API_docs_v38/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v38/constructors/replyKeyboardMarkup.md index a9c0222a..61e6dd9b 100644 --- a/old_docs/API_docs_v38/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v38/constructors/replyKeyboardMarkup.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -32,10 +32,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'rows' => [KeyboardButtonR ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v38/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v38/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v38/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v38/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v38/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v38/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v38/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v38/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v38/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v38/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v38/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v38/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v38/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v38/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/old_docs/API_docs_v38/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v38/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/old_docs/API_docs_v38/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v38/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/old_docs/API_docs_v38/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v38/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/old_docs/API_docs_v38/constructors/stickerPack.md b/old_docs/API_docs_v38/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v38/constructors/stickerPack.md +++ b/old_docs/API_docs_v38/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v38/constructors/stickerSet.md b/old_docs/API_docs_v38/constructors/stickerSet.md index dd97d4be..1875e0bb 100644 --- a/old_docs/API_docs_v38/constructors/stickerSet.md +++ b/old_docs/API_docs_v38/constructors/stickerSet.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -37,10 +37,9 @@ $stickerSet = ['_' => 'stickerSet', 'id' => long, 'access_hash' => long, 'title' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/old_docs/API_docs_v38/constructors/storage_fileGif.md b/old_docs/API_docs_v38/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v38/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v38/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v38/constructors/storage_fileJpeg.md b/old_docs/API_docs_v38/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v38/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v38/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v38/constructors/storage_fileMov.md b/old_docs/API_docs_v38/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v38/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v38/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v38/constructors/storage_fileMp3.md b/old_docs/API_docs_v38/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v38/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v38/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v38/constructors/storage_fileMp4.md b/old_docs/API_docs_v38/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v38/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v38/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v38/constructors/storage_filePartial.md b/old_docs/API_docs_v38/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v38/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v38/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v38/constructors/storage_filePdf.md b/old_docs/API_docs_v38/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v38/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v38/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v38/constructors/storage_filePng.md b/old_docs/API_docs_v38/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v38/constructors/storage_filePng.md +++ b/old_docs/API_docs_v38/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v38/constructors/storage_fileUnknown.md b/old_docs/API_docs_v38/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v38/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v38/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v38/constructors/storage_fileWebp.md b/old_docs/API_docs_v38/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v38/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v38/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v38/constructors/updateChannel.md b/old_docs/API_docs_v38/constructors/updateChannel.md index e615920a..fb876328 100644 --- a/old_docs/API_docs_v38/constructors/updateChannel.md +++ b/old_docs/API_docs_v38/constructors/updateChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannel={_='updateChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updateChannelGroup.md b/old_docs/API_docs_v38/constructors/updateChannelGroup.md index c322e296..8266d55a 100644 --- a/old_docs/API_docs_v38/constructors/updateChannelGroup.md +++ b/old_docs/API_docs_v38/constructors/updateChannelGroup.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup]; ``` @@ -33,10 +33,9 @@ $updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelGroup={_='updateChannelGroup', channel_id=int, group=MessageGroup} ``` diff --git a/old_docs/API_docs_v38/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v38/constructors/updateChannelMessageViews.md index 19e0b648..d62f055a 100644 --- a/old_docs/API_docs_v38/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v38/constructors/updateChannelMessageViews.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` @@ -34,10 +34,9 @@ $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updateChannelTooLong.md b/old_docs/API_docs_v38/constructors/updateChannelTooLong.md index c4366f91..5665f1a4 100644 --- a/old_docs/API_docs_v38/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v38/constructors/updateChannelTooLong.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelTooLong={_='updateChannelTooLong', channel_id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v38/constructors/updateChatParticipantAdd.md index ea5157ad..fe76dc62 100644 --- a/old_docs/API_docs_v38/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v38/constructors/updateChatParticipantAdd.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` @@ -36,10 +36,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v38/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v38/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v38/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updateChatParticipants.md b/old_docs/API_docs_v38/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v38/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v38/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v38/constructors/updateChatUserTyping.md b/old_docs/API_docs_v38/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v38/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v38/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v38/constructors/updateContactLink.md b/old_docs/API_docs_v38/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v38/constructors/updateContactLink.md +++ b/old_docs/API_docs_v38/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v38/constructors/updateContactRegistered.md b/old_docs/API_docs_v38/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v38/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v38/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updateDcOptions.md b/old_docs/API_docs_v38/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v38/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v38/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v38/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v38/constructors/updateDeleteChannelMessages.md index 0f84f3f7..8fb10b65 100644 --- a/old_docs/API_docs_v38/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v38/constructors/updateDeleteChannelMessages.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updateDeleteMessages.md b/old_docs/API_docs_v38/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v38/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v38/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v38/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v38/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v38/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v38/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v38/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v38/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updateEncryption.md b/old_docs/API_docs_v38/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v38/constructors/updateEncryption.md +++ b/old_docs/API_docs_v38/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updateMessageID.md b/old_docs/API_docs_v38/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v38/constructors/updateMessageID.md +++ b/old_docs/API_docs_v38/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updateNewAuthorization.md b/old_docs/API_docs_v38/constructors/updateNewAuthorization.md index c7a95f80..ce1d0815 100644 --- a/old_docs/API_docs_v38/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v38/constructors/updateNewAuthorization.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` @@ -35,10 +35,9 @@ $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device='string', location='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v38/constructors/updateNewChannelMessage.md index 59dbc820..9fa1c7ec 100644 --- a/old_docs/API_docs_v38/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v38/constructors/updateNewChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Messa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v38/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v38/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v38/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updateNewMessage.md b/old_docs/API_docs_v38/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v38/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v38/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updateNotifySettings.md b/old_docs/API_docs_v38/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v38/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v38/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v38/constructors/updatePrivacy.md b/old_docs/API_docs_v38/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v38/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v38/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v38/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v38/constructors/updateReadChannelInbox.md index be964e20..c8c26acb 100644 --- a/old_docs/API_docs_v38/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v38/constructors/updateReadChannelInbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v38/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v38/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v38/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v38/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v38/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v38/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v38/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/old_docs/API_docs_v38/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v38/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updateServiceNotification.md b/old_docs/API_docs_v38/constructors/updateServiceNotification.md index 979fe7bd..ddcf7eb5 100644 --- a/old_docs/API_docs_v38/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v38/constructors/updateServiceNotification.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` @@ -35,10 +35,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'str ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', type='string', message='string', media=MessageMedia, popup=Bool} ``` diff --git a/old_docs/API_docs_v38/constructors/updateShort.md b/old_docs/API_docs_v38/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v38/constructors/updateShort.md +++ b/old_docs/API_docs_v38/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updateShortChatMessage.md b/old_docs/API_docs_v38/constructors/updateShortChatMessage.md index 79de4131..3536eac7 100644 --- a/old_docs/API_docs_v38/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v38/constructors/updateShortChatMessage.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -42,10 +42,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v38/constructors/updateShortMessage.md b/old_docs/API_docs_v38/constructors/updateShortMessage.md index 2f645305..4e91de42 100644 --- a/old_docs/API_docs_v38/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v38/constructors/updateShortMessage.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -41,10 +41,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'user_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v38/constructors/updateShortSentMessage.md b/old_docs/API_docs_v38/constructors/updateShortSentMessage.md index 8304e3e2..2ea6963b 100644 --- a/old_docs/API_docs_v38/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v38/constructors/updateShortSentMessage.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -37,10 +37,9 @@ $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'id' => int, 'pts' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortSentMessage={_='updateShortSentMessage', id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v38/constructors/updateUserBlocked.md b/old_docs/API_docs_v38/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v38/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v38/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v38/constructors/updateUserName.md b/old_docs/API_docs_v38/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v38/constructors/updateUserName.md +++ b/old_docs/API_docs_v38/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/updateUserPhone.md b/old_docs/API_docs_v38/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v38/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v38/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v38/constructors/updateUserPhoto.md b/old_docs/API_docs_v38/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v38/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v38/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v38/constructors/updateUserStatus.md b/old_docs/API_docs_v38/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v38/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v38/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v38/constructors/updateUserTyping.md b/old_docs/API_docs_v38/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v38/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v38/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v38/constructors/updateWebPage.md b/old_docs/API_docs_v38/constructors/updateWebPage.md index 9f468619..932d8ff2 100644 --- a/old_docs/API_docs_v38/constructors/updateWebPage.md +++ b/old_docs/API_docs_v38/constructors/updateWebPage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updates.md b/old_docs/API_docs_v38/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v38/constructors/updates.md +++ b/old_docs/API_docs_v38/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updatesCombined.md b/old_docs/API_docs_v38/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v38/constructors/updatesCombined.md +++ b/old_docs/API_docs_v38/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updatesTooLong.md b/old_docs/API_docs_v38/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v38/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v38/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v38/constructors/updates_channelDifference.md b/old_docs/API_docs_v38/constructors/updates_channelDifference.md index ded3ed02..7a961f1d 100644 --- a/old_docs/API_docs_v38/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v38/constructors/updates_channelDifference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifference = ['_' => 'updates.channelDifference', 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -37,10 +37,9 @@ $updates_channelDifference = ['_' => 'updates.channelDifference', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifference={_='updates.channelDifference', pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v38/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v38/constructors/updates_channelDifferenceEmpty.md index 6c31e816..e8645cd8 100644 --- a/old_docs/API_docs_v38/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v38/constructors/updates_channelDifferenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'pts' => int, 'timeout' => int]; ``` @@ -33,10 +33,9 @@ $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'pts ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', pts=int, timeout=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v38/constructors/updates_channelDifferenceTooLong.md index c7339772..0fa4a6ed 100644 --- a/old_docs/API_docs_v38/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v38/constructors/updates_channelDifferenceTooLong.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -41,10 +41,9 @@ $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v38/constructors/updates_difference.md b/old_docs/API_docs_v38/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v38/constructors/updates_difference.md +++ b/old_docs/API_docs_v38/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v38/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v38/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v38/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v38/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v38/constructors/updates_differenceSlice.md b/old_docs/API_docs_v38/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v38/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v38/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v38/constructors/updates_state.md b/old_docs/API_docs_v38/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v38/constructors/updates_state.md +++ b/old_docs/API_docs_v38/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v38/constructors/upload_file.md b/old_docs/API_docs_v38/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v38/constructors/upload_file.md +++ b/old_docs/API_docs_v38/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v38/constructors/user.md b/old_docs/API_docs_v38/constructors/user.md index ea934b96..b7913d14 100644 --- a/old_docs/API_docs_v38/constructors/user.md +++ b/old_docs/API_docs_v38/constructors/user.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int]; ``` @@ -40,10 +40,9 @@ $user = ['_' => 'user', 'id' => int, 'access_hash' => long, 'first_name' => 'str ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int} ``` diff --git a/old_docs/API_docs_v38/constructors/userEmpty.md b/old_docs/API_docs_v38/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v38/constructors/userEmpty.md +++ b/old_docs/API_docs_v38/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v38/constructors/userFull.md b/old_docs/API_docs_v38/constructors/userFull.md index dff5cfa2..9b32a434 100644 --- a/old_docs/API_docs_v38/constructors/userFull.md +++ b/old_docs/API_docs_v38/constructors/userFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` @@ -37,10 +37,9 @@ $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v38/constructors/userProfilePhoto.md b/old_docs/API_docs_v38/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v38/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v38/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v38/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v38/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v38/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v38/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/userStatusEmpty.md b/old_docs/API_docs_v38/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v38/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v38/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v38/constructors/userStatusLastMonth.md b/old_docs/API_docs_v38/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v38/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v38/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v38/constructors/userStatusLastWeek.md b/old_docs/API_docs_v38/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v38/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v38/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v38/constructors/userStatusOffline.md b/old_docs/API_docs_v38/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v38/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v38/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v38/constructors/userStatusOnline.md b/old_docs/API_docs_v38/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v38/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v38/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v38/constructors/userStatusRecently.md b/old_docs/API_docs_v38/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v38/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v38/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v38/constructors/vector.md b/old_docs/API_docs_v38/constructors/vector.md index c9e27763..d8ea6f1f 100644 --- a/old_docs/API_docs_v38/constructors/vector.md +++ b/old_docs/API_docs_v38/constructors/vector.md @@ -18,7 +18,7 @@ Array ### Example: -``` +```php $vector = ['_' => 'vector']; ``` @@ -29,10 +29,9 @@ $vector = ['_' => 'vector']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua vector={_='vector'} ``` diff --git a/old_docs/API_docs_v38/constructors/video.md b/old_docs/API_docs_v38/constructors/video.md index 58154db2..a0ab3175 100644 --- a/old_docs/API_docs_v38/constructors/video.md +++ b/old_docs/API_docs_v38/constructors/video.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int]; ``` @@ -41,10 +41,9 @@ $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua video={_='video', id=long, access_hash=long, date=int, duration=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v38/constructors/videoEmpty.md b/old_docs/API_docs_v38/constructors/videoEmpty.md index 8509fcf9..a41ca8ab 100644 --- a/old_docs/API_docs_v38/constructors/videoEmpty.md +++ b/old_docs/API_docs_v38/constructors/videoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua videoEmpty={_='videoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v38/constructors/wallPaper.md b/old_docs/API_docs_v38/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v38/constructors/wallPaper.md +++ b/old_docs/API_docs_v38/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v38/constructors/wallPaperSolid.md b/old_docs/API_docs_v38/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v38/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v38/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v38/constructors/webPage.md b/old_docs/API_docs_v38/constructors/webPage.md index 1023918f..fe5271f3 100644 --- a/old_docs/API_docs_v38/constructors/webPage.md +++ b/old_docs/API_docs_v38/constructors/webPage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document]; ``` @@ -46,10 +46,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document} ``` diff --git a/old_docs/API_docs_v38/constructors/webPageEmpty.md b/old_docs/API_docs_v38/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v38/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v38/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v38/constructors/webPagePending.md b/old_docs/API_docs_v38/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v38/constructors/webPagePending.md +++ b/old_docs/API_docs_v38/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v38/methods/account_changePhone.md b/old_docs/API_docs_v38/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v38/methods/account_changePhone.md +++ b/old_docs/API_docs_v38/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/account_checkUsername.md b/old_docs/API_docs_v38/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v38/methods/account_checkUsername.md +++ b/old_docs/API_docs_v38/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/account_deleteAccount.md b/old_docs/API_docs_v38/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v38/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v38/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/account_getAccountTTL.md b/old_docs/API_docs_v38/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v38/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v38/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v38/methods/account_getAuthorizations.md b/old_docs/API_docs_v38/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v38/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v38/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v38/methods/account_getNotifySettings.md b/old_docs/API_docs_v38/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v38/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v38/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v38/methods/account_getPassword.md b/old_docs/API_docs_v38/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v38/methods/account_getPassword.md +++ b/old_docs/API_docs_v38/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v38/methods/account_getPasswordSettings.md b/old_docs/API_docs_v38/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v38/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v38/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v38/methods/account_getPrivacy.md b/old_docs/API_docs_v38/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v38/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v38/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v38/methods/account_getWallPapers.md b/old_docs/API_docs_v38/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v38/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v38/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v38/methods/account_registerDevice.md b/old_docs/API_docs_v38/methods/account_registerDevice.md index bd2b5649..3192933d 100644 --- a/old_docs/API_docs_v38/methods/account_registerDevice.md +++ b/old_docs/API_docs_v38/methods/account_registerDevice.md @@ -30,7 +30,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', device_model='string', system_version='string', app_version='string', app_sandbox=Bool, lang_code='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/account_resetAuthorization.md b/old_docs/API_docs_v38/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v38/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v38/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v38/methods/account_resetNotifySettings.md b/old_docs/API_docs_v38/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v38/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v38/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md index 2fcdcc4c..12ea92c5 100644 --- a/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md @@ -24,7 +24,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/account_setAccountTTL.md b/old_docs/API_docs_v38/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v38/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v38/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v38/methods/account_setPrivacy.md b/old_docs/API_docs_v38/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v38/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v38/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v38/methods/account_unregisterDevice.md b/old_docs/API_docs_v38/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v38/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v38/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v38/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v38/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v38/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v38/methods/account_updateNotifySettings.md b/old_docs/API_docs_v38/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v38/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v38/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v38/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v38/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v38/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v38/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v38/methods/account_updateProfile.md b/old_docs/API_docs_v38/methods/account_updateProfile.md index 541086a6..5034a6da 100644 --- a/old_docs/API_docs_v38/methods/account_updateProfile.md +++ b/old_docs/API_docs_v38/methods/account_updateProfile.md @@ -25,7 +25,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ last_name - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/account_updateStatus.md b/old_docs/API_docs_v38/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v38/methods/account_updateStatus.md +++ b/old_docs/API_docs_v38/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v38/methods/account_updateUsername.md b/old_docs/API_docs_v38/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v38/methods/account_updateUsername.md +++ b/old_docs/API_docs_v38/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/auth_checkPhone.md b/old_docs/API_docs_v38/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v38/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v38/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/auth_recoverPassword.md b/old_docs/API_docs_v38/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v38/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v38/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v38/methods/auth_sendCall.md b/old_docs/API_docs_v38/methods/auth_sendCall.md index 70a2870f..e8260454 100644 --- a/old_docs/API_docs_v38/methods/auth_sendCall.md +++ b/old_docs/API_docs_v38/methods/auth_sendCall.md @@ -25,7 +25,7 @@ Send verification phone call ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/auth_sendInvites.md b/old_docs/API_docs_v38/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v38/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v38/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/auth_sendSms.md b/old_docs/API_docs_v38/methods/auth_sendSms.md index 6c31f570..050926ff 100644 --- a/old_docs/API_docs_v38/methods/auth_sendSms.md +++ b/old_docs/API_docs_v38/methods/auth_sendSms.md @@ -25,7 +25,7 @@ Send SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_checkUsername.md b/old_docs/API_docs_v38/methods/channels_checkUsername.md index d287b3ca..573bf8f0 100644 --- a/old_docs/API_docs_v38/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v38/methods/channels_checkUsername.md @@ -25,7 +25,7 @@ Check if this username is free and can be assigned to a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.checkUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_createChannel.md b/old_docs/API_docs_v38/methods/channels_createChannel.md index 31491a21..8dadb514 100644 --- a/old_docs/API_docs_v38/methods/channels_createChannel.md +++ b/old_docs/API_docs_v38/methods/channels_createChannel.md @@ -26,7 +26,7 @@ Create channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ users - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Updates = channels.createChannel({title='string', about='string', users={InputUser}, }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_deleteChannel.md b/old_docs/API_docs_v38/methods/channels_deleteChannel.md index b55d91b8..a79ccb9f 100644 --- a/old_docs/API_docs_v38/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v38/methods/channels_deleteChannel.md @@ -24,7 +24,7 @@ Delete a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.deleteChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_deleteMessages.md b/old_docs/API_docs_v38/methods/channels_deleteMessages.md index 03625c94..8cd7ebb3 100644 --- a/old_docs/API_docs_v38/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v38/methods/channels_deleteMessages.md @@ -25,7 +25,7 @@ Delete channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v38/methods/channels_deleteUserHistory.md index 204a8786..78baa90f 100644 --- a/old_docs/API_docs_v38/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v38/methods/channels_deleteUserHistory.md @@ -25,7 +25,7 @@ Delete all messages of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_editAbout.md b/old_docs/API_docs_v38/methods/channels_editAbout.md index fd861133..549d7ea5 100644 --- a/old_docs/API_docs_v38/methods/channels_editAbout.md +++ b/old_docs/API_docs_v38/methods/channels_editAbout.md @@ -25,7 +25,7 @@ Edit the about text of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.editAbout({channel=InputChannel, about='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_editAdmin.md b/old_docs/API_docs_v38/methods/channels_editAdmin.md index 63bc3b26..9e3d6ecc 100644 --- a/old_docs/API_docs_v38/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v38/methods/channels_editAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ role - Json encoded ChannelParticipantRole Or, if you're into Lua: -``` +```lua Bool = channels.editAdmin({channel=InputChannel, user_id=InputUser, role=ChannelParticipantRole, }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_editPhoto.md b/old_docs/API_docs_v38/methods/channels_editPhoto.md index ccbaed65..7013c6e2 100644 --- a/old_docs/API_docs_v38/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v38/methods/channels_editPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = channels.editPhoto({channel=InputChannel, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_editTitle.md b/old_docs/API_docs_v38/methods/channels_editTitle.md index ffd868ba..a9c8c50f 100644 --- a/old_docs/API_docs_v38/methods/channels_editTitle.md +++ b/old_docs/API_docs_v38/methods/channels_editTitle.md @@ -25,7 +25,7 @@ Edit the title of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.editTitle({channel=InputChannel, title='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_exportInvite.md b/old_docs/API_docs_v38/methods/channels_exportInvite.md index 0b4b5c31..5a92097a 100644 --- a/old_docs/API_docs_v38/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v38/methods/channels_exportInvite.md @@ -24,7 +24,7 @@ Export the invite link of a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua ExportedChatInvite = channels.exportInvite({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_getChannels.md b/old_docs/API_docs_v38/methods/channels_getChannels.md index 71edac7b..a146be1e 100644 --- a/old_docs/API_docs_v38/methods/channels_getChannels.md +++ b/old_docs/API_docs_v38/methods/channels_getChannels.md @@ -24,7 +24,7 @@ Get info about multiple channels/supergroups ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputChannel Or, if you're into Lua: -``` +```lua messages_Chats = channels.getChannels({id={InputChannel}, }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_getDialogs.md b/old_docs/API_docs_v38/methods/channels_getDialogs.md index c3acd0e6..b238558d 100644 --- a/old_docs/API_docs_v38/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v38/methods/channels_getDialogs.md @@ -25,7 +25,7 @@ Get channel dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = channels.getDialogs({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_getImportantHistory.md b/old_docs/API_docs_v38/methods/channels_getImportantHistory.md index e038bde8..374afee5 100644 --- a/old_docs/API_docs_v38/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v38/methods/channels_getImportantHistory.md @@ -29,7 +29,7 @@ Get important channel/supergroup history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getImportantHistory({channel=InputChannel, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_getMessages.md b/old_docs/API_docs_v38/methods/channels_getMessages.md index 217757eb..208cbcc4 100644 --- a/old_docs/API_docs_v38/methods/channels_getMessages.md +++ b/old_docs/API_docs_v38/methods/channels_getMessages.md @@ -25,7 +25,7 @@ Get channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_getParticipant.md b/old_docs/API_docs_v38/methods/channels_getParticipant.md index a641d213..9cf80799 100644 --- a/old_docs/API_docs_v38/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v38/methods/channels_getParticipant.md @@ -25,7 +25,7 @@ Get info about a certain channel/supergroup participant ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_getParticipants.md b/old_docs/API_docs_v38/methods/channels_getParticipants.md index c2f0cdcd..3d4dfa13 100644 --- a/old_docs/API_docs_v38/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v38/methods/channels_getParticipants.md @@ -27,7 +27,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_inviteToChannel.md b/old_docs/API_docs_v38/methods/channels_inviteToChannel.md index 0a350cc8..998e3895 100644 --- a/old_docs/API_docs_v38/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v38/methods/channels_inviteToChannel.md @@ -25,7 +25,7 @@ Add users to channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ users - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Updates = channels.inviteToChannel({channel=InputChannel, users={InputUser}, }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_joinChannel.md b/old_docs/API_docs_v38/methods/channels_joinChannel.md index aae2bc1c..3c6a3b94 100644 --- a/old_docs/API_docs_v38/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v38/methods/channels_joinChannel.md @@ -24,7 +24,7 @@ Join a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.joinChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_kickFromChannel.md b/old_docs/API_docs_v38/methods/channels_kickFromChannel.md index c51cea7c..7586bdf6 100644 --- a/old_docs/API_docs_v38/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v38/methods/channels_kickFromChannel.md @@ -26,7 +26,7 @@ Kick user from channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ kicked - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.kickFromChannel({channel=InputChannel, user_id=InputUser, kicked=Bool, }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_leaveChannel.md b/old_docs/API_docs_v38/methods/channels_leaveChannel.md index 4e6701fe..0934089f 100644 --- a/old_docs/API_docs_v38/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v38/methods/channels_leaveChannel.md @@ -24,7 +24,7 @@ Leave a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.leaveChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_readHistory.md b/old_docs/API_docs_v38/methods/channels_readHistory.md index d76919ff..cf5c1529 100644 --- a/old_docs/API_docs_v38/methods/channels_readHistory.md +++ b/old_docs/API_docs_v38/methods/channels_readHistory.md @@ -25,7 +25,7 @@ Mark channel/supergroup history as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.readHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_reportSpam.md b/old_docs/API_docs_v38/methods/channels_reportSpam.md index 48022662..b0e99eb1 100644 --- a/old_docs/API_docs_v38/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v38/methods/channels_reportSpam.md @@ -26,7 +26,7 @@ Report a message in a supergroup/channel for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.reportSpam({channel=InputChannel, user_id=InputUser, id={int}, }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_toggleComments.md b/old_docs/API_docs_v38/methods/channels_toggleComments.md index 52e2c7ae..230b0315 100644 --- a/old_docs/API_docs_v38/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v38/methods/channels_toggleComments.md @@ -25,7 +25,7 @@ Enable channel comments ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleComments({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v38/methods/channels_updateUsername.md b/old_docs/API_docs_v38/methods/channels_updateUsername.md index 2e07e123..c0df8c7c 100644 --- a/old_docs/API_docs_v38/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v38/methods/channels_updateUsername.md @@ -25,7 +25,7 @@ Update the username of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.updateUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/contacts_block.md b/old_docs/API_docs_v38/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v38/methods/contacts_block.md +++ b/old_docs/API_docs_v38/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v38/methods/contacts_deleteContact.md b/old_docs/API_docs_v38/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v38/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v38/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v38/methods/contacts_deleteContacts.md b/old_docs/API_docs_v38/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v38/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v38/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v38/methods/contacts_exportCard.md b/old_docs/API_docs_v38/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v38/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v38/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v38/methods/contacts_getBlocked.md b/old_docs/API_docs_v38/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v38/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v38/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v38/methods/contacts_getContacts.md b/old_docs/API_docs_v38/methods/contacts_getContacts.md index ccf0f99d..dfa407f2 100644 --- a/old_docs/API_docs_v38/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v38/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/contacts_getStatuses.md b/old_docs/API_docs_v38/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v38/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v38/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v38/methods/contacts_getSuggested.md b/old_docs/API_docs_v38/methods/contacts_getSuggested.md index d7feb718..8183eae4 100644 --- a/old_docs/API_docs_v38/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v38/methods/contacts_getSuggested.md @@ -24,7 +24,7 @@ Get suggested contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v38/methods/contacts_importCard.md b/old_docs/API_docs_v38/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v38/methods/contacts_importCard.md +++ b/old_docs/API_docs_v38/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v38/methods/contacts_importContacts.md b/old_docs/API_docs_v38/methods/contacts_importContacts.md index d0404dd2..f1b17e2c 100644 --- a/old_docs/API_docs_v38/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v38/methods/contacts_importContacts.md @@ -25,7 +25,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ replace - Json encoded Bool Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v38/methods/contacts_search.md b/old_docs/API_docs_v38/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v38/methods/contacts_search.md +++ b/old_docs/API_docs_v38/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v38/methods/contacts_unblock.md b/old_docs/API_docs_v38/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v38/methods/contacts_unblock.md +++ b/old_docs/API_docs_v38/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v38/methods/help_getAppChangelog.md b/old_docs/API_docs_v38/methods/help_getAppChangelog.md index e5f9dae5..872c377b 100644 --- a/old_docs/API_docs_v38/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v38/methods/help_getAppChangelog.md @@ -27,7 +27,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/help_getAppUpdate.md b/old_docs/API_docs_v38/methods/help_getAppUpdate.md index a501cbc5..4bdf36c3 100644 --- a/old_docs/API_docs_v38/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v38/methods/help_getAppUpdate.md @@ -27,7 +27,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/help_getConfig.md b/old_docs/API_docs_v38/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v38/methods/help_getConfig.md +++ b/old_docs/API_docs_v38/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v38/methods/help_getInviteText.md b/old_docs/API_docs_v38/methods/help_getInviteText.md index 1b31e572..797e2ad3 100644 --- a/old_docs/API_docs_v38/methods/help_getInviteText.md +++ b/old_docs/API_docs_v38/methods/help_getInviteText.md @@ -24,7 +24,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/help_getNearestDc.md b/old_docs/API_docs_v38/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v38/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v38/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v38/methods/help_getSupport.md b/old_docs/API_docs_v38/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v38/methods/help_getSupport.md +++ b/old_docs/API_docs_v38/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v38/methods/help_saveAppLog.md b/old_docs/API_docs_v38/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v38/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v38/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v38/methods/initConnection.md b/old_docs/API_docs_v38/methods/initConnection.md index 58cdb067..e34794f8 100644 --- a/old_docs/API_docs_v38/methods/initConnection.md +++ b/old_docs/API_docs_v38/methods/initConnection.md @@ -29,7 +29,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v38/methods/invokeAfterMsg.md b/old_docs/API_docs_v38/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v38/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v38/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v38/methods/invokeAfterMsgs.md b/old_docs/API_docs_v38/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v38/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v38/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v38/methods/invokeWithLayer.md b/old_docs/API_docs_v38/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v38/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v38/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v38/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v38/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/old_docs/API_docs_v38/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v38/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_addChatUser.md b/old_docs/API_docs_v38/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v38/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v38/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_checkChatInvite.md b/old_docs/API_docs_v38/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/old_docs/API_docs_v38/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v38/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_createChat.md b/old_docs/API_docs_v38/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v38/methods/messages_createChat.md +++ b/old_docs/API_docs_v38/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_deleteChatUser.md b/old_docs/API_docs_v38/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v38/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v38/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_deleteHistory.md b/old_docs/API_docs_v38/methods/messages_deleteHistory.md index 5f04ad57..6c36b930 100644 --- a/old_docs/API_docs_v38/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v38/methods/messages_deleteHistory.md @@ -25,7 +25,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, offset=int, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_deleteMessages.md b/old_docs/API_docs_v38/methods/messages_deleteMessages.md index 2aa9d7d1..24152bec 100644 --- a/old_docs/API_docs_v38/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v38/methods/messages_deleteMessages.md @@ -24,7 +24,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_editChatPhoto.md b/old_docs/API_docs_v38/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v38/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v38/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_editChatTitle.md b/old_docs/API_docs_v38/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v38/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v38/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_exportChatInvite.md b/old_docs/API_docs_v38/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/old_docs/API_docs_v38/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v38/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_forwardMessage.md b/old_docs/API_docs_v38/methods/messages_forwardMessage.md index 586670b8..d9c0453f 100644 --- a/old_docs/API_docs_v38/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v38/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_forwardMessages.md b/old_docs/API_docs_v38/methods/messages_forwardMessages.md index 0ba67a6f..82e3e322 100644 --- a/old_docs/API_docs_v38/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v38/methods/messages_forwardMessages.md @@ -26,7 +26,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ to_peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({from_peer=InputPeer, id={int}, to_peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_getAllStickers.md b/old_docs/API_docs_v38/methods/messages_getAllStickers.md index faa8eea2..c90a48ea 100644 --- a/old_docs/API_docs_v38/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v38/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_getChats.md b/old_docs/API_docs_v38/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v38/methods/messages_getChats.md +++ b/old_docs/API_docs_v38/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_getDialogs.md b/old_docs/API_docs_v38/methods/messages_getDialogs.md index d3992fed..7e926d52 100644 --- a/old_docs/API_docs_v38/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v38/methods/messages_getDialogs.md @@ -25,7 +25,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_getHistory.md b/old_docs/API_docs_v38/methods/messages_getHistory.md index 955f71cf..cfa5867b 100644 --- a/old_docs/API_docs_v38/methods/messages_getHistory.md +++ b/old_docs/API_docs_v38/methods/messages_getHistory.md @@ -29,7 +29,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_getMessages.md b/old_docs/API_docs_v38/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v38/methods/messages_getMessages.md +++ b/old_docs/API_docs_v38/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_getMessagesViews.md b/old_docs/API_docs_v38/methods/messages_getMessagesViews.md index 57a99054..b2b6110e 100644 --- a/old_docs/API_docs_v38/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v38/methods/messages_getMessagesViews.md @@ -26,7 +26,7 @@ Get and increase message views ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ increment - Json encoded Bool Or, if you're into Lua: -``` +```lua Vector_of_int = messages.getMessagesViews({peer=InputPeer, id={int}, increment=Bool, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_getStickerSet.md b/old_docs/API_docs_v38/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/old_docs/API_docs_v38/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v38/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_getStickers.md b/old_docs/API_docs_v38/methods/messages_getStickers.md index b1d3bd83..f4ca9972 100644 --- a/old_docs/API_docs_v38/methods/messages_getStickers.md +++ b/old_docs/API_docs_v38/methods/messages_getStickers.md @@ -25,7 +25,7 @@ Get stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v38/methods/messages_getWebPagePreview.md index 8475c8f5..4838be94 100644 --- a/old_docs/API_docs_v38/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v38/methods/messages_getWebPagePreview.md @@ -24,7 +24,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_importChatInvite.md b/old_docs/API_docs_v38/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/old_docs/API_docs_v38/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v38/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_installStickerSet.md b/old_docs/API_docs_v38/methods/messages_installStickerSet.md index 1cd832e5..41be11e1 100644 --- a/old_docs/API_docs_v38/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v38/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ disabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.installStickerSet({stickerset=InputStickerSet, disabled=Bool, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_readHistory.md b/old_docs/API_docs_v38/methods/messages_readHistory.md index 22f247bc..903268e6 100644 --- a/old_docs/API_docs_v38/methods/messages_readHistory.md +++ b/old_docs/API_docs_v38/methods/messages_readHistory.md @@ -26,7 +26,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.readHistory({peer=InputPeer, max_id=int, offset=int, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_readMessageContents.md b/old_docs/API_docs_v38/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v38/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v38/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_receivedMessages.md b/old_docs/API_docs_v38/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/old_docs/API_docs_v38/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v38/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_reportSpam.md b/old_docs/API_docs_v38/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/old_docs/API_docs_v38/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v38/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_search.md b/old_docs/API_docs_v38/methods/messages_search.md index 4c373c29..b4549f38 100644 --- a/old_docs/API_docs_v38/methods/messages_search.md +++ b/old_docs/API_docs_v38/methods/messages_search.md @@ -31,7 +31,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_sendBroadcast.md b/old_docs/API_docs_v38/methods/messages_sendBroadcast.md index 11f43d4c..5813ba9c 100644 --- a/old_docs/API_docs_v38/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v38/methods/messages_sendBroadcast.md @@ -26,7 +26,7 @@ Send a message to all users in the chat list ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua Updates = messages.sendBroadcast({contacts={InputUser}, message='string', media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_sendEncrypted.md b/old_docs/API_docs_v38/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v38/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v38/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v38/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v38/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v38/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_sendMedia.md b/old_docs/API_docs_v38/methods/messages_sendMedia.md index 0b1180e8..2ff294be 100644 --- a/old_docs/API_docs_v38/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v38/methods/messages_sendMedia.md @@ -27,7 +27,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({peer=InputPeer, reply_to_msg_id=int, media=InputMedia, reply_markup=ReplyMarkup, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_sendMessage.md b/old_docs/API_docs_v38/methods/messages_sendMessage.md index 8cea3abc..22c6cec7 100644 --- a/old_docs/API_docs_v38/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v38/methods/messages_sendMessage.md @@ -29,7 +29,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -66,7 +66,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMessage({peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_setTyping.md b/old_docs/API_docs_v38/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v38/methods/messages_setTyping.md +++ b/old_docs/API_docs_v38/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_startBot.md b/old_docs/API_docs_v38/methods/messages_startBot.md index 79d18a42..37d3e12c 100644 --- a/old_docs/API_docs_v38/methods/messages_startBot.md +++ b/old_docs/API_docs_v38/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, chat_id=InputPeer, start_param='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v38/methods/photos_deletePhotos.md b/old_docs/API_docs_v38/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v38/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v38/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v38/methods/photos_getUserPhotos.md b/old_docs/API_docs_v38/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/old_docs/API_docs_v38/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v38/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md index 706f0a01..7341e4e7 100644 --- a/old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md @@ -25,7 +25,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md index 99064210..1debfc82 100644 --- a/old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md @@ -27,7 +27,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v38/methods/users_getUsers.md b/old_docs/API_docs_v38/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v38/methods/users_getUsers.md +++ b/old_docs/API_docs_v38/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v38/types/Chat.md b/old_docs/API_docs_v38/types/Chat.md index cd83aacb..58654e6e 100644 --- a/old_docs/API_docs_v38/types/Chat.md +++ b/old_docs/API_docs_v38/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v38/types/InputChannel.md b/old_docs/API_docs_v38/types/InputChannel.md index 3882099d..6dc802fc 100644 --- a/old_docs/API_docs_v38/types/InputChannel.md +++ b/old_docs/API_docs_v38/types/InputChannel.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputChannel = '@username'; // Username $InputChannel = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v38/types/InputEncryptedChat.md b/old_docs/API_docs_v38/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v38/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v38/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v38/types/InputEncryptedFile.md b/old_docs/API_docs_v38/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v38/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v38/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v38/types/InputFile.md b/old_docs/API_docs_v38/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v38/types/InputFile.md +++ b/old_docs/API_docs_v38/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v38/types/InputNotifyPeer.md b/old_docs/API_docs_v38/types/InputNotifyPeer.md index ffc1f0cf..f9d0a662 100644 --- a/old_docs/API_docs_v38/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v38/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v38/types/InputPeer.md b/old_docs/API_docs_v38/types/InputPeer.md index 2076c00b..2649db1a 100644 --- a/old_docs/API_docs_v38/types/InputPeer.md +++ b/old_docs/API_docs_v38/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v38/types/InputUser.md b/old_docs/API_docs_v38/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/old_docs/API_docs_v38/types/InputUser.md +++ b/old_docs/API_docs_v38/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v38/types/KeyboardButton.md b/old_docs/API_docs_v38/types/KeyboardButton.md index f292ca69..9de6a7fc 100644 --- a/old_docs/API_docs_v38/types/KeyboardButton.md +++ b/old_docs/API_docs_v38/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/old_docs/API_docs_v38/types/NotifyPeer.md b/old_docs/API_docs_v38/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v38/types/NotifyPeer.md +++ b/old_docs/API_docs_v38/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v38/types/Peer.md b/old_docs/API_docs_v38/types/Peer.md index ebb98e91..0ab7fdcc 100644 --- a/old_docs/API_docs_v38/types/Peer.md +++ b/old_docs/API_docs_v38/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v38/types/User.md b/old_docs/API_docs_v38/types/User.md index b145a3f8..5385caa4 100644 --- a/old_docs/API_docs_v38/types/User.md +++ b/old_docs/API_docs_v38/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v40/constructors/accountDaysTTL.md b/old_docs/API_docs_v40/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v40/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v40/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v40/constructors/account_authorizations.md b/old_docs/API_docs_v40/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v40/constructors/account_authorizations.md +++ b/old_docs/API_docs_v40/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v40/constructors/account_noPassword.md b/old_docs/API_docs_v40/constructors/account_noPassword.md index 81a483d6..63a4af6d 100644 --- a/old_docs/API_docs_v40/constructors/account_noPassword.md +++ b/old_docs/API_docs_v40/constructors/account_noPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -33,10 +33,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'emai ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/account_password.md b/old_docs/API_docs_v40/constructors/account_password.md index 9a8b31c6..5c4c334b 100644 --- a/old_docs/API_docs_v40/constructors/account_password.md +++ b/old_docs/API_docs_v40/constructors/account_password.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` @@ -36,10 +36,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v40/constructors/account_passwordInputSettings.md index f474e0c7..b5838f0a 100644 --- a/old_docs/API_docs_v40/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v40/constructors/account_passwordInputSettings.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v40/constructors/account_passwordSettings.md b/old_docs/API_docs_v40/constructors/account_passwordSettings.md index 27d14f59..04fc8621 100644 --- a/old_docs/API_docs_v40/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v40/constructors/account_passwordSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v40/constructors/account_privacyRules.md b/old_docs/API_docs_v40/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v40/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v40/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v40/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v40/constructors/account_sentChangePhoneCode.md index 7bfd04ab..34044265 100644 --- a/old_docs/API_docs_v40/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v40/constructors/account_sentChangePhoneCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; ``` @@ -33,10 +33,9 @@ $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} ``` diff --git a/old_docs/API_docs_v40/constructors/audio.md b/old_docs/API_docs_v40/constructors/audio.md index 1d899f64..785de6e2 100644 --- a/old_docs/API_docs_v40/constructors/audio.md +++ b/old_docs/API_docs_v40/constructors/audio.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` @@ -38,10 +38,9 @@ $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audio={_='audio', id=long, access_hash=long, date=int, duration=int, mime_type='string', size=int, dc_id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/audioEmpty.md b/old_docs/API_docs_v40/constructors/audioEmpty.md index 2b0ed960..846367f4 100644 --- a/old_docs/API_docs_v40/constructors/audioEmpty.md +++ b/old_docs/API_docs_v40/constructors/audioEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audioEmpty={_='audioEmpty', id=long} ``` diff --git a/old_docs/API_docs_v40/constructors/auth_authorization.md b/old_docs/API_docs_v40/constructors/auth_authorization.md index bbe5a8b9..1a75a113 100644 --- a/old_docs/API_docs_v40/constructors/auth_authorization.md +++ b/old_docs/API_docs_v40/constructors/auth_authorization.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` @@ -32,10 +32,9 @@ $auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_authorization={_='auth.authorization', user=User} ``` diff --git a/old_docs/API_docs_v40/constructors/auth_checkedPhone.md b/old_docs/API_docs_v40/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v40/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v40/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v40/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v40/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v40/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v40/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v40/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v40/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v40/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v40/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v40/constructors/auth_sentAppCode.md b/old_docs/API_docs_v40/constructors/auth_sentAppCode.md index 1f354541..ec13efba 100644 --- a/old_docs/API_docs_v40/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v40/constructors/auth_sentAppCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'pho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v40/constructors/auth_sentCode.md b/old_docs/API_docs_v40/constructors/auth_sentCode.md index 01834b65..2b5301e1 100644 --- a/old_docs/API_docs_v40/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v40/constructors/auth_sentCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v40/constructors/authorization.md b/old_docs/API_docs_v40/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v40/constructors/authorization.md +++ b/old_docs/API_docs_v40/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v40/constructors/botCommand.md b/old_docs/API_docs_v40/constructors/botCommand.md index 8569358d..fcb65461 100644 --- a/old_docs/API_docs_v40/constructors/botCommand.md +++ b/old_docs/API_docs_v40/constructors/botCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v40/constructors/botInfo.md b/old_docs/API_docs_v40/constructors/botInfo.md index afa0de7c..86584a29 100644 --- a/old_docs/API_docs_v40/constructors/botInfo.md +++ b/old_docs/API_docs_v40/constructors/botInfo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => 'string', 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -36,10 +36,9 @@ $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInfo={_='botInfo', user_id=int, version=int, share_text='string', description='string', commands={BotCommand}} ``` diff --git a/old_docs/API_docs_v40/constructors/botInfoEmpty.md b/old_docs/API_docs_v40/constructors/botInfoEmpty.md index df42ad4b..7afd677c 100644 --- a/old_docs/API_docs_v40/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v40/constructors/botInfoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfoEmpty = ['_' => 'botInfoEmpty']; ``` @@ -27,10 +27,9 @@ $botInfoEmpty = ['_' => 'botInfoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInfoEmpty={_='botInfoEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/channel.md b/old_docs/API_docs_v40/constructors/channel.md index 463b38f9..1df33567 100644 --- a/old_docs/API_docs_v40/constructors/channel.md +++ b/old_docs/API_docs_v40/constructors/channel.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channel = ['_' => 'channel', 'id' => int, 'access_hash' => long, 'title' => 'string', 'photo' => ChatPhoto, 'date' => int, 'version' => int]; ``` @@ -37,10 +37,9 @@ $channel = ['_' => 'channel', 'id' => int, 'access_hash' => long, 'title' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channel={_='channel', id=int, access_hash=long, title='string', photo=ChatPhoto, date=int, version=int} ``` diff --git a/old_docs/API_docs_v40/constructors/channelFull.md b/old_docs/API_docs_v40/constructors/channelFull.md index a465e22f..f1de0f16 100644 --- a/old_docs/API_docs_v40/constructors/channelFull.md +++ b/old_docs/API_docs_v40/constructors/channelFull.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelFull = ['_' => 'channelFull', 'id' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite]; ``` @@ -38,10 +38,9 @@ $channelFull = ['_' => 'channelFull', 'id' => int, 'read_inbox_max_id' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelFull={_='channelFull', id=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite} ``` diff --git a/old_docs/API_docs_v40/constructors/channelMessagesFilter.md b/old_docs/API_docs_v40/constructors/channelMessagesFilter.md index 987bc8f3..79d5b021 100644 --- a/old_docs/API_docs_v40/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v40/constructors/channelMessagesFilter.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'ranges' => [MessageRange, MessageRange]]; ``` @@ -32,10 +32,9 @@ $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'ranges' => [MessageRa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilter={_='channelMessagesFilter', ranges={MessageRange}} ``` diff --git a/old_docs/API_docs_v40/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v40/constructors/channelMessagesFilterEmpty.md index 350e50de..a446b896 100644 --- a/old_docs/API_docs_v40/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v40/constructors/channelMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/chat.md b/old_docs/API_docs_v40/constructors/chat.md index 6bfb3651..d197bfc9 100644 --- a/old_docs/API_docs_v40/constructors/chat.md +++ b/old_docs/API_docs_v40/constructors/chat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chat = ['_' => 'chat', 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int]; ``` @@ -38,10 +38,9 @@ $chat = ['_' => 'chat', 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chat={_='chat', id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, left=Bool, version=int} ``` diff --git a/old_docs/API_docs_v40/constructors/chatEmpty.md b/old_docs/API_docs_v40/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v40/constructors/chatEmpty.md +++ b/old_docs/API_docs_v40/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/chatForbidden.md b/old_docs/API_docs_v40/constructors/chatForbidden.md index ecbb3ed8..76708ada 100644 --- a/old_docs/API_docs_v40/constructors/chatForbidden.md +++ b/old_docs/API_docs_v40/constructors/chatForbidden.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string', 'date' => int]; ``` @@ -34,10 +34,9 @@ $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string', 'dat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatForbidden={_='chatForbidden', id=int, title='string', date=int} ``` diff --git a/old_docs/API_docs_v40/constructors/chatFull.md b/old_docs/API_docs_v40/constructors/chatFull.md index 6e138596..2a5f67f6 100644 --- a/old_docs/API_docs_v40/constructors/chatFull.md +++ b/old_docs/API_docs_v40/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v40/constructors/chatInvite.md b/old_docs/API_docs_v40/constructors/chatInvite.md index 40f74fba..73b6ea39 100644 --- a/old_docs/API_docs_v40/constructors/chatInvite.md +++ b/old_docs/API_docs_v40/constructors/chatInvite.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInvite = ['_' => 'chatInvite', 'title' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInvite={_='chatInvite', title='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/chatInviteAlready.md b/old_docs/API_docs_v40/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/old_docs/API_docs_v40/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v40/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/old_docs/API_docs_v40/constructors/chatInviteEmpty.md b/old_docs/API_docs_v40/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/old_docs/API_docs_v40/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v40/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/chatInviteExported.md b/old_docs/API_docs_v40/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/old_docs/API_docs_v40/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v40/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/chatParticipant.md b/old_docs/API_docs_v40/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v40/constructors/chatParticipant.md +++ b/old_docs/API_docs_v40/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v40/constructors/chatParticipants.md b/old_docs/API_docs_v40/constructors/chatParticipants.md index d4acc517..5acbb81c 100644 --- a/old_docs/API_docs_v40/constructors/chatParticipants.md +++ b/old_docs/API_docs_v40/constructors/chatParticipants.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -35,10 +35,9 @@ $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipants={_='chatParticipants', chat_id=int, admin_id=int, participants={ChatParticipant}, version=int} ``` diff --git a/old_docs/API_docs_v40/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v40/constructors/chatParticipantsForbidden.md index c3b4c007..c6bb546b 100644 --- a/old_docs/API_docs_v40/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v40/constructors/chatParticipantsForbidden.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/chatPhoto.md b/old_docs/API_docs_v40/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v40/constructors/chatPhoto.md +++ b/old_docs/API_docs_v40/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v40/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v40/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v40/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v40/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/config.md b/old_docs/API_docs_v40/constructors/config.md index 46c622a6..67fdddff 100644 --- a/old_docs/API_docs_v40/constructors/config.md +++ b/old_docs/API_docs_v40/constructors/config.md @@ -38,7 +38,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'broadcast_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -49,10 +49,9 @@ $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, broadcast_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v40/constructors/contact.md b/old_docs/API_docs_v40/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v40/constructors/contact.md +++ b/old_docs/API_docs_v40/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v40/constructors/contactBlocked.md b/old_docs/API_docs_v40/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v40/constructors/contactBlocked.md +++ b/old_docs/API_docs_v40/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v40/constructors/contactFound.md b/old_docs/API_docs_v40/constructors/contactFound.md index b7f22e4c..ecf6b905 100644 --- a/old_docs/API_docs_v40/constructors/contactFound.md +++ b/old_docs/API_docs_v40/constructors/contactFound.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactFound = ['_' => 'contactFound', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $contactFound = ['_' => 'contactFound', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactFound={_='contactFound', user_id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/contactLinkContact.md b/old_docs/API_docs_v40/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v40/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v40/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v40/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v40/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v40/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v40/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v40/constructors/contactLinkNone.md b/old_docs/API_docs_v40/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v40/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v40/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v40/constructors/contactLinkUnknown.md b/old_docs/API_docs_v40/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v40/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v40/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v40/constructors/contactStatus.md b/old_docs/API_docs_v40/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v40/constructors/contactStatus.md +++ b/old_docs/API_docs_v40/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v40/constructors/contactSuggested.md b/old_docs/API_docs_v40/constructors/contactSuggested.md index 7dc8105c..e90bf7c9 100644 --- a/old_docs/API_docs_v40/constructors/contactSuggested.md +++ b/old_docs/API_docs_v40/constructors/contactSuggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` @@ -33,10 +33,9 @@ $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int} ``` diff --git a/old_docs/API_docs_v40/constructors/contacts_blocked.md b/old_docs/API_docs_v40/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v40/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v40/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v40/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v40/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v40/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v40/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v40/constructors/contacts_contacts.md b/old_docs/API_docs_v40/constructors/contacts_contacts.md index 34dae91a..ea16b38a 100644 --- a/old_docs/API_docs_v40/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v40/constructors/contacts_contacts.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} ``` diff --git a/old_docs/API_docs_v40/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v40/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v40/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v40/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v40/constructors/contacts_found.md b/old_docs/API_docs_v40/constructors/contacts_found.md index ba0c9b31..940558ab 100644 --- a/old_docs/API_docs_v40/constructors/contacts_found.md +++ b/old_docs/API_docs_v40/constructors/contacts_found.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactFound], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactF ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={ContactFound}, users={User}} ``` diff --git a/old_docs/API_docs_v40/constructors/contacts_importedContacts.md b/old_docs/API_docs_v40/constructors/contacts_importedContacts.md index 7bf9c1bf..8b9012bb 100644 --- a/old_docs/API_docs_v40/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v40/constructors/contacts_importedContacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v40/constructors/contacts_link.md b/old_docs/API_docs_v40/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v40/constructors/contacts_link.md +++ b/old_docs/API_docs_v40/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v40/constructors/contacts_suggested.md b/old_docs/API_docs_v40/constructors/contacts_suggested.md index 553cebcb..2659d855 100644 --- a/old_docs/API_docs_v40/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v40/constructors/contacts_suggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggest ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} ``` diff --git a/old_docs/API_docs_v40/constructors/dcOption.md b/old_docs/API_docs_v40/constructors/dcOption.md index 7b27e5c3..b0be0745 100644 --- a/old_docs/API_docs_v40/constructors/dcOption.md +++ b/old_docs/API_docs_v40/constructors/dcOption.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` @@ -34,10 +34,9 @@ $dcOption = ['_' => 'dcOption', 'id' => int, 'ip_address' => 'string', 'port' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', id=int, ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v40/constructors/dialog.md b/old_docs/API_docs_v40/constructors/dialog.md index cbb327d6..539225bf 100644 --- a/old_docs/API_docs_v40/constructors/dialog.md +++ b/old_docs/API_docs_v40/constructors/dialog.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` @@ -36,10 +36,9 @@ $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_ma ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v40/constructors/dialogChannel.md b/old_docs/API_docs_v40/constructors/dialogChannel.md index 298ffa24..918b6bed 100644 --- a/old_docs/API_docs_v40/constructors/dialogChannel.md +++ b/old_docs/API_docs_v40/constructors/dialogChannel.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int]; ``` @@ -39,10 +39,9 @@ $dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialogChannel={_='dialogChannel', peer=Peer, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, notify_settings=PeerNotifySettings, pts=int} ``` diff --git a/old_docs/API_docs_v40/constructors/disabledFeature.md b/old_docs/API_docs_v40/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v40/constructors/disabledFeature.md +++ b/old_docs/API_docs_v40/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/document.md b/old_docs/API_docs_v40/constructors/document.md index 8719d873..e9547f1f 100644 --- a/old_docs/API_docs_v40/constructors/document.md +++ b/old_docs/API_docs_v40/constructors/document.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -39,10 +39,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v40/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v40/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v40/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v40/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v40/constructors/documentAttributeAudio.md b/old_docs/API_docs_v40/constructors/documentAttributeAudio.md index 8fb77965..8bf344bb 100644 --- a/old_docs/API_docs_v40/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v40/constructors/documentAttributeAudio.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => 'string', 'performer' => 'string']; ``` @@ -34,10 +34,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', duration=int, title='string', performer='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/documentAttributeFilename.md b/old_docs/API_docs_v40/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v40/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v40/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v40/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v40/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v40/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v40/constructors/documentAttributeSticker.md b/old_docs/API_docs_v40/constructors/documentAttributeSticker.md index d44d94cd..397679ef 100644 --- a/old_docs/API_docs_v40/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v40/constructors/documentAttributeSticker.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` @@ -33,10 +33,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', alt='string', stickerset=InputStickerSet} ``` diff --git a/old_docs/API_docs_v40/constructors/documentAttributeVideo.md b/old_docs/API_docs_v40/constructors/documentAttributeVideo.md index 0902c118..cc7ffced 100644 --- a/old_docs/API_docs_v40/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v40/constructors/documentAttributeVideo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -34,10 +34,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v40/constructors/documentEmpty.md b/old_docs/API_docs_v40/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v40/constructors/documentEmpty.md +++ b/old_docs/API_docs_v40/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v40/constructors/encryptedChat.md b/old_docs/API_docs_v40/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v40/constructors/encryptedChat.md +++ b/old_docs/API_docs_v40/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v40/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v40/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v40/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v40/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v40/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v40/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v40/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/encryptedChatRequested.md b/old_docs/API_docs_v40/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v40/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v40/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v40/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v40/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v40/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v40/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/encryptedFile.md b/old_docs/API_docs_v40/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v40/constructors/encryptedFile.md +++ b/old_docs/API_docs_v40/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v40/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v40/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v40/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v40/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/encryptedMessage.md b/old_docs/API_docs_v40/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v40/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v40/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v40/constructors/encryptedMessageService.md b/old_docs/API_docs_v40/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v40/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v40/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v40/constructors/error.md b/old_docs/API_docs_v40/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v40/constructors/error.md +++ b/old_docs/API_docs_v40/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/fileLocation.md b/old_docs/API_docs_v40/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v40/constructors/fileLocation.md +++ b/old_docs/API_docs_v40/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v40/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v40/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v40/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v40/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v40/constructors/geoPoint.md b/old_docs/API_docs_v40/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v40/constructors/geoPoint.md +++ b/old_docs/API_docs_v40/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v40/constructors/geoPointEmpty.md b/old_docs/API_docs_v40/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v40/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v40/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/help_appChangelog.md b/old_docs/API_docs_v40/constructors/help_appChangelog.md index 5b7b353a..d30f8acd 100644 --- a/old_docs/API_docs_v40/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v40/constructors/help_appChangelog.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelog={_='help.appChangelog', text='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v40/constructors/help_appChangelogEmpty.md index 0f0827c3..e20017b7 100644 --- a/old_docs/API_docs_v40/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v40/constructors/help_appChangelogEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` @@ -27,10 +27,9 @@ $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelogEmpty={_='help.appChangelogEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/help_appUpdate.md b/old_docs/API_docs_v40/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v40/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v40/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/help_inviteText.md b/old_docs/API_docs_v40/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v40/constructors/help_inviteText.md +++ b/old_docs/API_docs_v40/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/help_noAppUpdate.md b/old_docs/API_docs_v40/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v40/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v40/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v40/constructors/help_support.md b/old_docs/API_docs_v40/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v40/constructors/help_support.md +++ b/old_docs/API_docs_v40/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v40/constructors/importedContact.md b/old_docs/API_docs_v40/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v40/constructors/importedContact.md +++ b/old_docs/API_docs_v40/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v40/constructors/inputAppEvent.md b/old_docs/API_docs_v40/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v40/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v40/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputAudio.md b/old_docs/API_docs_v40/constructors/inputAudio.md index c428307e..ac1c82e3 100644 --- a/old_docs/API_docs_v40/constructors/inputAudio.md +++ b/old_docs/API_docs_v40/constructors/inputAudio.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudio={_='inputAudio', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v40/constructors/inputAudioEmpty.md b/old_docs/API_docs_v40/constructors/inputAudioEmpty.md index a84b3e67..b0b4e934 100644 --- a/old_docs/API_docs_v40/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputAudioEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` @@ -27,10 +27,9 @@ $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v40/constructors/inputAudioFileLocation.md index f95ad919..a2633244 100644 --- a/old_docs/API_docs_v40/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v40/constructors/inputAudioFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v40/constructors/inputChannel.md b/old_docs/API_docs_v40/constructors/inputChannel.md index 11d802c0..4e40e5ca 100644 --- a/old_docs/API_docs_v40/constructors/inputChannel.md +++ b/old_docs/API_docs_v40/constructors/inputChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannel={_='inputChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v40/constructors/inputChat.md b/old_docs/API_docs_v40/constructors/inputChat.md index da52775e..42236860 100644 --- a/old_docs/API_docs_v40/constructors/inputChat.md +++ b/old_docs/API_docs_v40/constructors/inputChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChat = ['_' => 'inputChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputChat = ['_' => 'inputChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChat={_='inputChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/inputChatEmpty.md b/old_docs/API_docs_v40/constructors/inputChatEmpty.md index 6d00b895..4c7f4db4 100644 --- a/old_docs/API_docs_v40/constructors/inputChatEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputChatEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatEmpty = ['_' => 'inputChatEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatEmpty = ['_' => 'inputChatEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatEmpty={_='inputChatEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputChatPhoto.md b/old_docs/API_docs_v40/constructors/inputChatPhoto.md index 5affda9a..7ad8a3f7 100644 --- a/old_docs/API_docs_v40/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v40/constructors/inputChatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputP ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v40/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v40/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v40/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v40/constructors/inputChatUploadedPhoto.md index a22405b2..ed0624da 100644 --- a/old_docs/API_docs_v40/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v40/constructors/inputChatUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v40/constructors/inputDocument.md b/old_docs/API_docs_v40/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v40/constructors/inputDocument.md +++ b/old_docs/API_docs_v40/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v40/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v40/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v40/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v40/constructors/inputDocumentFileLocation.md index 2ba7d2b3..5d593784 100644 --- a/old_docs/API_docs_v40/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v40/constructors/inputDocumentFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v40/constructors/inputEncryptedChat.md b/old_docs/API_docs_v40/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v40/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v40/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v40/constructors/inputEncryptedFile.md b/old_docs/API_docs_v40/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v40/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v40/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v40/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v40/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v40/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v40/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v40/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v40/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v40/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v40/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v40/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v40/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v40/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v40/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v40/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v40/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v40/constructors/inputFile.md b/old_docs/API_docs_v40/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v40/constructors/inputFile.md +++ b/old_docs/API_docs_v40/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputFileBig.md b/old_docs/API_docs_v40/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v40/constructors/inputFileBig.md +++ b/old_docs/API_docs_v40/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputFileLocation.md b/old_docs/API_docs_v40/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v40/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v40/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v40/constructors/inputGeoPoint.md b/old_docs/API_docs_v40/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v40/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v40/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v40/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v40/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v40/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMediaAudio.md b/old_docs/API_docs_v40/constructors/inputMediaAudio.md index 6ebbe6ec..6c166ec0 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v40/constructors/inputMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` @@ -32,10 +32,9 @@ $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaAudio={_='inputMediaAudio', id=InputAudio} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMediaContact.md b/old_docs/API_docs_v40/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v40/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMediaDocument.md b/old_docs/API_docs_v40/constructors/inputMediaDocument.md index f652113b..f671c3e5 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v40/constructors/inputMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` @@ -32,10 +32,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMediaEmpty.md b/old_docs/API_docs_v40/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v40/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v40/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMediaPhoto.md b/old_docs/API_docs_v40/constructors/inputMediaPhoto.md index 0be7f6fe..71f4ded5 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v40/constructors/inputMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v40/constructors/inputMediaUploadedAudio.md index 4eb4cb85..73fcb4f8 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v40/constructors/inputMediaUploadedAudio.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v40/constructors/inputMediaUploadedDocument.md index 06758275..e89ad515 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v40/constructors/inputMediaUploadedDocument.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v40/constructors/inputMediaUploadedPhoto.md index 499857ce..ad2a8680 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v40/constructors/inputMediaUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v40/constructors/inputMediaUploadedThumbDocument.md index eea9edcd..b98b9004 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v40/constructors/inputMediaUploadedThumbDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -35,10 +35,9 @@ $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v40/constructors/inputMediaUploadedThumbVideo.md index 0a4afc86..e9d00c6e 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v40/constructors/inputMediaUploadedThumbVideo.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` @@ -38,10 +38,9 @@ $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type='string', caption='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v40/constructors/inputMediaUploadedVideo.md index 2409751b..b3984571 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v40/constructors/inputMediaUploadedVideo.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` @@ -37,10 +37,9 @@ $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type='string', caption='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMediaVenue.md b/old_docs/API_docs_v40/constructors/inputMediaVenue.md index 3e7ee3a1..b2171fbc 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v40/constructors/inputMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMediaVideo.md b/old_docs/API_docs_v40/constructors/inputMediaVideo.md index 05af7adb..b16b97d5 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v40/constructors/inputMediaVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVideo={_='inputMediaVideo', id=InputVideo, caption='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterAudio.md index 066b1642..79c822fc 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterAudio.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterAudioDocuments.md index 7badd17c..a8963d46 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterAudioDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputNotifyAll.md b/old_docs/API_docs_v40/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v40/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v40/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputNotifyChats.md b/old_docs/API_docs_v40/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v40/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v40/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputNotifyPeer.md b/old_docs/API_docs_v40/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v40/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v40/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v40/constructors/inputNotifyUsers.md b/old_docs/API_docs_v40/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v40/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v40/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPeerChannel.md b/old_docs/API_docs_v40/constructors/inputPeerChannel.md index 8b84fe20..14c2f105 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v40/constructors/inputPeerChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPeerChat.md b/old_docs/API_docs_v40/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v40/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPeerEmpty.md b/old_docs/API_docs_v40/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v40/constructors/inputPeerNotifySettings.md index ce1896bb..a600e880 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v40/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPeerSelf.md b/old_docs/API_docs_v40/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v40/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPeerUser.md b/old_docs/API_docs_v40/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v40/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPhoneContact.md b/old_docs/API_docs_v40/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v40/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v40/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPhoto.md b/old_docs/API_docs_v40/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v40/constructors/inputPhoto.md +++ b/old_docs/API_docs_v40/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPhotoCrop.md b/old_docs/API_docs_v40/constructors/inputPhotoCrop.md index b35bf42f..e90029a9 100644 --- a/old_docs/API_docs_v40/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v40/constructors/inputPhotoCrop.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` @@ -34,10 +34,9 @@ $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v40/constructors/inputPhotoCropAuto.md index 6c2f121d..37414b14 100644 --- a/old_docs/API_docs_v40/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v40/constructors/inputPhotoCropAuto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` @@ -27,10 +27,9 @@ $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v40/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v40/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v40/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v40/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v40/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v40/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v40/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/old_docs/API_docs_v40/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputStickerSetID.md b/old_docs/API_docs_v40/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/old_docs/API_docs_v40/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v40/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v40/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v40/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/old_docs/API_docs_v40/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v40/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputUser.md b/old_docs/API_docs_v40/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/old_docs/API_docs_v40/constructors/inputUser.md +++ b/old_docs/API_docs_v40/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v40/constructors/inputUserEmpty.md b/old_docs/API_docs_v40/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v40/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputUserSelf.md b/old_docs/API_docs_v40/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v40/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v40/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputVideo.md b/old_docs/API_docs_v40/constructors/inputVideo.md index 4ea87c56..b3874cd7 100644 --- a/old_docs/API_docs_v40/constructors/inputVideo.md +++ b/old_docs/API_docs_v40/constructors/inputVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideo={_='inputVideo', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v40/constructors/inputVideoEmpty.md b/old_docs/API_docs_v40/constructors/inputVideoEmpty.md index b69984f7..5322ed90 100644 --- a/old_docs/API_docs_v40/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputVideoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` @@ -27,10 +27,9 @@ $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v40/constructors/inputVideoFileLocation.md index 2692222e..d9a3f678 100644 --- a/old_docs/API_docs_v40/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v40/constructors/inputVideoFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v40/constructors/keyboardButton.md b/old_docs/API_docs_v40/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/old_docs/API_docs_v40/constructors/keyboardButton.md +++ b/old_docs/API_docs_v40/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/keyboardButtonRow.md b/old_docs/API_docs_v40/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/old_docs/API_docs_v40/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v40/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/old_docs/API_docs_v40/constructors/message.md b/old_docs/API_docs_v40/constructors/message.md index 075ebfdd..d30df53e 100644 --- a/old_docs/API_docs_v40/constructors/message.md +++ b/old_docs/API_docs_v40/constructors/message.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -42,10 +42,9 @@ $message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', id=int, from_id=int, to_id=Peer, fwd_from_id=int, fwd_date=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v40/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v40/constructors/messageActionChannelCreate.md index b1750d73..2600ab63 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v40/constructors/messageActionChannelCreate.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v40/constructors/messageActionChatAddUser.md index 1ea1d425..4decc491 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v40/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', user_id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/messageActionChatCreate.md b/old_docs/API_docs_v40/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v40/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v40/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v40/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v40/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v40/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v40/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v40/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v40/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v40/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v40/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v40/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v40/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v40/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v40/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/messageActionEmpty.md b/old_docs/API_docs_v40/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v40/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v40/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/messageEmpty.md b/old_docs/API_docs_v40/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v40/constructors/messageEmpty.md +++ b/old_docs/API_docs_v40/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/messageEntityBold.md b/old_docs/API_docs_v40/constructors/messageEntityBold.md index 950699fb..90f74ad5 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v40/constructors/messageEntityBold.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v40/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v40/constructors/messageEntityBotCommand.md index 8be471d3..9fb8f6a6 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v40/constructors/messageEntityBotCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v40/constructors/messageEntityCode.md b/old_docs/API_docs_v40/constructors/messageEntityCode.md index 7c701844..d236e57e 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v40/constructors/messageEntityCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v40/constructors/messageEntityEmail.md b/old_docs/API_docs_v40/constructors/messageEntityEmail.md index 35a968c7..74e910f3 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v40/constructors/messageEntityEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v40/constructors/messageEntityHashtag.md b/old_docs/API_docs_v40/constructors/messageEntityHashtag.md index 6b124e73..77e29387 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v40/constructors/messageEntityHashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v40/constructors/messageEntityItalic.md b/old_docs/API_docs_v40/constructors/messageEntityItalic.md index 25f73428..5975bae2 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v40/constructors/messageEntityItalic.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v40/constructors/messageEntityMention.md b/old_docs/API_docs_v40/constructors/messageEntityMention.md index 9eb4d266..1a21cb10 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v40/constructors/messageEntityMention.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v40/constructors/messageEntityPre.md b/old_docs/API_docs_v40/constructors/messageEntityPre.md index abfc9136..13b165fe 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v40/constructors/messageEntityPre.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPre={_='messageEntityPre', offset=int, length=int, language='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v40/constructors/messageEntityTextUrl.md index 91f6d36c..b6d82843 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v40/constructors/messageEntityTextUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/messageEntityUnknown.md b/old_docs/API_docs_v40/constructors/messageEntityUnknown.md index 69ca8a1b..4c434fd7 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v40/constructors/messageEntityUnknown.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v40/constructors/messageEntityUrl.md b/old_docs/API_docs_v40/constructors/messageEntityUrl.md index 377c3dda..2cf334a5 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v40/constructors/messageEntityUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v40/constructors/messageGroup.md b/old_docs/API_docs_v40/constructors/messageGroup.md index 31de6cb4..ee695490 100644 --- a/old_docs/API_docs_v40/constructors/messageGroup.md +++ b/old_docs/API_docs_v40/constructors/messageGroup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int]; ``` @@ -35,10 +35,9 @@ $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageGroup={_='messageGroup', min_id=int, max_id=int, count=int, date=int} ``` diff --git a/old_docs/API_docs_v40/constructors/messageMediaAudio.md b/old_docs/API_docs_v40/constructors/messageMediaAudio.md index c2970836..4f350752 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v40/constructors/messageMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` @@ -32,10 +32,9 @@ $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaAudio={_='messageMediaAudio', audio=Audio} ``` diff --git a/old_docs/API_docs_v40/constructors/messageMediaContact.md b/old_docs/API_docs_v40/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v40/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/messageMediaDocument.md b/old_docs/API_docs_v40/constructors/messageMediaDocument.md index c0a7272c..c08a097b 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v40/constructors/messageMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` @@ -32,10 +32,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document} ``` diff --git a/old_docs/API_docs_v40/constructors/messageMediaEmpty.md b/old_docs/API_docs_v40/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v40/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/messageMediaGeo.md b/old_docs/API_docs_v40/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v40/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v40/constructors/messageMediaPhoto.md b/old_docs/API_docs_v40/constructors/messageMediaPhoto.md index 47579066..7350efce 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v40/constructors/messageMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v40/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v40/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v40/constructors/messageMediaVenue.md b/old_docs/API_docs_v40/constructors/messageMediaVenue.md index 2db2d25d..2ef2b27f 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v40/constructors/messageMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/messageMediaVideo.md b/old_docs/API_docs_v40/constructors/messageMediaVideo.md index 444b12eb..694f6928 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v40/constructors/messageMediaVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVideo={_='messageMediaVideo', video=Video, caption='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/messageMediaWebPage.md b/old_docs/API_docs_v40/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v40/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v40/constructors/messageRange.md b/old_docs/API_docs_v40/constructors/messageRange.md index 40c3f81a..527e8646 100644 --- a/old_docs/API_docs_v40/constructors/messageRange.md +++ b/old_docs/API_docs_v40/constructors/messageRange.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageRange={_='messageRange', min_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/messageService.md b/old_docs/API_docs_v40/constructors/messageService.md index 69a71232..5cf8eaab 100644 --- a/old_docs/API_docs_v40/constructors/messageService.md +++ b/old_docs/API_docs_v40/constructors/messageService.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` @@ -36,10 +36,9 @@ $messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', id=int, from_id=int, to_id=Peer, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v40/constructors/messages_affectedHistory.md b/old_docs/API_docs_v40/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v40/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v40/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v40/constructors/messages_affectedMessages.md b/old_docs/API_docs_v40/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v40/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v40/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v40/constructors/messages_allStickers.md b/old_docs/API_docs_v40/constructors/messages_allStickers.md index e933488f..06237df7 100644 --- a/old_docs/API_docs_v40/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v40/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'set ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash='string', sets={StickerSet}} ``` diff --git a/old_docs/API_docs_v40/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v40/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v40/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v40/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v40/constructors/messages_channelMessages.md b/old_docs/API_docs_v40/constructors/messages_channelMessages.md index 8948bf1d..eadc5001 100644 --- a/old_docs/API_docs_v40/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v40/constructors/messages_channelMessages.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -37,10 +37,9 @@ $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'c ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v40/constructors/messages_chatFull.md b/old_docs/API_docs_v40/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v40/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v40/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v40/constructors/messages_chats.md b/old_docs/API_docs_v40/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v40/constructors/messages_chats.md +++ b/old_docs/API_docs_v40/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v40/constructors/messages_dhConfig.md b/old_docs/API_docs_v40/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v40/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v40/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v40/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v40/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v40/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v40/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v40/constructors/messages_dialogs.md b/old_docs/API_docs_v40/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v40/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v40/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v40/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v40/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v40/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v40/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v40/constructors/messages_messages.md b/old_docs/API_docs_v40/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v40/constructors/messages_messages.md +++ b/old_docs/API_docs_v40/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v40/constructors/messages_messagesSlice.md b/old_docs/API_docs_v40/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v40/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v40/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v40/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v40/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v40/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v40/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v40/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v40/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v40/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v40/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v40/constructors/messages_stickerSet.md b/old_docs/API_docs_v40/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/old_docs/API_docs_v40/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v40/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v40/constructors/messages_stickers.md b/old_docs/API_docs_v40/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v40/constructors/messages_stickers.md +++ b/old_docs/API_docs_v40/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v40/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v40/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v40/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v40/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v40/constructors/nearestDc.md b/old_docs/API_docs_v40/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v40/constructors/nearestDc.md +++ b/old_docs/API_docs_v40/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v40/constructors/notifyAll.md b/old_docs/API_docs_v40/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v40/constructors/notifyAll.md +++ b/old_docs/API_docs_v40/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v40/constructors/notifyChats.md b/old_docs/API_docs_v40/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v40/constructors/notifyChats.md +++ b/old_docs/API_docs_v40/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v40/constructors/notifyPeer.md b/old_docs/API_docs_v40/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v40/constructors/notifyPeer.md +++ b/old_docs/API_docs_v40/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v40/constructors/notifyUsers.md b/old_docs/API_docs_v40/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v40/constructors/notifyUsers.md +++ b/old_docs/API_docs_v40/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v40/constructors/peerChannel.md b/old_docs/API_docs_v40/constructors/peerChannel.md index f30e3f41..360d5c42 100644 --- a/old_docs/API_docs_v40/constructors/peerChannel.md +++ b/old_docs/API_docs_v40/constructors/peerChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/peerChat.md b/old_docs/API_docs_v40/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v40/constructors/peerChat.md +++ b/old_docs/API_docs_v40/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v40/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v40/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v40/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v40/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v40/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v40/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v40/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/peerNotifySettings.md b/old_docs/API_docs_v40/constructors/peerNotifySettings.md index 513132f4..12c5bbb9 100644 --- a/old_docs/API_docs_v40/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v40/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v40/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v40/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v40/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v40/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/peerUser.md b/old_docs/API_docs_v40/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v40/constructors/peerUser.md +++ b/old_docs/API_docs_v40/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/photo.md b/old_docs/API_docs_v40/constructors/photo.md index 7055e7a9..982122b9 100644 --- a/old_docs/API_docs_v40/constructors/photo.md +++ b/old_docs/API_docs_v40/constructors/photo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -35,10 +35,9 @@ $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v40/constructors/photoCachedSize.md b/old_docs/API_docs_v40/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v40/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v40/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v40/constructors/photoEmpty.md b/old_docs/API_docs_v40/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v40/constructors/photoEmpty.md +++ b/old_docs/API_docs_v40/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v40/constructors/photoSize.md b/old_docs/API_docs_v40/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v40/constructors/photoSize.md +++ b/old_docs/API_docs_v40/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v40/constructors/photoSizeEmpty.md b/old_docs/API_docs_v40/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v40/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v40/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/photos_photo.md b/old_docs/API_docs_v40/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v40/constructors/photos_photo.md +++ b/old_docs/API_docs_v40/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v40/constructors/photos_photos.md b/old_docs/API_docs_v40/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v40/constructors/photos_photos.md +++ b/old_docs/API_docs_v40/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v40/constructors/photos_photosSlice.md b/old_docs/API_docs_v40/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v40/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v40/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v40/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v40/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v40/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v40/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v40/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v40/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v40/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v40/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v40/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v40/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v40/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v40/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v40/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v40/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v40/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v40/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v40/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v40/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v40/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v40/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v40/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v40/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v40/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v40/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v40/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v40/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v40/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v40/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v40/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v40/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/old_docs/API_docs_v40/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v40/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v40/constructors/replyKeyboardForceReply.md index 19016e59..2e2bdaed 100644 --- a/old_docs/API_docs_v40/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v40/constructors/replyKeyboardForceReply.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply']; ``` @@ -31,10 +31,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply'} ``` diff --git a/old_docs/API_docs_v40/constructors/replyKeyboardHide.md b/old_docs/API_docs_v40/constructors/replyKeyboardHide.md index 56aab4c7..c4619d2d 100644 --- a/old_docs/API_docs_v40/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v40/constructors/replyKeyboardHide.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide']; ``` @@ -31,10 +31,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide'} ``` diff --git a/old_docs/API_docs_v40/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v40/constructors/replyKeyboardMarkup.md index a9c0222a..61e6dd9b 100644 --- a/old_docs/API_docs_v40/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v40/constructors/replyKeyboardMarkup.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -32,10 +32,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'rows' => [KeyboardButtonR ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v40/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v40/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v40/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v40/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v40/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v40/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v40/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v40/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v40/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v40/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v40/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v40/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v40/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v40/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/old_docs/API_docs_v40/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v40/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/old_docs/API_docs_v40/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v40/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/old_docs/API_docs_v40/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v40/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/old_docs/API_docs_v40/constructors/stickerPack.md b/old_docs/API_docs_v40/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v40/constructors/stickerPack.md +++ b/old_docs/API_docs_v40/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v40/constructors/stickerSet.md b/old_docs/API_docs_v40/constructors/stickerSet.md index dd97d4be..1875e0bb 100644 --- a/old_docs/API_docs_v40/constructors/stickerSet.md +++ b/old_docs/API_docs_v40/constructors/stickerSet.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -37,10 +37,9 @@ $stickerSet = ['_' => 'stickerSet', 'id' => long, 'access_hash' => long, 'title' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/old_docs/API_docs_v40/constructors/storage_fileGif.md b/old_docs/API_docs_v40/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v40/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v40/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v40/constructors/storage_fileJpeg.md b/old_docs/API_docs_v40/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v40/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v40/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v40/constructors/storage_fileMov.md b/old_docs/API_docs_v40/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v40/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v40/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v40/constructors/storage_fileMp3.md b/old_docs/API_docs_v40/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v40/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v40/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v40/constructors/storage_fileMp4.md b/old_docs/API_docs_v40/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v40/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v40/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v40/constructors/storage_filePartial.md b/old_docs/API_docs_v40/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v40/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v40/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v40/constructors/storage_filePdf.md b/old_docs/API_docs_v40/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v40/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v40/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v40/constructors/storage_filePng.md b/old_docs/API_docs_v40/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v40/constructors/storage_filePng.md +++ b/old_docs/API_docs_v40/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v40/constructors/storage_fileUnknown.md b/old_docs/API_docs_v40/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v40/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v40/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v40/constructors/storage_fileWebp.md b/old_docs/API_docs_v40/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v40/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v40/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v40/constructors/updateChannelTooLong.md b/old_docs/API_docs_v40/constructors/updateChannelTooLong.md index c4366f91..5665f1a4 100644 --- a/old_docs/API_docs_v40/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v40/constructors/updateChannelTooLong.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelTooLong={_='updateChannelTooLong', channel_id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v40/constructors/updateChatParticipantAdd.md index 8259bb9c..77d1fda5 100644 --- a/old_docs/API_docs_v40/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v40/constructors/updateChatParticipantAdd.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, version=int} ``` diff --git a/old_docs/API_docs_v40/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v40/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v40/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v40/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v40/constructors/updateChatParticipants.md b/old_docs/API_docs_v40/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v40/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v40/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v40/constructors/updateChatUserTyping.md b/old_docs/API_docs_v40/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v40/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v40/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v40/constructors/updateContactLink.md b/old_docs/API_docs_v40/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v40/constructors/updateContactLink.md +++ b/old_docs/API_docs_v40/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v40/constructors/updateContactRegistered.md b/old_docs/API_docs_v40/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v40/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v40/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v40/constructors/updateDcOptions.md b/old_docs/API_docs_v40/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v40/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v40/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v40/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v40/constructors/updateDeleteChannelMessages.md index a77a143b..81371f45 100644 --- a/old_docs/API_docs_v40/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v40/constructors/updateDeleteChannelMessages.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'peer' => Peer, 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'peer' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteChannelMessages={_='updateDeleteChannelMessages', peer=Peer, messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v40/constructors/updateDeleteMessages.md b/old_docs/API_docs_v40/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v40/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v40/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v40/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v40/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v40/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v40/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v40/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v40/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v40/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v40/constructors/updateEncryption.md b/old_docs/API_docs_v40/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v40/constructors/updateEncryption.md +++ b/old_docs/API_docs_v40/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v40/constructors/updateMessageID.md b/old_docs/API_docs_v40/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v40/constructors/updateMessageID.md +++ b/old_docs/API_docs_v40/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/updateNewAuthorization.md b/old_docs/API_docs_v40/constructors/updateNewAuthorization.md index c7a95f80..ce1d0815 100644 --- a/old_docs/API_docs_v40/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v40/constructors/updateNewAuthorization.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` @@ -35,10 +35,9 @@ $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device='string', location='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v40/constructors/updateNewChannelMessage.md index 59dbc820..9fa1c7ec 100644 --- a/old_docs/API_docs_v40/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v40/constructors/updateNewChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Messa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v40/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v40/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v40/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v40/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v40/constructors/updateNewMessage.md b/old_docs/API_docs_v40/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v40/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v40/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v40/constructors/updateNotifySettings.md b/old_docs/API_docs_v40/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v40/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v40/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v40/constructors/updatePrivacy.md b/old_docs/API_docs_v40/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v40/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v40/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v40/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v40/constructors/updateReadChannelInbox.md index 37100ec2..c4434373 100644 --- a/old_docs/API_docs_v40/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v40/constructors/updateReadChannelInbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'peer' => Peer, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelInbox={_='updateReadChannelInbox', peer=Peer, max_id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v40/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v40/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v40/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v40/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v40/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v40/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v40/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v40/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v40/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/old_docs/API_docs_v40/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v40/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v40/constructors/updateServiceNotification.md b/old_docs/API_docs_v40/constructors/updateServiceNotification.md index 979fe7bd..ddcf7eb5 100644 --- a/old_docs/API_docs_v40/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v40/constructors/updateServiceNotification.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` @@ -35,10 +35,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'str ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', type='string', message='string', media=MessageMedia, popup=Bool} ``` diff --git a/old_docs/API_docs_v40/constructors/updateShort.md b/old_docs/API_docs_v40/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v40/constructors/updateShort.md +++ b/old_docs/API_docs_v40/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v40/constructors/updateShortChatMessage.md b/old_docs/API_docs_v40/constructors/updateShortChatMessage.md index f9a7b1fd..915b5bf3 100644 --- a/old_docs/API_docs_v40/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v40/constructors/updateShortChatMessage.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -42,10 +42,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from_id=int, fwd_date=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v40/constructors/updateShortMessage.md b/old_docs/API_docs_v40/constructors/updateShortMessage.md index 6dfc01f4..91f606af 100644 --- a/old_docs/API_docs_v40/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v40/constructors/updateShortMessage.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -41,10 +41,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'user_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from_id=int, fwd_date=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v40/constructors/updateShortSentMessage.md b/old_docs/API_docs_v40/constructors/updateShortSentMessage.md index 8304e3e2..2ea6963b 100644 --- a/old_docs/API_docs_v40/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v40/constructors/updateShortSentMessage.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -37,10 +37,9 @@ $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'id' => int, 'pts' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortSentMessage={_='updateShortSentMessage', id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v40/constructors/updateUserBlocked.md b/old_docs/API_docs_v40/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v40/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v40/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v40/constructors/updateUserName.md b/old_docs/API_docs_v40/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v40/constructors/updateUserName.md +++ b/old_docs/API_docs_v40/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/updateUserPhone.md b/old_docs/API_docs_v40/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v40/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v40/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v40/constructors/updateUserPhoto.md b/old_docs/API_docs_v40/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v40/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v40/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v40/constructors/updateUserStatus.md b/old_docs/API_docs_v40/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v40/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v40/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v40/constructors/updateUserTyping.md b/old_docs/API_docs_v40/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v40/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v40/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v40/constructors/updateWebPage.md b/old_docs/API_docs_v40/constructors/updateWebPage.md index f44983bd..bdc26e81 100644 --- a/old_docs/API_docs_v40/constructors/updateWebPage.md +++ b/old_docs/API_docs_v40/constructors/updateWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v40/constructors/updates.md b/old_docs/API_docs_v40/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v40/constructors/updates.md +++ b/old_docs/API_docs_v40/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v40/constructors/updatesCombined.md b/old_docs/API_docs_v40/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v40/constructors/updatesCombined.md +++ b/old_docs/API_docs_v40/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v40/constructors/updatesTooLong.md b/old_docs/API_docs_v40/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v40/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v40/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v40/constructors/updates_channelDifference.md b/old_docs/API_docs_v40/constructors/updates_channelDifference.md index ded3ed02..7a961f1d 100644 --- a/old_docs/API_docs_v40/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v40/constructors/updates_channelDifference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifference = ['_' => 'updates.channelDifference', 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -37,10 +37,9 @@ $updates_channelDifference = ['_' => 'updates.channelDifference', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifference={_='updates.channelDifference', pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v40/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v40/constructors/updates_channelDifferenceEmpty.md index 6c31e816..e8645cd8 100644 --- a/old_docs/API_docs_v40/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v40/constructors/updates_channelDifferenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'pts' => int, 'timeout' => int]; ``` @@ -33,10 +33,9 @@ $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'pts ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', pts=int, timeout=int} ``` diff --git a/old_docs/API_docs_v40/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v40/constructors/updates_channelDifferenceTooLong.md index c7339772..0fa4a6ed 100644 --- a/old_docs/API_docs_v40/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v40/constructors/updates_channelDifferenceTooLong.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -41,10 +41,9 @@ $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v40/constructors/updates_difference.md b/old_docs/API_docs_v40/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v40/constructors/updates_difference.md +++ b/old_docs/API_docs_v40/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v40/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v40/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v40/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v40/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v40/constructors/updates_differenceSlice.md b/old_docs/API_docs_v40/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v40/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v40/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v40/constructors/updates_state.md b/old_docs/API_docs_v40/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v40/constructors/updates_state.md +++ b/old_docs/API_docs_v40/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v40/constructors/upload_file.md b/old_docs/API_docs_v40/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v40/constructors/upload_file.md +++ b/old_docs/API_docs_v40/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v40/constructors/user.md b/old_docs/API_docs_v40/constructors/user.md index ea934b96..b7913d14 100644 --- a/old_docs/API_docs_v40/constructors/user.md +++ b/old_docs/API_docs_v40/constructors/user.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int]; ``` @@ -40,10 +40,9 @@ $user = ['_' => 'user', 'id' => int, 'access_hash' => long, 'first_name' => 'str ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int} ``` diff --git a/old_docs/API_docs_v40/constructors/userEmpty.md b/old_docs/API_docs_v40/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v40/constructors/userEmpty.md +++ b/old_docs/API_docs_v40/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v40/constructors/userFull.md b/old_docs/API_docs_v40/constructors/userFull.md index dff5cfa2..9b32a434 100644 --- a/old_docs/API_docs_v40/constructors/userFull.md +++ b/old_docs/API_docs_v40/constructors/userFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` @@ -37,10 +37,9 @@ $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v40/constructors/userProfilePhoto.md b/old_docs/API_docs_v40/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v40/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v40/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v40/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v40/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v40/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v40/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/userStatusEmpty.md b/old_docs/API_docs_v40/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v40/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v40/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v40/constructors/userStatusLastMonth.md b/old_docs/API_docs_v40/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v40/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v40/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v40/constructors/userStatusLastWeek.md b/old_docs/API_docs_v40/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v40/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v40/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v40/constructors/userStatusOffline.md b/old_docs/API_docs_v40/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v40/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v40/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v40/constructors/userStatusOnline.md b/old_docs/API_docs_v40/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v40/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v40/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v40/constructors/userStatusRecently.md b/old_docs/API_docs_v40/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v40/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v40/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v40/constructors/vector.md b/old_docs/API_docs_v40/constructors/vector.md index c9e27763..d8ea6f1f 100644 --- a/old_docs/API_docs_v40/constructors/vector.md +++ b/old_docs/API_docs_v40/constructors/vector.md @@ -18,7 +18,7 @@ Array ### Example: -``` +```php $vector = ['_' => 'vector']; ``` @@ -29,10 +29,9 @@ $vector = ['_' => 'vector']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua vector={_='vector'} ``` diff --git a/old_docs/API_docs_v40/constructors/video.md b/old_docs/API_docs_v40/constructors/video.md index 58154db2..a0ab3175 100644 --- a/old_docs/API_docs_v40/constructors/video.md +++ b/old_docs/API_docs_v40/constructors/video.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int]; ``` @@ -41,10 +41,9 @@ $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua video={_='video', id=long, access_hash=long, date=int, duration=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v40/constructors/videoEmpty.md b/old_docs/API_docs_v40/constructors/videoEmpty.md index 8509fcf9..a41ca8ab 100644 --- a/old_docs/API_docs_v40/constructors/videoEmpty.md +++ b/old_docs/API_docs_v40/constructors/videoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua videoEmpty={_='videoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v40/constructors/wallPaper.md b/old_docs/API_docs_v40/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v40/constructors/wallPaper.md +++ b/old_docs/API_docs_v40/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v40/constructors/wallPaperSolid.md b/old_docs/API_docs_v40/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v40/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v40/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v40/constructors/webPage.md b/old_docs/API_docs_v40/constructors/webPage.md index 1023918f..fe5271f3 100644 --- a/old_docs/API_docs_v40/constructors/webPage.md +++ b/old_docs/API_docs_v40/constructors/webPage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document]; ``` @@ -46,10 +46,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document} ``` diff --git a/old_docs/API_docs_v40/constructors/webPageEmpty.md b/old_docs/API_docs_v40/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v40/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v40/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v40/constructors/webPagePending.md b/old_docs/API_docs_v40/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v40/constructors/webPagePending.md +++ b/old_docs/API_docs_v40/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v40/methods/account_changePhone.md b/old_docs/API_docs_v40/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v40/methods/account_changePhone.md +++ b/old_docs/API_docs_v40/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/account_checkUsername.md b/old_docs/API_docs_v40/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v40/methods/account_checkUsername.md +++ b/old_docs/API_docs_v40/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/account_deleteAccount.md b/old_docs/API_docs_v40/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v40/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v40/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/account_getAccountTTL.md b/old_docs/API_docs_v40/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v40/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v40/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v40/methods/account_getAuthorizations.md b/old_docs/API_docs_v40/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v40/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v40/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v40/methods/account_getNotifySettings.md b/old_docs/API_docs_v40/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v40/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v40/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v40/methods/account_getPassword.md b/old_docs/API_docs_v40/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v40/methods/account_getPassword.md +++ b/old_docs/API_docs_v40/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v40/methods/account_getPasswordSettings.md b/old_docs/API_docs_v40/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v40/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v40/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v40/methods/account_getPrivacy.md b/old_docs/API_docs_v40/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v40/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v40/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v40/methods/account_getWallPapers.md b/old_docs/API_docs_v40/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v40/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v40/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v40/methods/account_registerDevice.md b/old_docs/API_docs_v40/methods/account_registerDevice.md index bd2b5649..3192933d 100644 --- a/old_docs/API_docs_v40/methods/account_registerDevice.md +++ b/old_docs/API_docs_v40/methods/account_registerDevice.md @@ -30,7 +30,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', device_model='string', system_version='string', app_version='string', app_sandbox=Bool, lang_code='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/account_resetAuthorization.md b/old_docs/API_docs_v40/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v40/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v40/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v40/methods/account_resetNotifySettings.md b/old_docs/API_docs_v40/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v40/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v40/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md index 2fcdcc4c..12ea92c5 100644 --- a/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md @@ -24,7 +24,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/account_setAccountTTL.md b/old_docs/API_docs_v40/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v40/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v40/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v40/methods/account_setPrivacy.md b/old_docs/API_docs_v40/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v40/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v40/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v40/methods/account_unregisterDevice.md b/old_docs/API_docs_v40/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v40/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v40/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v40/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v40/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v40/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v40/methods/account_updateNotifySettings.md b/old_docs/API_docs_v40/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v40/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v40/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v40/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v40/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v40/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v40/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v40/methods/account_updateProfile.md b/old_docs/API_docs_v40/methods/account_updateProfile.md index 541086a6..5034a6da 100644 --- a/old_docs/API_docs_v40/methods/account_updateProfile.md +++ b/old_docs/API_docs_v40/methods/account_updateProfile.md @@ -25,7 +25,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ last_name - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/account_updateStatus.md b/old_docs/API_docs_v40/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v40/methods/account_updateStatus.md +++ b/old_docs/API_docs_v40/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v40/methods/account_updateUsername.md b/old_docs/API_docs_v40/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v40/methods/account_updateUsername.md +++ b/old_docs/API_docs_v40/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/auth_checkPhone.md b/old_docs/API_docs_v40/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v40/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v40/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/auth_recoverPassword.md b/old_docs/API_docs_v40/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v40/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v40/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v40/methods/auth_sendCall.md b/old_docs/API_docs_v40/methods/auth_sendCall.md index 70a2870f..e8260454 100644 --- a/old_docs/API_docs_v40/methods/auth_sendCall.md +++ b/old_docs/API_docs_v40/methods/auth_sendCall.md @@ -25,7 +25,7 @@ Send verification phone call ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/auth_sendInvites.md b/old_docs/API_docs_v40/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v40/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v40/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/auth_sendSms.md b/old_docs/API_docs_v40/methods/auth_sendSms.md index 6c31f570..050926ff 100644 --- a/old_docs/API_docs_v40/methods/auth_sendSms.md +++ b/old_docs/API_docs_v40/methods/auth_sendSms.md @@ -25,7 +25,7 @@ Send SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/contacts_block.md b/old_docs/API_docs_v40/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v40/methods/contacts_block.md +++ b/old_docs/API_docs_v40/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v40/methods/contacts_deleteContact.md b/old_docs/API_docs_v40/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v40/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v40/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v40/methods/contacts_deleteContacts.md b/old_docs/API_docs_v40/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v40/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v40/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v40/methods/contacts_exportCard.md b/old_docs/API_docs_v40/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v40/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v40/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v40/methods/contacts_getBlocked.md b/old_docs/API_docs_v40/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v40/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v40/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v40/methods/contacts_getContacts.md b/old_docs/API_docs_v40/methods/contacts_getContacts.md index ccf0f99d..dfa407f2 100644 --- a/old_docs/API_docs_v40/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v40/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/contacts_getStatuses.md b/old_docs/API_docs_v40/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v40/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v40/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v40/methods/contacts_getSuggested.md b/old_docs/API_docs_v40/methods/contacts_getSuggested.md index d7feb718..8183eae4 100644 --- a/old_docs/API_docs_v40/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v40/methods/contacts_getSuggested.md @@ -24,7 +24,7 @@ Get suggested contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v40/methods/contacts_importCard.md b/old_docs/API_docs_v40/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v40/methods/contacts_importCard.md +++ b/old_docs/API_docs_v40/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v40/methods/contacts_importContacts.md b/old_docs/API_docs_v40/methods/contacts_importContacts.md index d0404dd2..f1b17e2c 100644 --- a/old_docs/API_docs_v40/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v40/methods/contacts_importContacts.md @@ -25,7 +25,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ replace - Json encoded Bool Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v40/methods/contacts_search.md b/old_docs/API_docs_v40/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v40/methods/contacts_search.md +++ b/old_docs/API_docs_v40/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v40/methods/contacts_unblock.md b/old_docs/API_docs_v40/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v40/methods/contacts_unblock.md +++ b/old_docs/API_docs_v40/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v40/methods/help_getAppChangelog.md b/old_docs/API_docs_v40/methods/help_getAppChangelog.md index e5f9dae5..872c377b 100644 --- a/old_docs/API_docs_v40/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v40/methods/help_getAppChangelog.md @@ -27,7 +27,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/help_getAppUpdate.md b/old_docs/API_docs_v40/methods/help_getAppUpdate.md index a501cbc5..4bdf36c3 100644 --- a/old_docs/API_docs_v40/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v40/methods/help_getAppUpdate.md @@ -27,7 +27,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/help_getConfig.md b/old_docs/API_docs_v40/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v40/methods/help_getConfig.md +++ b/old_docs/API_docs_v40/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v40/methods/help_getInviteText.md b/old_docs/API_docs_v40/methods/help_getInviteText.md index 1b31e572..797e2ad3 100644 --- a/old_docs/API_docs_v40/methods/help_getInviteText.md +++ b/old_docs/API_docs_v40/methods/help_getInviteText.md @@ -24,7 +24,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/help_getNearestDc.md b/old_docs/API_docs_v40/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v40/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v40/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v40/methods/help_getSupport.md b/old_docs/API_docs_v40/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v40/methods/help_getSupport.md +++ b/old_docs/API_docs_v40/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v40/methods/help_saveAppLog.md b/old_docs/API_docs_v40/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v40/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v40/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v40/methods/initConnection.md b/old_docs/API_docs_v40/methods/initConnection.md index 58cdb067..e34794f8 100644 --- a/old_docs/API_docs_v40/methods/initConnection.md +++ b/old_docs/API_docs_v40/methods/initConnection.md @@ -29,7 +29,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v40/methods/invokeAfterMsg.md b/old_docs/API_docs_v40/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v40/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v40/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v40/methods/invokeAfterMsgs.md b/old_docs/API_docs_v40/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v40/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v40/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v40/methods/invokeWithLayer.md b/old_docs/API_docs_v40/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v40/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v40/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v40/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v40/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/old_docs/API_docs_v40/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v40/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_addChatUser.md b/old_docs/API_docs_v40/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v40/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v40/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_checkChatInvite.md b/old_docs/API_docs_v40/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/old_docs/API_docs_v40/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v40/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_createChannel.md b/old_docs/API_docs_v40/methods/messages_createChannel.md index d6f59f7f..94cba048 100644 --- a/old_docs/API_docs_v40/methods/messages_createChannel.md +++ b/old_docs/API_docs_v40/methods/messages_createChannel.md @@ -24,7 +24,7 @@ Create channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChannel({title='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_createChat.md b/old_docs/API_docs_v40/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v40/methods/messages_createChat.md +++ b/old_docs/API_docs_v40/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md b/old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md index ae9f592c..f3a0e0e8 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md +++ b/old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md @@ -25,7 +25,7 @@ Delete channel messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteChannelMessages({peer=InputPeer, id={int}, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_deleteChatUser.md b/old_docs/API_docs_v40/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v40/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_deleteHistory.md b/old_docs/API_docs_v40/methods/messages_deleteHistory.md index 5f04ad57..6c36b930 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v40/methods/messages_deleteHistory.md @@ -25,7 +25,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, offset=int, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_deleteMessages.md b/old_docs/API_docs_v40/methods/messages_deleteMessages.md index 2aa9d7d1..24152bec 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v40/methods/messages_deleteMessages.md @@ -24,7 +24,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_editChatPhoto.md b/old_docs/API_docs_v40/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v40/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v40/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_editChatTitle.md b/old_docs/API_docs_v40/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v40/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v40/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_exportChatInvite.md b/old_docs/API_docs_v40/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/old_docs/API_docs_v40/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v40/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_forwardMessage.md b/old_docs/API_docs_v40/methods/messages_forwardMessage.md index 586670b8..d9c0453f 100644 --- a/old_docs/API_docs_v40/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v40/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_forwardMessages.md b/old_docs/API_docs_v40/methods/messages_forwardMessages.md index 13e1fed1..19594227 100644 --- a/old_docs/API_docs_v40/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v40/methods/messages_forwardMessages.md @@ -25,7 +25,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({peer=InputPeer, id={int}, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_getAllStickers.md b/old_docs/API_docs_v40/methods/messages_getAllStickers.md index faa8eea2..c90a48ea 100644 --- a/old_docs/API_docs_v40/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v40/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_getChannelDialogs.md b/old_docs/API_docs_v40/methods/messages_getChannelDialogs.md index ebdfb574..12b4cac2 100644 --- a/old_docs/API_docs_v40/methods/messages_getChannelDialogs.md +++ b/old_docs/API_docs_v40/methods/messages_getChannelDialogs.md @@ -25,7 +25,7 @@ Get channel/supergruop dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getChannelDialogs({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_getChats.md b/old_docs/API_docs_v40/methods/messages_getChats.md index 696c3e53..121a714c 100644 --- a/old_docs/API_docs_v40/methods/messages_getChats.md +++ b/old_docs/API_docs_v40/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputChat Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={InputChat}, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_getDialogs.md b/old_docs/API_docs_v40/methods/messages_getDialogs.md index d3992fed..7e926d52 100644 --- a/old_docs/API_docs_v40/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v40/methods/messages_getDialogs.md @@ -25,7 +25,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_getHistory.md b/old_docs/API_docs_v40/methods/messages_getHistory.md index d21484f5..ca861b25 100644 --- a/old_docs/API_docs_v40/methods/messages_getHistory.md +++ b/old_docs/API_docs_v40/methods/messages_getHistory.md @@ -28,7 +28,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset=int, max_id=int, min_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_getImportantHistory.md b/old_docs/API_docs_v40/methods/messages_getImportantHistory.md index 97ef4d44..981fa94d 100644 --- a/old_docs/API_docs_v40/methods/messages_getImportantHistory.md +++ b/old_docs/API_docs_v40/methods/messages_getImportantHistory.md @@ -27,7 +27,7 @@ Get important message history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getImportantHistory({peer=InputPeer, max_id=int, min_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_getMessages.md b/old_docs/API_docs_v40/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v40/methods/messages_getMessages.md +++ b/old_docs/API_docs_v40/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_getStickerSet.md b/old_docs/API_docs_v40/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/old_docs/API_docs_v40/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v40/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_getStickers.md b/old_docs/API_docs_v40/methods/messages_getStickers.md index b1d3bd83..f4ca9972 100644 --- a/old_docs/API_docs_v40/methods/messages_getStickers.md +++ b/old_docs/API_docs_v40/methods/messages_getStickers.md @@ -25,7 +25,7 @@ Get stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v40/methods/messages_getWebPagePreview.md index 8475c8f5..4838be94 100644 --- a/old_docs/API_docs_v40/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v40/methods/messages_getWebPagePreview.md @@ -24,7 +24,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_importChatInvite.md b/old_docs/API_docs_v40/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/old_docs/API_docs_v40/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v40/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_installStickerSet.md b/old_docs/API_docs_v40/methods/messages_installStickerSet.md index 1cd832e5..41be11e1 100644 --- a/old_docs/API_docs_v40/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v40/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ disabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.installStickerSet({stickerset=InputStickerSet, disabled=Bool, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_readChannelHistory.md b/old_docs/API_docs_v40/methods/messages_readChannelHistory.md index 135466be..f82e5c3d 100644 --- a/old_docs/API_docs_v40/methods/messages_readChannelHistory.md +++ b/old_docs/API_docs_v40/methods/messages_readChannelHistory.md @@ -25,7 +25,7 @@ Mark channel/supergroup history as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readChannelHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_readHistory.md b/old_docs/API_docs_v40/methods/messages_readHistory.md index 22f247bc..903268e6 100644 --- a/old_docs/API_docs_v40/methods/messages_readHistory.md +++ b/old_docs/API_docs_v40/methods/messages_readHistory.md @@ -26,7 +26,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.readHistory({peer=InputPeer, max_id=int, offset=int, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_readMessageContents.md b/old_docs/API_docs_v40/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v40/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v40/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_receivedMessages.md b/old_docs/API_docs_v40/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/old_docs/API_docs_v40/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v40/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_search.md b/old_docs/API_docs_v40/methods/messages_search.md index 4c373c29..b4549f38 100644 --- a/old_docs/API_docs_v40/methods/messages_search.md +++ b/old_docs/API_docs_v40/methods/messages_search.md @@ -31,7 +31,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_sendBroadcast.md b/old_docs/API_docs_v40/methods/messages_sendBroadcast.md index 11f43d4c..5813ba9c 100644 --- a/old_docs/API_docs_v40/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v40/methods/messages_sendBroadcast.md @@ -26,7 +26,7 @@ Send a message to all users in the chat list ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua Updates = messages.sendBroadcast({contacts={InputUser}, message='string', media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_sendEncrypted.md b/old_docs/API_docs_v40/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v40/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v40/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v40/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v40/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v40/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_sendMedia.md b/old_docs/API_docs_v40/methods/messages_sendMedia.md index 0b1180e8..2ff294be 100644 --- a/old_docs/API_docs_v40/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v40/methods/messages_sendMedia.md @@ -27,7 +27,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({peer=InputPeer, reply_to_msg_id=int, media=InputMedia, reply_markup=ReplyMarkup, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_sendMessage.md b/old_docs/API_docs_v40/methods/messages_sendMessage.md index 8cea3abc..22c6cec7 100644 --- a/old_docs/API_docs_v40/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v40/methods/messages_sendMessage.md @@ -29,7 +29,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -66,7 +66,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMessage({peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_setTyping.md b/old_docs/API_docs_v40/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v40/methods/messages_setTyping.md +++ b/old_docs/API_docs_v40/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_startBot.md b/old_docs/API_docs_v40/methods/messages_startBot.md index 79d18a42..37d3e12c 100644 --- a/old_docs/API_docs_v40/methods/messages_startBot.md +++ b/old_docs/API_docs_v40/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, chat_id=InputPeer, start_param='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v40/methods/photos_deletePhotos.md b/old_docs/API_docs_v40/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v40/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v40/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v40/methods/photos_getUserPhotos.md b/old_docs/API_docs_v40/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/old_docs/API_docs_v40/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v40/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md index 706f0a01..7341e4e7 100644 --- a/old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md @@ -25,7 +25,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md index 99064210..1debfc82 100644 --- a/old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md @@ -27,7 +27,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v40/methods/users_getUsers.md b/old_docs/API_docs_v40/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v40/methods/users_getUsers.md +++ b/old_docs/API_docs_v40/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v40/types/Chat.md b/old_docs/API_docs_v40/types/Chat.md index 09c08411..8528f6c1 100644 --- a/old_docs/API_docs_v40/types/Chat.md +++ b/old_docs/API_docs_v40/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v40/types/InputEncryptedChat.md b/old_docs/API_docs_v40/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v40/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v40/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v40/types/InputEncryptedFile.md b/old_docs/API_docs_v40/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v40/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v40/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v40/types/InputFile.md b/old_docs/API_docs_v40/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v40/types/InputFile.md +++ b/old_docs/API_docs_v40/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v40/types/InputNotifyPeer.md b/old_docs/API_docs_v40/types/InputNotifyPeer.md index ffc1f0cf..f9d0a662 100644 --- a/old_docs/API_docs_v40/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v40/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v40/types/InputPeer.md b/old_docs/API_docs_v40/types/InputPeer.md index 2076c00b..2649db1a 100644 --- a/old_docs/API_docs_v40/types/InputPeer.md +++ b/old_docs/API_docs_v40/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v40/types/InputUser.md b/old_docs/API_docs_v40/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/old_docs/API_docs_v40/types/InputUser.md +++ b/old_docs/API_docs_v40/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v40/types/KeyboardButton.md b/old_docs/API_docs_v40/types/KeyboardButton.md index f292ca69..9de6a7fc 100644 --- a/old_docs/API_docs_v40/types/KeyboardButton.md +++ b/old_docs/API_docs_v40/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/old_docs/API_docs_v40/types/NotifyPeer.md b/old_docs/API_docs_v40/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v40/types/NotifyPeer.md +++ b/old_docs/API_docs_v40/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v40/types/Peer.md b/old_docs/API_docs_v40/types/Peer.md index ebb98e91..0ab7fdcc 100644 --- a/old_docs/API_docs_v40/types/Peer.md +++ b/old_docs/API_docs_v40/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v40/types/User.md b/old_docs/API_docs_v40/types/User.md index d82488f8..728ad6a5 100644 --- a/old_docs/API_docs_v40/types/User.md +++ b/old_docs/API_docs_v40/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v41/constructors/accountDaysTTL.md b/old_docs/API_docs_v41/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v41/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v41/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v41/constructors/account_authorizations.md b/old_docs/API_docs_v41/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v41/constructors/account_authorizations.md +++ b/old_docs/API_docs_v41/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v41/constructors/account_noPassword.md b/old_docs/API_docs_v41/constructors/account_noPassword.md index 81a483d6..63a4af6d 100644 --- a/old_docs/API_docs_v41/constructors/account_noPassword.md +++ b/old_docs/API_docs_v41/constructors/account_noPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -33,10 +33,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'emai ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/account_password.md b/old_docs/API_docs_v41/constructors/account_password.md index 9a8b31c6..5c4c334b 100644 --- a/old_docs/API_docs_v41/constructors/account_password.md +++ b/old_docs/API_docs_v41/constructors/account_password.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` @@ -36,10 +36,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v41/constructors/account_passwordInputSettings.md index f474e0c7..b5838f0a 100644 --- a/old_docs/API_docs_v41/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v41/constructors/account_passwordInputSettings.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v41/constructors/account_passwordSettings.md b/old_docs/API_docs_v41/constructors/account_passwordSettings.md index 27d14f59..04fc8621 100644 --- a/old_docs/API_docs_v41/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v41/constructors/account_passwordSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v41/constructors/account_privacyRules.md b/old_docs/API_docs_v41/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v41/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v41/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v41/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v41/constructors/account_sentChangePhoneCode.md index 7bfd04ab..34044265 100644 --- a/old_docs/API_docs_v41/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v41/constructors/account_sentChangePhoneCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; ``` @@ -33,10 +33,9 @@ $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} ``` diff --git a/old_docs/API_docs_v41/constructors/audio.md b/old_docs/API_docs_v41/constructors/audio.md index 1d899f64..785de6e2 100644 --- a/old_docs/API_docs_v41/constructors/audio.md +++ b/old_docs/API_docs_v41/constructors/audio.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` @@ -38,10 +38,9 @@ $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audio={_='audio', id=long, access_hash=long, date=int, duration=int, mime_type='string', size=int, dc_id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/audioEmpty.md b/old_docs/API_docs_v41/constructors/audioEmpty.md index 2b0ed960..846367f4 100644 --- a/old_docs/API_docs_v41/constructors/audioEmpty.md +++ b/old_docs/API_docs_v41/constructors/audioEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audioEmpty={_='audioEmpty', id=long} ``` diff --git a/old_docs/API_docs_v41/constructors/auth_authorization.md b/old_docs/API_docs_v41/constructors/auth_authorization.md index bbe5a8b9..1a75a113 100644 --- a/old_docs/API_docs_v41/constructors/auth_authorization.md +++ b/old_docs/API_docs_v41/constructors/auth_authorization.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` @@ -32,10 +32,9 @@ $auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_authorization={_='auth.authorization', user=User} ``` diff --git a/old_docs/API_docs_v41/constructors/auth_checkedPhone.md b/old_docs/API_docs_v41/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v41/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v41/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v41/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v41/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v41/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v41/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v41/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v41/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v41/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v41/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v41/constructors/auth_sentAppCode.md b/old_docs/API_docs_v41/constructors/auth_sentAppCode.md index 1f354541..ec13efba 100644 --- a/old_docs/API_docs_v41/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v41/constructors/auth_sentAppCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'pho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v41/constructors/auth_sentCode.md b/old_docs/API_docs_v41/constructors/auth_sentCode.md index 01834b65..2b5301e1 100644 --- a/old_docs/API_docs_v41/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v41/constructors/auth_sentCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v41/constructors/authorization.md b/old_docs/API_docs_v41/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v41/constructors/authorization.md +++ b/old_docs/API_docs_v41/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v41/constructors/botCommand.md b/old_docs/API_docs_v41/constructors/botCommand.md index 8569358d..fcb65461 100644 --- a/old_docs/API_docs_v41/constructors/botCommand.md +++ b/old_docs/API_docs_v41/constructors/botCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v41/constructors/botInfo.md b/old_docs/API_docs_v41/constructors/botInfo.md index afa0de7c..86584a29 100644 --- a/old_docs/API_docs_v41/constructors/botInfo.md +++ b/old_docs/API_docs_v41/constructors/botInfo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => 'string', 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -36,10 +36,9 @@ $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInfo={_='botInfo', user_id=int, version=int, share_text='string', description='string', commands={BotCommand}} ``` diff --git a/old_docs/API_docs_v41/constructors/botInfoEmpty.md b/old_docs/API_docs_v41/constructors/botInfoEmpty.md index df42ad4b..7afd677c 100644 --- a/old_docs/API_docs_v41/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v41/constructors/botInfoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfoEmpty = ['_' => 'botInfoEmpty']; ``` @@ -27,10 +27,9 @@ $botInfoEmpty = ['_' => 'botInfoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInfoEmpty={_='botInfoEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/channel.md b/old_docs/API_docs_v41/constructors/channel.md index 2911847d..1b003087 100644 --- a/old_docs/API_docs_v41/constructors/channel.md +++ b/old_docs/API_docs_v41/constructors/channel.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'username' => 'string', 'photo' => ChatPhoto, 'date' => int, 'version' => int]; ``` @@ -46,10 +46,9 @@ $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, id=int, access_hash=long, title='string', username='string', photo=ChatPhoto, date=int, version=int} ``` diff --git a/old_docs/API_docs_v41/constructors/channelForbidden.md b/old_docs/API_docs_v41/constructors/channelForbidden.md index cc8b60d1..6e168c38 100644 --- a/old_docs/API_docs_v41/constructors/channelForbidden.md +++ b/old_docs/API_docs_v41/constructors/channelForbidden.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` @@ -34,10 +34,9 @@ $channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelForbidden={_='channelForbidden', id=int, access_hash=long, title='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/channelFull.md b/old_docs/API_docs_v41/constructors/channelFull.md index 70916a7a..3fac209b 100644 --- a/old_docs/API_docs_v41/constructors/channelFull.md +++ b/old_docs/API_docs_v41/constructors/channelFull.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_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]; ``` @@ -46,10 +46,9 @@ $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelFull={_='channelFull', can_view_participants=Bool, id=int, about='string', participants_count=int, admins_count=int, kicked_count=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/channelMessagesFilter.md b/old_docs/API_docs_v41/constructors/channelMessagesFilter.md index 44870c58..cb221478 100644 --- a/old_docs/API_docs_v41/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v41/constructors/channelMessagesFilter.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'ranges' => [MessageRange, MessageRange]]; ``` @@ -33,10 +33,9 @@ $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilter={_='channelMessagesFilter', important_only=Bool, ranges={MessageRange}} ``` diff --git a/old_docs/API_docs_v41/constructors/channelMessagesFilterCollapsed.md b/old_docs/API_docs_v41/constructors/channelMessagesFilterCollapsed.md index fa1fff29..770cc788 100644 --- a/old_docs/API_docs_v41/constructors/channelMessagesFilterCollapsed.md +++ b/old_docs/API_docs_v41/constructors/channelMessagesFilterCollapsed.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterCollapsed={_='channelMessagesFilterCollapsed'} ``` diff --git a/old_docs/API_docs_v41/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v41/constructors/channelMessagesFilterEmpty.md index 350e50de..a446b896 100644 --- a/old_docs/API_docs_v41/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v41/constructors/channelMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/channelParticipant.md b/old_docs/API_docs_v41/constructors/channelParticipant.md index c7de5400..dbcb792b 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipant.md +++ b/old_docs/API_docs_v41/constructors/channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v41/constructors/channelParticipantCreator.md b/old_docs/API_docs_v41/constructors/channelParticipantCreator.md index 86cafe0a..e999fb9c 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantCreator={_='channelParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/channelParticipantEditor.md b/old_docs/API_docs_v41/constructors/channelParticipantEditor.md index 37ae4bb0..7c7e4dc9 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantEditor.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v41/constructors/channelParticipantKicked.md b/old_docs/API_docs_v41/constructors/channelParticipantKicked.md index ccc454be..6bcc2e0f 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantKicked.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int} ``` diff --git a/old_docs/API_docs_v41/constructors/channelParticipantModerator.md b/old_docs/API_docs_v41/constructors/channelParticipantModerator.md index 90b4ab52..49c68acd 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantModerator.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v41/constructors/channelParticipantSelf.md b/old_docs/API_docs_v41/constructors/channelParticipantSelf.md index 83864972..4b5949ac 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantSelf.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v41/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v41/constructors/channelParticipantsAdmins.md index c86cb9a4..4b0c30d4 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantsAdmins.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` @@ -27,10 +27,9 @@ $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v41/constructors/channelParticipantsBots.md b/old_docs/API_docs_v41/constructors/channelParticipantsBots.md index 30875f94..66e510c7 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantsBots.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` @@ -27,10 +27,9 @@ $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v41/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v41/constructors/channelParticipantsKicked.md index 7f026ceb..38cf128e 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantsKicked.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` @@ -27,10 +27,9 @@ $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v41/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v41/constructors/channelParticipantsRecent.md index e4cb6466..51e57069 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantsRecent.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` @@ -27,10 +27,9 @@ $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v41/constructors/channelRoleEditor.md b/old_docs/API_docs_v41/constructors/channelRoleEditor.md index 86d953a9..1e472d2f 100644 --- a/old_docs/API_docs_v41/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v41/constructors/channelRoleEditor.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` @@ -27,10 +27,9 @@ $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v41/constructors/channelRoleEmpty.md b/old_docs/API_docs_v41/constructors/channelRoleEmpty.md index a50bb310..85d1c3fb 100644 --- a/old_docs/API_docs_v41/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v41/constructors/channelRoleEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` @@ -27,10 +27,9 @@ $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/channelRoleModerator.md b/old_docs/API_docs_v41/constructors/channelRoleModerator.md index 781f60ad..f242ff5c 100644 --- a/old_docs/API_docs_v41/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v41/constructors/channelRoleModerator.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` @@ -27,10 +27,9 @@ $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleModerator={_='channelRoleModerator'} ``` diff --git a/old_docs/API_docs_v41/constructors/channels_channelParticipant.md b/old_docs/API_docs_v41/constructors/channels_channelParticipant.md index bdf27b08..107502c5 100644 --- a/old_docs/API_docs_v41/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v41/constructors/channels_channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v41/constructors/channels_channelParticipants.md b/old_docs/API_docs_v41/constructors/channels_channelParticipants.md index 1b76b1e0..0402423f 100644 --- a/old_docs/API_docs_v41/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v41/constructors/channels_channelParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v41/constructors/chat.md b/old_docs/API_docs_v41/constructors/chat.md index 5ae1811d..b6f24f3e 100644 --- a/old_docs/API_docs_v41/constructors/chat.md +++ b/old_docs/API_docs_v41/constructors/chat.md @@ -33,7 +33,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -44,10 +44,9 @@ $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} ``` diff --git a/old_docs/API_docs_v41/constructors/chatEmpty.md b/old_docs/API_docs_v41/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v41/constructors/chatEmpty.md +++ b/old_docs/API_docs_v41/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/chatForbidden.md b/old_docs/API_docs_v41/constructors/chatForbidden.md index de5bb302..61c45660 100644 --- a/old_docs/API_docs_v41/constructors/chatForbidden.md +++ b/old_docs/API_docs_v41/constructors/chatForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v41/constructors/chatFull.md b/old_docs/API_docs_v41/constructors/chatFull.md index 6e138596..2a5f67f6 100644 --- a/old_docs/API_docs_v41/constructors/chatFull.md +++ b/old_docs/API_docs_v41/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v41/constructors/chatInvite.md b/old_docs/API_docs_v41/constructors/chatInvite.md index 6cf6e489..3c3a0001 100644 --- a/old_docs/API_docs_v41/constructors/chatInvite.md +++ b/old_docs/API_docs_v41/constructors/chatInvite.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string']; ``` @@ -36,10 +36,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v41/constructors/chatInviteAlready.md b/old_docs/API_docs_v41/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/old_docs/API_docs_v41/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v41/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/old_docs/API_docs_v41/constructors/chatInviteEmpty.md b/old_docs/API_docs_v41/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/old_docs/API_docs_v41/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v41/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/chatInviteExported.md b/old_docs/API_docs_v41/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/old_docs/API_docs_v41/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v41/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/chatParticipant.md b/old_docs/API_docs_v41/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v41/constructors/chatParticipant.md +++ b/old_docs/API_docs_v41/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v41/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v41/constructors/chatParticipantAdmin.md index 62aee9a4..63a38575 100644 --- a/old_docs/API_docs_v41/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v41/constructors/chatParticipantAdmin.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v41/constructors/chatParticipantCreator.md b/old_docs/API_docs_v41/constructors/chatParticipantCreator.md index 0fb7b6ef..75b9c4d4 100644 --- a/old_docs/API_docs_v41/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v41/constructors/chatParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantCreator={_='chatParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/chatParticipants.md b/old_docs/API_docs_v41/constructors/chatParticipants.md index 38af2ca5..ae254290 100644 --- a/old_docs/API_docs_v41/constructors/chatParticipants.md +++ b/old_docs/API_docs_v41/constructors/chatParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v41/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v41/constructors/chatParticipantsForbidden.md index 2ecdfe10..639b30ee 100644 --- a/old_docs/API_docs_v41/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v41/constructors/chatParticipantsForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v41/constructors/chatPhoto.md b/old_docs/API_docs_v41/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v41/constructors/chatPhoto.md +++ b/old_docs/API_docs_v41/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v41/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v41/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v41/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v41/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/config.md b/old_docs/API_docs_v41/constructors/config.md index 164ba218..9db65b85 100644 --- a/old_docs/API_docs_v41/constructors/config.md +++ b/old_docs/API_docs_v41/constructors/config.md @@ -38,7 +38,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -49,10 +49,9 @@ $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v41/constructors/contact.md b/old_docs/API_docs_v41/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v41/constructors/contact.md +++ b/old_docs/API_docs_v41/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v41/constructors/contactBlocked.md b/old_docs/API_docs_v41/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v41/constructors/contactBlocked.md +++ b/old_docs/API_docs_v41/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v41/constructors/contactLinkContact.md b/old_docs/API_docs_v41/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v41/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v41/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v41/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v41/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v41/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v41/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v41/constructors/contactLinkNone.md b/old_docs/API_docs_v41/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v41/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v41/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v41/constructors/contactLinkUnknown.md b/old_docs/API_docs_v41/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v41/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v41/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v41/constructors/contactStatus.md b/old_docs/API_docs_v41/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v41/constructors/contactStatus.md +++ b/old_docs/API_docs_v41/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v41/constructors/contactSuggested.md b/old_docs/API_docs_v41/constructors/contactSuggested.md index 7dc8105c..e90bf7c9 100644 --- a/old_docs/API_docs_v41/constructors/contactSuggested.md +++ b/old_docs/API_docs_v41/constructors/contactSuggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` @@ -33,10 +33,9 @@ $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int} ``` diff --git a/old_docs/API_docs_v41/constructors/contacts_blocked.md b/old_docs/API_docs_v41/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v41/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v41/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v41/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v41/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v41/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v41/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v41/constructors/contacts_contacts.md b/old_docs/API_docs_v41/constructors/contacts_contacts.md index 34dae91a..ea16b38a 100644 --- a/old_docs/API_docs_v41/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v41/constructors/contacts_contacts.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} ``` diff --git a/old_docs/API_docs_v41/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v41/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v41/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v41/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v41/constructors/contacts_found.md b/old_docs/API_docs_v41/constructors/contacts_found.md index 7e0e458c..624fa475 100644 --- a/old_docs/API_docs_v41/constructors/contacts_found.md +++ b/old_docs/API_docs_v41/constructors/contacts_found.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v41/constructors/contacts_importedContacts.md b/old_docs/API_docs_v41/constructors/contacts_importedContacts.md index 7bf9c1bf..8b9012bb 100644 --- a/old_docs/API_docs_v41/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v41/constructors/contacts_importedContacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v41/constructors/contacts_link.md b/old_docs/API_docs_v41/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v41/constructors/contacts_link.md +++ b/old_docs/API_docs_v41/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v41/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v41/constructors/contacts_resolvedPeer.md index add29235..4aa323dd 100644 --- a/old_docs/API_docs_v41/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v41/constructors/contacts_resolvedPeer.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v41/constructors/contacts_suggested.md b/old_docs/API_docs_v41/constructors/contacts_suggested.md index 553cebcb..2659d855 100644 --- a/old_docs/API_docs_v41/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v41/constructors/contacts_suggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggest ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} ``` diff --git a/old_docs/API_docs_v41/constructors/dcOption.md b/old_docs/API_docs_v41/constructors/dcOption.md index 176671ce..72ecd652 100644 --- a/old_docs/API_docs_v41/constructors/dcOption.md +++ b/old_docs/API_docs_v41/constructors/dcOption.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` @@ -36,10 +36,9 @@ $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', ipv6=Bool, media_only=Bool, id=int, ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v41/constructors/dialog.md b/old_docs/API_docs_v41/constructors/dialog.md index cbb327d6..539225bf 100644 --- a/old_docs/API_docs_v41/constructors/dialog.md +++ b/old_docs/API_docs_v41/constructors/dialog.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` @@ -36,10 +36,9 @@ $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_ma ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v41/constructors/dialogChannel.md b/old_docs/API_docs_v41/constructors/dialogChannel.md index 298ffa24..918b6bed 100644 --- a/old_docs/API_docs_v41/constructors/dialogChannel.md +++ b/old_docs/API_docs_v41/constructors/dialogChannel.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int]; ``` @@ -39,10 +39,9 @@ $dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialogChannel={_='dialogChannel', peer=Peer, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, notify_settings=PeerNotifySettings, pts=int} ``` diff --git a/old_docs/API_docs_v41/constructors/disabledFeature.md b/old_docs/API_docs_v41/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v41/constructors/disabledFeature.md +++ b/old_docs/API_docs_v41/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/document.md b/old_docs/API_docs_v41/constructors/document.md index 8719d873..e9547f1f 100644 --- a/old_docs/API_docs_v41/constructors/document.md +++ b/old_docs/API_docs_v41/constructors/document.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -39,10 +39,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v41/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v41/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v41/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v41/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v41/constructors/documentAttributeAudio.md b/old_docs/API_docs_v41/constructors/documentAttributeAudio.md index 8fb77965..8bf344bb 100644 --- a/old_docs/API_docs_v41/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v41/constructors/documentAttributeAudio.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => 'string', 'performer' => 'string']; ``` @@ -34,10 +34,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', duration=int, title='string', performer='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/documentAttributeFilename.md b/old_docs/API_docs_v41/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v41/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v41/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v41/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v41/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v41/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v41/constructors/documentAttributeSticker.md b/old_docs/API_docs_v41/constructors/documentAttributeSticker.md index d44d94cd..397679ef 100644 --- a/old_docs/API_docs_v41/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v41/constructors/documentAttributeSticker.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` @@ -33,10 +33,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', alt='string', stickerset=InputStickerSet} ``` diff --git a/old_docs/API_docs_v41/constructors/documentAttributeVideo.md b/old_docs/API_docs_v41/constructors/documentAttributeVideo.md index 0902c118..cc7ffced 100644 --- a/old_docs/API_docs_v41/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v41/constructors/documentAttributeVideo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -34,10 +34,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v41/constructors/documentEmpty.md b/old_docs/API_docs_v41/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v41/constructors/documentEmpty.md +++ b/old_docs/API_docs_v41/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v41/constructors/encryptedChat.md b/old_docs/API_docs_v41/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v41/constructors/encryptedChat.md +++ b/old_docs/API_docs_v41/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v41/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v41/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v41/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v41/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v41/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v41/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v41/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/encryptedChatRequested.md b/old_docs/API_docs_v41/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v41/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v41/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v41/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v41/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v41/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v41/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/encryptedFile.md b/old_docs/API_docs_v41/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v41/constructors/encryptedFile.md +++ b/old_docs/API_docs_v41/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v41/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v41/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v41/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v41/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/encryptedMessage.md b/old_docs/API_docs_v41/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v41/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v41/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v41/constructors/encryptedMessageService.md b/old_docs/API_docs_v41/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v41/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v41/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v41/constructors/error.md b/old_docs/API_docs_v41/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v41/constructors/error.md +++ b/old_docs/API_docs_v41/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/fileLocation.md b/old_docs/API_docs_v41/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v41/constructors/fileLocation.md +++ b/old_docs/API_docs_v41/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v41/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v41/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v41/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v41/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v41/constructors/geoPoint.md b/old_docs/API_docs_v41/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v41/constructors/geoPoint.md +++ b/old_docs/API_docs_v41/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v41/constructors/geoPointEmpty.md b/old_docs/API_docs_v41/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v41/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v41/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/help_appChangelog.md b/old_docs/API_docs_v41/constructors/help_appChangelog.md index 5b7b353a..d30f8acd 100644 --- a/old_docs/API_docs_v41/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v41/constructors/help_appChangelog.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelog={_='help.appChangelog', text='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v41/constructors/help_appChangelogEmpty.md index 0f0827c3..e20017b7 100644 --- a/old_docs/API_docs_v41/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v41/constructors/help_appChangelogEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` @@ -27,10 +27,9 @@ $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelogEmpty={_='help.appChangelogEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/help_appUpdate.md b/old_docs/API_docs_v41/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v41/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v41/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/help_inviteText.md b/old_docs/API_docs_v41/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v41/constructors/help_inviteText.md +++ b/old_docs/API_docs_v41/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/help_noAppUpdate.md b/old_docs/API_docs_v41/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v41/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v41/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v41/constructors/help_support.md b/old_docs/API_docs_v41/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v41/constructors/help_support.md +++ b/old_docs/API_docs_v41/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v41/constructors/importedContact.md b/old_docs/API_docs_v41/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v41/constructors/importedContact.md +++ b/old_docs/API_docs_v41/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v41/constructors/inputAppEvent.md b/old_docs/API_docs_v41/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v41/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v41/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputAudio.md b/old_docs/API_docs_v41/constructors/inputAudio.md index c428307e..ac1c82e3 100644 --- a/old_docs/API_docs_v41/constructors/inputAudio.md +++ b/old_docs/API_docs_v41/constructors/inputAudio.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudio={_='inputAudio', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v41/constructors/inputAudioEmpty.md b/old_docs/API_docs_v41/constructors/inputAudioEmpty.md index a84b3e67..b0b4e934 100644 --- a/old_docs/API_docs_v41/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputAudioEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` @@ -27,10 +27,9 @@ $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v41/constructors/inputAudioFileLocation.md index f95ad919..a2633244 100644 --- a/old_docs/API_docs_v41/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v41/constructors/inputAudioFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v41/constructors/inputChannel.md b/old_docs/API_docs_v41/constructors/inputChannel.md index b5cb3566..34ed10ca 100644 --- a/old_docs/API_docs_v41/constructors/inputChannel.md +++ b/old_docs/API_docs_v41/constructors/inputChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannel={_='inputChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v41/constructors/inputChannelEmpty.md b/old_docs/API_docs_v41/constructors/inputChannelEmpty.md index f7e18434..bd53602b 100644 --- a/old_docs/API_docs_v41/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputChannelEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` @@ -27,10 +27,9 @@ $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputChatPhoto.md b/old_docs/API_docs_v41/constructors/inputChatPhoto.md index 5affda9a..7ad8a3f7 100644 --- a/old_docs/API_docs_v41/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v41/constructors/inputChatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputP ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v41/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v41/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v41/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v41/constructors/inputChatUploadedPhoto.md index a22405b2..ed0624da 100644 --- a/old_docs/API_docs_v41/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v41/constructors/inputChatUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v41/constructors/inputDocument.md b/old_docs/API_docs_v41/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v41/constructors/inputDocument.md +++ b/old_docs/API_docs_v41/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v41/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v41/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v41/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v41/constructors/inputDocumentFileLocation.md index 2ba7d2b3..5d593784 100644 --- a/old_docs/API_docs_v41/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v41/constructors/inputDocumentFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v41/constructors/inputEncryptedChat.md b/old_docs/API_docs_v41/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v41/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v41/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v41/constructors/inputEncryptedFile.md b/old_docs/API_docs_v41/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v41/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v41/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v41/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v41/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v41/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v41/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v41/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v41/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v41/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v41/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v41/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v41/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v41/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v41/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v41/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v41/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v41/constructors/inputFile.md b/old_docs/API_docs_v41/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v41/constructors/inputFile.md +++ b/old_docs/API_docs_v41/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputFileBig.md b/old_docs/API_docs_v41/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v41/constructors/inputFileBig.md +++ b/old_docs/API_docs_v41/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputFileLocation.md b/old_docs/API_docs_v41/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v41/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v41/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v41/constructors/inputGeoPoint.md b/old_docs/API_docs_v41/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v41/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v41/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v41/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v41/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v41/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMediaAudio.md b/old_docs/API_docs_v41/constructors/inputMediaAudio.md index 6ebbe6ec..6c166ec0 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v41/constructors/inputMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` @@ -32,10 +32,9 @@ $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaAudio={_='inputMediaAudio', id=InputAudio} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMediaContact.md b/old_docs/API_docs_v41/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v41/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMediaDocument.md b/old_docs/API_docs_v41/constructors/inputMediaDocument.md index f652113b..f671c3e5 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v41/constructors/inputMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` @@ -32,10 +32,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMediaEmpty.md b/old_docs/API_docs_v41/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v41/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v41/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMediaPhoto.md b/old_docs/API_docs_v41/constructors/inputMediaPhoto.md index 0be7f6fe..71f4ded5 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v41/constructors/inputMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v41/constructors/inputMediaUploadedAudio.md index 4eb4cb85..73fcb4f8 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v41/constructors/inputMediaUploadedAudio.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v41/constructors/inputMediaUploadedDocument.md index 06758275..e89ad515 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v41/constructors/inputMediaUploadedDocument.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v41/constructors/inputMediaUploadedPhoto.md index 499857ce..ad2a8680 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v41/constructors/inputMediaUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v41/constructors/inputMediaUploadedThumbDocument.md index eea9edcd..b98b9004 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v41/constructors/inputMediaUploadedThumbDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -35,10 +35,9 @@ $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v41/constructors/inputMediaUploadedThumbVideo.md index 0a4afc86..e9d00c6e 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v41/constructors/inputMediaUploadedThumbVideo.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` @@ -38,10 +38,9 @@ $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type='string', caption='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v41/constructors/inputMediaUploadedVideo.md index 2409751b..b3984571 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v41/constructors/inputMediaUploadedVideo.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` @@ -37,10 +37,9 @@ $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type='string', caption='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMediaVenue.md b/old_docs/API_docs_v41/constructors/inputMediaVenue.md index 3e7ee3a1..b2171fbc 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v41/constructors/inputMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMediaVideo.md b/old_docs/API_docs_v41/constructors/inputMediaVideo.md index 05af7adb..b16b97d5 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v41/constructors/inputMediaVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVideo={_='inputMediaVideo', id=InputVideo, caption='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterAudio.md index 066b1642..79c822fc 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterAudio.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterAudioDocuments.md index 7badd17c..a8963d46 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterAudioDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputNotifyAll.md b/old_docs/API_docs_v41/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v41/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v41/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputNotifyChats.md b/old_docs/API_docs_v41/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v41/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v41/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputNotifyPeer.md b/old_docs/API_docs_v41/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v41/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v41/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v41/constructors/inputNotifyUsers.md b/old_docs/API_docs_v41/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v41/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v41/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPeerChannel.md b/old_docs/API_docs_v41/constructors/inputPeerChannel.md index 8b84fe20..14c2f105 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v41/constructors/inputPeerChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPeerChat.md b/old_docs/API_docs_v41/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v41/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPeerEmpty.md b/old_docs/API_docs_v41/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v41/constructors/inputPeerNotifySettings.md index ce1896bb..a600e880 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v41/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPeerSelf.md b/old_docs/API_docs_v41/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v41/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPeerUser.md b/old_docs/API_docs_v41/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v41/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPhoneContact.md b/old_docs/API_docs_v41/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v41/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v41/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPhoto.md b/old_docs/API_docs_v41/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v41/constructors/inputPhoto.md +++ b/old_docs/API_docs_v41/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPhotoCrop.md b/old_docs/API_docs_v41/constructors/inputPhotoCrop.md index b35bf42f..e90029a9 100644 --- a/old_docs/API_docs_v41/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v41/constructors/inputPhotoCrop.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` @@ -34,10 +34,9 @@ $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v41/constructors/inputPhotoCropAuto.md index 6c2f121d..37414b14 100644 --- a/old_docs/API_docs_v41/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v41/constructors/inputPhotoCropAuto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` @@ -27,10 +27,9 @@ $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v41/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v41/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v41/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v41/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v41/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v41/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v41/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/old_docs/API_docs_v41/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputStickerSetID.md b/old_docs/API_docs_v41/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/old_docs/API_docs_v41/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v41/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v41/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v41/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/old_docs/API_docs_v41/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v41/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputUser.md b/old_docs/API_docs_v41/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/old_docs/API_docs_v41/constructors/inputUser.md +++ b/old_docs/API_docs_v41/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v41/constructors/inputUserEmpty.md b/old_docs/API_docs_v41/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v41/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputUserSelf.md b/old_docs/API_docs_v41/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v41/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v41/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputVideo.md b/old_docs/API_docs_v41/constructors/inputVideo.md index 4ea87c56..b3874cd7 100644 --- a/old_docs/API_docs_v41/constructors/inputVideo.md +++ b/old_docs/API_docs_v41/constructors/inputVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideo={_='inputVideo', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v41/constructors/inputVideoEmpty.md b/old_docs/API_docs_v41/constructors/inputVideoEmpty.md index b69984f7..5322ed90 100644 --- a/old_docs/API_docs_v41/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputVideoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` @@ -27,10 +27,9 @@ $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v41/constructors/inputVideoFileLocation.md index 2692222e..d9a3f678 100644 --- a/old_docs/API_docs_v41/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v41/constructors/inputVideoFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v41/constructors/keyboardButton.md b/old_docs/API_docs_v41/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/old_docs/API_docs_v41/constructors/keyboardButton.md +++ b/old_docs/API_docs_v41/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/keyboardButtonRow.md b/old_docs/API_docs_v41/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/old_docs/API_docs_v41/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v41/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/old_docs/API_docs_v41/constructors/message.md b/old_docs/API_docs_v41/constructors/message.md index 3d2739e8..da052237 100644 --- a/old_docs/API_docs_v41/constructors/message.md +++ b/old_docs/API_docs_v41/constructors/message.md @@ -36,7 +36,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'views' => int]; ``` @@ -47,10 +47,9 @@ $message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int} ``` diff --git a/old_docs/API_docs_v41/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v41/constructors/messageActionChannelCreate.md index b1750d73..2600ab63 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v41/constructors/messageActionChannelCreate.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v41/constructors/messageActionChannelMigrateFrom.md index add136dc..1fdcf3f4 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v41/constructors/messageActionChannelMigrateFrom.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 't ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/messageActionChatActivate.md b/old_docs/API_docs_v41/constructors/messageActionChatActivate.md index 8867d707..a942a6b2 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatActivate.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatActivate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatActivate = ['_' => 'messageActionChatActivate']; ``` @@ -27,10 +27,9 @@ $messageActionChatActivate = ['_' => 'messageActionChatActivate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatActivate={_='messageActionChatActivate'} ``` diff --git a/old_docs/API_docs_v41/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v41/constructors/messageActionChatAddUser.md index 1ea1d425..4decc491 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', user_id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/messageActionChatCreate.md b/old_docs/API_docs_v41/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v41/constructors/messageActionChatDeactivate.md b/old_docs/API_docs_v41/constructors/messageActionChatDeactivate.md index 1e30aaa5..af036cbc 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatDeactivate.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatDeactivate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeactivate = ['_' => 'messageActionChatDeactivate']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeactivate = ['_' => 'messageActionChatDeactivate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeactivate={_='messageActionChatDeactivate'} ``` diff --git a/old_docs/API_docs_v41/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v41/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v41/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v41/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v41/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v41/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v41/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v41/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v41/constructors/messageActionChatMigrateTo.md index 21d2cb22..8ace1091 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatMigrateTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/messageActionEmpty.md b/old_docs/API_docs_v41/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v41/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v41/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/messageEmpty.md b/old_docs/API_docs_v41/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v41/constructors/messageEmpty.md +++ b/old_docs/API_docs_v41/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/messageEntityBold.md b/old_docs/API_docs_v41/constructors/messageEntityBold.md index 950699fb..90f74ad5 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v41/constructors/messageEntityBold.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v41/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v41/constructors/messageEntityBotCommand.md index 8be471d3..9fb8f6a6 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v41/constructors/messageEntityBotCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v41/constructors/messageEntityCode.md b/old_docs/API_docs_v41/constructors/messageEntityCode.md index 7c701844..d236e57e 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v41/constructors/messageEntityCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v41/constructors/messageEntityEmail.md b/old_docs/API_docs_v41/constructors/messageEntityEmail.md index 35a968c7..74e910f3 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v41/constructors/messageEntityEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v41/constructors/messageEntityHashtag.md b/old_docs/API_docs_v41/constructors/messageEntityHashtag.md index 6b124e73..77e29387 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v41/constructors/messageEntityHashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v41/constructors/messageEntityItalic.md b/old_docs/API_docs_v41/constructors/messageEntityItalic.md index 25f73428..5975bae2 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v41/constructors/messageEntityItalic.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v41/constructors/messageEntityMention.md b/old_docs/API_docs_v41/constructors/messageEntityMention.md index 9eb4d266..1a21cb10 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v41/constructors/messageEntityMention.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v41/constructors/messageEntityPre.md b/old_docs/API_docs_v41/constructors/messageEntityPre.md index abfc9136..13b165fe 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v41/constructors/messageEntityPre.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPre={_='messageEntityPre', offset=int, length=int, language='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v41/constructors/messageEntityTextUrl.md index 91f6d36c..b6d82843 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v41/constructors/messageEntityTextUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/messageEntityUnknown.md b/old_docs/API_docs_v41/constructors/messageEntityUnknown.md index 69ca8a1b..4c434fd7 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v41/constructors/messageEntityUnknown.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v41/constructors/messageEntityUrl.md b/old_docs/API_docs_v41/constructors/messageEntityUrl.md index 377c3dda..2cf334a5 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v41/constructors/messageEntityUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v41/constructors/messageGroup.md b/old_docs/API_docs_v41/constructors/messageGroup.md index 31de6cb4..ee695490 100644 --- a/old_docs/API_docs_v41/constructors/messageGroup.md +++ b/old_docs/API_docs_v41/constructors/messageGroup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int]; ``` @@ -35,10 +35,9 @@ $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageGroup={_='messageGroup', min_id=int, max_id=int, count=int, date=int} ``` diff --git a/old_docs/API_docs_v41/constructors/messageMediaAudio.md b/old_docs/API_docs_v41/constructors/messageMediaAudio.md index c2970836..4f350752 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v41/constructors/messageMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` @@ -32,10 +32,9 @@ $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaAudio={_='messageMediaAudio', audio=Audio} ``` diff --git a/old_docs/API_docs_v41/constructors/messageMediaContact.md b/old_docs/API_docs_v41/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v41/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/messageMediaDocument.md b/old_docs/API_docs_v41/constructors/messageMediaDocument.md index c0a7272c..c08a097b 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v41/constructors/messageMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` @@ -32,10 +32,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document} ``` diff --git a/old_docs/API_docs_v41/constructors/messageMediaEmpty.md b/old_docs/API_docs_v41/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v41/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/messageMediaGeo.md b/old_docs/API_docs_v41/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v41/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v41/constructors/messageMediaPhoto.md b/old_docs/API_docs_v41/constructors/messageMediaPhoto.md index 47579066..7350efce 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v41/constructors/messageMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v41/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v41/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v41/constructors/messageMediaVenue.md b/old_docs/API_docs_v41/constructors/messageMediaVenue.md index 2db2d25d..2ef2b27f 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v41/constructors/messageMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/messageMediaVideo.md b/old_docs/API_docs_v41/constructors/messageMediaVideo.md index 444b12eb..694f6928 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v41/constructors/messageMediaVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVideo={_='messageMediaVideo', video=Video, caption='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/messageMediaWebPage.md b/old_docs/API_docs_v41/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v41/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v41/constructors/messageRange.md b/old_docs/API_docs_v41/constructors/messageRange.md index 40c3f81a..527e8646 100644 --- a/old_docs/API_docs_v41/constructors/messageRange.md +++ b/old_docs/API_docs_v41/constructors/messageRange.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageRange={_='messageRange', min_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/messageService.md b/old_docs/API_docs_v41/constructors/messageService.md index 138cbb18..6baa427c 100644 --- a/old_docs/API_docs_v41/constructors/messageService.md +++ b/old_docs/API_docs_v41/constructors/messageService.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` @@ -40,10 +40,9 @@ $messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'me ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v41/constructors/messages_affectedHistory.md b/old_docs/API_docs_v41/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v41/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v41/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v41/constructors/messages_affectedMessages.md b/old_docs/API_docs_v41/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v41/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v41/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v41/constructors/messages_allStickers.md b/old_docs/API_docs_v41/constructors/messages_allStickers.md index e933488f..06237df7 100644 --- a/old_docs/API_docs_v41/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v41/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'set ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash='string', sets={StickerSet}} ``` diff --git a/old_docs/API_docs_v41/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v41/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v41/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v41/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v41/constructors/messages_channelMessages.md b/old_docs/API_docs_v41/constructors/messages_channelMessages.md index 8948bf1d..eadc5001 100644 --- a/old_docs/API_docs_v41/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v41/constructors/messages_channelMessages.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -37,10 +37,9 @@ $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'c ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v41/constructors/messages_chatFull.md b/old_docs/API_docs_v41/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v41/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v41/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v41/constructors/messages_chats.md b/old_docs/API_docs_v41/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v41/constructors/messages_chats.md +++ b/old_docs/API_docs_v41/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v41/constructors/messages_dhConfig.md b/old_docs/API_docs_v41/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v41/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v41/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v41/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v41/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v41/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v41/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v41/constructors/messages_dialogs.md b/old_docs/API_docs_v41/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v41/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v41/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v41/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v41/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v41/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v41/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v41/constructors/messages_messages.md b/old_docs/API_docs_v41/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v41/constructors/messages_messages.md +++ b/old_docs/API_docs_v41/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v41/constructors/messages_messagesSlice.md b/old_docs/API_docs_v41/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v41/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v41/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v41/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v41/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v41/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v41/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v41/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v41/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v41/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v41/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v41/constructors/messages_stickerSet.md b/old_docs/API_docs_v41/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/old_docs/API_docs_v41/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v41/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v41/constructors/messages_stickers.md b/old_docs/API_docs_v41/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v41/constructors/messages_stickers.md +++ b/old_docs/API_docs_v41/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v41/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v41/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v41/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v41/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v41/constructors/nearestDc.md b/old_docs/API_docs_v41/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v41/constructors/nearestDc.md +++ b/old_docs/API_docs_v41/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v41/constructors/notifyAll.md b/old_docs/API_docs_v41/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v41/constructors/notifyAll.md +++ b/old_docs/API_docs_v41/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v41/constructors/notifyChats.md b/old_docs/API_docs_v41/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v41/constructors/notifyChats.md +++ b/old_docs/API_docs_v41/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v41/constructors/notifyPeer.md b/old_docs/API_docs_v41/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v41/constructors/notifyPeer.md +++ b/old_docs/API_docs_v41/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v41/constructors/notifyUsers.md b/old_docs/API_docs_v41/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v41/constructors/notifyUsers.md +++ b/old_docs/API_docs_v41/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v41/constructors/peerChannel.md b/old_docs/API_docs_v41/constructors/peerChannel.md index f30e3f41..360d5c42 100644 --- a/old_docs/API_docs_v41/constructors/peerChannel.md +++ b/old_docs/API_docs_v41/constructors/peerChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/peerChat.md b/old_docs/API_docs_v41/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v41/constructors/peerChat.md +++ b/old_docs/API_docs_v41/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v41/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v41/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v41/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v41/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v41/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v41/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v41/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/peerNotifySettings.md b/old_docs/API_docs_v41/constructors/peerNotifySettings.md index 513132f4..12c5bbb9 100644 --- a/old_docs/API_docs_v41/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v41/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v41/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v41/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v41/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v41/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/peerUser.md b/old_docs/API_docs_v41/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v41/constructors/peerUser.md +++ b/old_docs/API_docs_v41/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/photo.md b/old_docs/API_docs_v41/constructors/photo.md index 7055e7a9..982122b9 100644 --- a/old_docs/API_docs_v41/constructors/photo.md +++ b/old_docs/API_docs_v41/constructors/photo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -35,10 +35,9 @@ $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v41/constructors/photoCachedSize.md b/old_docs/API_docs_v41/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v41/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v41/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v41/constructors/photoEmpty.md b/old_docs/API_docs_v41/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v41/constructors/photoEmpty.md +++ b/old_docs/API_docs_v41/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v41/constructors/photoSize.md b/old_docs/API_docs_v41/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v41/constructors/photoSize.md +++ b/old_docs/API_docs_v41/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v41/constructors/photoSizeEmpty.md b/old_docs/API_docs_v41/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v41/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v41/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/photos_photo.md b/old_docs/API_docs_v41/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v41/constructors/photos_photo.md +++ b/old_docs/API_docs_v41/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v41/constructors/photos_photos.md b/old_docs/API_docs_v41/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v41/constructors/photos_photos.md +++ b/old_docs/API_docs_v41/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v41/constructors/photos_photosSlice.md b/old_docs/API_docs_v41/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v41/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v41/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v41/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v41/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v41/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v41/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v41/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v41/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v41/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v41/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v41/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v41/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v41/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v41/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v41/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v41/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v41/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v41/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v41/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v41/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v41/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v41/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v41/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v41/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v41/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v41/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v41/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v41/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v41/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v41/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v41/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v41/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/old_docs/API_docs_v41/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v41/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v41/constructors/replyKeyboardForceReply.md index 56e255c1..3f7fae8c 100644 --- a/old_docs/API_docs_v41/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v41/constructors/replyKeyboardForceReply.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` @@ -33,10 +33,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool} ``` diff --git a/old_docs/API_docs_v41/constructors/replyKeyboardHide.md b/old_docs/API_docs_v41/constructors/replyKeyboardHide.md index 7251db49..30e9f399 100644 --- a/old_docs/API_docs_v41/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v41/constructors/replyKeyboardHide.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` @@ -32,10 +32,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide', selective=Bool} ``` diff --git a/old_docs/API_docs_v41/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v41/constructors/replyKeyboardMarkup.md index 87a55463..80f3f654 100644 --- a/old_docs/API_docs_v41/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v41/constructors/replyKeyboardMarkup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -35,10 +35,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v41/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v41/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v41/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v41/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v41/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v41/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v41/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v41/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v41/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v41/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v41/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v41/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v41/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v41/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/old_docs/API_docs_v41/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v41/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/old_docs/API_docs_v41/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v41/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/old_docs/API_docs_v41/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v41/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/old_docs/API_docs_v41/constructors/stickerPack.md b/old_docs/API_docs_v41/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v41/constructors/stickerPack.md +++ b/old_docs/API_docs_v41/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v41/constructors/stickerSet.md b/old_docs/API_docs_v41/constructors/stickerSet.md index 4f0e5ff2..695e2aea 100644 --- a/old_docs/API_docs_v41/constructors/stickerSet.md +++ b/old_docs/API_docs_v41/constructors/stickerSet.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -40,10 +40,9 @@ $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'of ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', installed=Bool, disabled=Bool, official=Bool, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/old_docs/API_docs_v41/constructors/storage_fileGif.md b/old_docs/API_docs_v41/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v41/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v41/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v41/constructors/storage_fileJpeg.md b/old_docs/API_docs_v41/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v41/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v41/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v41/constructors/storage_fileMov.md b/old_docs/API_docs_v41/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v41/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v41/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v41/constructors/storage_fileMp3.md b/old_docs/API_docs_v41/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v41/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v41/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v41/constructors/storage_fileMp4.md b/old_docs/API_docs_v41/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v41/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v41/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v41/constructors/storage_filePartial.md b/old_docs/API_docs_v41/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v41/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v41/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v41/constructors/storage_filePdf.md b/old_docs/API_docs_v41/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v41/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v41/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v41/constructors/storage_filePng.md b/old_docs/API_docs_v41/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v41/constructors/storage_filePng.md +++ b/old_docs/API_docs_v41/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v41/constructors/storage_fileUnknown.md b/old_docs/API_docs_v41/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v41/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v41/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v41/constructors/storage_fileWebp.md b/old_docs/API_docs_v41/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v41/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v41/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v41/constructors/true.md b/old_docs/API_docs_v41/constructors/true.md index 2e27ecbf..4863f16b 100644 --- a/old_docs/API_docs_v41/constructors/true.md +++ b/old_docs/API_docs_v41/constructors/true.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $true = ['_' => 'true']; ``` @@ -27,10 +27,9 @@ $true = ['_' => 'true']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua true={_='true'} ``` diff --git a/old_docs/API_docs_v41/constructors/updateChannel.md b/old_docs/API_docs_v41/constructors/updateChannel.md index e615920a..fb876328 100644 --- a/old_docs/API_docs_v41/constructors/updateChannel.md +++ b/old_docs/API_docs_v41/constructors/updateChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannel={_='updateChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updateChannelGroup.md b/old_docs/API_docs_v41/constructors/updateChannelGroup.md index c322e296..8266d55a 100644 --- a/old_docs/API_docs_v41/constructors/updateChannelGroup.md +++ b/old_docs/API_docs_v41/constructors/updateChannelGroup.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup]; ``` @@ -33,10 +33,9 @@ $updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelGroup={_='updateChannelGroup', channel_id=int, group=MessageGroup} ``` diff --git a/old_docs/API_docs_v41/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v41/constructors/updateChannelMessageViews.md index 19e0b648..d62f055a 100644 --- a/old_docs/API_docs_v41/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v41/constructors/updateChannelMessageViews.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` @@ -34,10 +34,9 @@ $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updateChannelTooLong.md b/old_docs/API_docs_v41/constructors/updateChannelTooLong.md index c4366f91..5665f1a4 100644 --- a/old_docs/API_docs_v41/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v41/constructors/updateChannelTooLong.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelTooLong={_='updateChannelTooLong', channel_id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updateChatAdmins.md b/old_docs/API_docs_v41/constructors/updateChatAdmins.md index 87ffd626..aac09762 100644 --- a/old_docs/API_docs_v41/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v41/constructors/updateChatAdmins.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v41/constructors/updateChatParticipantAdd.md index ea5157ad..fe76dc62 100644 --- a/old_docs/API_docs_v41/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v41/constructors/updateChatParticipantAdd.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` @@ -36,10 +36,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v41/constructors/updateChatParticipantAdmin.md index b1022850..d262b2e6 100644 --- a/old_docs/API_docs_v41/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v41/constructors/updateChatParticipantAdmin.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v41/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v41/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v41/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updateChatParticipants.md b/old_docs/API_docs_v41/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v41/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v41/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v41/constructors/updateChatUserTyping.md b/old_docs/API_docs_v41/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v41/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v41/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v41/constructors/updateContactLink.md b/old_docs/API_docs_v41/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v41/constructors/updateContactLink.md +++ b/old_docs/API_docs_v41/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v41/constructors/updateContactRegistered.md b/old_docs/API_docs_v41/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v41/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v41/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updateDcOptions.md b/old_docs/API_docs_v41/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v41/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v41/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v41/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v41/constructors/updateDeleteChannelMessages.md index 0f84f3f7..8fb10b65 100644 --- a/old_docs/API_docs_v41/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v41/constructors/updateDeleteChannelMessages.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updateDeleteMessages.md b/old_docs/API_docs_v41/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v41/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v41/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v41/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v41/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v41/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v41/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v41/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v41/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updateEncryption.md b/old_docs/API_docs_v41/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v41/constructors/updateEncryption.md +++ b/old_docs/API_docs_v41/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updateMessageID.md b/old_docs/API_docs_v41/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v41/constructors/updateMessageID.md +++ b/old_docs/API_docs_v41/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updateNewAuthorization.md b/old_docs/API_docs_v41/constructors/updateNewAuthorization.md index c7a95f80..ce1d0815 100644 --- a/old_docs/API_docs_v41/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v41/constructors/updateNewAuthorization.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` @@ -35,10 +35,9 @@ $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device='string', location='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v41/constructors/updateNewChannelMessage.md index 59dbc820..9fa1c7ec 100644 --- a/old_docs/API_docs_v41/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v41/constructors/updateNewChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Messa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v41/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v41/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v41/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updateNewMessage.md b/old_docs/API_docs_v41/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v41/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v41/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updateNotifySettings.md b/old_docs/API_docs_v41/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v41/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v41/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v41/constructors/updatePrivacy.md b/old_docs/API_docs_v41/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v41/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v41/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v41/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v41/constructors/updateReadChannelInbox.md index be964e20..c8c26acb 100644 --- a/old_docs/API_docs_v41/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v41/constructors/updateReadChannelInbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v41/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v41/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v41/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v41/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v41/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v41/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v41/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/old_docs/API_docs_v41/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v41/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updateServiceNotification.md b/old_docs/API_docs_v41/constructors/updateServiceNotification.md index 979fe7bd..ddcf7eb5 100644 --- a/old_docs/API_docs_v41/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v41/constructors/updateServiceNotification.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` @@ -35,10 +35,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'str ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', type='string', message='string', media=MessageMedia, popup=Bool} ``` diff --git a/old_docs/API_docs_v41/constructors/updateShort.md b/old_docs/API_docs_v41/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v41/constructors/updateShort.md +++ b/old_docs/API_docs_v41/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updateShortChatMessage.md b/old_docs/API_docs_v41/constructors/updateShortChatMessage.md index 9382f3a3..7fa1621b 100644 --- a/old_docs/API_docs_v41/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v41/constructors/updateShortChatMessage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -46,10 +46,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'o ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v41/constructors/updateShortMessage.md b/old_docs/API_docs_v41/constructors/updateShortMessage.md index fb37fba7..ba861761 100644 --- a/old_docs/API_docs_v41/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v41/constructors/updateShortMessage.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -45,10 +45,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v41/constructors/updateShortSentMessage.md b/old_docs/API_docs_v41/constructors/updateShortSentMessage.md index 0e40bd22..f35f8285 100644 --- a/old_docs/API_docs_v41/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v41/constructors/updateShortSentMessage.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -39,10 +39,9 @@ $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'o ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortSentMessage={_='updateShortSentMessage', unread=Bool, out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v41/constructors/updateUserBlocked.md b/old_docs/API_docs_v41/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v41/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v41/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v41/constructors/updateUserName.md b/old_docs/API_docs_v41/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v41/constructors/updateUserName.md +++ b/old_docs/API_docs_v41/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/updateUserPhone.md b/old_docs/API_docs_v41/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v41/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v41/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v41/constructors/updateUserPhoto.md b/old_docs/API_docs_v41/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v41/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v41/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v41/constructors/updateUserStatus.md b/old_docs/API_docs_v41/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v41/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v41/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v41/constructors/updateUserTyping.md b/old_docs/API_docs_v41/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v41/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v41/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v41/constructors/updateWebPage.md b/old_docs/API_docs_v41/constructors/updateWebPage.md index 9f468619..932d8ff2 100644 --- a/old_docs/API_docs_v41/constructors/updateWebPage.md +++ b/old_docs/API_docs_v41/constructors/updateWebPage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updates.md b/old_docs/API_docs_v41/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v41/constructors/updates.md +++ b/old_docs/API_docs_v41/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updatesCombined.md b/old_docs/API_docs_v41/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v41/constructors/updatesCombined.md +++ b/old_docs/API_docs_v41/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updatesTooLong.md b/old_docs/API_docs_v41/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v41/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v41/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v41/constructors/updates_channelDifference.md b/old_docs/API_docs_v41/constructors/updates_channelDifference.md index 21b618c2..df1dafd6 100644 --- a/old_docs/API_docs_v41/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v41/constructors/updates_channelDifference.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v41/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v41/constructors/updates_channelDifferenceEmpty.md index a2e49340..a5be0377 100644 --- a/old_docs/API_docs_v41/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v41/constructors/updates_channelDifferenceEmpty.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'fin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v41/constructors/updates_channelDifferenceTooLong.md index 47f23144..28fc12ca 100644 --- a/old_docs/API_docs_v41/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v41/constructors/updates_channelDifferenceTooLong.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -42,10 +42,9 @@ $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v41/constructors/updates_difference.md b/old_docs/API_docs_v41/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v41/constructors/updates_difference.md +++ b/old_docs/API_docs_v41/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v41/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v41/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v41/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v41/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v41/constructors/updates_differenceSlice.md b/old_docs/API_docs_v41/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v41/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v41/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v41/constructors/updates_state.md b/old_docs/API_docs_v41/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v41/constructors/updates_state.md +++ b/old_docs/API_docs_v41/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v41/constructors/upload_file.md b/old_docs/API_docs_v41/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v41/constructors/upload_file.md +++ b/old_docs/API_docs_v41/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v41/constructors/user.md b/old_docs/API_docs_v41/constructors/user.md index 3d112d76..29a310e1 100644 --- a/old_docs/API_docs_v41/constructors/user.md +++ b/old_docs/API_docs_v41/constructors/user.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int]; ``` @@ -48,10 +48,9 @@ $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int} ``` diff --git a/old_docs/API_docs_v41/constructors/userEmpty.md b/old_docs/API_docs_v41/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v41/constructors/userEmpty.md +++ b/old_docs/API_docs_v41/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v41/constructors/userFull.md b/old_docs/API_docs_v41/constructors/userFull.md index dff5cfa2..9b32a434 100644 --- a/old_docs/API_docs_v41/constructors/userFull.md +++ b/old_docs/API_docs_v41/constructors/userFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` @@ -37,10 +37,9 @@ $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v41/constructors/userProfilePhoto.md b/old_docs/API_docs_v41/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v41/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v41/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v41/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v41/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v41/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v41/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/userStatusEmpty.md b/old_docs/API_docs_v41/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v41/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v41/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v41/constructors/userStatusLastMonth.md b/old_docs/API_docs_v41/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v41/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v41/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v41/constructors/userStatusLastWeek.md b/old_docs/API_docs_v41/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v41/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v41/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v41/constructors/userStatusOffline.md b/old_docs/API_docs_v41/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v41/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v41/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v41/constructors/userStatusOnline.md b/old_docs/API_docs_v41/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v41/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v41/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v41/constructors/userStatusRecently.md b/old_docs/API_docs_v41/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v41/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v41/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v41/constructors/vector.md b/old_docs/API_docs_v41/constructors/vector.md index c9e27763..d8ea6f1f 100644 --- a/old_docs/API_docs_v41/constructors/vector.md +++ b/old_docs/API_docs_v41/constructors/vector.md @@ -18,7 +18,7 @@ Array ### Example: -``` +```php $vector = ['_' => 'vector']; ``` @@ -29,10 +29,9 @@ $vector = ['_' => 'vector']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua vector={_='vector'} ``` diff --git a/old_docs/API_docs_v41/constructors/video.md b/old_docs/API_docs_v41/constructors/video.md index 58154db2..a0ab3175 100644 --- a/old_docs/API_docs_v41/constructors/video.md +++ b/old_docs/API_docs_v41/constructors/video.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int]; ``` @@ -41,10 +41,9 @@ $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua video={_='video', id=long, access_hash=long, date=int, duration=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v41/constructors/videoEmpty.md b/old_docs/API_docs_v41/constructors/videoEmpty.md index 8509fcf9..a41ca8ab 100644 --- a/old_docs/API_docs_v41/constructors/videoEmpty.md +++ b/old_docs/API_docs_v41/constructors/videoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua videoEmpty={_='videoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v41/constructors/wallPaper.md b/old_docs/API_docs_v41/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v41/constructors/wallPaper.md +++ b/old_docs/API_docs_v41/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v41/constructors/wallPaperSolid.md b/old_docs/API_docs_v41/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v41/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v41/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v41/constructors/webPage.md b/old_docs/API_docs_v41/constructors/webPage.md index 1023918f..fe5271f3 100644 --- a/old_docs/API_docs_v41/constructors/webPage.md +++ b/old_docs/API_docs_v41/constructors/webPage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document]; ``` @@ -46,10 +46,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document} ``` diff --git a/old_docs/API_docs_v41/constructors/webPageEmpty.md b/old_docs/API_docs_v41/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v41/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v41/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v41/constructors/webPagePending.md b/old_docs/API_docs_v41/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v41/constructors/webPagePending.md +++ b/old_docs/API_docs_v41/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v41/methods/account_changePhone.md b/old_docs/API_docs_v41/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v41/methods/account_changePhone.md +++ b/old_docs/API_docs_v41/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/account_checkUsername.md b/old_docs/API_docs_v41/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v41/methods/account_checkUsername.md +++ b/old_docs/API_docs_v41/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/account_deleteAccount.md b/old_docs/API_docs_v41/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v41/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v41/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/account_getAccountTTL.md b/old_docs/API_docs_v41/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v41/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v41/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v41/methods/account_getAuthorizations.md b/old_docs/API_docs_v41/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v41/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v41/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v41/methods/account_getNotifySettings.md b/old_docs/API_docs_v41/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v41/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v41/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v41/methods/account_getPassword.md b/old_docs/API_docs_v41/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v41/methods/account_getPassword.md +++ b/old_docs/API_docs_v41/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v41/methods/account_getPasswordSettings.md b/old_docs/API_docs_v41/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v41/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v41/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v41/methods/account_getPrivacy.md b/old_docs/API_docs_v41/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v41/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v41/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v41/methods/account_getWallPapers.md b/old_docs/API_docs_v41/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v41/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v41/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v41/methods/account_registerDevice.md b/old_docs/API_docs_v41/methods/account_registerDevice.md index bd2b5649..3192933d 100644 --- a/old_docs/API_docs_v41/methods/account_registerDevice.md +++ b/old_docs/API_docs_v41/methods/account_registerDevice.md @@ -30,7 +30,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', device_model='string', system_version='string', app_version='string', app_sandbox=Bool, lang_code='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/account_resetAuthorization.md b/old_docs/API_docs_v41/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v41/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v41/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v41/methods/account_resetNotifySettings.md b/old_docs/API_docs_v41/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v41/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v41/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md index 2fcdcc4c..12ea92c5 100644 --- a/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md @@ -24,7 +24,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/account_setAccountTTL.md b/old_docs/API_docs_v41/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v41/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v41/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v41/methods/account_setPrivacy.md b/old_docs/API_docs_v41/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v41/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v41/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v41/methods/account_unregisterDevice.md b/old_docs/API_docs_v41/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v41/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v41/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v41/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v41/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v41/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/account_updateNotifySettings.md b/old_docs/API_docs_v41/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v41/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v41/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v41/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v41/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v41/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v41/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v41/methods/account_updateProfile.md b/old_docs/API_docs_v41/methods/account_updateProfile.md index 541086a6..5034a6da 100644 --- a/old_docs/API_docs_v41/methods/account_updateProfile.md +++ b/old_docs/API_docs_v41/methods/account_updateProfile.md @@ -25,7 +25,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ last_name - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/account_updateStatus.md b/old_docs/API_docs_v41/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v41/methods/account_updateStatus.md +++ b/old_docs/API_docs_v41/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v41/methods/account_updateUsername.md b/old_docs/API_docs_v41/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v41/methods/account_updateUsername.md +++ b/old_docs/API_docs_v41/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/auth_checkPhone.md b/old_docs/API_docs_v41/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v41/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v41/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/auth_recoverPassword.md b/old_docs/API_docs_v41/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v41/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v41/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v41/methods/auth_sendCall.md b/old_docs/API_docs_v41/methods/auth_sendCall.md index 70a2870f..e8260454 100644 --- a/old_docs/API_docs_v41/methods/auth_sendCall.md +++ b/old_docs/API_docs_v41/methods/auth_sendCall.md @@ -25,7 +25,7 @@ Send verification phone call ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/auth_sendInvites.md b/old_docs/API_docs_v41/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v41/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v41/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/auth_sendSms.md b/old_docs/API_docs_v41/methods/auth_sendSms.md index 6c31f570..050926ff 100644 --- a/old_docs/API_docs_v41/methods/auth_sendSms.md +++ b/old_docs/API_docs_v41/methods/auth_sendSms.md @@ -25,7 +25,7 @@ Send SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_checkUsername.md b/old_docs/API_docs_v41/methods/channels_checkUsername.md index d287b3ca..573bf8f0 100644 --- a/old_docs/API_docs_v41/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v41/methods/channels_checkUsername.md @@ -25,7 +25,7 @@ Check if this username is free and can be assigned to a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.checkUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_createChannel.md b/old_docs/API_docs_v41/methods/channels_createChannel.md index 356f473a..1821c864 100644 --- a/old_docs/API_docs_v41/methods/channels_createChannel.md +++ b/old_docs/API_docs_v41/methods/channels_createChannel.md @@ -27,7 +27,7 @@ Create channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title='string', about='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_deleteChannel.md b/old_docs/API_docs_v41/methods/channels_deleteChannel.md index b55d91b8..a79ccb9f 100644 --- a/old_docs/API_docs_v41/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v41/methods/channels_deleteChannel.md @@ -24,7 +24,7 @@ Delete a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.deleteChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_deleteMessages.md b/old_docs/API_docs_v41/methods/channels_deleteMessages.md index 03625c94..8cd7ebb3 100644 --- a/old_docs/API_docs_v41/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v41/methods/channels_deleteMessages.md @@ -25,7 +25,7 @@ Delete channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v41/methods/channels_deleteUserHistory.md index 204a8786..78baa90f 100644 --- a/old_docs/API_docs_v41/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v41/methods/channels_deleteUserHistory.md @@ -25,7 +25,7 @@ Delete all messages of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_editAbout.md b/old_docs/API_docs_v41/methods/channels_editAbout.md index fd861133..549d7ea5 100644 --- a/old_docs/API_docs_v41/methods/channels_editAbout.md +++ b/old_docs/API_docs_v41/methods/channels_editAbout.md @@ -25,7 +25,7 @@ Edit the about text of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.editAbout({channel=InputChannel, about='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_editAdmin.md b/old_docs/API_docs_v41/methods/channels_editAdmin.md index 63bc3b26..9e3d6ecc 100644 --- a/old_docs/API_docs_v41/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v41/methods/channels_editAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ role - Json encoded ChannelParticipantRole Or, if you're into Lua: -``` +```lua Bool = channels.editAdmin({channel=InputChannel, user_id=InputUser, role=ChannelParticipantRole, }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_editPhoto.md b/old_docs/API_docs_v41/methods/channels_editPhoto.md index ccbaed65..7013c6e2 100644 --- a/old_docs/API_docs_v41/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v41/methods/channels_editPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = channels.editPhoto({channel=InputChannel, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_editTitle.md b/old_docs/API_docs_v41/methods/channels_editTitle.md index ffd868ba..a9c8c50f 100644 --- a/old_docs/API_docs_v41/methods/channels_editTitle.md +++ b/old_docs/API_docs_v41/methods/channels_editTitle.md @@ -25,7 +25,7 @@ Edit the title of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.editTitle({channel=InputChannel, title='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_exportInvite.md b/old_docs/API_docs_v41/methods/channels_exportInvite.md index 0b4b5c31..5a92097a 100644 --- a/old_docs/API_docs_v41/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v41/methods/channels_exportInvite.md @@ -24,7 +24,7 @@ Export the invite link of a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua ExportedChatInvite = channels.exportInvite({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_getChannels.md b/old_docs/API_docs_v41/methods/channels_getChannels.md index 71edac7b..a146be1e 100644 --- a/old_docs/API_docs_v41/methods/channels_getChannels.md +++ b/old_docs/API_docs_v41/methods/channels_getChannels.md @@ -24,7 +24,7 @@ Get info about multiple channels/supergroups ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputChannel Or, if you're into Lua: -``` +```lua messages_Chats = channels.getChannels({id={InputChannel}, }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_getDialogs.md b/old_docs/API_docs_v41/methods/channels_getDialogs.md index c3acd0e6..b238558d 100644 --- a/old_docs/API_docs_v41/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v41/methods/channels_getDialogs.md @@ -25,7 +25,7 @@ Get channel dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = channels.getDialogs({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_getImportantHistory.md b/old_docs/API_docs_v41/methods/channels_getImportantHistory.md index e038bde8..374afee5 100644 --- a/old_docs/API_docs_v41/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v41/methods/channels_getImportantHistory.md @@ -29,7 +29,7 @@ Get important channel/supergroup history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getImportantHistory({channel=InputChannel, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_getMessages.md b/old_docs/API_docs_v41/methods/channels_getMessages.md index 217757eb..208cbcc4 100644 --- a/old_docs/API_docs_v41/methods/channels_getMessages.md +++ b/old_docs/API_docs_v41/methods/channels_getMessages.md @@ -25,7 +25,7 @@ Get channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_getParticipant.md b/old_docs/API_docs_v41/methods/channels_getParticipant.md index a641d213..9cf80799 100644 --- a/old_docs/API_docs_v41/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v41/methods/channels_getParticipant.md @@ -25,7 +25,7 @@ Get info about a certain channel/supergroup participant ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_getParticipants.md b/old_docs/API_docs_v41/methods/channels_getParticipants.md index c2f0cdcd..3d4dfa13 100644 --- a/old_docs/API_docs_v41/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v41/methods/channels_getParticipants.md @@ -27,7 +27,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_inviteToChannel.md b/old_docs/API_docs_v41/methods/channels_inviteToChannel.md index 0a350cc8..998e3895 100644 --- a/old_docs/API_docs_v41/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v41/methods/channels_inviteToChannel.md @@ -25,7 +25,7 @@ Add users to channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ users - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Updates = channels.inviteToChannel({channel=InputChannel, users={InputUser}, }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_joinChannel.md b/old_docs/API_docs_v41/methods/channels_joinChannel.md index aae2bc1c..3c6a3b94 100644 --- a/old_docs/API_docs_v41/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v41/methods/channels_joinChannel.md @@ -24,7 +24,7 @@ Join a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.joinChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_kickFromChannel.md b/old_docs/API_docs_v41/methods/channels_kickFromChannel.md index c51cea7c..7586bdf6 100644 --- a/old_docs/API_docs_v41/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v41/methods/channels_kickFromChannel.md @@ -26,7 +26,7 @@ Kick user from channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ kicked - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.kickFromChannel({channel=InputChannel, user_id=InputUser, kicked=Bool, }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_leaveChannel.md b/old_docs/API_docs_v41/methods/channels_leaveChannel.md index 4e6701fe..0934089f 100644 --- a/old_docs/API_docs_v41/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v41/methods/channels_leaveChannel.md @@ -24,7 +24,7 @@ Leave a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.leaveChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_readHistory.md b/old_docs/API_docs_v41/methods/channels_readHistory.md index d76919ff..cf5c1529 100644 --- a/old_docs/API_docs_v41/methods/channels_readHistory.md +++ b/old_docs/API_docs_v41/methods/channels_readHistory.md @@ -25,7 +25,7 @@ Mark channel/supergroup history as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.readHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_reportSpam.md b/old_docs/API_docs_v41/methods/channels_reportSpam.md index 48022662..b0e99eb1 100644 --- a/old_docs/API_docs_v41/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v41/methods/channels_reportSpam.md @@ -26,7 +26,7 @@ Report a message in a supergroup/channel for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.reportSpam({channel=InputChannel, user_id=InputUser, id={int}, }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_toggleComments.md b/old_docs/API_docs_v41/methods/channels_toggleComments.md index 52e2c7ae..230b0315 100644 --- a/old_docs/API_docs_v41/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v41/methods/channels_toggleComments.md @@ -25,7 +25,7 @@ Enable channel comments ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleComments({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v41/methods/channels_updateUsername.md b/old_docs/API_docs_v41/methods/channels_updateUsername.md index 2e07e123..c0df8c7c 100644 --- a/old_docs/API_docs_v41/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v41/methods/channels_updateUsername.md @@ -25,7 +25,7 @@ Update the username of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.updateUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/contacts_block.md b/old_docs/API_docs_v41/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v41/methods/contacts_block.md +++ b/old_docs/API_docs_v41/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v41/methods/contacts_deleteContact.md b/old_docs/API_docs_v41/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v41/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v41/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v41/methods/contacts_deleteContacts.md b/old_docs/API_docs_v41/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v41/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v41/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v41/methods/contacts_exportCard.md b/old_docs/API_docs_v41/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v41/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v41/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v41/methods/contacts_getBlocked.md b/old_docs/API_docs_v41/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v41/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v41/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/contacts_getContacts.md b/old_docs/API_docs_v41/methods/contacts_getContacts.md index ccf0f99d..dfa407f2 100644 --- a/old_docs/API_docs_v41/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v41/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/contacts_getStatuses.md b/old_docs/API_docs_v41/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v41/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v41/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v41/methods/contacts_getSuggested.md b/old_docs/API_docs_v41/methods/contacts_getSuggested.md index d7feb718..8183eae4 100644 --- a/old_docs/API_docs_v41/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v41/methods/contacts_getSuggested.md @@ -24,7 +24,7 @@ Get suggested contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/contacts_importCard.md b/old_docs/API_docs_v41/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v41/methods/contacts_importCard.md +++ b/old_docs/API_docs_v41/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v41/methods/contacts_importContacts.md b/old_docs/API_docs_v41/methods/contacts_importContacts.md index d0404dd2..f1b17e2c 100644 --- a/old_docs/API_docs_v41/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v41/methods/contacts_importContacts.md @@ -25,7 +25,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ replace - Json encoded Bool Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v41/methods/contacts_search.md b/old_docs/API_docs_v41/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v41/methods/contacts_search.md +++ b/old_docs/API_docs_v41/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/contacts_unblock.md b/old_docs/API_docs_v41/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v41/methods/contacts_unblock.md +++ b/old_docs/API_docs_v41/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v41/methods/help_getAppChangelog.md b/old_docs/API_docs_v41/methods/help_getAppChangelog.md index e5f9dae5..872c377b 100644 --- a/old_docs/API_docs_v41/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v41/methods/help_getAppChangelog.md @@ -27,7 +27,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/help_getAppUpdate.md b/old_docs/API_docs_v41/methods/help_getAppUpdate.md index a501cbc5..4bdf36c3 100644 --- a/old_docs/API_docs_v41/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v41/methods/help_getAppUpdate.md @@ -27,7 +27,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/help_getConfig.md b/old_docs/API_docs_v41/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v41/methods/help_getConfig.md +++ b/old_docs/API_docs_v41/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v41/methods/help_getInviteText.md b/old_docs/API_docs_v41/methods/help_getInviteText.md index 1b31e572..797e2ad3 100644 --- a/old_docs/API_docs_v41/methods/help_getInviteText.md +++ b/old_docs/API_docs_v41/methods/help_getInviteText.md @@ -24,7 +24,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/help_getNearestDc.md b/old_docs/API_docs_v41/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v41/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v41/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v41/methods/help_getSupport.md b/old_docs/API_docs_v41/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v41/methods/help_getSupport.md +++ b/old_docs/API_docs_v41/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v41/methods/help_saveAppLog.md b/old_docs/API_docs_v41/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v41/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v41/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v41/methods/initConnection.md b/old_docs/API_docs_v41/methods/initConnection.md index 58cdb067..e34794f8 100644 --- a/old_docs/API_docs_v41/methods/initConnection.md +++ b/old_docs/API_docs_v41/methods/initConnection.md @@ -29,7 +29,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v41/methods/invokeAfterMsg.md b/old_docs/API_docs_v41/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v41/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v41/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v41/methods/invokeAfterMsgs.md b/old_docs/API_docs_v41/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v41/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v41/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v41/methods/invokeWithLayer.md b/old_docs/API_docs_v41/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v41/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v41/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v41/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v41/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/old_docs/API_docs_v41/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v41/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_addChatUser.md b/old_docs/API_docs_v41/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v41/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v41/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_checkChatInvite.md b/old_docs/API_docs_v41/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/old_docs/API_docs_v41/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v41/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_createChat.md b/old_docs/API_docs_v41/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v41/methods/messages_createChat.md +++ b/old_docs/API_docs_v41/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_deactivateChat.md b/old_docs/API_docs_v41/methods/messages_deactivateChat.md index 910f2bee..b0d17027 100644 --- a/old_docs/API_docs_v41/methods/messages_deactivateChat.md +++ b/old_docs/API_docs_v41/methods/messages_deactivateChat.md @@ -25,7 +25,7 @@ Deactivate chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = messages.deactivateChat({chat_id=InputPeer, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_deleteChatUser.md b/old_docs/API_docs_v41/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v41/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v41/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_deleteHistory.md b/old_docs/API_docs_v41/methods/messages_deleteHistory.md index 4b00d3a2..444d6758 100644 --- a/old_docs/API_docs_v41/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v41/methods/messages_deleteHistory.md @@ -25,7 +25,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_deleteMessages.md b/old_docs/API_docs_v41/methods/messages_deleteMessages.md index 2aa9d7d1..24152bec 100644 --- a/old_docs/API_docs_v41/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v41/methods/messages_deleteMessages.md @@ -24,7 +24,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_editChatAdmin.md b/old_docs/API_docs_v41/methods/messages_editChatAdmin.md index a2dad97f..f883b50e 100644 --- a/old_docs/API_docs_v41/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v41/methods/messages_editChatAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ is_admin - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.editChatAdmin({chat_id=InputPeer, user_id=InputUser, is_admin=Bool, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_editChatPhoto.md b/old_docs/API_docs_v41/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v41/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v41/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_editChatTitle.md b/old_docs/API_docs_v41/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v41/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v41/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_exportChatInvite.md b/old_docs/API_docs_v41/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/old_docs/API_docs_v41/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v41/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_forwardMessage.md b/old_docs/API_docs_v41/methods/messages_forwardMessage.md index 586670b8..d9c0453f 100644 --- a/old_docs/API_docs_v41/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v41/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_forwardMessages.md b/old_docs/API_docs_v41/methods/messages_forwardMessages.md index 1bc42a02..036d61fe 100644 --- a/old_docs/API_docs_v41/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v41/methods/messages_forwardMessages.md @@ -27,7 +27,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ to_peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({broadcast=Bool, from_peer=InputPeer, id={int}, to_peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_getAllStickers.md b/old_docs/API_docs_v41/methods/messages_getAllStickers.md index faa8eea2..c90a48ea 100644 --- a/old_docs/API_docs_v41/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v41/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_getChats.md b/old_docs/API_docs_v41/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v41/methods/messages_getChats.md +++ b/old_docs/API_docs_v41/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_getDialogs.md b/old_docs/API_docs_v41/methods/messages_getDialogs.md index d3992fed..7e926d52 100644 --- a/old_docs/API_docs_v41/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v41/methods/messages_getDialogs.md @@ -25,7 +25,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_getHistory.md b/old_docs/API_docs_v41/methods/messages_getHistory.md index 955f71cf..cfa5867b 100644 --- a/old_docs/API_docs_v41/methods/messages_getHistory.md +++ b/old_docs/API_docs_v41/methods/messages_getHistory.md @@ -29,7 +29,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_getMessages.md b/old_docs/API_docs_v41/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v41/methods/messages_getMessages.md +++ b/old_docs/API_docs_v41/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_getMessagesViews.md b/old_docs/API_docs_v41/methods/messages_getMessagesViews.md index 57a99054..b2b6110e 100644 --- a/old_docs/API_docs_v41/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v41/methods/messages_getMessagesViews.md @@ -26,7 +26,7 @@ Get and increase message views ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ increment - Json encoded Bool Or, if you're into Lua: -``` +```lua Vector_of_int = messages.getMessagesViews({peer=InputPeer, id={int}, increment=Bool, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_getStickerSet.md b/old_docs/API_docs_v41/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/old_docs/API_docs_v41/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v41/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_getStickers.md b/old_docs/API_docs_v41/methods/messages_getStickers.md index b1d3bd83..f4ca9972 100644 --- a/old_docs/API_docs_v41/methods/messages_getStickers.md +++ b/old_docs/API_docs_v41/methods/messages_getStickers.md @@ -25,7 +25,7 @@ Get stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v41/methods/messages_getWebPagePreview.md index 8475c8f5..4838be94 100644 --- a/old_docs/API_docs_v41/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v41/methods/messages_getWebPagePreview.md @@ -24,7 +24,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_importChatInvite.md b/old_docs/API_docs_v41/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/old_docs/API_docs_v41/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v41/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_installStickerSet.md b/old_docs/API_docs_v41/methods/messages_installStickerSet.md index 1cd832e5..41be11e1 100644 --- a/old_docs/API_docs_v41/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v41/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ disabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.installStickerSet({stickerset=InputStickerSet, disabled=Bool, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_migrateChat.md b/old_docs/API_docs_v41/methods/messages_migrateChat.md index df91f510..e789ff7d 100644 --- a/old_docs/API_docs_v41/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v41/methods/messages_migrateChat.md @@ -24,7 +24,7 @@ Convert chat to supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.migrateChat({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_readHistory.md b/old_docs/API_docs_v41/methods/messages_readHistory.md index 48d7fb45..4a2188d8 100644 --- a/old_docs/API_docs_v41/methods/messages_readHistory.md +++ b/old_docs/API_docs_v41/methods/messages_readHistory.md @@ -25,7 +25,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_readMessageContents.md b/old_docs/API_docs_v41/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v41/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v41/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_receivedMessages.md b/old_docs/API_docs_v41/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/old_docs/API_docs_v41/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v41/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_reportSpam.md b/old_docs/API_docs_v41/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/old_docs/API_docs_v41/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v41/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_search.md b/old_docs/API_docs_v41/methods/messages_search.md index c39973e1..4a1f85e3 100644 --- a/old_docs/API_docs_v41/methods/messages_search.md +++ b/old_docs/API_docs_v41/methods/messages_search.md @@ -32,7 +32,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({important_only=Bool, peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_searchGlobal.md b/old_docs/API_docs_v41/methods/messages_searchGlobal.md index 4d05bf0d..1fb73592 100644 --- a/old_docs/API_docs_v41/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v41/methods/messages_searchGlobal.md @@ -28,7 +28,7 @@ Global message search ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_sendBroadcast.md b/old_docs/API_docs_v41/methods/messages_sendBroadcast.md index 11f43d4c..5813ba9c 100644 --- a/old_docs/API_docs_v41/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v41/methods/messages_sendBroadcast.md @@ -26,7 +26,7 @@ Send a message to all users in the chat list ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua Updates = messages.sendBroadcast({contacts={InputUser}, message='string', media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_sendEncrypted.md b/old_docs/API_docs_v41/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v41/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v41/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v41/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v41/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v41/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_sendMedia.md b/old_docs/API_docs_v41/methods/messages_sendMedia.md index 5b315147..e57e9e3a 100644 --- a/old_docs/API_docs_v41/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v41/methods/messages_sendMedia.md @@ -28,7 +28,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({broadcast=Bool, peer=InputPeer, reply_to_msg_id=int, media=InputMedia, reply_markup=ReplyMarkup, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_sendMessage.md b/old_docs/API_docs_v41/methods/messages_sendMessage.md index de30373d..b3360767 100644 --- a/old_docs/API_docs_v41/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v41/methods/messages_sendMessage.md @@ -31,7 +31,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMessage({no_webpage=Bool, broadcast=Bool, peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_setTyping.md b/old_docs/API_docs_v41/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v41/methods/messages_setTyping.md +++ b/old_docs/API_docs_v41/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_startBot.md b/old_docs/API_docs_v41/methods/messages_startBot.md index 506957a7..71f82822 100644 --- a/old_docs/API_docs_v41/methods/messages_startBot.md +++ b/old_docs/API_docs_v41/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md index 0f1e56fa..56438277 100644 --- a/old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md @@ -25,7 +25,7 @@ Enable all users are admins in normal groups (not supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = messages.toggleChatAdmins({chat_id=InputPeer, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v41/methods/photos_deletePhotos.md b/old_docs/API_docs_v41/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v41/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v41/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v41/methods/photos_getUserPhotos.md b/old_docs/API_docs_v41/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/old_docs/API_docs_v41/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v41/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md index 706f0a01..7341e4e7 100644 --- a/old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md @@ -25,7 +25,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md index 99064210..1debfc82 100644 --- a/old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md @@ -27,7 +27,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v41/methods/users_getUsers.md b/old_docs/API_docs_v41/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v41/methods/users_getUsers.md +++ b/old_docs/API_docs_v41/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v41/types/Chat.md b/old_docs/API_docs_v41/types/Chat.md index cd83aacb..58654e6e 100644 --- a/old_docs/API_docs_v41/types/Chat.md +++ b/old_docs/API_docs_v41/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v41/types/InputChannel.md b/old_docs/API_docs_v41/types/InputChannel.md index 3882099d..6dc802fc 100644 --- a/old_docs/API_docs_v41/types/InputChannel.md +++ b/old_docs/API_docs_v41/types/InputChannel.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputChannel = '@username'; // Username $InputChannel = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v41/types/InputEncryptedChat.md b/old_docs/API_docs_v41/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v41/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v41/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v41/types/InputEncryptedFile.md b/old_docs/API_docs_v41/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v41/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v41/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v41/types/InputFile.md b/old_docs/API_docs_v41/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v41/types/InputFile.md +++ b/old_docs/API_docs_v41/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v41/types/InputNotifyPeer.md b/old_docs/API_docs_v41/types/InputNotifyPeer.md index ffc1f0cf..f9d0a662 100644 --- a/old_docs/API_docs_v41/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v41/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v41/types/InputPeer.md b/old_docs/API_docs_v41/types/InputPeer.md index 2076c00b..2649db1a 100644 --- a/old_docs/API_docs_v41/types/InputPeer.md +++ b/old_docs/API_docs_v41/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v41/types/InputUser.md b/old_docs/API_docs_v41/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/old_docs/API_docs_v41/types/InputUser.md +++ b/old_docs/API_docs_v41/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v41/types/KeyboardButton.md b/old_docs/API_docs_v41/types/KeyboardButton.md index f292ca69..9de6a7fc 100644 --- a/old_docs/API_docs_v41/types/KeyboardButton.md +++ b/old_docs/API_docs_v41/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/old_docs/API_docs_v41/types/NotifyPeer.md b/old_docs/API_docs_v41/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v41/types/NotifyPeer.md +++ b/old_docs/API_docs_v41/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v41/types/Peer.md b/old_docs/API_docs_v41/types/Peer.md index ebb98e91..0ab7fdcc 100644 --- a/old_docs/API_docs_v41/types/Peer.md +++ b/old_docs/API_docs_v41/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v41/types/User.md b/old_docs/API_docs_v41/types/User.md index b145a3f8..5385caa4 100644 --- a/old_docs/API_docs_v41/types/User.md +++ b/old_docs/API_docs_v41/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v42/constructors/accountDaysTTL.md b/old_docs/API_docs_v42/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v42/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v42/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v42/constructors/account_authorizations.md b/old_docs/API_docs_v42/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v42/constructors/account_authorizations.md +++ b/old_docs/API_docs_v42/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v42/constructors/account_noPassword.md b/old_docs/API_docs_v42/constructors/account_noPassword.md index 81a483d6..63a4af6d 100644 --- a/old_docs/API_docs_v42/constructors/account_noPassword.md +++ b/old_docs/API_docs_v42/constructors/account_noPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -33,10 +33,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'emai ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/account_password.md b/old_docs/API_docs_v42/constructors/account_password.md index 9a8b31c6..5c4c334b 100644 --- a/old_docs/API_docs_v42/constructors/account_password.md +++ b/old_docs/API_docs_v42/constructors/account_password.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` @@ -36,10 +36,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v42/constructors/account_passwordInputSettings.md index f474e0c7..b5838f0a 100644 --- a/old_docs/API_docs_v42/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v42/constructors/account_passwordInputSettings.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v42/constructors/account_passwordSettings.md b/old_docs/API_docs_v42/constructors/account_passwordSettings.md index 27d14f59..04fc8621 100644 --- a/old_docs/API_docs_v42/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v42/constructors/account_passwordSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v42/constructors/account_privacyRules.md b/old_docs/API_docs_v42/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v42/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v42/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v42/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v42/constructors/account_sentChangePhoneCode.md index 7bfd04ab..34044265 100644 --- a/old_docs/API_docs_v42/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v42/constructors/account_sentChangePhoneCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; ``` @@ -33,10 +33,9 @@ $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} ``` diff --git a/old_docs/API_docs_v42/constructors/audio.md b/old_docs/API_docs_v42/constructors/audio.md index 1d899f64..785de6e2 100644 --- a/old_docs/API_docs_v42/constructors/audio.md +++ b/old_docs/API_docs_v42/constructors/audio.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` @@ -38,10 +38,9 @@ $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audio={_='audio', id=long, access_hash=long, date=int, duration=int, mime_type='string', size=int, dc_id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/audioEmpty.md b/old_docs/API_docs_v42/constructors/audioEmpty.md index 2b0ed960..846367f4 100644 --- a/old_docs/API_docs_v42/constructors/audioEmpty.md +++ b/old_docs/API_docs_v42/constructors/audioEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audioEmpty={_='audioEmpty', id=long} ``` diff --git a/old_docs/API_docs_v42/constructors/auth_authorization.md b/old_docs/API_docs_v42/constructors/auth_authorization.md index bbe5a8b9..1a75a113 100644 --- a/old_docs/API_docs_v42/constructors/auth_authorization.md +++ b/old_docs/API_docs_v42/constructors/auth_authorization.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` @@ -32,10 +32,9 @@ $auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_authorization={_='auth.authorization', user=User} ``` diff --git a/old_docs/API_docs_v42/constructors/auth_checkedPhone.md b/old_docs/API_docs_v42/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v42/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v42/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v42/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v42/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v42/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v42/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v42/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v42/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v42/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v42/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v42/constructors/auth_sentAppCode.md b/old_docs/API_docs_v42/constructors/auth_sentAppCode.md index 1f354541..ec13efba 100644 --- a/old_docs/API_docs_v42/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v42/constructors/auth_sentAppCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'pho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v42/constructors/auth_sentCode.md b/old_docs/API_docs_v42/constructors/auth_sentCode.md index 01834b65..2b5301e1 100644 --- a/old_docs/API_docs_v42/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v42/constructors/auth_sentCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v42/constructors/authorization.md b/old_docs/API_docs_v42/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v42/constructors/authorization.md +++ b/old_docs/API_docs_v42/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v42/constructors/botCommand.md b/old_docs/API_docs_v42/constructors/botCommand.md index 8569358d..fcb65461 100644 --- a/old_docs/API_docs_v42/constructors/botCommand.md +++ b/old_docs/API_docs_v42/constructors/botCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v42/constructors/botInfo.md b/old_docs/API_docs_v42/constructors/botInfo.md index afa0de7c..86584a29 100644 --- a/old_docs/API_docs_v42/constructors/botInfo.md +++ b/old_docs/API_docs_v42/constructors/botInfo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => 'string', 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -36,10 +36,9 @@ $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInfo={_='botInfo', user_id=int, version=int, share_text='string', description='string', commands={BotCommand}} ``` diff --git a/old_docs/API_docs_v42/constructors/botInfoEmpty.md b/old_docs/API_docs_v42/constructors/botInfoEmpty.md index df42ad4b..7afd677c 100644 --- a/old_docs/API_docs_v42/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v42/constructors/botInfoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfoEmpty = ['_' => 'botInfoEmpty']; ``` @@ -27,10 +27,9 @@ $botInfoEmpty = ['_' => 'botInfoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInfoEmpty={_='botInfoEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/channel.md b/old_docs/API_docs_v42/constructors/channel.md index 2911847d..1b003087 100644 --- a/old_docs/API_docs_v42/constructors/channel.md +++ b/old_docs/API_docs_v42/constructors/channel.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'username' => 'string', 'photo' => ChatPhoto, 'date' => int, 'version' => int]; ``` @@ -46,10 +46,9 @@ $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, id=int, access_hash=long, title='string', username='string', photo=ChatPhoto, date=int, version=int} ``` diff --git a/old_docs/API_docs_v42/constructors/channelForbidden.md b/old_docs/API_docs_v42/constructors/channelForbidden.md index cc8b60d1..6e168c38 100644 --- a/old_docs/API_docs_v42/constructors/channelForbidden.md +++ b/old_docs/API_docs_v42/constructors/channelForbidden.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` @@ -34,10 +34,9 @@ $channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelForbidden={_='channelForbidden', id=int, access_hash=long, title='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/channelFull.md b/old_docs/API_docs_v42/constructors/channelFull.md index 70916a7a..3fac209b 100644 --- a/old_docs/API_docs_v42/constructors/channelFull.md +++ b/old_docs/API_docs_v42/constructors/channelFull.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_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]; ``` @@ -46,10 +46,9 @@ $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelFull={_='channelFull', can_view_participants=Bool, id=int, about='string', participants_count=int, admins_count=int, kicked_count=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/channelMessagesFilter.md b/old_docs/API_docs_v42/constructors/channelMessagesFilter.md index f4d8feff..9b929e61 100644 --- a/old_docs/API_docs_v42/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v42/constructors/channelMessagesFilter.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]]; ``` @@ -34,10 +34,9 @@ $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilter={_='channelMessagesFilter', important_only=Bool, exclude_new_messages=Bool, ranges={MessageRange}} ``` diff --git a/old_docs/API_docs_v42/constructors/channelMessagesFilterCollapsed.md b/old_docs/API_docs_v42/constructors/channelMessagesFilterCollapsed.md index fa1fff29..770cc788 100644 --- a/old_docs/API_docs_v42/constructors/channelMessagesFilterCollapsed.md +++ b/old_docs/API_docs_v42/constructors/channelMessagesFilterCollapsed.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterCollapsed={_='channelMessagesFilterCollapsed'} ``` diff --git a/old_docs/API_docs_v42/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v42/constructors/channelMessagesFilterEmpty.md index 350e50de..a446b896 100644 --- a/old_docs/API_docs_v42/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v42/constructors/channelMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/channelParticipant.md b/old_docs/API_docs_v42/constructors/channelParticipant.md index c7de5400..dbcb792b 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipant.md +++ b/old_docs/API_docs_v42/constructors/channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v42/constructors/channelParticipantCreator.md b/old_docs/API_docs_v42/constructors/channelParticipantCreator.md index 86cafe0a..e999fb9c 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantCreator={_='channelParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/channelParticipantEditor.md b/old_docs/API_docs_v42/constructors/channelParticipantEditor.md index 37ae4bb0..7c7e4dc9 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantEditor.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v42/constructors/channelParticipantKicked.md b/old_docs/API_docs_v42/constructors/channelParticipantKicked.md index ccc454be..6bcc2e0f 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantKicked.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int} ``` diff --git a/old_docs/API_docs_v42/constructors/channelParticipantModerator.md b/old_docs/API_docs_v42/constructors/channelParticipantModerator.md index 90b4ab52..49c68acd 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantModerator.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v42/constructors/channelParticipantSelf.md b/old_docs/API_docs_v42/constructors/channelParticipantSelf.md index 83864972..4b5949ac 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantSelf.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v42/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v42/constructors/channelParticipantsAdmins.md index c86cb9a4..4b0c30d4 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantsAdmins.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` @@ -27,10 +27,9 @@ $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v42/constructors/channelParticipantsBots.md b/old_docs/API_docs_v42/constructors/channelParticipantsBots.md index 30875f94..66e510c7 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantsBots.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` @@ -27,10 +27,9 @@ $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v42/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v42/constructors/channelParticipantsKicked.md index 7f026ceb..38cf128e 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantsKicked.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` @@ -27,10 +27,9 @@ $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v42/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v42/constructors/channelParticipantsRecent.md index e4cb6466..51e57069 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantsRecent.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` @@ -27,10 +27,9 @@ $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v42/constructors/channelRoleEditor.md b/old_docs/API_docs_v42/constructors/channelRoleEditor.md index 86d953a9..1e472d2f 100644 --- a/old_docs/API_docs_v42/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v42/constructors/channelRoleEditor.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` @@ -27,10 +27,9 @@ $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v42/constructors/channelRoleEmpty.md b/old_docs/API_docs_v42/constructors/channelRoleEmpty.md index a50bb310..85d1c3fb 100644 --- a/old_docs/API_docs_v42/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v42/constructors/channelRoleEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` @@ -27,10 +27,9 @@ $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/channelRoleModerator.md b/old_docs/API_docs_v42/constructors/channelRoleModerator.md index 781f60ad..f242ff5c 100644 --- a/old_docs/API_docs_v42/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v42/constructors/channelRoleModerator.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` @@ -27,10 +27,9 @@ $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleModerator={_='channelRoleModerator'} ``` diff --git a/old_docs/API_docs_v42/constructors/channels_channelParticipant.md b/old_docs/API_docs_v42/constructors/channels_channelParticipant.md index bdf27b08..107502c5 100644 --- a/old_docs/API_docs_v42/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v42/constructors/channels_channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v42/constructors/channels_channelParticipants.md b/old_docs/API_docs_v42/constructors/channels_channelParticipants.md index 1b76b1e0..0402423f 100644 --- a/old_docs/API_docs_v42/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v42/constructors/channels_channelParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v42/constructors/chat.md b/old_docs/API_docs_v42/constructors/chat.md index 5ae1811d..b6f24f3e 100644 --- a/old_docs/API_docs_v42/constructors/chat.md +++ b/old_docs/API_docs_v42/constructors/chat.md @@ -33,7 +33,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -44,10 +44,9 @@ $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} ``` diff --git a/old_docs/API_docs_v42/constructors/chatEmpty.md b/old_docs/API_docs_v42/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v42/constructors/chatEmpty.md +++ b/old_docs/API_docs_v42/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/chatForbidden.md b/old_docs/API_docs_v42/constructors/chatForbidden.md index de5bb302..61c45660 100644 --- a/old_docs/API_docs_v42/constructors/chatForbidden.md +++ b/old_docs/API_docs_v42/constructors/chatForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v42/constructors/chatFull.md b/old_docs/API_docs_v42/constructors/chatFull.md index 6e138596..2a5f67f6 100644 --- a/old_docs/API_docs_v42/constructors/chatFull.md +++ b/old_docs/API_docs_v42/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v42/constructors/chatInvite.md b/old_docs/API_docs_v42/constructors/chatInvite.md index 6cf6e489..3c3a0001 100644 --- a/old_docs/API_docs_v42/constructors/chatInvite.md +++ b/old_docs/API_docs_v42/constructors/chatInvite.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string']; ``` @@ -36,10 +36,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v42/constructors/chatInviteAlready.md b/old_docs/API_docs_v42/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/old_docs/API_docs_v42/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v42/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/old_docs/API_docs_v42/constructors/chatInviteEmpty.md b/old_docs/API_docs_v42/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/old_docs/API_docs_v42/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v42/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/chatInviteExported.md b/old_docs/API_docs_v42/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/old_docs/API_docs_v42/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v42/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/chatParticipant.md b/old_docs/API_docs_v42/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v42/constructors/chatParticipant.md +++ b/old_docs/API_docs_v42/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v42/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v42/constructors/chatParticipantAdmin.md index 62aee9a4..63a38575 100644 --- a/old_docs/API_docs_v42/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v42/constructors/chatParticipantAdmin.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v42/constructors/chatParticipantCreator.md b/old_docs/API_docs_v42/constructors/chatParticipantCreator.md index 0fb7b6ef..75b9c4d4 100644 --- a/old_docs/API_docs_v42/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v42/constructors/chatParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantCreator={_='chatParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/chatParticipants.md b/old_docs/API_docs_v42/constructors/chatParticipants.md index 38af2ca5..ae254290 100644 --- a/old_docs/API_docs_v42/constructors/chatParticipants.md +++ b/old_docs/API_docs_v42/constructors/chatParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v42/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v42/constructors/chatParticipantsForbidden.md index 2ecdfe10..639b30ee 100644 --- a/old_docs/API_docs_v42/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v42/constructors/chatParticipantsForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v42/constructors/chatPhoto.md b/old_docs/API_docs_v42/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v42/constructors/chatPhoto.md +++ b/old_docs/API_docs_v42/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v42/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v42/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v42/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v42/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/config.md b/old_docs/API_docs_v42/constructors/config.md index 164ba218..9db65b85 100644 --- a/old_docs/API_docs_v42/constructors/config.md +++ b/old_docs/API_docs_v42/constructors/config.md @@ -38,7 +38,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -49,10 +49,9 @@ $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v42/constructors/contact.md b/old_docs/API_docs_v42/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v42/constructors/contact.md +++ b/old_docs/API_docs_v42/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v42/constructors/contactBlocked.md b/old_docs/API_docs_v42/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v42/constructors/contactBlocked.md +++ b/old_docs/API_docs_v42/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v42/constructors/contactLinkContact.md b/old_docs/API_docs_v42/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v42/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v42/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v42/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v42/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v42/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v42/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v42/constructors/contactLinkNone.md b/old_docs/API_docs_v42/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v42/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v42/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v42/constructors/contactLinkUnknown.md b/old_docs/API_docs_v42/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v42/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v42/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v42/constructors/contactStatus.md b/old_docs/API_docs_v42/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v42/constructors/contactStatus.md +++ b/old_docs/API_docs_v42/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v42/constructors/contactSuggested.md b/old_docs/API_docs_v42/constructors/contactSuggested.md index 7dc8105c..e90bf7c9 100644 --- a/old_docs/API_docs_v42/constructors/contactSuggested.md +++ b/old_docs/API_docs_v42/constructors/contactSuggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` @@ -33,10 +33,9 @@ $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int} ``` diff --git a/old_docs/API_docs_v42/constructors/contacts_blocked.md b/old_docs/API_docs_v42/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v42/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v42/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v42/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v42/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v42/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v42/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v42/constructors/contacts_contacts.md b/old_docs/API_docs_v42/constructors/contacts_contacts.md index 34dae91a..ea16b38a 100644 --- a/old_docs/API_docs_v42/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v42/constructors/contacts_contacts.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} ``` diff --git a/old_docs/API_docs_v42/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v42/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v42/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v42/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v42/constructors/contacts_found.md b/old_docs/API_docs_v42/constructors/contacts_found.md index 7e0e458c..624fa475 100644 --- a/old_docs/API_docs_v42/constructors/contacts_found.md +++ b/old_docs/API_docs_v42/constructors/contacts_found.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v42/constructors/contacts_importedContacts.md b/old_docs/API_docs_v42/constructors/contacts_importedContacts.md index 7bf9c1bf..8b9012bb 100644 --- a/old_docs/API_docs_v42/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v42/constructors/contacts_importedContacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v42/constructors/contacts_link.md b/old_docs/API_docs_v42/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v42/constructors/contacts_link.md +++ b/old_docs/API_docs_v42/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v42/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v42/constructors/contacts_resolvedPeer.md index add29235..4aa323dd 100644 --- a/old_docs/API_docs_v42/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v42/constructors/contacts_resolvedPeer.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v42/constructors/contacts_suggested.md b/old_docs/API_docs_v42/constructors/contacts_suggested.md index 553cebcb..2659d855 100644 --- a/old_docs/API_docs_v42/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v42/constructors/contacts_suggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggest ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} ``` diff --git a/old_docs/API_docs_v42/constructors/dcOption.md b/old_docs/API_docs_v42/constructors/dcOption.md index 176671ce..72ecd652 100644 --- a/old_docs/API_docs_v42/constructors/dcOption.md +++ b/old_docs/API_docs_v42/constructors/dcOption.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` @@ -36,10 +36,9 @@ $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', ipv6=Bool, media_only=Bool, id=int, ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v42/constructors/dialog.md b/old_docs/API_docs_v42/constructors/dialog.md index cbb327d6..539225bf 100644 --- a/old_docs/API_docs_v42/constructors/dialog.md +++ b/old_docs/API_docs_v42/constructors/dialog.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` @@ -36,10 +36,9 @@ $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_ma ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v42/constructors/dialogChannel.md b/old_docs/API_docs_v42/constructors/dialogChannel.md index 298ffa24..918b6bed 100644 --- a/old_docs/API_docs_v42/constructors/dialogChannel.md +++ b/old_docs/API_docs_v42/constructors/dialogChannel.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int]; ``` @@ -39,10 +39,9 @@ $dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialogChannel={_='dialogChannel', peer=Peer, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, notify_settings=PeerNotifySettings, pts=int} ``` diff --git a/old_docs/API_docs_v42/constructors/disabledFeature.md b/old_docs/API_docs_v42/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v42/constructors/disabledFeature.md +++ b/old_docs/API_docs_v42/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/document.md b/old_docs/API_docs_v42/constructors/document.md index 8719d873..e9547f1f 100644 --- a/old_docs/API_docs_v42/constructors/document.md +++ b/old_docs/API_docs_v42/constructors/document.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -39,10 +39,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v42/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v42/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v42/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v42/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v42/constructors/documentAttributeAudio.md b/old_docs/API_docs_v42/constructors/documentAttributeAudio.md index 8fb77965..8bf344bb 100644 --- a/old_docs/API_docs_v42/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v42/constructors/documentAttributeAudio.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => 'string', 'performer' => 'string']; ``` @@ -34,10 +34,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', duration=int, title='string', performer='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/documentAttributeFilename.md b/old_docs/API_docs_v42/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v42/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v42/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v42/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v42/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v42/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v42/constructors/documentAttributeSticker.md b/old_docs/API_docs_v42/constructors/documentAttributeSticker.md index d44d94cd..397679ef 100644 --- a/old_docs/API_docs_v42/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v42/constructors/documentAttributeSticker.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` @@ -33,10 +33,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', alt='string', stickerset=InputStickerSet} ``` diff --git a/old_docs/API_docs_v42/constructors/documentAttributeVideo.md b/old_docs/API_docs_v42/constructors/documentAttributeVideo.md index 0902c118..cc7ffced 100644 --- a/old_docs/API_docs_v42/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v42/constructors/documentAttributeVideo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -34,10 +34,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v42/constructors/documentEmpty.md b/old_docs/API_docs_v42/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v42/constructors/documentEmpty.md +++ b/old_docs/API_docs_v42/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v42/constructors/encryptedChat.md b/old_docs/API_docs_v42/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v42/constructors/encryptedChat.md +++ b/old_docs/API_docs_v42/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v42/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v42/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v42/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v42/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v42/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v42/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v42/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/encryptedChatRequested.md b/old_docs/API_docs_v42/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v42/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v42/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v42/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v42/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v42/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v42/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/encryptedFile.md b/old_docs/API_docs_v42/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v42/constructors/encryptedFile.md +++ b/old_docs/API_docs_v42/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v42/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v42/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v42/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v42/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/encryptedMessage.md b/old_docs/API_docs_v42/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v42/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v42/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v42/constructors/encryptedMessageService.md b/old_docs/API_docs_v42/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v42/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v42/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v42/constructors/error.md b/old_docs/API_docs_v42/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v42/constructors/error.md +++ b/old_docs/API_docs_v42/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/fileLocation.md b/old_docs/API_docs_v42/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v42/constructors/fileLocation.md +++ b/old_docs/API_docs_v42/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v42/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v42/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v42/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v42/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v42/constructors/geoPoint.md b/old_docs/API_docs_v42/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v42/constructors/geoPoint.md +++ b/old_docs/API_docs_v42/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v42/constructors/geoPointEmpty.md b/old_docs/API_docs_v42/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v42/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v42/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/help_appChangelog.md b/old_docs/API_docs_v42/constructors/help_appChangelog.md index 5b7b353a..d30f8acd 100644 --- a/old_docs/API_docs_v42/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v42/constructors/help_appChangelog.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelog={_='help.appChangelog', text='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v42/constructors/help_appChangelogEmpty.md index 0f0827c3..e20017b7 100644 --- a/old_docs/API_docs_v42/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v42/constructors/help_appChangelogEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` @@ -27,10 +27,9 @@ $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelogEmpty={_='help.appChangelogEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/help_appUpdate.md b/old_docs/API_docs_v42/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v42/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v42/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/help_inviteText.md b/old_docs/API_docs_v42/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v42/constructors/help_inviteText.md +++ b/old_docs/API_docs_v42/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/help_noAppUpdate.md b/old_docs/API_docs_v42/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v42/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v42/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v42/constructors/help_support.md b/old_docs/API_docs_v42/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v42/constructors/help_support.md +++ b/old_docs/API_docs_v42/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v42/constructors/importedContact.md b/old_docs/API_docs_v42/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v42/constructors/importedContact.md +++ b/old_docs/API_docs_v42/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v42/constructors/inputAppEvent.md b/old_docs/API_docs_v42/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v42/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v42/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputAudio.md b/old_docs/API_docs_v42/constructors/inputAudio.md index c428307e..ac1c82e3 100644 --- a/old_docs/API_docs_v42/constructors/inputAudio.md +++ b/old_docs/API_docs_v42/constructors/inputAudio.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudio={_='inputAudio', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v42/constructors/inputAudioEmpty.md b/old_docs/API_docs_v42/constructors/inputAudioEmpty.md index a84b3e67..b0b4e934 100644 --- a/old_docs/API_docs_v42/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputAudioEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` @@ -27,10 +27,9 @@ $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v42/constructors/inputAudioFileLocation.md index f95ad919..a2633244 100644 --- a/old_docs/API_docs_v42/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v42/constructors/inputAudioFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v42/constructors/inputChannel.md b/old_docs/API_docs_v42/constructors/inputChannel.md index b5cb3566..34ed10ca 100644 --- a/old_docs/API_docs_v42/constructors/inputChannel.md +++ b/old_docs/API_docs_v42/constructors/inputChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannel={_='inputChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v42/constructors/inputChannelEmpty.md b/old_docs/API_docs_v42/constructors/inputChannelEmpty.md index f7e18434..bd53602b 100644 --- a/old_docs/API_docs_v42/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputChannelEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` @@ -27,10 +27,9 @@ $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputChatPhoto.md b/old_docs/API_docs_v42/constructors/inputChatPhoto.md index 5affda9a..7ad8a3f7 100644 --- a/old_docs/API_docs_v42/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v42/constructors/inputChatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputP ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v42/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v42/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v42/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v42/constructors/inputChatUploadedPhoto.md index a22405b2..ed0624da 100644 --- a/old_docs/API_docs_v42/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v42/constructors/inputChatUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v42/constructors/inputDocument.md b/old_docs/API_docs_v42/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v42/constructors/inputDocument.md +++ b/old_docs/API_docs_v42/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v42/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v42/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v42/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v42/constructors/inputDocumentFileLocation.md index 2ba7d2b3..5d593784 100644 --- a/old_docs/API_docs_v42/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v42/constructors/inputDocumentFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v42/constructors/inputEncryptedChat.md b/old_docs/API_docs_v42/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v42/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v42/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v42/constructors/inputEncryptedFile.md b/old_docs/API_docs_v42/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v42/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v42/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v42/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v42/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v42/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v42/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v42/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v42/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v42/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v42/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v42/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v42/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v42/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v42/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v42/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v42/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v42/constructors/inputFile.md b/old_docs/API_docs_v42/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v42/constructors/inputFile.md +++ b/old_docs/API_docs_v42/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputFileBig.md b/old_docs/API_docs_v42/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v42/constructors/inputFileBig.md +++ b/old_docs/API_docs_v42/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputFileLocation.md b/old_docs/API_docs_v42/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v42/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v42/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v42/constructors/inputGeoPoint.md b/old_docs/API_docs_v42/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v42/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v42/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v42/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v42/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v42/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMediaAudio.md b/old_docs/API_docs_v42/constructors/inputMediaAudio.md index 6ebbe6ec..6c166ec0 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v42/constructors/inputMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` @@ -32,10 +32,9 @@ $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaAudio={_='inputMediaAudio', id=InputAudio} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMediaContact.md b/old_docs/API_docs_v42/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v42/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMediaDocument.md b/old_docs/API_docs_v42/constructors/inputMediaDocument.md index f652113b..f671c3e5 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v42/constructors/inputMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` @@ -32,10 +32,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMediaEmpty.md b/old_docs/API_docs_v42/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v42/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v42/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMediaPhoto.md b/old_docs/API_docs_v42/constructors/inputMediaPhoto.md index 0be7f6fe..71f4ded5 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v42/constructors/inputMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v42/constructors/inputMediaUploadedAudio.md index 4eb4cb85..73fcb4f8 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v42/constructors/inputMediaUploadedAudio.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v42/constructors/inputMediaUploadedDocument.md index 06758275..e89ad515 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v42/constructors/inputMediaUploadedDocument.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v42/constructors/inputMediaUploadedPhoto.md index 499857ce..ad2a8680 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v42/constructors/inputMediaUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v42/constructors/inputMediaUploadedThumbDocument.md index eea9edcd..b98b9004 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v42/constructors/inputMediaUploadedThumbDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -35,10 +35,9 @@ $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v42/constructors/inputMediaUploadedThumbVideo.md index 0a4afc86..e9d00c6e 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v42/constructors/inputMediaUploadedThumbVideo.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` @@ -38,10 +38,9 @@ $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type='string', caption='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v42/constructors/inputMediaUploadedVideo.md index 2409751b..b3984571 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v42/constructors/inputMediaUploadedVideo.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` @@ -37,10 +37,9 @@ $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type='string', caption='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMediaVenue.md b/old_docs/API_docs_v42/constructors/inputMediaVenue.md index 3e7ee3a1..b2171fbc 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v42/constructors/inputMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMediaVideo.md b/old_docs/API_docs_v42/constructors/inputMediaVideo.md index 05af7adb..b16b97d5 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v42/constructors/inputMediaVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVideo={_='inputMediaVideo', id=InputVideo, caption='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterAudio.md index 066b1642..79c822fc 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterAudio.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterAudioDocuments.md index 7badd17c..a8963d46 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterAudioDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputNotifyAll.md b/old_docs/API_docs_v42/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v42/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v42/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputNotifyChats.md b/old_docs/API_docs_v42/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v42/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v42/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputNotifyPeer.md b/old_docs/API_docs_v42/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v42/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v42/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v42/constructors/inputNotifyUsers.md b/old_docs/API_docs_v42/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v42/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v42/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPeerChannel.md b/old_docs/API_docs_v42/constructors/inputPeerChannel.md index 8b84fe20..14c2f105 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v42/constructors/inputPeerChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPeerChat.md b/old_docs/API_docs_v42/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v42/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPeerEmpty.md b/old_docs/API_docs_v42/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v42/constructors/inputPeerNotifySettings.md index ce1896bb..a600e880 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v42/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPeerSelf.md b/old_docs/API_docs_v42/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v42/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPeerUser.md b/old_docs/API_docs_v42/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v42/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPhoneContact.md b/old_docs/API_docs_v42/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v42/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v42/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPhoto.md b/old_docs/API_docs_v42/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v42/constructors/inputPhoto.md +++ b/old_docs/API_docs_v42/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPhotoCrop.md b/old_docs/API_docs_v42/constructors/inputPhotoCrop.md index b35bf42f..e90029a9 100644 --- a/old_docs/API_docs_v42/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v42/constructors/inputPhotoCrop.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` @@ -34,10 +34,9 @@ $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v42/constructors/inputPhotoCropAuto.md index 6c2f121d..37414b14 100644 --- a/old_docs/API_docs_v42/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v42/constructors/inputPhotoCropAuto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` @@ -27,10 +27,9 @@ $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v42/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v42/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v42/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v42/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v42/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v42/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v42/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/old_docs/API_docs_v42/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputStickerSetID.md b/old_docs/API_docs_v42/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/old_docs/API_docs_v42/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v42/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v42/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v42/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/old_docs/API_docs_v42/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v42/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputUser.md b/old_docs/API_docs_v42/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/old_docs/API_docs_v42/constructors/inputUser.md +++ b/old_docs/API_docs_v42/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v42/constructors/inputUserEmpty.md b/old_docs/API_docs_v42/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v42/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputUserSelf.md b/old_docs/API_docs_v42/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v42/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v42/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputVideo.md b/old_docs/API_docs_v42/constructors/inputVideo.md index 4ea87c56..b3874cd7 100644 --- a/old_docs/API_docs_v42/constructors/inputVideo.md +++ b/old_docs/API_docs_v42/constructors/inputVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideo={_='inputVideo', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v42/constructors/inputVideoEmpty.md b/old_docs/API_docs_v42/constructors/inputVideoEmpty.md index b69984f7..5322ed90 100644 --- a/old_docs/API_docs_v42/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputVideoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` @@ -27,10 +27,9 @@ $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v42/constructors/inputVideoFileLocation.md index 2692222e..d9a3f678 100644 --- a/old_docs/API_docs_v42/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v42/constructors/inputVideoFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v42/constructors/keyboardButton.md b/old_docs/API_docs_v42/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/old_docs/API_docs_v42/constructors/keyboardButton.md +++ b/old_docs/API_docs_v42/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/keyboardButtonRow.md b/old_docs/API_docs_v42/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/old_docs/API_docs_v42/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v42/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/old_docs/API_docs_v42/constructors/message.md b/old_docs/API_docs_v42/constructors/message.md index 3d2739e8..da052237 100644 --- a/old_docs/API_docs_v42/constructors/message.md +++ b/old_docs/API_docs_v42/constructors/message.md @@ -36,7 +36,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'views' => int]; ``` @@ -47,10 +47,9 @@ $message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int} ``` diff --git a/old_docs/API_docs_v42/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v42/constructors/messageActionChannelCreate.md index b1750d73..2600ab63 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v42/constructors/messageActionChannelCreate.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v42/constructors/messageActionChannelMigrateFrom.md index add136dc..1fdcf3f4 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v42/constructors/messageActionChannelMigrateFrom.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 't ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v42/constructors/messageActionChatAddUser.md index 9c7de7f8..283365cd 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', users={int}} ``` diff --git a/old_docs/API_docs_v42/constructors/messageActionChatCreate.md b/old_docs/API_docs_v42/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v42/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v42/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v42/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v42/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v42/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v42/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v42/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v42/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v42/constructors/messageActionChatMigrateTo.md index 21d2cb22..8ace1091 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatMigrateTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/messageActionEmpty.md b/old_docs/API_docs_v42/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v42/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v42/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/messageEmpty.md b/old_docs/API_docs_v42/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v42/constructors/messageEmpty.md +++ b/old_docs/API_docs_v42/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/messageEntityBold.md b/old_docs/API_docs_v42/constructors/messageEntityBold.md index 950699fb..90f74ad5 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v42/constructors/messageEntityBold.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v42/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v42/constructors/messageEntityBotCommand.md index 8be471d3..9fb8f6a6 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v42/constructors/messageEntityBotCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v42/constructors/messageEntityCode.md b/old_docs/API_docs_v42/constructors/messageEntityCode.md index 7c701844..d236e57e 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v42/constructors/messageEntityCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v42/constructors/messageEntityEmail.md b/old_docs/API_docs_v42/constructors/messageEntityEmail.md index 35a968c7..74e910f3 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v42/constructors/messageEntityEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v42/constructors/messageEntityHashtag.md b/old_docs/API_docs_v42/constructors/messageEntityHashtag.md index 6b124e73..77e29387 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v42/constructors/messageEntityHashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v42/constructors/messageEntityItalic.md b/old_docs/API_docs_v42/constructors/messageEntityItalic.md index 25f73428..5975bae2 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v42/constructors/messageEntityItalic.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v42/constructors/messageEntityMention.md b/old_docs/API_docs_v42/constructors/messageEntityMention.md index 9eb4d266..1a21cb10 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v42/constructors/messageEntityMention.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v42/constructors/messageEntityPre.md b/old_docs/API_docs_v42/constructors/messageEntityPre.md index abfc9136..13b165fe 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v42/constructors/messageEntityPre.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPre={_='messageEntityPre', offset=int, length=int, language='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v42/constructors/messageEntityTextUrl.md index 91f6d36c..b6d82843 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v42/constructors/messageEntityTextUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/messageEntityUnknown.md b/old_docs/API_docs_v42/constructors/messageEntityUnknown.md index 69ca8a1b..4c434fd7 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v42/constructors/messageEntityUnknown.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v42/constructors/messageEntityUrl.md b/old_docs/API_docs_v42/constructors/messageEntityUrl.md index 377c3dda..2cf334a5 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v42/constructors/messageEntityUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v42/constructors/messageGroup.md b/old_docs/API_docs_v42/constructors/messageGroup.md index 31de6cb4..ee695490 100644 --- a/old_docs/API_docs_v42/constructors/messageGroup.md +++ b/old_docs/API_docs_v42/constructors/messageGroup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int]; ``` @@ -35,10 +35,9 @@ $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageGroup={_='messageGroup', min_id=int, max_id=int, count=int, date=int} ``` diff --git a/old_docs/API_docs_v42/constructors/messageMediaAudio.md b/old_docs/API_docs_v42/constructors/messageMediaAudio.md index c2970836..4f350752 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v42/constructors/messageMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` @@ -32,10 +32,9 @@ $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaAudio={_='messageMediaAudio', audio=Audio} ``` diff --git a/old_docs/API_docs_v42/constructors/messageMediaContact.md b/old_docs/API_docs_v42/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v42/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/messageMediaDocument.md b/old_docs/API_docs_v42/constructors/messageMediaDocument.md index c0a7272c..c08a097b 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v42/constructors/messageMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` @@ -32,10 +32,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document} ``` diff --git a/old_docs/API_docs_v42/constructors/messageMediaEmpty.md b/old_docs/API_docs_v42/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v42/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/messageMediaGeo.md b/old_docs/API_docs_v42/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v42/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v42/constructors/messageMediaPhoto.md b/old_docs/API_docs_v42/constructors/messageMediaPhoto.md index 47579066..7350efce 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v42/constructors/messageMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v42/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v42/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v42/constructors/messageMediaVenue.md b/old_docs/API_docs_v42/constructors/messageMediaVenue.md index 2db2d25d..2ef2b27f 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v42/constructors/messageMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/messageMediaVideo.md b/old_docs/API_docs_v42/constructors/messageMediaVideo.md index 444b12eb..694f6928 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v42/constructors/messageMediaVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVideo={_='messageMediaVideo', video=Video, caption='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/messageMediaWebPage.md b/old_docs/API_docs_v42/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v42/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v42/constructors/messageRange.md b/old_docs/API_docs_v42/constructors/messageRange.md index 40c3f81a..527e8646 100644 --- a/old_docs/API_docs_v42/constructors/messageRange.md +++ b/old_docs/API_docs_v42/constructors/messageRange.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageRange={_='messageRange', min_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/messageService.md b/old_docs/API_docs_v42/constructors/messageService.md index 138cbb18..6baa427c 100644 --- a/old_docs/API_docs_v42/constructors/messageService.md +++ b/old_docs/API_docs_v42/constructors/messageService.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` @@ -40,10 +40,9 @@ $messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'me ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v42/constructors/messages_affectedHistory.md b/old_docs/API_docs_v42/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v42/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v42/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v42/constructors/messages_affectedMessages.md b/old_docs/API_docs_v42/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v42/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v42/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v42/constructors/messages_allStickers.md b/old_docs/API_docs_v42/constructors/messages_allStickers.md index e933488f..06237df7 100644 --- a/old_docs/API_docs_v42/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v42/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'set ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash='string', sets={StickerSet}} ``` diff --git a/old_docs/API_docs_v42/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v42/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v42/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v42/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v42/constructors/messages_channelMessages.md b/old_docs/API_docs_v42/constructors/messages_channelMessages.md index 8948bf1d..eadc5001 100644 --- a/old_docs/API_docs_v42/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v42/constructors/messages_channelMessages.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -37,10 +37,9 @@ $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'c ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v42/constructors/messages_chatFull.md b/old_docs/API_docs_v42/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v42/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v42/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v42/constructors/messages_chats.md b/old_docs/API_docs_v42/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v42/constructors/messages_chats.md +++ b/old_docs/API_docs_v42/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v42/constructors/messages_dhConfig.md b/old_docs/API_docs_v42/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v42/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v42/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v42/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v42/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v42/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v42/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v42/constructors/messages_dialogs.md b/old_docs/API_docs_v42/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v42/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v42/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v42/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v42/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v42/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v42/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v42/constructors/messages_messages.md b/old_docs/API_docs_v42/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v42/constructors/messages_messages.md +++ b/old_docs/API_docs_v42/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v42/constructors/messages_messagesSlice.md b/old_docs/API_docs_v42/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v42/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v42/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v42/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v42/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v42/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v42/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v42/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v42/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v42/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v42/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v42/constructors/messages_stickerSet.md b/old_docs/API_docs_v42/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/old_docs/API_docs_v42/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v42/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v42/constructors/messages_stickers.md b/old_docs/API_docs_v42/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v42/constructors/messages_stickers.md +++ b/old_docs/API_docs_v42/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v42/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v42/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v42/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v42/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v42/constructors/nearestDc.md b/old_docs/API_docs_v42/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v42/constructors/nearestDc.md +++ b/old_docs/API_docs_v42/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v42/constructors/notifyAll.md b/old_docs/API_docs_v42/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v42/constructors/notifyAll.md +++ b/old_docs/API_docs_v42/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v42/constructors/notifyChats.md b/old_docs/API_docs_v42/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v42/constructors/notifyChats.md +++ b/old_docs/API_docs_v42/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v42/constructors/notifyPeer.md b/old_docs/API_docs_v42/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v42/constructors/notifyPeer.md +++ b/old_docs/API_docs_v42/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v42/constructors/notifyUsers.md b/old_docs/API_docs_v42/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v42/constructors/notifyUsers.md +++ b/old_docs/API_docs_v42/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v42/constructors/peerChannel.md b/old_docs/API_docs_v42/constructors/peerChannel.md index f30e3f41..360d5c42 100644 --- a/old_docs/API_docs_v42/constructors/peerChannel.md +++ b/old_docs/API_docs_v42/constructors/peerChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/peerChat.md b/old_docs/API_docs_v42/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v42/constructors/peerChat.md +++ b/old_docs/API_docs_v42/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v42/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v42/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v42/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v42/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v42/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v42/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v42/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/peerNotifySettings.md b/old_docs/API_docs_v42/constructors/peerNotifySettings.md index 513132f4..12c5bbb9 100644 --- a/old_docs/API_docs_v42/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v42/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v42/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v42/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v42/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v42/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/peerUser.md b/old_docs/API_docs_v42/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v42/constructors/peerUser.md +++ b/old_docs/API_docs_v42/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/photo.md b/old_docs/API_docs_v42/constructors/photo.md index 7055e7a9..982122b9 100644 --- a/old_docs/API_docs_v42/constructors/photo.md +++ b/old_docs/API_docs_v42/constructors/photo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -35,10 +35,9 @@ $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v42/constructors/photoCachedSize.md b/old_docs/API_docs_v42/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v42/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v42/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v42/constructors/photoEmpty.md b/old_docs/API_docs_v42/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v42/constructors/photoEmpty.md +++ b/old_docs/API_docs_v42/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v42/constructors/photoSize.md b/old_docs/API_docs_v42/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v42/constructors/photoSize.md +++ b/old_docs/API_docs_v42/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v42/constructors/photoSizeEmpty.md b/old_docs/API_docs_v42/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v42/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v42/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/photos_photo.md b/old_docs/API_docs_v42/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v42/constructors/photos_photo.md +++ b/old_docs/API_docs_v42/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v42/constructors/photos_photos.md b/old_docs/API_docs_v42/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v42/constructors/photos_photos.md +++ b/old_docs/API_docs_v42/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v42/constructors/photos_photosSlice.md b/old_docs/API_docs_v42/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v42/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v42/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v42/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v42/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v42/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v42/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v42/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v42/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v42/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v42/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v42/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v42/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v42/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v42/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v42/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v42/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v42/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v42/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v42/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v42/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v42/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v42/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v42/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v42/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v42/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v42/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v42/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v42/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v42/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v42/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v42/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v42/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/old_docs/API_docs_v42/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v42/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v42/constructors/replyKeyboardForceReply.md index 56e255c1..3f7fae8c 100644 --- a/old_docs/API_docs_v42/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v42/constructors/replyKeyboardForceReply.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` @@ -33,10 +33,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool} ``` diff --git a/old_docs/API_docs_v42/constructors/replyKeyboardHide.md b/old_docs/API_docs_v42/constructors/replyKeyboardHide.md index 7251db49..30e9f399 100644 --- a/old_docs/API_docs_v42/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v42/constructors/replyKeyboardHide.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` @@ -32,10 +32,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide', selective=Bool} ``` diff --git a/old_docs/API_docs_v42/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v42/constructors/replyKeyboardMarkup.md index 87a55463..80f3f654 100644 --- a/old_docs/API_docs_v42/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v42/constructors/replyKeyboardMarkup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -35,10 +35,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v42/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v42/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v42/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v42/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v42/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v42/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v42/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v42/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v42/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v42/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v42/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v42/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v42/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v42/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/old_docs/API_docs_v42/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v42/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/old_docs/API_docs_v42/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v42/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/old_docs/API_docs_v42/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v42/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/old_docs/API_docs_v42/constructors/stickerPack.md b/old_docs/API_docs_v42/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v42/constructors/stickerPack.md +++ b/old_docs/API_docs_v42/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v42/constructors/stickerSet.md b/old_docs/API_docs_v42/constructors/stickerSet.md index 4f0e5ff2..695e2aea 100644 --- a/old_docs/API_docs_v42/constructors/stickerSet.md +++ b/old_docs/API_docs_v42/constructors/stickerSet.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -40,10 +40,9 @@ $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'of ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', installed=Bool, disabled=Bool, official=Bool, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/old_docs/API_docs_v42/constructors/storage_fileGif.md b/old_docs/API_docs_v42/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v42/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v42/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v42/constructors/storage_fileJpeg.md b/old_docs/API_docs_v42/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v42/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v42/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v42/constructors/storage_fileMov.md b/old_docs/API_docs_v42/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v42/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v42/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v42/constructors/storage_fileMp3.md b/old_docs/API_docs_v42/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v42/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v42/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v42/constructors/storage_fileMp4.md b/old_docs/API_docs_v42/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v42/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v42/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v42/constructors/storage_filePartial.md b/old_docs/API_docs_v42/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v42/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v42/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v42/constructors/storage_filePdf.md b/old_docs/API_docs_v42/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v42/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v42/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v42/constructors/storage_filePng.md b/old_docs/API_docs_v42/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v42/constructors/storage_filePng.md +++ b/old_docs/API_docs_v42/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v42/constructors/storage_fileUnknown.md b/old_docs/API_docs_v42/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v42/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v42/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v42/constructors/storage_fileWebp.md b/old_docs/API_docs_v42/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v42/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v42/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v42/constructors/true.md b/old_docs/API_docs_v42/constructors/true.md index 2e27ecbf..4863f16b 100644 --- a/old_docs/API_docs_v42/constructors/true.md +++ b/old_docs/API_docs_v42/constructors/true.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $true = ['_' => 'true']; ``` @@ -27,10 +27,9 @@ $true = ['_' => 'true']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua true={_='true'} ``` diff --git a/old_docs/API_docs_v42/constructors/updateChannel.md b/old_docs/API_docs_v42/constructors/updateChannel.md index e615920a..fb876328 100644 --- a/old_docs/API_docs_v42/constructors/updateChannel.md +++ b/old_docs/API_docs_v42/constructors/updateChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannel={_='updateChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updateChannelGroup.md b/old_docs/API_docs_v42/constructors/updateChannelGroup.md index c322e296..8266d55a 100644 --- a/old_docs/API_docs_v42/constructors/updateChannelGroup.md +++ b/old_docs/API_docs_v42/constructors/updateChannelGroup.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup]; ``` @@ -33,10 +33,9 @@ $updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelGroup={_='updateChannelGroup', channel_id=int, group=MessageGroup} ``` diff --git a/old_docs/API_docs_v42/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v42/constructors/updateChannelMessageViews.md index 19e0b648..d62f055a 100644 --- a/old_docs/API_docs_v42/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v42/constructors/updateChannelMessageViews.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` @@ -34,10 +34,9 @@ $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updateChannelTooLong.md b/old_docs/API_docs_v42/constructors/updateChannelTooLong.md index c4366f91..5665f1a4 100644 --- a/old_docs/API_docs_v42/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v42/constructors/updateChannelTooLong.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelTooLong={_='updateChannelTooLong', channel_id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updateChatAdmins.md b/old_docs/API_docs_v42/constructors/updateChatAdmins.md index 87ffd626..aac09762 100644 --- a/old_docs/API_docs_v42/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v42/constructors/updateChatAdmins.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v42/constructors/updateChatParticipantAdd.md index ea5157ad..fe76dc62 100644 --- a/old_docs/API_docs_v42/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v42/constructors/updateChatParticipantAdd.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` @@ -36,10 +36,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v42/constructors/updateChatParticipantAdmin.md index b1022850..d262b2e6 100644 --- a/old_docs/API_docs_v42/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v42/constructors/updateChatParticipantAdmin.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v42/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v42/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v42/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updateChatParticipants.md b/old_docs/API_docs_v42/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v42/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v42/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v42/constructors/updateChatUserTyping.md b/old_docs/API_docs_v42/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v42/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v42/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v42/constructors/updateContactLink.md b/old_docs/API_docs_v42/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v42/constructors/updateContactLink.md +++ b/old_docs/API_docs_v42/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v42/constructors/updateContactRegistered.md b/old_docs/API_docs_v42/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v42/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v42/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updateDcOptions.md b/old_docs/API_docs_v42/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v42/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v42/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v42/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v42/constructors/updateDeleteChannelMessages.md index 0f84f3f7..8fb10b65 100644 --- a/old_docs/API_docs_v42/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v42/constructors/updateDeleteChannelMessages.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updateDeleteMessages.md b/old_docs/API_docs_v42/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v42/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v42/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v42/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v42/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v42/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v42/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v42/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v42/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updateEncryption.md b/old_docs/API_docs_v42/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v42/constructors/updateEncryption.md +++ b/old_docs/API_docs_v42/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updateMessageID.md b/old_docs/API_docs_v42/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v42/constructors/updateMessageID.md +++ b/old_docs/API_docs_v42/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updateNewAuthorization.md b/old_docs/API_docs_v42/constructors/updateNewAuthorization.md index c7a95f80..ce1d0815 100644 --- a/old_docs/API_docs_v42/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v42/constructors/updateNewAuthorization.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` @@ -35,10 +35,9 @@ $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device='string', location='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v42/constructors/updateNewChannelMessage.md index 59dbc820..9fa1c7ec 100644 --- a/old_docs/API_docs_v42/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v42/constructors/updateNewChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Messa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v42/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v42/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v42/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updateNewMessage.md b/old_docs/API_docs_v42/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v42/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v42/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updateNotifySettings.md b/old_docs/API_docs_v42/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v42/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v42/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v42/constructors/updatePrivacy.md b/old_docs/API_docs_v42/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v42/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v42/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v42/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v42/constructors/updateReadChannelInbox.md index be964e20..c8c26acb 100644 --- a/old_docs/API_docs_v42/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v42/constructors/updateReadChannelInbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v42/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v42/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v42/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v42/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v42/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v42/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v42/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/old_docs/API_docs_v42/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v42/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updateServiceNotification.md b/old_docs/API_docs_v42/constructors/updateServiceNotification.md index 979fe7bd..ddcf7eb5 100644 --- a/old_docs/API_docs_v42/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v42/constructors/updateServiceNotification.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` @@ -35,10 +35,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'str ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', type='string', message='string', media=MessageMedia, popup=Bool} ``` diff --git a/old_docs/API_docs_v42/constructors/updateShort.md b/old_docs/API_docs_v42/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v42/constructors/updateShort.md +++ b/old_docs/API_docs_v42/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updateShortChatMessage.md b/old_docs/API_docs_v42/constructors/updateShortChatMessage.md index 9382f3a3..7fa1621b 100644 --- a/old_docs/API_docs_v42/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v42/constructors/updateShortChatMessage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -46,10 +46,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'o ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v42/constructors/updateShortMessage.md b/old_docs/API_docs_v42/constructors/updateShortMessage.md index fb37fba7..ba861761 100644 --- a/old_docs/API_docs_v42/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v42/constructors/updateShortMessage.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -45,10 +45,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v42/constructors/updateShortSentMessage.md b/old_docs/API_docs_v42/constructors/updateShortSentMessage.md index 0e40bd22..f35f8285 100644 --- a/old_docs/API_docs_v42/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v42/constructors/updateShortSentMessage.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -39,10 +39,9 @@ $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'o ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortSentMessage={_='updateShortSentMessage', unread=Bool, out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v42/constructors/updateUserBlocked.md b/old_docs/API_docs_v42/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v42/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v42/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v42/constructors/updateUserName.md b/old_docs/API_docs_v42/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v42/constructors/updateUserName.md +++ b/old_docs/API_docs_v42/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/updateUserPhone.md b/old_docs/API_docs_v42/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v42/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v42/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v42/constructors/updateUserPhoto.md b/old_docs/API_docs_v42/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v42/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v42/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v42/constructors/updateUserStatus.md b/old_docs/API_docs_v42/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v42/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v42/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v42/constructors/updateUserTyping.md b/old_docs/API_docs_v42/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v42/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v42/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v42/constructors/updateWebPage.md b/old_docs/API_docs_v42/constructors/updateWebPage.md index 9f468619..932d8ff2 100644 --- a/old_docs/API_docs_v42/constructors/updateWebPage.md +++ b/old_docs/API_docs_v42/constructors/updateWebPage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updates.md b/old_docs/API_docs_v42/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v42/constructors/updates.md +++ b/old_docs/API_docs_v42/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updatesCombined.md b/old_docs/API_docs_v42/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v42/constructors/updatesCombined.md +++ b/old_docs/API_docs_v42/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updatesTooLong.md b/old_docs/API_docs_v42/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v42/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v42/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v42/constructors/updates_channelDifference.md b/old_docs/API_docs_v42/constructors/updates_channelDifference.md index 21b618c2..df1dafd6 100644 --- a/old_docs/API_docs_v42/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v42/constructors/updates_channelDifference.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v42/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v42/constructors/updates_channelDifferenceEmpty.md index a2e49340..a5be0377 100644 --- a/old_docs/API_docs_v42/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v42/constructors/updates_channelDifferenceEmpty.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'fin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v42/constructors/updates_channelDifferenceTooLong.md index 47f23144..28fc12ca 100644 --- a/old_docs/API_docs_v42/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v42/constructors/updates_channelDifferenceTooLong.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -42,10 +42,9 @@ $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v42/constructors/updates_difference.md b/old_docs/API_docs_v42/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v42/constructors/updates_difference.md +++ b/old_docs/API_docs_v42/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v42/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v42/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v42/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v42/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v42/constructors/updates_differenceSlice.md b/old_docs/API_docs_v42/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v42/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v42/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v42/constructors/updates_state.md b/old_docs/API_docs_v42/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v42/constructors/updates_state.md +++ b/old_docs/API_docs_v42/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v42/constructors/upload_file.md b/old_docs/API_docs_v42/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v42/constructors/upload_file.md +++ b/old_docs/API_docs_v42/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v42/constructors/user.md b/old_docs/API_docs_v42/constructors/user.md index 3d112d76..29a310e1 100644 --- a/old_docs/API_docs_v42/constructors/user.md +++ b/old_docs/API_docs_v42/constructors/user.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int]; ``` @@ -48,10 +48,9 @@ $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int} ``` diff --git a/old_docs/API_docs_v42/constructors/userEmpty.md b/old_docs/API_docs_v42/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v42/constructors/userEmpty.md +++ b/old_docs/API_docs_v42/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v42/constructors/userFull.md b/old_docs/API_docs_v42/constructors/userFull.md index dff5cfa2..9b32a434 100644 --- a/old_docs/API_docs_v42/constructors/userFull.md +++ b/old_docs/API_docs_v42/constructors/userFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` @@ -37,10 +37,9 @@ $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v42/constructors/userProfilePhoto.md b/old_docs/API_docs_v42/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v42/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v42/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v42/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v42/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v42/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v42/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/userStatusEmpty.md b/old_docs/API_docs_v42/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v42/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v42/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v42/constructors/userStatusLastMonth.md b/old_docs/API_docs_v42/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v42/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v42/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v42/constructors/userStatusLastWeek.md b/old_docs/API_docs_v42/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v42/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v42/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v42/constructors/userStatusOffline.md b/old_docs/API_docs_v42/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v42/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v42/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v42/constructors/userStatusOnline.md b/old_docs/API_docs_v42/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v42/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v42/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v42/constructors/userStatusRecently.md b/old_docs/API_docs_v42/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v42/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v42/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v42/constructors/vector.md b/old_docs/API_docs_v42/constructors/vector.md index c9e27763..d8ea6f1f 100644 --- a/old_docs/API_docs_v42/constructors/vector.md +++ b/old_docs/API_docs_v42/constructors/vector.md @@ -18,7 +18,7 @@ Array ### Example: -``` +```php $vector = ['_' => 'vector']; ``` @@ -29,10 +29,9 @@ $vector = ['_' => 'vector']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua vector={_='vector'} ``` diff --git a/old_docs/API_docs_v42/constructors/video.md b/old_docs/API_docs_v42/constructors/video.md index 58154db2..a0ab3175 100644 --- a/old_docs/API_docs_v42/constructors/video.md +++ b/old_docs/API_docs_v42/constructors/video.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int]; ``` @@ -41,10 +41,9 @@ $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua video={_='video', id=long, access_hash=long, date=int, duration=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v42/constructors/videoEmpty.md b/old_docs/API_docs_v42/constructors/videoEmpty.md index 8509fcf9..a41ca8ab 100644 --- a/old_docs/API_docs_v42/constructors/videoEmpty.md +++ b/old_docs/API_docs_v42/constructors/videoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua videoEmpty={_='videoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v42/constructors/wallPaper.md b/old_docs/API_docs_v42/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v42/constructors/wallPaper.md +++ b/old_docs/API_docs_v42/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v42/constructors/wallPaperSolid.md b/old_docs/API_docs_v42/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v42/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v42/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v42/constructors/webPage.md b/old_docs/API_docs_v42/constructors/webPage.md index 1023918f..fe5271f3 100644 --- a/old_docs/API_docs_v42/constructors/webPage.md +++ b/old_docs/API_docs_v42/constructors/webPage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document]; ``` @@ -46,10 +46,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document} ``` diff --git a/old_docs/API_docs_v42/constructors/webPageEmpty.md b/old_docs/API_docs_v42/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v42/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v42/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v42/constructors/webPagePending.md b/old_docs/API_docs_v42/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v42/constructors/webPagePending.md +++ b/old_docs/API_docs_v42/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v42/methods/account_changePhone.md b/old_docs/API_docs_v42/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v42/methods/account_changePhone.md +++ b/old_docs/API_docs_v42/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/account_checkUsername.md b/old_docs/API_docs_v42/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v42/methods/account_checkUsername.md +++ b/old_docs/API_docs_v42/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/account_deleteAccount.md b/old_docs/API_docs_v42/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v42/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v42/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/account_getAccountTTL.md b/old_docs/API_docs_v42/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v42/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v42/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v42/methods/account_getAuthorizations.md b/old_docs/API_docs_v42/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v42/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v42/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v42/methods/account_getNotifySettings.md b/old_docs/API_docs_v42/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v42/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v42/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v42/methods/account_getPassword.md b/old_docs/API_docs_v42/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v42/methods/account_getPassword.md +++ b/old_docs/API_docs_v42/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v42/methods/account_getPasswordSettings.md b/old_docs/API_docs_v42/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v42/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v42/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v42/methods/account_getPrivacy.md b/old_docs/API_docs_v42/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v42/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v42/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v42/methods/account_getWallPapers.md b/old_docs/API_docs_v42/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v42/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v42/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v42/methods/account_registerDevice.md b/old_docs/API_docs_v42/methods/account_registerDevice.md index bd2b5649..3192933d 100644 --- a/old_docs/API_docs_v42/methods/account_registerDevice.md +++ b/old_docs/API_docs_v42/methods/account_registerDevice.md @@ -30,7 +30,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', device_model='string', system_version='string', app_version='string', app_sandbox=Bool, lang_code='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/account_resetAuthorization.md b/old_docs/API_docs_v42/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v42/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v42/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v42/methods/account_resetNotifySettings.md b/old_docs/API_docs_v42/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v42/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v42/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md index 2fcdcc4c..12ea92c5 100644 --- a/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md @@ -24,7 +24,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/account_setAccountTTL.md b/old_docs/API_docs_v42/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v42/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v42/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v42/methods/account_setPrivacy.md b/old_docs/API_docs_v42/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v42/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v42/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v42/methods/account_unregisterDevice.md b/old_docs/API_docs_v42/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v42/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v42/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v42/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v42/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v42/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/account_updateNotifySettings.md b/old_docs/API_docs_v42/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v42/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v42/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v42/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v42/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v42/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v42/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v42/methods/account_updateProfile.md b/old_docs/API_docs_v42/methods/account_updateProfile.md index 541086a6..5034a6da 100644 --- a/old_docs/API_docs_v42/methods/account_updateProfile.md +++ b/old_docs/API_docs_v42/methods/account_updateProfile.md @@ -25,7 +25,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ last_name - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/account_updateStatus.md b/old_docs/API_docs_v42/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v42/methods/account_updateStatus.md +++ b/old_docs/API_docs_v42/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v42/methods/account_updateUsername.md b/old_docs/API_docs_v42/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v42/methods/account_updateUsername.md +++ b/old_docs/API_docs_v42/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/auth_checkPhone.md b/old_docs/API_docs_v42/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v42/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v42/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/auth_recoverPassword.md b/old_docs/API_docs_v42/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v42/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v42/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v42/methods/auth_sendCall.md b/old_docs/API_docs_v42/methods/auth_sendCall.md index 70a2870f..e8260454 100644 --- a/old_docs/API_docs_v42/methods/auth_sendCall.md +++ b/old_docs/API_docs_v42/methods/auth_sendCall.md @@ -25,7 +25,7 @@ Send verification phone call ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/auth_sendInvites.md b/old_docs/API_docs_v42/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v42/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v42/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/auth_sendSms.md b/old_docs/API_docs_v42/methods/auth_sendSms.md index 6c31f570..050926ff 100644 --- a/old_docs/API_docs_v42/methods/auth_sendSms.md +++ b/old_docs/API_docs_v42/methods/auth_sendSms.md @@ -25,7 +25,7 @@ Send SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_checkUsername.md b/old_docs/API_docs_v42/methods/channels_checkUsername.md index d287b3ca..573bf8f0 100644 --- a/old_docs/API_docs_v42/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v42/methods/channels_checkUsername.md @@ -25,7 +25,7 @@ Check if this username is free and can be assigned to a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.checkUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_createChannel.md b/old_docs/API_docs_v42/methods/channels_createChannel.md index 356f473a..1821c864 100644 --- a/old_docs/API_docs_v42/methods/channels_createChannel.md +++ b/old_docs/API_docs_v42/methods/channels_createChannel.md @@ -27,7 +27,7 @@ Create channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title='string', about='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_deleteChannel.md b/old_docs/API_docs_v42/methods/channels_deleteChannel.md index b55d91b8..a79ccb9f 100644 --- a/old_docs/API_docs_v42/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v42/methods/channels_deleteChannel.md @@ -24,7 +24,7 @@ Delete a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.deleteChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_deleteMessages.md b/old_docs/API_docs_v42/methods/channels_deleteMessages.md index 03625c94..8cd7ebb3 100644 --- a/old_docs/API_docs_v42/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v42/methods/channels_deleteMessages.md @@ -25,7 +25,7 @@ Delete channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v42/methods/channels_deleteUserHistory.md index 204a8786..78baa90f 100644 --- a/old_docs/API_docs_v42/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v42/methods/channels_deleteUserHistory.md @@ -25,7 +25,7 @@ Delete all messages of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_editAbout.md b/old_docs/API_docs_v42/methods/channels_editAbout.md index fd861133..549d7ea5 100644 --- a/old_docs/API_docs_v42/methods/channels_editAbout.md +++ b/old_docs/API_docs_v42/methods/channels_editAbout.md @@ -25,7 +25,7 @@ Edit the about text of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.editAbout({channel=InputChannel, about='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_editAdmin.md b/old_docs/API_docs_v42/methods/channels_editAdmin.md index bc0793fe..b41561e0 100644 --- a/old_docs/API_docs_v42/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v42/methods/channels_editAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ role - Json encoded ChannelParticipantRole Or, if you're into Lua: -``` +```lua Updates = channels.editAdmin({channel=InputChannel, user_id=InputUser, role=ChannelParticipantRole, }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_editPhoto.md b/old_docs/API_docs_v42/methods/channels_editPhoto.md index ccbaed65..7013c6e2 100644 --- a/old_docs/API_docs_v42/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v42/methods/channels_editPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = channels.editPhoto({channel=InputChannel, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_editTitle.md b/old_docs/API_docs_v42/methods/channels_editTitle.md index ffd868ba..a9c8c50f 100644 --- a/old_docs/API_docs_v42/methods/channels_editTitle.md +++ b/old_docs/API_docs_v42/methods/channels_editTitle.md @@ -25,7 +25,7 @@ Edit the title of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.editTitle({channel=InputChannel, title='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_exportInvite.md b/old_docs/API_docs_v42/methods/channels_exportInvite.md index 0b4b5c31..5a92097a 100644 --- a/old_docs/API_docs_v42/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v42/methods/channels_exportInvite.md @@ -24,7 +24,7 @@ Export the invite link of a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua ExportedChatInvite = channels.exportInvite({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_getChannels.md b/old_docs/API_docs_v42/methods/channels_getChannels.md index 71edac7b..a146be1e 100644 --- a/old_docs/API_docs_v42/methods/channels_getChannels.md +++ b/old_docs/API_docs_v42/methods/channels_getChannels.md @@ -24,7 +24,7 @@ Get info about multiple channels/supergroups ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputChannel Or, if you're into Lua: -``` +```lua messages_Chats = channels.getChannels({id={InputChannel}, }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_getDialogs.md b/old_docs/API_docs_v42/methods/channels_getDialogs.md index c3acd0e6..b238558d 100644 --- a/old_docs/API_docs_v42/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v42/methods/channels_getDialogs.md @@ -25,7 +25,7 @@ Get channel dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = channels.getDialogs({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_getImportantHistory.md b/old_docs/API_docs_v42/methods/channels_getImportantHistory.md index e038bde8..374afee5 100644 --- a/old_docs/API_docs_v42/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v42/methods/channels_getImportantHistory.md @@ -29,7 +29,7 @@ Get important channel/supergroup history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getImportantHistory({channel=InputChannel, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_getMessages.md b/old_docs/API_docs_v42/methods/channels_getMessages.md index 217757eb..208cbcc4 100644 --- a/old_docs/API_docs_v42/methods/channels_getMessages.md +++ b/old_docs/API_docs_v42/methods/channels_getMessages.md @@ -25,7 +25,7 @@ Get channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_getParticipant.md b/old_docs/API_docs_v42/methods/channels_getParticipant.md index a641d213..9cf80799 100644 --- a/old_docs/API_docs_v42/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v42/methods/channels_getParticipant.md @@ -25,7 +25,7 @@ Get info about a certain channel/supergroup participant ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_getParticipants.md b/old_docs/API_docs_v42/methods/channels_getParticipants.md index c2f0cdcd..3d4dfa13 100644 --- a/old_docs/API_docs_v42/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v42/methods/channels_getParticipants.md @@ -27,7 +27,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_inviteToChannel.md b/old_docs/API_docs_v42/methods/channels_inviteToChannel.md index 0a350cc8..998e3895 100644 --- a/old_docs/API_docs_v42/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v42/methods/channels_inviteToChannel.md @@ -25,7 +25,7 @@ Add users to channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ users - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Updates = channels.inviteToChannel({channel=InputChannel, users={InputUser}, }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_joinChannel.md b/old_docs/API_docs_v42/methods/channels_joinChannel.md index aae2bc1c..3c6a3b94 100644 --- a/old_docs/API_docs_v42/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v42/methods/channels_joinChannel.md @@ -24,7 +24,7 @@ Join a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.joinChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_kickFromChannel.md b/old_docs/API_docs_v42/methods/channels_kickFromChannel.md index c51cea7c..7586bdf6 100644 --- a/old_docs/API_docs_v42/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v42/methods/channels_kickFromChannel.md @@ -26,7 +26,7 @@ Kick user from channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ kicked - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.kickFromChannel({channel=InputChannel, user_id=InputUser, kicked=Bool, }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_leaveChannel.md b/old_docs/API_docs_v42/methods/channels_leaveChannel.md index 4e6701fe..0934089f 100644 --- a/old_docs/API_docs_v42/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v42/methods/channels_leaveChannel.md @@ -24,7 +24,7 @@ Leave a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.leaveChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_readHistory.md b/old_docs/API_docs_v42/methods/channels_readHistory.md index d76919ff..cf5c1529 100644 --- a/old_docs/API_docs_v42/methods/channels_readHistory.md +++ b/old_docs/API_docs_v42/methods/channels_readHistory.md @@ -25,7 +25,7 @@ Mark channel/supergroup history as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.readHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_reportSpam.md b/old_docs/API_docs_v42/methods/channels_reportSpam.md index 48022662..b0e99eb1 100644 --- a/old_docs/API_docs_v42/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v42/methods/channels_reportSpam.md @@ -26,7 +26,7 @@ Report a message in a supergroup/channel for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.reportSpam({channel=InputChannel, user_id=InputUser, id={int}, }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_toggleComments.md b/old_docs/API_docs_v42/methods/channels_toggleComments.md index 52e2c7ae..230b0315 100644 --- a/old_docs/API_docs_v42/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v42/methods/channels_toggleComments.md @@ -25,7 +25,7 @@ Enable channel comments ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleComments({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v42/methods/channels_updateUsername.md b/old_docs/API_docs_v42/methods/channels_updateUsername.md index 2e07e123..c0df8c7c 100644 --- a/old_docs/API_docs_v42/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v42/methods/channels_updateUsername.md @@ -25,7 +25,7 @@ Update the username of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.updateUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/contacts_block.md b/old_docs/API_docs_v42/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v42/methods/contacts_block.md +++ b/old_docs/API_docs_v42/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v42/methods/contacts_deleteContact.md b/old_docs/API_docs_v42/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v42/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v42/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v42/methods/contacts_deleteContacts.md b/old_docs/API_docs_v42/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v42/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v42/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v42/methods/contacts_exportCard.md b/old_docs/API_docs_v42/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v42/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v42/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v42/methods/contacts_getBlocked.md b/old_docs/API_docs_v42/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v42/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v42/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/contacts_getContacts.md b/old_docs/API_docs_v42/methods/contacts_getContacts.md index ccf0f99d..dfa407f2 100644 --- a/old_docs/API_docs_v42/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v42/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/contacts_getStatuses.md b/old_docs/API_docs_v42/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v42/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v42/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v42/methods/contacts_getSuggested.md b/old_docs/API_docs_v42/methods/contacts_getSuggested.md index d7feb718..8183eae4 100644 --- a/old_docs/API_docs_v42/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v42/methods/contacts_getSuggested.md @@ -24,7 +24,7 @@ Get suggested contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/contacts_importCard.md b/old_docs/API_docs_v42/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v42/methods/contacts_importCard.md +++ b/old_docs/API_docs_v42/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v42/methods/contacts_importContacts.md b/old_docs/API_docs_v42/methods/contacts_importContacts.md index d0404dd2..f1b17e2c 100644 --- a/old_docs/API_docs_v42/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v42/methods/contacts_importContacts.md @@ -25,7 +25,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ replace - Json encoded Bool Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v42/methods/contacts_search.md b/old_docs/API_docs_v42/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v42/methods/contacts_search.md +++ b/old_docs/API_docs_v42/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/contacts_unblock.md b/old_docs/API_docs_v42/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v42/methods/contacts_unblock.md +++ b/old_docs/API_docs_v42/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v42/methods/help_getAppChangelog.md b/old_docs/API_docs_v42/methods/help_getAppChangelog.md index e5f9dae5..872c377b 100644 --- a/old_docs/API_docs_v42/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v42/methods/help_getAppChangelog.md @@ -27,7 +27,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/help_getAppUpdate.md b/old_docs/API_docs_v42/methods/help_getAppUpdate.md index a501cbc5..4bdf36c3 100644 --- a/old_docs/API_docs_v42/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v42/methods/help_getAppUpdate.md @@ -27,7 +27,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/help_getConfig.md b/old_docs/API_docs_v42/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v42/methods/help_getConfig.md +++ b/old_docs/API_docs_v42/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v42/methods/help_getInviteText.md b/old_docs/API_docs_v42/methods/help_getInviteText.md index 1b31e572..797e2ad3 100644 --- a/old_docs/API_docs_v42/methods/help_getInviteText.md +++ b/old_docs/API_docs_v42/methods/help_getInviteText.md @@ -24,7 +24,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/help_getNearestDc.md b/old_docs/API_docs_v42/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v42/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v42/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v42/methods/help_getSupport.md b/old_docs/API_docs_v42/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v42/methods/help_getSupport.md +++ b/old_docs/API_docs_v42/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v42/methods/help_saveAppLog.md b/old_docs/API_docs_v42/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v42/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v42/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v42/methods/initConnection.md b/old_docs/API_docs_v42/methods/initConnection.md index 58cdb067..e34794f8 100644 --- a/old_docs/API_docs_v42/methods/initConnection.md +++ b/old_docs/API_docs_v42/methods/initConnection.md @@ -29,7 +29,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v42/methods/invokeAfterMsg.md b/old_docs/API_docs_v42/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v42/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v42/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v42/methods/invokeAfterMsgs.md b/old_docs/API_docs_v42/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v42/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v42/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v42/methods/invokeWithLayer.md b/old_docs/API_docs_v42/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v42/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v42/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v42/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v42/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/old_docs/API_docs_v42/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v42/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_addChatUser.md b/old_docs/API_docs_v42/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v42/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v42/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_checkChatInvite.md b/old_docs/API_docs_v42/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/old_docs/API_docs_v42/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v42/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_createChat.md b/old_docs/API_docs_v42/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v42/methods/messages_createChat.md +++ b/old_docs/API_docs_v42/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_deleteChatUser.md b/old_docs/API_docs_v42/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v42/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v42/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_deleteHistory.md b/old_docs/API_docs_v42/methods/messages_deleteHistory.md index 4b00d3a2..444d6758 100644 --- a/old_docs/API_docs_v42/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v42/methods/messages_deleteHistory.md @@ -25,7 +25,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_deleteMessages.md b/old_docs/API_docs_v42/methods/messages_deleteMessages.md index 2aa9d7d1..24152bec 100644 --- a/old_docs/API_docs_v42/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v42/methods/messages_deleteMessages.md @@ -24,7 +24,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_editChatAdmin.md b/old_docs/API_docs_v42/methods/messages_editChatAdmin.md index a2dad97f..f883b50e 100644 --- a/old_docs/API_docs_v42/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v42/methods/messages_editChatAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ is_admin - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.editChatAdmin({chat_id=InputPeer, user_id=InputUser, is_admin=Bool, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_editChatPhoto.md b/old_docs/API_docs_v42/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v42/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v42/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_editChatTitle.md b/old_docs/API_docs_v42/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v42/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v42/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_exportChatInvite.md b/old_docs/API_docs_v42/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/old_docs/API_docs_v42/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v42/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_forwardMessage.md b/old_docs/API_docs_v42/methods/messages_forwardMessage.md index 586670b8..d9c0453f 100644 --- a/old_docs/API_docs_v42/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v42/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_forwardMessages.md b/old_docs/API_docs_v42/methods/messages_forwardMessages.md index 1bc42a02..036d61fe 100644 --- a/old_docs/API_docs_v42/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v42/methods/messages_forwardMessages.md @@ -27,7 +27,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ to_peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({broadcast=Bool, from_peer=InputPeer, id={int}, to_peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_getAllStickers.md b/old_docs/API_docs_v42/methods/messages_getAllStickers.md index faa8eea2..c90a48ea 100644 --- a/old_docs/API_docs_v42/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v42/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_getChats.md b/old_docs/API_docs_v42/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v42/methods/messages_getChats.md +++ b/old_docs/API_docs_v42/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_getDialogs.md b/old_docs/API_docs_v42/methods/messages_getDialogs.md index 557cb7d9..2919a482 100644 --- a/old_docs/API_docs_v42/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v42/methods/messages_getDialogs.md @@ -27,7 +27,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_getHistory.md b/old_docs/API_docs_v42/methods/messages_getHistory.md index 955f71cf..cfa5867b 100644 --- a/old_docs/API_docs_v42/methods/messages_getHistory.md +++ b/old_docs/API_docs_v42/methods/messages_getHistory.md @@ -29,7 +29,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_getMessages.md b/old_docs/API_docs_v42/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v42/methods/messages_getMessages.md +++ b/old_docs/API_docs_v42/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_getMessagesViews.md b/old_docs/API_docs_v42/methods/messages_getMessagesViews.md index 57a99054..b2b6110e 100644 --- a/old_docs/API_docs_v42/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v42/methods/messages_getMessagesViews.md @@ -26,7 +26,7 @@ Get and increase message views ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ increment - Json encoded Bool Or, if you're into Lua: -``` +```lua Vector_of_int = messages.getMessagesViews({peer=InputPeer, id={int}, increment=Bool, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_getStickerSet.md b/old_docs/API_docs_v42/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/old_docs/API_docs_v42/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v42/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_getStickers.md b/old_docs/API_docs_v42/methods/messages_getStickers.md index b1d3bd83..f4ca9972 100644 --- a/old_docs/API_docs_v42/methods/messages_getStickers.md +++ b/old_docs/API_docs_v42/methods/messages_getStickers.md @@ -25,7 +25,7 @@ Get stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v42/methods/messages_getWebPagePreview.md index 8475c8f5..4838be94 100644 --- a/old_docs/API_docs_v42/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v42/methods/messages_getWebPagePreview.md @@ -24,7 +24,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_importChatInvite.md b/old_docs/API_docs_v42/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/old_docs/API_docs_v42/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v42/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_installStickerSet.md b/old_docs/API_docs_v42/methods/messages_installStickerSet.md index 1cd832e5..41be11e1 100644 --- a/old_docs/API_docs_v42/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v42/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ disabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.installStickerSet({stickerset=InputStickerSet, disabled=Bool, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_migrateChat.md b/old_docs/API_docs_v42/methods/messages_migrateChat.md index df91f510..e789ff7d 100644 --- a/old_docs/API_docs_v42/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v42/methods/messages_migrateChat.md @@ -24,7 +24,7 @@ Convert chat to supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.migrateChat({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_readHistory.md b/old_docs/API_docs_v42/methods/messages_readHistory.md index 48d7fb45..4a2188d8 100644 --- a/old_docs/API_docs_v42/methods/messages_readHistory.md +++ b/old_docs/API_docs_v42/methods/messages_readHistory.md @@ -25,7 +25,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_readMessageContents.md b/old_docs/API_docs_v42/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v42/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v42/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_receivedMessages.md b/old_docs/API_docs_v42/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/old_docs/API_docs_v42/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v42/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_reportSpam.md b/old_docs/API_docs_v42/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/old_docs/API_docs_v42/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v42/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_search.md b/old_docs/API_docs_v42/methods/messages_search.md index c39973e1..4a1f85e3 100644 --- a/old_docs/API_docs_v42/methods/messages_search.md +++ b/old_docs/API_docs_v42/methods/messages_search.md @@ -32,7 +32,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({important_only=Bool, peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_searchGlobal.md b/old_docs/API_docs_v42/methods/messages_searchGlobal.md index 4d05bf0d..1fb73592 100644 --- a/old_docs/API_docs_v42/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v42/methods/messages_searchGlobal.md @@ -28,7 +28,7 @@ Global message search ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_sendBroadcast.md b/old_docs/API_docs_v42/methods/messages_sendBroadcast.md index 11f43d4c..5813ba9c 100644 --- a/old_docs/API_docs_v42/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v42/methods/messages_sendBroadcast.md @@ -26,7 +26,7 @@ Send a message to all users in the chat list ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua Updates = messages.sendBroadcast({contacts={InputUser}, message='string', media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_sendEncrypted.md b/old_docs/API_docs_v42/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v42/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v42/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v42/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v42/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v42/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_sendMedia.md b/old_docs/API_docs_v42/methods/messages_sendMedia.md index 5b315147..e57e9e3a 100644 --- a/old_docs/API_docs_v42/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v42/methods/messages_sendMedia.md @@ -28,7 +28,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({broadcast=Bool, peer=InputPeer, reply_to_msg_id=int, media=InputMedia, reply_markup=ReplyMarkup, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_sendMessage.md b/old_docs/API_docs_v42/methods/messages_sendMessage.md index de30373d..b3360767 100644 --- a/old_docs/API_docs_v42/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v42/methods/messages_sendMessage.md @@ -31,7 +31,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMessage({no_webpage=Bool, broadcast=Bool, peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_setTyping.md b/old_docs/API_docs_v42/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v42/methods/messages_setTyping.md +++ b/old_docs/API_docs_v42/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_startBot.md b/old_docs/API_docs_v42/methods/messages_startBot.md index 506957a7..71f82822 100644 --- a/old_docs/API_docs_v42/methods/messages_startBot.md +++ b/old_docs/API_docs_v42/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md index 0f1e56fa..56438277 100644 --- a/old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md @@ -25,7 +25,7 @@ Enable all users are admins in normal groups (not supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = messages.toggleChatAdmins({chat_id=InputPeer, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v42/methods/photos_deletePhotos.md b/old_docs/API_docs_v42/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v42/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v42/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v42/methods/photos_getUserPhotos.md b/old_docs/API_docs_v42/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/old_docs/API_docs_v42/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v42/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md index 706f0a01..7341e4e7 100644 --- a/old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md @@ -25,7 +25,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md index 99064210..1debfc82 100644 --- a/old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md @@ -27,7 +27,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v42/methods/users_getUsers.md b/old_docs/API_docs_v42/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v42/methods/users_getUsers.md +++ b/old_docs/API_docs_v42/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v42/types/Chat.md b/old_docs/API_docs_v42/types/Chat.md index cd83aacb..58654e6e 100644 --- a/old_docs/API_docs_v42/types/Chat.md +++ b/old_docs/API_docs_v42/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v42/types/InputChannel.md b/old_docs/API_docs_v42/types/InputChannel.md index 3882099d..6dc802fc 100644 --- a/old_docs/API_docs_v42/types/InputChannel.md +++ b/old_docs/API_docs_v42/types/InputChannel.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputChannel = '@username'; // Username $InputChannel = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v42/types/InputEncryptedChat.md b/old_docs/API_docs_v42/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v42/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v42/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v42/types/InputEncryptedFile.md b/old_docs/API_docs_v42/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v42/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v42/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v42/types/InputFile.md b/old_docs/API_docs_v42/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v42/types/InputFile.md +++ b/old_docs/API_docs_v42/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v42/types/InputNotifyPeer.md b/old_docs/API_docs_v42/types/InputNotifyPeer.md index ffc1f0cf..f9d0a662 100644 --- a/old_docs/API_docs_v42/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v42/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v42/types/InputPeer.md b/old_docs/API_docs_v42/types/InputPeer.md index 2076c00b..2649db1a 100644 --- a/old_docs/API_docs_v42/types/InputPeer.md +++ b/old_docs/API_docs_v42/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v42/types/InputUser.md b/old_docs/API_docs_v42/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/old_docs/API_docs_v42/types/InputUser.md +++ b/old_docs/API_docs_v42/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v42/types/KeyboardButton.md b/old_docs/API_docs_v42/types/KeyboardButton.md index f292ca69..9de6a7fc 100644 --- a/old_docs/API_docs_v42/types/KeyboardButton.md +++ b/old_docs/API_docs_v42/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/old_docs/API_docs_v42/types/NotifyPeer.md b/old_docs/API_docs_v42/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v42/types/NotifyPeer.md +++ b/old_docs/API_docs_v42/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v42/types/Peer.md b/old_docs/API_docs_v42/types/Peer.md index ebb98e91..0ab7fdcc 100644 --- a/old_docs/API_docs_v42/types/Peer.md +++ b/old_docs/API_docs_v42/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v42/types/User.md b/old_docs/API_docs_v42/types/User.md index b145a3f8..5385caa4 100644 --- a/old_docs/API_docs_v42/types/User.md +++ b/old_docs/API_docs_v42/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v44/constructors/accountDaysTTL.md b/old_docs/API_docs_v44/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v44/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v44/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v44/constructors/account_authorizations.md b/old_docs/API_docs_v44/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v44/constructors/account_authorizations.md +++ b/old_docs/API_docs_v44/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v44/constructors/account_noPassword.md b/old_docs/API_docs_v44/constructors/account_noPassword.md index 81a483d6..63a4af6d 100644 --- a/old_docs/API_docs_v44/constructors/account_noPassword.md +++ b/old_docs/API_docs_v44/constructors/account_noPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -33,10 +33,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'emai ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/account_password.md b/old_docs/API_docs_v44/constructors/account_password.md index 9a8b31c6..5c4c334b 100644 --- a/old_docs/API_docs_v44/constructors/account_password.md +++ b/old_docs/API_docs_v44/constructors/account_password.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` @@ -36,10 +36,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v44/constructors/account_passwordInputSettings.md index f474e0c7..b5838f0a 100644 --- a/old_docs/API_docs_v44/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v44/constructors/account_passwordInputSettings.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v44/constructors/account_passwordSettings.md b/old_docs/API_docs_v44/constructors/account_passwordSettings.md index 27d14f59..04fc8621 100644 --- a/old_docs/API_docs_v44/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v44/constructors/account_passwordSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v44/constructors/account_privacyRules.md b/old_docs/API_docs_v44/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v44/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v44/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v44/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v44/constructors/account_sentChangePhoneCode.md index 7bfd04ab..34044265 100644 --- a/old_docs/API_docs_v44/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v44/constructors/account_sentChangePhoneCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; ``` @@ -33,10 +33,9 @@ $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} ``` diff --git a/old_docs/API_docs_v44/constructors/audio.md b/old_docs/API_docs_v44/constructors/audio.md index 1d899f64..785de6e2 100644 --- a/old_docs/API_docs_v44/constructors/audio.md +++ b/old_docs/API_docs_v44/constructors/audio.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` @@ -38,10 +38,9 @@ $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audio={_='audio', id=long, access_hash=long, date=int, duration=int, mime_type='string', size=int, dc_id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/audioEmpty.md b/old_docs/API_docs_v44/constructors/audioEmpty.md index 2b0ed960..846367f4 100644 --- a/old_docs/API_docs_v44/constructors/audioEmpty.md +++ b/old_docs/API_docs_v44/constructors/audioEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audioEmpty={_='audioEmpty', id=long} ``` diff --git a/old_docs/API_docs_v44/constructors/auth_authorization.md b/old_docs/API_docs_v44/constructors/auth_authorization.md index bbe5a8b9..1a75a113 100644 --- a/old_docs/API_docs_v44/constructors/auth_authorization.md +++ b/old_docs/API_docs_v44/constructors/auth_authorization.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` @@ -32,10 +32,9 @@ $auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_authorization={_='auth.authorization', user=User} ``` diff --git a/old_docs/API_docs_v44/constructors/auth_checkedPhone.md b/old_docs/API_docs_v44/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v44/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v44/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v44/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v44/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v44/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v44/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v44/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v44/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v44/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v44/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v44/constructors/auth_sentAppCode.md b/old_docs/API_docs_v44/constructors/auth_sentAppCode.md index 1f354541..ec13efba 100644 --- a/old_docs/API_docs_v44/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v44/constructors/auth_sentAppCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'pho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v44/constructors/auth_sentCode.md b/old_docs/API_docs_v44/constructors/auth_sentCode.md index 01834b65..2b5301e1 100644 --- a/old_docs/API_docs_v44/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v44/constructors/auth_sentCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v44/constructors/authorization.md b/old_docs/API_docs_v44/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v44/constructors/authorization.md +++ b/old_docs/API_docs_v44/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v44/constructors/botCommand.md b/old_docs/API_docs_v44/constructors/botCommand.md index 8569358d..fcb65461 100644 --- a/old_docs/API_docs_v44/constructors/botCommand.md +++ b/old_docs/API_docs_v44/constructors/botCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v44/constructors/botInfo.md b/old_docs/API_docs_v44/constructors/botInfo.md index afa0de7c..86584a29 100644 --- a/old_docs/API_docs_v44/constructors/botInfo.md +++ b/old_docs/API_docs_v44/constructors/botInfo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => 'string', 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -36,10 +36,9 @@ $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInfo={_='botInfo', user_id=int, version=int, share_text='string', description='string', commands={BotCommand}} ``` diff --git a/old_docs/API_docs_v44/constructors/botInfoEmpty.md b/old_docs/API_docs_v44/constructors/botInfoEmpty.md index df42ad4b..7afd677c 100644 --- a/old_docs/API_docs_v44/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v44/constructors/botInfoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfoEmpty = ['_' => 'botInfoEmpty']; ``` @@ -27,10 +27,9 @@ $botInfoEmpty = ['_' => 'botInfoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInfoEmpty={_='botInfoEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/channel.md b/old_docs/API_docs_v44/constructors/channel.md index ffd88d6a..77969d82 100644 --- a/old_docs/API_docs_v44/constructors/channel.md +++ b/old_docs/API_docs_v44/constructors/channel.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'username' => 'string', 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restiction_reason' => 'string']; ``` @@ -48,10 +48,9 @@ $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, restricted=Bool, id=int, access_hash=long, title='string', username='string', photo=ChatPhoto, date=int, version=int, restiction_reason='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/channelForbidden.md b/old_docs/API_docs_v44/constructors/channelForbidden.md index cc8b60d1..6e168c38 100644 --- a/old_docs/API_docs_v44/constructors/channelForbidden.md +++ b/old_docs/API_docs_v44/constructors/channelForbidden.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` @@ -34,10 +34,9 @@ $channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelForbidden={_='channelForbidden', id=int, access_hash=long, title='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/channelFull.md b/old_docs/API_docs_v44/constructors/channelFull.md index 70916a7a..3fac209b 100644 --- a/old_docs/API_docs_v44/constructors/channelFull.md +++ b/old_docs/API_docs_v44/constructors/channelFull.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_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]; ``` @@ -46,10 +46,9 @@ $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelFull={_='channelFull', can_view_participants=Bool, id=int, about='string', participants_count=int, admins_count=int, kicked_count=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/channelMessagesFilter.md b/old_docs/API_docs_v44/constructors/channelMessagesFilter.md index f4d8feff..9b929e61 100644 --- a/old_docs/API_docs_v44/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v44/constructors/channelMessagesFilter.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]]; ``` @@ -34,10 +34,9 @@ $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilter={_='channelMessagesFilter', important_only=Bool, exclude_new_messages=Bool, ranges={MessageRange}} ``` diff --git a/old_docs/API_docs_v44/constructors/channelMessagesFilterCollapsed.md b/old_docs/API_docs_v44/constructors/channelMessagesFilterCollapsed.md index fa1fff29..770cc788 100644 --- a/old_docs/API_docs_v44/constructors/channelMessagesFilterCollapsed.md +++ b/old_docs/API_docs_v44/constructors/channelMessagesFilterCollapsed.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterCollapsed={_='channelMessagesFilterCollapsed'} ``` diff --git a/old_docs/API_docs_v44/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v44/constructors/channelMessagesFilterEmpty.md index 350e50de..a446b896 100644 --- a/old_docs/API_docs_v44/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v44/constructors/channelMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/channelParticipant.md b/old_docs/API_docs_v44/constructors/channelParticipant.md index c7de5400..dbcb792b 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipant.md +++ b/old_docs/API_docs_v44/constructors/channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v44/constructors/channelParticipantCreator.md b/old_docs/API_docs_v44/constructors/channelParticipantCreator.md index 86cafe0a..e999fb9c 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantCreator={_='channelParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/channelParticipantEditor.md b/old_docs/API_docs_v44/constructors/channelParticipantEditor.md index 37ae4bb0..7c7e4dc9 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantEditor.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v44/constructors/channelParticipantKicked.md b/old_docs/API_docs_v44/constructors/channelParticipantKicked.md index ccc454be..6bcc2e0f 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantKicked.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int} ``` diff --git a/old_docs/API_docs_v44/constructors/channelParticipantModerator.md b/old_docs/API_docs_v44/constructors/channelParticipantModerator.md index 90b4ab52..49c68acd 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantModerator.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v44/constructors/channelParticipantSelf.md b/old_docs/API_docs_v44/constructors/channelParticipantSelf.md index 83864972..4b5949ac 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantSelf.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v44/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v44/constructors/channelParticipantsAdmins.md index c86cb9a4..4b0c30d4 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantsAdmins.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` @@ -27,10 +27,9 @@ $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v44/constructors/channelParticipantsBots.md b/old_docs/API_docs_v44/constructors/channelParticipantsBots.md index 30875f94..66e510c7 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantsBots.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` @@ -27,10 +27,9 @@ $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v44/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v44/constructors/channelParticipantsKicked.md index 7f026ceb..38cf128e 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantsKicked.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` @@ -27,10 +27,9 @@ $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v44/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v44/constructors/channelParticipantsRecent.md index e4cb6466..51e57069 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantsRecent.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` @@ -27,10 +27,9 @@ $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v44/constructors/channelRoleEditor.md b/old_docs/API_docs_v44/constructors/channelRoleEditor.md index 86d953a9..1e472d2f 100644 --- a/old_docs/API_docs_v44/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v44/constructors/channelRoleEditor.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` @@ -27,10 +27,9 @@ $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v44/constructors/channelRoleEmpty.md b/old_docs/API_docs_v44/constructors/channelRoleEmpty.md index a50bb310..85d1c3fb 100644 --- a/old_docs/API_docs_v44/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v44/constructors/channelRoleEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` @@ -27,10 +27,9 @@ $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/channelRoleModerator.md b/old_docs/API_docs_v44/constructors/channelRoleModerator.md index 781f60ad..f242ff5c 100644 --- a/old_docs/API_docs_v44/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v44/constructors/channelRoleModerator.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` @@ -27,10 +27,9 @@ $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleModerator={_='channelRoleModerator'} ``` diff --git a/old_docs/API_docs_v44/constructors/channels_channelParticipant.md b/old_docs/API_docs_v44/constructors/channels_channelParticipant.md index bdf27b08..107502c5 100644 --- a/old_docs/API_docs_v44/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v44/constructors/channels_channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v44/constructors/channels_channelParticipants.md b/old_docs/API_docs_v44/constructors/channels_channelParticipants.md index 1b76b1e0..0402423f 100644 --- a/old_docs/API_docs_v44/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v44/constructors/channels_channelParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v44/constructors/chat.md b/old_docs/API_docs_v44/constructors/chat.md index 5ae1811d..b6f24f3e 100644 --- a/old_docs/API_docs_v44/constructors/chat.md +++ b/old_docs/API_docs_v44/constructors/chat.md @@ -33,7 +33,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -44,10 +44,9 @@ $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} ``` diff --git a/old_docs/API_docs_v44/constructors/chatEmpty.md b/old_docs/API_docs_v44/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v44/constructors/chatEmpty.md +++ b/old_docs/API_docs_v44/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/chatForbidden.md b/old_docs/API_docs_v44/constructors/chatForbidden.md index de5bb302..61c45660 100644 --- a/old_docs/API_docs_v44/constructors/chatForbidden.md +++ b/old_docs/API_docs_v44/constructors/chatForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v44/constructors/chatFull.md b/old_docs/API_docs_v44/constructors/chatFull.md index 6e138596..2a5f67f6 100644 --- a/old_docs/API_docs_v44/constructors/chatFull.md +++ b/old_docs/API_docs_v44/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v44/constructors/chatInvite.md b/old_docs/API_docs_v44/constructors/chatInvite.md index 6cf6e489..3c3a0001 100644 --- a/old_docs/API_docs_v44/constructors/chatInvite.md +++ b/old_docs/API_docs_v44/constructors/chatInvite.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string']; ``` @@ -36,10 +36,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v44/constructors/chatInviteAlready.md b/old_docs/API_docs_v44/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/old_docs/API_docs_v44/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v44/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/old_docs/API_docs_v44/constructors/chatInviteEmpty.md b/old_docs/API_docs_v44/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/old_docs/API_docs_v44/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v44/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/chatInviteExported.md b/old_docs/API_docs_v44/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/old_docs/API_docs_v44/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v44/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/chatParticipant.md b/old_docs/API_docs_v44/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v44/constructors/chatParticipant.md +++ b/old_docs/API_docs_v44/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v44/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v44/constructors/chatParticipantAdmin.md index 62aee9a4..63a38575 100644 --- a/old_docs/API_docs_v44/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v44/constructors/chatParticipantAdmin.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v44/constructors/chatParticipantCreator.md b/old_docs/API_docs_v44/constructors/chatParticipantCreator.md index 0fb7b6ef..75b9c4d4 100644 --- a/old_docs/API_docs_v44/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v44/constructors/chatParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantCreator={_='chatParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/chatParticipants.md b/old_docs/API_docs_v44/constructors/chatParticipants.md index 38af2ca5..ae254290 100644 --- a/old_docs/API_docs_v44/constructors/chatParticipants.md +++ b/old_docs/API_docs_v44/constructors/chatParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v44/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v44/constructors/chatParticipantsForbidden.md index 2ecdfe10..639b30ee 100644 --- a/old_docs/API_docs_v44/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v44/constructors/chatParticipantsForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v44/constructors/chatPhoto.md b/old_docs/API_docs_v44/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v44/constructors/chatPhoto.md +++ b/old_docs/API_docs_v44/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v44/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v44/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v44/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v44/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/config.md b/old_docs/API_docs_v44/constructors/config.md index 164ba218..9db65b85 100644 --- a/old_docs/API_docs_v44/constructors/config.md +++ b/old_docs/API_docs_v44/constructors/config.md @@ -38,7 +38,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -49,10 +49,9 @@ $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v44/constructors/contact.md b/old_docs/API_docs_v44/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v44/constructors/contact.md +++ b/old_docs/API_docs_v44/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v44/constructors/contactBlocked.md b/old_docs/API_docs_v44/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v44/constructors/contactBlocked.md +++ b/old_docs/API_docs_v44/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v44/constructors/contactLinkContact.md b/old_docs/API_docs_v44/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v44/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v44/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v44/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v44/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v44/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v44/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v44/constructors/contactLinkNone.md b/old_docs/API_docs_v44/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v44/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v44/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v44/constructors/contactLinkUnknown.md b/old_docs/API_docs_v44/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v44/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v44/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v44/constructors/contactStatus.md b/old_docs/API_docs_v44/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v44/constructors/contactStatus.md +++ b/old_docs/API_docs_v44/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v44/constructors/contactSuggested.md b/old_docs/API_docs_v44/constructors/contactSuggested.md index 7dc8105c..e90bf7c9 100644 --- a/old_docs/API_docs_v44/constructors/contactSuggested.md +++ b/old_docs/API_docs_v44/constructors/contactSuggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` @@ -33,10 +33,9 @@ $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int} ``` diff --git a/old_docs/API_docs_v44/constructors/contacts_blocked.md b/old_docs/API_docs_v44/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v44/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v44/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v44/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v44/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v44/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v44/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v44/constructors/contacts_contacts.md b/old_docs/API_docs_v44/constructors/contacts_contacts.md index 34dae91a..ea16b38a 100644 --- a/old_docs/API_docs_v44/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v44/constructors/contacts_contacts.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} ``` diff --git a/old_docs/API_docs_v44/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v44/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v44/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v44/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v44/constructors/contacts_found.md b/old_docs/API_docs_v44/constructors/contacts_found.md index 7e0e458c..624fa475 100644 --- a/old_docs/API_docs_v44/constructors/contacts_found.md +++ b/old_docs/API_docs_v44/constructors/contacts_found.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v44/constructors/contacts_importedContacts.md b/old_docs/API_docs_v44/constructors/contacts_importedContacts.md index 7bf9c1bf..8b9012bb 100644 --- a/old_docs/API_docs_v44/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v44/constructors/contacts_importedContacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v44/constructors/contacts_link.md b/old_docs/API_docs_v44/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v44/constructors/contacts_link.md +++ b/old_docs/API_docs_v44/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v44/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v44/constructors/contacts_resolvedPeer.md index add29235..4aa323dd 100644 --- a/old_docs/API_docs_v44/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v44/constructors/contacts_resolvedPeer.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v44/constructors/contacts_suggested.md b/old_docs/API_docs_v44/constructors/contacts_suggested.md index 553cebcb..2659d855 100644 --- a/old_docs/API_docs_v44/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v44/constructors/contacts_suggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggest ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} ``` diff --git a/old_docs/API_docs_v44/constructors/dcOption.md b/old_docs/API_docs_v44/constructors/dcOption.md index 176671ce..72ecd652 100644 --- a/old_docs/API_docs_v44/constructors/dcOption.md +++ b/old_docs/API_docs_v44/constructors/dcOption.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` @@ -36,10 +36,9 @@ $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', ipv6=Bool, media_only=Bool, id=int, ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v44/constructors/dialog.md b/old_docs/API_docs_v44/constructors/dialog.md index cbb327d6..539225bf 100644 --- a/old_docs/API_docs_v44/constructors/dialog.md +++ b/old_docs/API_docs_v44/constructors/dialog.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` @@ -36,10 +36,9 @@ $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_ma ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v44/constructors/dialogChannel.md b/old_docs/API_docs_v44/constructors/dialogChannel.md index 298ffa24..918b6bed 100644 --- a/old_docs/API_docs_v44/constructors/dialogChannel.md +++ b/old_docs/API_docs_v44/constructors/dialogChannel.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int]; ``` @@ -39,10 +39,9 @@ $dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialogChannel={_='dialogChannel', peer=Peer, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, notify_settings=PeerNotifySettings, pts=int} ``` diff --git a/old_docs/API_docs_v44/constructors/disabledFeature.md b/old_docs/API_docs_v44/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v44/constructors/disabledFeature.md +++ b/old_docs/API_docs_v44/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/document.md b/old_docs/API_docs_v44/constructors/document.md index 8719d873..e9547f1f 100644 --- a/old_docs/API_docs_v44/constructors/document.md +++ b/old_docs/API_docs_v44/constructors/document.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -39,10 +39,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v44/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v44/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v44/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v44/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v44/constructors/documentAttributeAudio.md b/old_docs/API_docs_v44/constructors/documentAttributeAudio.md index 8fb77965..8bf344bb 100644 --- a/old_docs/API_docs_v44/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v44/constructors/documentAttributeAudio.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => 'string', 'performer' => 'string']; ``` @@ -34,10 +34,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', duration=int, title='string', performer='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/documentAttributeFilename.md b/old_docs/API_docs_v44/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v44/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v44/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v44/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v44/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v44/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v44/constructors/documentAttributeSticker.md b/old_docs/API_docs_v44/constructors/documentAttributeSticker.md index d44d94cd..397679ef 100644 --- a/old_docs/API_docs_v44/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v44/constructors/documentAttributeSticker.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` @@ -33,10 +33,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', alt='string', stickerset=InputStickerSet} ``` diff --git a/old_docs/API_docs_v44/constructors/documentAttributeVideo.md b/old_docs/API_docs_v44/constructors/documentAttributeVideo.md index 0902c118..cc7ffced 100644 --- a/old_docs/API_docs_v44/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v44/constructors/documentAttributeVideo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -34,10 +34,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v44/constructors/documentEmpty.md b/old_docs/API_docs_v44/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v44/constructors/documentEmpty.md +++ b/old_docs/API_docs_v44/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v44/constructors/encryptedChat.md b/old_docs/API_docs_v44/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v44/constructors/encryptedChat.md +++ b/old_docs/API_docs_v44/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v44/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v44/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v44/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v44/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v44/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v44/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v44/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/encryptedChatRequested.md b/old_docs/API_docs_v44/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v44/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v44/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v44/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v44/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v44/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v44/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/encryptedFile.md b/old_docs/API_docs_v44/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v44/constructors/encryptedFile.md +++ b/old_docs/API_docs_v44/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v44/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v44/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v44/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v44/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/encryptedMessage.md b/old_docs/API_docs_v44/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v44/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v44/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v44/constructors/encryptedMessageService.md b/old_docs/API_docs_v44/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v44/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v44/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v44/constructors/error.md b/old_docs/API_docs_v44/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v44/constructors/error.md +++ b/old_docs/API_docs_v44/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/fileLocation.md b/old_docs/API_docs_v44/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v44/constructors/fileLocation.md +++ b/old_docs/API_docs_v44/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v44/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v44/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v44/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v44/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v44/constructors/foundGif.md b/old_docs/API_docs_v44/constructors/foundGif.md index 5396a60b..5811cc03 100644 --- a/old_docs/API_docs_v44/constructors/foundGif.md +++ b/old_docs/API_docs_v44/constructors/foundGif.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGif = ['_' => 'foundGif', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $foundGif = ['_' => 'foundGif', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGif={_='foundGif', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v44/constructors/geoPoint.md b/old_docs/API_docs_v44/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v44/constructors/geoPoint.md +++ b/old_docs/API_docs_v44/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v44/constructors/geoPointEmpty.md b/old_docs/API_docs_v44/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v44/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v44/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/help_appChangelog.md b/old_docs/API_docs_v44/constructors/help_appChangelog.md index 5b7b353a..d30f8acd 100644 --- a/old_docs/API_docs_v44/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v44/constructors/help_appChangelog.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelog={_='help.appChangelog', text='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v44/constructors/help_appChangelogEmpty.md index 0f0827c3..e20017b7 100644 --- a/old_docs/API_docs_v44/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v44/constructors/help_appChangelogEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` @@ -27,10 +27,9 @@ $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelogEmpty={_='help.appChangelogEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/help_appUpdate.md b/old_docs/API_docs_v44/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v44/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v44/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/help_inviteText.md b/old_docs/API_docs_v44/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v44/constructors/help_inviteText.md +++ b/old_docs/API_docs_v44/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/help_noAppUpdate.md b/old_docs/API_docs_v44/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v44/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v44/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v44/constructors/help_support.md b/old_docs/API_docs_v44/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v44/constructors/help_support.md +++ b/old_docs/API_docs_v44/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v44/constructors/help_termsOfService.md b/old_docs/API_docs_v44/constructors/help_termsOfService.md index 8e558bed..ec7a8121 100644 --- a/old_docs/API_docs_v44/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v44/constructors/help_termsOfService.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_termsOfService={_='help.termsOfService', text='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/importedContact.md b/old_docs/API_docs_v44/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v44/constructors/importedContact.md +++ b/old_docs/API_docs_v44/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v44/constructors/inputAppEvent.md b/old_docs/API_docs_v44/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v44/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v44/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputAudio.md b/old_docs/API_docs_v44/constructors/inputAudio.md index c428307e..ac1c82e3 100644 --- a/old_docs/API_docs_v44/constructors/inputAudio.md +++ b/old_docs/API_docs_v44/constructors/inputAudio.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudio={_='inputAudio', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v44/constructors/inputAudioEmpty.md b/old_docs/API_docs_v44/constructors/inputAudioEmpty.md index a84b3e67..b0b4e934 100644 --- a/old_docs/API_docs_v44/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputAudioEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` @@ -27,10 +27,9 @@ $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v44/constructors/inputAudioFileLocation.md index f95ad919..a2633244 100644 --- a/old_docs/API_docs_v44/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v44/constructors/inputAudioFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v44/constructors/inputChannel.md b/old_docs/API_docs_v44/constructors/inputChannel.md index b5cb3566..34ed10ca 100644 --- a/old_docs/API_docs_v44/constructors/inputChannel.md +++ b/old_docs/API_docs_v44/constructors/inputChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannel={_='inputChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v44/constructors/inputChannelEmpty.md b/old_docs/API_docs_v44/constructors/inputChannelEmpty.md index f7e18434..bd53602b 100644 --- a/old_docs/API_docs_v44/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputChannelEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` @@ -27,10 +27,9 @@ $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputChatPhoto.md b/old_docs/API_docs_v44/constructors/inputChatPhoto.md index 5affda9a..7ad8a3f7 100644 --- a/old_docs/API_docs_v44/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v44/constructors/inputChatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputP ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v44/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v44/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v44/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v44/constructors/inputChatUploadedPhoto.md index a22405b2..ed0624da 100644 --- a/old_docs/API_docs_v44/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v44/constructors/inputChatUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v44/constructors/inputDocument.md b/old_docs/API_docs_v44/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v44/constructors/inputDocument.md +++ b/old_docs/API_docs_v44/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v44/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v44/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v44/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v44/constructors/inputDocumentFileLocation.md index 2ba7d2b3..5d593784 100644 --- a/old_docs/API_docs_v44/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v44/constructors/inputDocumentFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v44/constructors/inputEncryptedChat.md b/old_docs/API_docs_v44/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v44/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v44/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v44/constructors/inputEncryptedFile.md b/old_docs/API_docs_v44/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v44/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v44/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v44/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v44/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v44/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v44/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v44/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v44/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v44/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v44/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v44/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v44/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v44/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v44/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v44/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v44/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v44/constructors/inputFile.md b/old_docs/API_docs_v44/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v44/constructors/inputFile.md +++ b/old_docs/API_docs_v44/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputFileBig.md b/old_docs/API_docs_v44/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v44/constructors/inputFileBig.md +++ b/old_docs/API_docs_v44/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputFileLocation.md b/old_docs/API_docs_v44/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v44/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v44/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v44/constructors/inputGeoPoint.md b/old_docs/API_docs_v44/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v44/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v44/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v44/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v44/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v44/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMediaAudio.md b/old_docs/API_docs_v44/constructors/inputMediaAudio.md index 6ebbe6ec..6c166ec0 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v44/constructors/inputMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` @@ -32,10 +32,9 @@ $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaAudio={_='inputMediaAudio', id=InputAudio} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMediaContact.md b/old_docs/API_docs_v44/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v44/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMediaDocument.md b/old_docs/API_docs_v44/constructors/inputMediaDocument.md index f652113b..f671c3e5 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v44/constructors/inputMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` @@ -32,10 +32,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMediaEmpty.md b/old_docs/API_docs_v44/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v44/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v44/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v44/constructors/inputMediaGifExternal.md index cf68972a..14153a43 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v44/constructors/inputMediaGifExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGifExternal={_='inputMediaGifExternal', url='string', q='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMediaPhoto.md b/old_docs/API_docs_v44/constructors/inputMediaPhoto.md index 0be7f6fe..71f4ded5 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v44/constructors/inputMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v44/constructors/inputMediaUploadedAudio.md index 4eb4cb85..73fcb4f8 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v44/constructors/inputMediaUploadedAudio.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v44/constructors/inputMediaUploadedDocument.md index 06758275..e89ad515 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v44/constructors/inputMediaUploadedDocument.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v44/constructors/inputMediaUploadedPhoto.md index 499857ce..ad2a8680 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v44/constructors/inputMediaUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v44/constructors/inputMediaUploadedThumbDocument.md index eea9edcd..b98b9004 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v44/constructors/inputMediaUploadedThumbDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -35,10 +35,9 @@ $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v44/constructors/inputMediaUploadedThumbVideo.md index 0a4afc86..e9d00c6e 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v44/constructors/inputMediaUploadedThumbVideo.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` @@ -38,10 +38,9 @@ $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type='string', caption='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v44/constructors/inputMediaUploadedVideo.md index 2409751b..b3984571 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v44/constructors/inputMediaUploadedVideo.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` @@ -37,10 +37,9 @@ $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type='string', caption='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMediaVenue.md b/old_docs/API_docs_v44/constructors/inputMediaVenue.md index 3e7ee3a1..b2171fbc 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v44/constructors/inputMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMediaVideo.md b/old_docs/API_docs_v44/constructors/inputMediaVideo.md index 05af7adb..b16b97d5 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v44/constructors/inputMediaVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVideo={_='inputMediaVideo', id=InputVideo, caption='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterAudio.md index 066b1642..79c822fc 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterAudio.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterAudioDocuments.md index 7badd17c..a8963d46 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterAudioDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputNotifyAll.md b/old_docs/API_docs_v44/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v44/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v44/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputNotifyChats.md b/old_docs/API_docs_v44/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v44/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v44/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputNotifyPeer.md b/old_docs/API_docs_v44/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v44/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v44/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v44/constructors/inputNotifyUsers.md b/old_docs/API_docs_v44/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v44/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v44/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPeerChannel.md b/old_docs/API_docs_v44/constructors/inputPeerChannel.md index 8b84fe20..14c2f105 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v44/constructors/inputPeerChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPeerChat.md b/old_docs/API_docs_v44/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v44/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPeerEmpty.md b/old_docs/API_docs_v44/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v44/constructors/inputPeerNotifySettings.md index ce1896bb..a600e880 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v44/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPeerSelf.md b/old_docs/API_docs_v44/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v44/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPeerUser.md b/old_docs/API_docs_v44/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v44/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPhoneContact.md b/old_docs/API_docs_v44/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v44/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v44/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPhoto.md b/old_docs/API_docs_v44/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v44/constructors/inputPhoto.md +++ b/old_docs/API_docs_v44/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPhotoCrop.md b/old_docs/API_docs_v44/constructors/inputPhotoCrop.md index b35bf42f..e90029a9 100644 --- a/old_docs/API_docs_v44/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v44/constructors/inputPhotoCrop.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` @@ -34,10 +34,9 @@ $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v44/constructors/inputPhotoCropAuto.md index 6c2f121d..37414b14 100644 --- a/old_docs/API_docs_v44/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v44/constructors/inputPhotoCropAuto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` @@ -27,10 +27,9 @@ $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v44/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v44/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v44/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v44/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v44/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v44/constructors/inputReportReasonOther.md b/old_docs/API_docs_v44/constructors/inputReportReasonOther.md index 361582bd..4dbffa18 100644 --- a/old_docs/API_docs_v44/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v44/constructors/inputReportReasonOther.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonOther={_='inputReportReasonOther', text='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v44/constructors/inputReportReasonPornography.md index c18c71d3..5c80f096 100644 --- a/old_docs/API_docs_v44/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v44/constructors/inputReportReasonPornography.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` @@ -27,10 +27,9 @@ $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v44/constructors/inputReportReasonSpam.md index 19ed6687..75d59861 100644 --- a/old_docs/API_docs_v44/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v44/constructors/inputReportReasonSpam.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` @@ -27,10 +27,9 @@ $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v44/constructors/inputReportReasonViolence.md index 10fbce47..28d27e85 100644 --- a/old_docs/API_docs_v44/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v44/constructors/inputReportReasonViolence.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` @@ -27,10 +27,9 @@ $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v44/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/old_docs/API_docs_v44/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputStickerSetID.md b/old_docs/API_docs_v44/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/old_docs/API_docs_v44/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v44/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v44/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v44/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/old_docs/API_docs_v44/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v44/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputUser.md b/old_docs/API_docs_v44/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/old_docs/API_docs_v44/constructors/inputUser.md +++ b/old_docs/API_docs_v44/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v44/constructors/inputUserEmpty.md b/old_docs/API_docs_v44/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v44/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputUserSelf.md b/old_docs/API_docs_v44/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v44/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v44/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputVideo.md b/old_docs/API_docs_v44/constructors/inputVideo.md index 4ea87c56..b3874cd7 100644 --- a/old_docs/API_docs_v44/constructors/inputVideo.md +++ b/old_docs/API_docs_v44/constructors/inputVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideo={_='inputVideo', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v44/constructors/inputVideoEmpty.md b/old_docs/API_docs_v44/constructors/inputVideoEmpty.md index b69984f7..5322ed90 100644 --- a/old_docs/API_docs_v44/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputVideoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` @@ -27,10 +27,9 @@ $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v44/constructors/inputVideoFileLocation.md index 2692222e..d9a3f678 100644 --- a/old_docs/API_docs_v44/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v44/constructors/inputVideoFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v44/constructors/keyboardButton.md b/old_docs/API_docs_v44/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/old_docs/API_docs_v44/constructors/keyboardButton.md +++ b/old_docs/API_docs_v44/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/keyboardButtonRow.md b/old_docs/API_docs_v44/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/old_docs/API_docs_v44/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v44/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/old_docs/API_docs_v44/constructors/message.md b/old_docs/API_docs_v44/constructors/message.md index 3d2739e8..da052237 100644 --- a/old_docs/API_docs_v44/constructors/message.md +++ b/old_docs/API_docs_v44/constructors/message.md @@ -36,7 +36,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'views' => int]; ``` @@ -47,10 +47,9 @@ $message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int} ``` diff --git a/old_docs/API_docs_v44/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v44/constructors/messageActionChannelCreate.md index b1750d73..2600ab63 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v44/constructors/messageActionChannelCreate.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v44/constructors/messageActionChannelMigrateFrom.md index add136dc..1fdcf3f4 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v44/constructors/messageActionChannelMigrateFrom.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 't ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v44/constructors/messageActionChatAddUser.md index 9c7de7f8..283365cd 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', users={int}} ``` diff --git a/old_docs/API_docs_v44/constructors/messageActionChatCreate.md b/old_docs/API_docs_v44/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v44/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v44/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v44/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v44/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v44/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v44/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v44/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v44/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v44/constructors/messageActionChatMigrateTo.md index 21d2cb22..8ace1091 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatMigrateTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/messageActionEmpty.md b/old_docs/API_docs_v44/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v44/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v44/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/messageEmpty.md b/old_docs/API_docs_v44/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v44/constructors/messageEmpty.md +++ b/old_docs/API_docs_v44/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/messageEntityBold.md b/old_docs/API_docs_v44/constructors/messageEntityBold.md index 950699fb..90f74ad5 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v44/constructors/messageEntityBold.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v44/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v44/constructors/messageEntityBotCommand.md index 8be471d3..9fb8f6a6 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v44/constructors/messageEntityBotCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v44/constructors/messageEntityCode.md b/old_docs/API_docs_v44/constructors/messageEntityCode.md index 7c701844..d236e57e 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v44/constructors/messageEntityCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v44/constructors/messageEntityEmail.md b/old_docs/API_docs_v44/constructors/messageEntityEmail.md index 35a968c7..74e910f3 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v44/constructors/messageEntityEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v44/constructors/messageEntityHashtag.md b/old_docs/API_docs_v44/constructors/messageEntityHashtag.md index 6b124e73..77e29387 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v44/constructors/messageEntityHashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v44/constructors/messageEntityItalic.md b/old_docs/API_docs_v44/constructors/messageEntityItalic.md index 25f73428..5975bae2 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v44/constructors/messageEntityItalic.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v44/constructors/messageEntityMention.md b/old_docs/API_docs_v44/constructors/messageEntityMention.md index 9eb4d266..1a21cb10 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v44/constructors/messageEntityMention.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v44/constructors/messageEntityPre.md b/old_docs/API_docs_v44/constructors/messageEntityPre.md index abfc9136..13b165fe 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v44/constructors/messageEntityPre.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPre={_='messageEntityPre', offset=int, length=int, language='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v44/constructors/messageEntityTextUrl.md index 91f6d36c..b6d82843 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v44/constructors/messageEntityTextUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/messageEntityUnknown.md b/old_docs/API_docs_v44/constructors/messageEntityUnknown.md index 69ca8a1b..4c434fd7 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v44/constructors/messageEntityUnknown.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v44/constructors/messageEntityUrl.md b/old_docs/API_docs_v44/constructors/messageEntityUrl.md index 377c3dda..2cf334a5 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v44/constructors/messageEntityUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v44/constructors/messageGroup.md b/old_docs/API_docs_v44/constructors/messageGroup.md index 31de6cb4..ee695490 100644 --- a/old_docs/API_docs_v44/constructors/messageGroup.md +++ b/old_docs/API_docs_v44/constructors/messageGroup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int]; ``` @@ -35,10 +35,9 @@ $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageGroup={_='messageGroup', min_id=int, max_id=int, count=int, date=int} ``` diff --git a/old_docs/API_docs_v44/constructors/messageMediaAudio.md b/old_docs/API_docs_v44/constructors/messageMediaAudio.md index c2970836..4f350752 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v44/constructors/messageMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` @@ -32,10 +32,9 @@ $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaAudio={_='messageMediaAudio', audio=Audio} ``` diff --git a/old_docs/API_docs_v44/constructors/messageMediaContact.md b/old_docs/API_docs_v44/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v44/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/messageMediaDocument.md b/old_docs/API_docs_v44/constructors/messageMediaDocument.md index c0a7272c..c08a097b 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v44/constructors/messageMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` @@ -32,10 +32,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document} ``` diff --git a/old_docs/API_docs_v44/constructors/messageMediaEmpty.md b/old_docs/API_docs_v44/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v44/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/messageMediaGeo.md b/old_docs/API_docs_v44/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v44/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v44/constructors/messageMediaPhoto.md b/old_docs/API_docs_v44/constructors/messageMediaPhoto.md index 47579066..7350efce 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v44/constructors/messageMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v44/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v44/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v44/constructors/messageMediaVenue.md b/old_docs/API_docs_v44/constructors/messageMediaVenue.md index 2db2d25d..2ef2b27f 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v44/constructors/messageMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/messageMediaVideo.md b/old_docs/API_docs_v44/constructors/messageMediaVideo.md index 444b12eb..694f6928 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v44/constructors/messageMediaVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVideo={_='messageMediaVideo', video=Video, caption='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/messageMediaWebPage.md b/old_docs/API_docs_v44/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v44/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v44/constructors/messageRange.md b/old_docs/API_docs_v44/constructors/messageRange.md index 40c3f81a..527e8646 100644 --- a/old_docs/API_docs_v44/constructors/messageRange.md +++ b/old_docs/API_docs_v44/constructors/messageRange.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageRange={_='messageRange', min_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/messageService.md b/old_docs/API_docs_v44/constructors/messageService.md index 138cbb18..6baa427c 100644 --- a/old_docs/API_docs_v44/constructors/messageService.md +++ b/old_docs/API_docs_v44/constructors/messageService.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` @@ -40,10 +40,9 @@ $messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'me ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v44/constructors/messages_affectedHistory.md b/old_docs/API_docs_v44/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v44/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v44/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v44/constructors/messages_affectedMessages.md b/old_docs/API_docs_v44/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v44/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v44/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v44/constructors/messages_allStickers.md b/old_docs/API_docs_v44/constructors/messages_allStickers.md index 2a7d1313..45a66ddf 100644 --- a/old_docs/API_docs_v44/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v44/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} ``` diff --git a/old_docs/API_docs_v44/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v44/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v44/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v44/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v44/constructors/messages_channelMessages.md b/old_docs/API_docs_v44/constructors/messages_channelMessages.md index 8948bf1d..eadc5001 100644 --- a/old_docs/API_docs_v44/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v44/constructors/messages_channelMessages.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -37,10 +37,9 @@ $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'c ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v44/constructors/messages_chatFull.md b/old_docs/API_docs_v44/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v44/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v44/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v44/constructors/messages_chats.md b/old_docs/API_docs_v44/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v44/constructors/messages_chats.md +++ b/old_docs/API_docs_v44/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v44/constructors/messages_dhConfig.md b/old_docs/API_docs_v44/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v44/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v44/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v44/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v44/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v44/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v44/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v44/constructors/messages_dialogs.md b/old_docs/API_docs_v44/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v44/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v44/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v44/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v44/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v44/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v44/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v44/constructors/messages_foundGifs.md b/old_docs/API_docs_v44/constructors/messages_foundGifs.md index f86a9fed..4d513264 100644 --- a/old_docs/API_docs_v44/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v44/constructors/messages_foundGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; ``` @@ -33,10 +33,9 @@ $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'resul ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} ``` diff --git a/old_docs/API_docs_v44/constructors/messages_messages.md b/old_docs/API_docs_v44/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v44/constructors/messages_messages.md +++ b/old_docs/API_docs_v44/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v44/constructors/messages_messagesSlice.md b/old_docs/API_docs_v44/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v44/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v44/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v44/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v44/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v44/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v44/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v44/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v44/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v44/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v44/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v44/constructors/messages_stickerSet.md b/old_docs/API_docs_v44/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/old_docs/API_docs_v44/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v44/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v44/constructors/messages_stickers.md b/old_docs/API_docs_v44/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v44/constructors/messages_stickers.md +++ b/old_docs/API_docs_v44/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v44/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v44/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v44/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v44/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v44/constructors/nearestDc.md b/old_docs/API_docs_v44/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v44/constructors/nearestDc.md +++ b/old_docs/API_docs_v44/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v44/constructors/notifyAll.md b/old_docs/API_docs_v44/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v44/constructors/notifyAll.md +++ b/old_docs/API_docs_v44/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v44/constructors/notifyChats.md b/old_docs/API_docs_v44/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v44/constructors/notifyChats.md +++ b/old_docs/API_docs_v44/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v44/constructors/notifyPeer.md b/old_docs/API_docs_v44/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v44/constructors/notifyPeer.md +++ b/old_docs/API_docs_v44/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v44/constructors/notifyUsers.md b/old_docs/API_docs_v44/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v44/constructors/notifyUsers.md +++ b/old_docs/API_docs_v44/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v44/constructors/peerChannel.md b/old_docs/API_docs_v44/constructors/peerChannel.md index f30e3f41..360d5c42 100644 --- a/old_docs/API_docs_v44/constructors/peerChannel.md +++ b/old_docs/API_docs_v44/constructors/peerChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/peerChat.md b/old_docs/API_docs_v44/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v44/constructors/peerChat.md +++ b/old_docs/API_docs_v44/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v44/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v44/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v44/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v44/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v44/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v44/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v44/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/peerNotifySettings.md b/old_docs/API_docs_v44/constructors/peerNotifySettings.md index 513132f4..12c5bbb9 100644 --- a/old_docs/API_docs_v44/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v44/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v44/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v44/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v44/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v44/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/peerUser.md b/old_docs/API_docs_v44/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v44/constructors/peerUser.md +++ b/old_docs/API_docs_v44/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/photo.md b/old_docs/API_docs_v44/constructors/photo.md index 7055e7a9..982122b9 100644 --- a/old_docs/API_docs_v44/constructors/photo.md +++ b/old_docs/API_docs_v44/constructors/photo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -35,10 +35,9 @@ $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v44/constructors/photoCachedSize.md b/old_docs/API_docs_v44/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v44/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v44/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v44/constructors/photoEmpty.md b/old_docs/API_docs_v44/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v44/constructors/photoEmpty.md +++ b/old_docs/API_docs_v44/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v44/constructors/photoSize.md b/old_docs/API_docs_v44/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v44/constructors/photoSize.md +++ b/old_docs/API_docs_v44/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v44/constructors/photoSizeEmpty.md b/old_docs/API_docs_v44/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v44/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v44/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/photos_photo.md b/old_docs/API_docs_v44/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v44/constructors/photos_photo.md +++ b/old_docs/API_docs_v44/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v44/constructors/photos_photos.md b/old_docs/API_docs_v44/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v44/constructors/photos_photos.md +++ b/old_docs/API_docs_v44/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v44/constructors/photos_photosSlice.md b/old_docs/API_docs_v44/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v44/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v44/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v44/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v44/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v44/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v44/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v44/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v44/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v44/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v44/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v44/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v44/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v44/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v44/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v44/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v44/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v44/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v44/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v44/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v44/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v44/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v44/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v44/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v44/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v44/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v44/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v44/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v44/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v44/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v44/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v44/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v44/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/old_docs/API_docs_v44/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v44/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v44/constructors/replyKeyboardForceReply.md index 56e255c1..3f7fae8c 100644 --- a/old_docs/API_docs_v44/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v44/constructors/replyKeyboardForceReply.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` @@ -33,10 +33,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool} ``` diff --git a/old_docs/API_docs_v44/constructors/replyKeyboardHide.md b/old_docs/API_docs_v44/constructors/replyKeyboardHide.md index 7251db49..30e9f399 100644 --- a/old_docs/API_docs_v44/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v44/constructors/replyKeyboardHide.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` @@ -32,10 +32,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide', selective=Bool} ``` diff --git a/old_docs/API_docs_v44/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v44/constructors/replyKeyboardMarkup.md index 87a55463..80f3f654 100644 --- a/old_docs/API_docs_v44/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v44/constructors/replyKeyboardMarkup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -35,10 +35,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v44/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v44/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v44/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v44/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v44/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v44/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v44/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v44/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v44/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v44/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v44/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v44/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v44/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v44/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/old_docs/API_docs_v44/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v44/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/old_docs/API_docs_v44/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v44/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/old_docs/API_docs_v44/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v44/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/old_docs/API_docs_v44/constructors/stickerPack.md b/old_docs/API_docs_v44/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v44/constructors/stickerPack.md +++ b/old_docs/API_docs_v44/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v44/constructors/stickerSet.md b/old_docs/API_docs_v44/constructors/stickerSet.md index 4f0e5ff2..695e2aea 100644 --- a/old_docs/API_docs_v44/constructors/stickerSet.md +++ b/old_docs/API_docs_v44/constructors/stickerSet.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -40,10 +40,9 @@ $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'of ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', installed=Bool, disabled=Bool, official=Bool, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/old_docs/API_docs_v44/constructors/storage_fileGif.md b/old_docs/API_docs_v44/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v44/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v44/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v44/constructors/storage_fileJpeg.md b/old_docs/API_docs_v44/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v44/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v44/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v44/constructors/storage_fileMov.md b/old_docs/API_docs_v44/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v44/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v44/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v44/constructors/storage_fileMp3.md b/old_docs/API_docs_v44/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v44/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v44/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v44/constructors/storage_fileMp4.md b/old_docs/API_docs_v44/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v44/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v44/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v44/constructors/storage_filePartial.md b/old_docs/API_docs_v44/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v44/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v44/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v44/constructors/storage_filePdf.md b/old_docs/API_docs_v44/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v44/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v44/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v44/constructors/storage_filePng.md b/old_docs/API_docs_v44/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v44/constructors/storage_filePng.md +++ b/old_docs/API_docs_v44/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v44/constructors/storage_fileUnknown.md b/old_docs/API_docs_v44/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v44/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v44/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v44/constructors/storage_fileWebp.md b/old_docs/API_docs_v44/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v44/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v44/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v44/constructors/true.md b/old_docs/API_docs_v44/constructors/true.md index 2e27ecbf..4863f16b 100644 --- a/old_docs/API_docs_v44/constructors/true.md +++ b/old_docs/API_docs_v44/constructors/true.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $true = ['_' => 'true']; ``` @@ -27,10 +27,9 @@ $true = ['_' => 'true']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua true={_='true'} ``` diff --git a/old_docs/API_docs_v44/constructors/updateChannel.md b/old_docs/API_docs_v44/constructors/updateChannel.md index e615920a..fb876328 100644 --- a/old_docs/API_docs_v44/constructors/updateChannel.md +++ b/old_docs/API_docs_v44/constructors/updateChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannel={_='updateChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updateChannelGroup.md b/old_docs/API_docs_v44/constructors/updateChannelGroup.md index c322e296..8266d55a 100644 --- a/old_docs/API_docs_v44/constructors/updateChannelGroup.md +++ b/old_docs/API_docs_v44/constructors/updateChannelGroup.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup]; ``` @@ -33,10 +33,9 @@ $updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelGroup={_='updateChannelGroup', channel_id=int, group=MessageGroup} ``` diff --git a/old_docs/API_docs_v44/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v44/constructors/updateChannelMessageViews.md index 19e0b648..d62f055a 100644 --- a/old_docs/API_docs_v44/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v44/constructors/updateChannelMessageViews.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` @@ -34,10 +34,9 @@ $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updateChannelTooLong.md b/old_docs/API_docs_v44/constructors/updateChannelTooLong.md index c4366f91..5665f1a4 100644 --- a/old_docs/API_docs_v44/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v44/constructors/updateChannelTooLong.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelTooLong={_='updateChannelTooLong', channel_id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updateChatAdmins.md b/old_docs/API_docs_v44/constructors/updateChatAdmins.md index 87ffd626..aac09762 100644 --- a/old_docs/API_docs_v44/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v44/constructors/updateChatAdmins.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v44/constructors/updateChatParticipantAdd.md index ea5157ad..fe76dc62 100644 --- a/old_docs/API_docs_v44/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v44/constructors/updateChatParticipantAdd.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` @@ -36,10 +36,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v44/constructors/updateChatParticipantAdmin.md index b1022850..d262b2e6 100644 --- a/old_docs/API_docs_v44/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v44/constructors/updateChatParticipantAdmin.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v44/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v44/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v44/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updateChatParticipants.md b/old_docs/API_docs_v44/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v44/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v44/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v44/constructors/updateChatUserTyping.md b/old_docs/API_docs_v44/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v44/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v44/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v44/constructors/updateContactLink.md b/old_docs/API_docs_v44/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v44/constructors/updateContactLink.md +++ b/old_docs/API_docs_v44/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v44/constructors/updateContactRegistered.md b/old_docs/API_docs_v44/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v44/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v44/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updateDcOptions.md b/old_docs/API_docs_v44/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v44/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v44/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v44/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v44/constructors/updateDeleteChannelMessages.md index 0f84f3f7..8fb10b65 100644 --- a/old_docs/API_docs_v44/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v44/constructors/updateDeleteChannelMessages.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updateDeleteMessages.md b/old_docs/API_docs_v44/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v44/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v44/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v44/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v44/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v44/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v44/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v44/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v44/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updateEncryption.md b/old_docs/API_docs_v44/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v44/constructors/updateEncryption.md +++ b/old_docs/API_docs_v44/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updateMessageID.md b/old_docs/API_docs_v44/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v44/constructors/updateMessageID.md +++ b/old_docs/API_docs_v44/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updateNewAuthorization.md b/old_docs/API_docs_v44/constructors/updateNewAuthorization.md index c7a95f80..ce1d0815 100644 --- a/old_docs/API_docs_v44/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v44/constructors/updateNewAuthorization.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` @@ -35,10 +35,9 @@ $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device='string', location='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v44/constructors/updateNewChannelMessage.md index 59dbc820..9fa1c7ec 100644 --- a/old_docs/API_docs_v44/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v44/constructors/updateNewChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Messa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v44/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v44/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v44/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updateNewMessage.md b/old_docs/API_docs_v44/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v44/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v44/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updateNewStickerSet.md b/old_docs/API_docs_v44/constructors/updateNewStickerSet.md index c36d4617..5ba327ea 100644 --- a/old_docs/API_docs_v44/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v44/constructors/updateNewStickerSet.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` @@ -32,10 +32,9 @@ $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_S ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} ``` diff --git a/old_docs/API_docs_v44/constructors/updateNotifySettings.md b/old_docs/API_docs_v44/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v44/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v44/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v44/constructors/updatePrivacy.md b/old_docs/API_docs_v44/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v44/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v44/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v44/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v44/constructors/updateReadChannelInbox.md index be964e20..c8c26acb 100644 --- a/old_docs/API_docs_v44/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v44/constructors/updateReadChannelInbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v44/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v44/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v44/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v44/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v44/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v44/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v44/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/old_docs/API_docs_v44/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v44/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updateServiceNotification.md b/old_docs/API_docs_v44/constructors/updateServiceNotification.md index 979fe7bd..ddcf7eb5 100644 --- a/old_docs/API_docs_v44/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v44/constructors/updateServiceNotification.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` @@ -35,10 +35,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'str ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', type='string', message='string', media=MessageMedia, popup=Bool} ``` diff --git a/old_docs/API_docs_v44/constructors/updateShort.md b/old_docs/API_docs_v44/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v44/constructors/updateShort.md +++ b/old_docs/API_docs_v44/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updateShortChatMessage.md b/old_docs/API_docs_v44/constructors/updateShortChatMessage.md index 9382f3a3..7fa1621b 100644 --- a/old_docs/API_docs_v44/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v44/constructors/updateShortChatMessage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -46,10 +46,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'o ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v44/constructors/updateShortMessage.md b/old_docs/API_docs_v44/constructors/updateShortMessage.md index fb37fba7..ba861761 100644 --- a/old_docs/API_docs_v44/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v44/constructors/updateShortMessage.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -45,10 +45,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v44/constructors/updateShortSentMessage.md b/old_docs/API_docs_v44/constructors/updateShortSentMessage.md index 0e40bd22..f35f8285 100644 --- a/old_docs/API_docs_v44/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v44/constructors/updateShortSentMessage.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -39,10 +39,9 @@ $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'o ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortSentMessage={_='updateShortSentMessage', unread=Bool, out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v44/constructors/updateStickerSets.md b/old_docs/API_docs_v44/constructors/updateStickerSets.md index 4f045d67..e4cc23a0 100644 --- a/old_docs/API_docs_v44/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v44/constructors/updateStickerSets.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSets = ['_' => 'updateStickerSets']; ``` @@ -27,10 +27,9 @@ $updateStickerSets = ['_' => 'updateStickerSets']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v44/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v44/constructors/updateStickerSetsOrder.md index ff94265f..d47c939f 100644 --- a/old_docs/API_docs_v44/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v44/constructors/updateStickerSetsOrder.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long, long]]; ``` @@ -32,10 +32,9 @@ $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long, lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSetsOrder={_='updateStickerSetsOrder', order={long}} ``` diff --git a/old_docs/API_docs_v44/constructors/updateUserBlocked.md b/old_docs/API_docs_v44/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v44/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v44/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v44/constructors/updateUserName.md b/old_docs/API_docs_v44/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v44/constructors/updateUserName.md +++ b/old_docs/API_docs_v44/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/updateUserPhone.md b/old_docs/API_docs_v44/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v44/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v44/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/updateUserPhoto.md b/old_docs/API_docs_v44/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v44/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v44/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v44/constructors/updateUserStatus.md b/old_docs/API_docs_v44/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v44/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v44/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v44/constructors/updateUserTyping.md b/old_docs/API_docs_v44/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v44/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v44/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v44/constructors/updateWebPage.md b/old_docs/API_docs_v44/constructors/updateWebPage.md index 9f468619..932d8ff2 100644 --- a/old_docs/API_docs_v44/constructors/updateWebPage.md +++ b/old_docs/API_docs_v44/constructors/updateWebPage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updates.md b/old_docs/API_docs_v44/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v44/constructors/updates.md +++ b/old_docs/API_docs_v44/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updatesCombined.md b/old_docs/API_docs_v44/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v44/constructors/updatesCombined.md +++ b/old_docs/API_docs_v44/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updatesTooLong.md b/old_docs/API_docs_v44/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v44/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v44/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v44/constructors/updates_channelDifference.md b/old_docs/API_docs_v44/constructors/updates_channelDifference.md index 21b618c2..df1dafd6 100644 --- a/old_docs/API_docs_v44/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v44/constructors/updates_channelDifference.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v44/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v44/constructors/updates_channelDifferenceEmpty.md index a2e49340..a5be0377 100644 --- a/old_docs/API_docs_v44/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v44/constructors/updates_channelDifferenceEmpty.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'fin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v44/constructors/updates_channelDifferenceTooLong.md index 47f23144..28fc12ca 100644 --- a/old_docs/API_docs_v44/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v44/constructors/updates_channelDifferenceTooLong.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -42,10 +42,9 @@ $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v44/constructors/updates_difference.md b/old_docs/API_docs_v44/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v44/constructors/updates_difference.md +++ b/old_docs/API_docs_v44/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v44/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v44/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v44/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v44/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v44/constructors/updates_differenceSlice.md b/old_docs/API_docs_v44/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v44/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v44/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v44/constructors/updates_state.md b/old_docs/API_docs_v44/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v44/constructors/updates_state.md +++ b/old_docs/API_docs_v44/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v44/constructors/upload_file.md b/old_docs/API_docs_v44/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v44/constructors/upload_file.md +++ b/old_docs/API_docs_v44/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v44/constructors/user.md b/old_docs/API_docs_v44/constructors/user.md index fb0c87b5..34b94ee3 100644 --- a/old_docs/API_docs_v44/constructors/user.md +++ b/old_docs/API_docs_v44/constructors/user.md @@ -39,7 +39,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restiction_reason' => 'string']; ``` @@ -50,10 +50,9 @@ $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restiction_reason='string'} ``` diff --git a/old_docs/API_docs_v44/constructors/userEmpty.md b/old_docs/API_docs_v44/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v44/constructors/userEmpty.md +++ b/old_docs/API_docs_v44/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v44/constructors/userFull.md b/old_docs/API_docs_v44/constructors/userFull.md index dff5cfa2..9b32a434 100644 --- a/old_docs/API_docs_v44/constructors/userFull.md +++ b/old_docs/API_docs_v44/constructors/userFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` @@ -37,10 +37,9 @@ $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v44/constructors/userProfilePhoto.md b/old_docs/API_docs_v44/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v44/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v44/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v44/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v44/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v44/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v44/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/userStatusEmpty.md b/old_docs/API_docs_v44/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v44/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v44/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v44/constructors/userStatusLastMonth.md b/old_docs/API_docs_v44/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v44/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v44/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v44/constructors/userStatusLastWeek.md b/old_docs/API_docs_v44/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v44/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v44/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v44/constructors/userStatusOffline.md b/old_docs/API_docs_v44/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v44/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v44/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v44/constructors/userStatusOnline.md b/old_docs/API_docs_v44/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v44/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v44/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v44/constructors/userStatusRecently.md b/old_docs/API_docs_v44/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v44/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v44/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v44/constructors/vector.md b/old_docs/API_docs_v44/constructors/vector.md index c9e27763..d8ea6f1f 100644 --- a/old_docs/API_docs_v44/constructors/vector.md +++ b/old_docs/API_docs_v44/constructors/vector.md @@ -18,7 +18,7 @@ Array ### Example: -``` +```php $vector = ['_' => 'vector']; ``` @@ -29,10 +29,9 @@ $vector = ['_' => 'vector']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua vector={_='vector'} ``` diff --git a/old_docs/API_docs_v44/constructors/video.md b/old_docs/API_docs_v44/constructors/video.md index 58154db2..a0ab3175 100644 --- a/old_docs/API_docs_v44/constructors/video.md +++ b/old_docs/API_docs_v44/constructors/video.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int]; ``` @@ -41,10 +41,9 @@ $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua video={_='video', id=long, access_hash=long, date=int, duration=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v44/constructors/videoEmpty.md b/old_docs/API_docs_v44/constructors/videoEmpty.md index 8509fcf9..a41ca8ab 100644 --- a/old_docs/API_docs_v44/constructors/videoEmpty.md +++ b/old_docs/API_docs_v44/constructors/videoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua videoEmpty={_='videoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v44/constructors/wallPaper.md b/old_docs/API_docs_v44/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v44/constructors/wallPaper.md +++ b/old_docs/API_docs_v44/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v44/constructors/wallPaperSolid.md b/old_docs/API_docs_v44/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v44/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v44/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v44/constructors/webPage.md b/old_docs/API_docs_v44/constructors/webPage.md index 1023918f..fe5271f3 100644 --- a/old_docs/API_docs_v44/constructors/webPage.md +++ b/old_docs/API_docs_v44/constructors/webPage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document]; ``` @@ -46,10 +46,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document} ``` diff --git a/old_docs/API_docs_v44/constructors/webPageEmpty.md b/old_docs/API_docs_v44/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v44/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v44/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v44/constructors/webPageExternal.md b/old_docs/API_docs_v44/constructors/webPageExternal.md index e6a33456..29fc9ab1 100644 --- a/old_docs/API_docs_v44/constructors/webPageExternal.md +++ b/old_docs/API_docs_v44/constructors/webPageExternal.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageExternal = ['_' => 'webPageExternal', 'url' => 'string', 'display_url' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'w' => int, 'h' => int, 'duration' => int]; ``` @@ -41,10 +41,9 @@ $webPageExternal = ['_' => 'webPageExternal', 'url' => 'string', 'display_url' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageExternal={_='webPageExternal', url='string', display_url='string', type='string', title='string', description='string', thumb_url='string', content_url='string', w=int, h=int, duration=int} ``` diff --git a/old_docs/API_docs_v44/constructors/webPagePending.md b/old_docs/API_docs_v44/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v44/constructors/webPagePending.md +++ b/old_docs/API_docs_v44/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v44/methods/account_changePhone.md b/old_docs/API_docs_v44/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v44/methods/account_changePhone.md +++ b/old_docs/API_docs_v44/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/account_checkUsername.md b/old_docs/API_docs_v44/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v44/methods/account_checkUsername.md +++ b/old_docs/API_docs_v44/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/account_deleteAccount.md b/old_docs/API_docs_v44/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v44/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v44/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/account_getAccountTTL.md b/old_docs/API_docs_v44/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v44/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v44/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v44/methods/account_getAuthorizations.md b/old_docs/API_docs_v44/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v44/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v44/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v44/methods/account_getNotifySettings.md b/old_docs/API_docs_v44/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v44/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v44/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v44/methods/account_getPassword.md b/old_docs/API_docs_v44/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v44/methods/account_getPassword.md +++ b/old_docs/API_docs_v44/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v44/methods/account_getPasswordSettings.md b/old_docs/API_docs_v44/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v44/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v44/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v44/methods/account_getPrivacy.md b/old_docs/API_docs_v44/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v44/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v44/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v44/methods/account_getWallPapers.md b/old_docs/API_docs_v44/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v44/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v44/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v44/methods/account_registerDevice.md b/old_docs/API_docs_v44/methods/account_registerDevice.md index bd2b5649..3192933d 100644 --- a/old_docs/API_docs_v44/methods/account_registerDevice.md +++ b/old_docs/API_docs_v44/methods/account_registerDevice.md @@ -30,7 +30,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', device_model='string', system_version='string', app_version='string', app_sandbox=Bool, lang_code='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/account_reportPeer.md b/old_docs/API_docs_v44/methods/account_reportPeer.md index d8c49851..673b48bf 100644 --- a/old_docs/API_docs_v44/methods/account_reportPeer.md +++ b/old_docs/API_docs_v44/methods/account_reportPeer.md @@ -25,7 +25,7 @@ Report for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reason - Json encoded ReportReason Or, if you're into Lua: -``` +```lua Bool = account.reportPeer({peer=InputPeer, reason=ReportReason, }) ``` diff --git a/old_docs/API_docs_v44/methods/account_resetAuthorization.md b/old_docs/API_docs_v44/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v44/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v44/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v44/methods/account_resetNotifySettings.md b/old_docs/API_docs_v44/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v44/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v44/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md index 2fcdcc4c..12ea92c5 100644 --- a/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md @@ -24,7 +24,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/account_setAccountTTL.md b/old_docs/API_docs_v44/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v44/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v44/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v44/methods/account_setPrivacy.md b/old_docs/API_docs_v44/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v44/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v44/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v44/methods/account_unregisterDevice.md b/old_docs/API_docs_v44/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v44/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v44/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v44/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v44/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v44/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/account_updateNotifySettings.md b/old_docs/API_docs_v44/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v44/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v44/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v44/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v44/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v44/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v44/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v44/methods/account_updateProfile.md b/old_docs/API_docs_v44/methods/account_updateProfile.md index 541086a6..5034a6da 100644 --- a/old_docs/API_docs_v44/methods/account_updateProfile.md +++ b/old_docs/API_docs_v44/methods/account_updateProfile.md @@ -25,7 +25,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ last_name - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/account_updateStatus.md b/old_docs/API_docs_v44/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v44/methods/account_updateStatus.md +++ b/old_docs/API_docs_v44/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v44/methods/account_updateUsername.md b/old_docs/API_docs_v44/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v44/methods/account_updateUsername.md +++ b/old_docs/API_docs_v44/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/auth_checkPhone.md b/old_docs/API_docs_v44/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v44/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v44/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/auth_recoverPassword.md b/old_docs/API_docs_v44/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v44/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v44/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v44/methods/auth_sendCall.md b/old_docs/API_docs_v44/methods/auth_sendCall.md index 70a2870f..e8260454 100644 --- a/old_docs/API_docs_v44/methods/auth_sendCall.md +++ b/old_docs/API_docs_v44/methods/auth_sendCall.md @@ -25,7 +25,7 @@ Send verification phone call ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/auth_sendInvites.md b/old_docs/API_docs_v44/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v44/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v44/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/auth_sendSms.md b/old_docs/API_docs_v44/methods/auth_sendSms.md index 6c31f570..050926ff 100644 --- a/old_docs/API_docs_v44/methods/auth_sendSms.md +++ b/old_docs/API_docs_v44/methods/auth_sendSms.md @@ -25,7 +25,7 @@ Send SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_checkUsername.md b/old_docs/API_docs_v44/methods/channels_checkUsername.md index d287b3ca..573bf8f0 100644 --- a/old_docs/API_docs_v44/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v44/methods/channels_checkUsername.md @@ -25,7 +25,7 @@ Check if this username is free and can be assigned to a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.checkUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_createChannel.md b/old_docs/API_docs_v44/methods/channels_createChannel.md index 356f473a..1821c864 100644 --- a/old_docs/API_docs_v44/methods/channels_createChannel.md +++ b/old_docs/API_docs_v44/methods/channels_createChannel.md @@ -27,7 +27,7 @@ Create channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title='string', about='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_deleteChannel.md b/old_docs/API_docs_v44/methods/channels_deleteChannel.md index b55d91b8..a79ccb9f 100644 --- a/old_docs/API_docs_v44/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v44/methods/channels_deleteChannel.md @@ -24,7 +24,7 @@ Delete a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.deleteChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_deleteMessages.md b/old_docs/API_docs_v44/methods/channels_deleteMessages.md index 03625c94..8cd7ebb3 100644 --- a/old_docs/API_docs_v44/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v44/methods/channels_deleteMessages.md @@ -25,7 +25,7 @@ Delete channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v44/methods/channels_deleteUserHistory.md index 204a8786..78baa90f 100644 --- a/old_docs/API_docs_v44/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v44/methods/channels_deleteUserHistory.md @@ -25,7 +25,7 @@ Delete all messages of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_editAbout.md b/old_docs/API_docs_v44/methods/channels_editAbout.md index fd861133..549d7ea5 100644 --- a/old_docs/API_docs_v44/methods/channels_editAbout.md +++ b/old_docs/API_docs_v44/methods/channels_editAbout.md @@ -25,7 +25,7 @@ Edit the about text of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.editAbout({channel=InputChannel, about='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_editAdmin.md b/old_docs/API_docs_v44/methods/channels_editAdmin.md index bc0793fe..b41561e0 100644 --- a/old_docs/API_docs_v44/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v44/methods/channels_editAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ role - Json encoded ChannelParticipantRole Or, if you're into Lua: -``` +```lua Updates = channels.editAdmin({channel=InputChannel, user_id=InputUser, role=ChannelParticipantRole, }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_editPhoto.md b/old_docs/API_docs_v44/methods/channels_editPhoto.md index ccbaed65..7013c6e2 100644 --- a/old_docs/API_docs_v44/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v44/methods/channels_editPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = channels.editPhoto({channel=InputChannel, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_editTitle.md b/old_docs/API_docs_v44/methods/channels_editTitle.md index ffd868ba..a9c8c50f 100644 --- a/old_docs/API_docs_v44/methods/channels_editTitle.md +++ b/old_docs/API_docs_v44/methods/channels_editTitle.md @@ -25,7 +25,7 @@ Edit the title of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.editTitle({channel=InputChannel, title='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_exportInvite.md b/old_docs/API_docs_v44/methods/channels_exportInvite.md index 0b4b5c31..5a92097a 100644 --- a/old_docs/API_docs_v44/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v44/methods/channels_exportInvite.md @@ -24,7 +24,7 @@ Export the invite link of a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua ExportedChatInvite = channels.exportInvite({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_getChannels.md b/old_docs/API_docs_v44/methods/channels_getChannels.md index 71edac7b..a146be1e 100644 --- a/old_docs/API_docs_v44/methods/channels_getChannels.md +++ b/old_docs/API_docs_v44/methods/channels_getChannels.md @@ -24,7 +24,7 @@ Get info about multiple channels/supergroups ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputChannel Or, if you're into Lua: -``` +```lua messages_Chats = channels.getChannels({id={InputChannel}, }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_getDialogs.md b/old_docs/API_docs_v44/methods/channels_getDialogs.md index c3acd0e6..b238558d 100644 --- a/old_docs/API_docs_v44/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v44/methods/channels_getDialogs.md @@ -25,7 +25,7 @@ Get channel dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = channels.getDialogs({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_getImportantHistory.md b/old_docs/API_docs_v44/methods/channels_getImportantHistory.md index e038bde8..374afee5 100644 --- a/old_docs/API_docs_v44/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v44/methods/channels_getImportantHistory.md @@ -29,7 +29,7 @@ Get important channel/supergroup history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getImportantHistory({channel=InputChannel, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_getMessages.md b/old_docs/API_docs_v44/methods/channels_getMessages.md index 217757eb..208cbcc4 100644 --- a/old_docs/API_docs_v44/methods/channels_getMessages.md +++ b/old_docs/API_docs_v44/methods/channels_getMessages.md @@ -25,7 +25,7 @@ Get channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_getParticipant.md b/old_docs/API_docs_v44/methods/channels_getParticipant.md index a641d213..9cf80799 100644 --- a/old_docs/API_docs_v44/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v44/methods/channels_getParticipant.md @@ -25,7 +25,7 @@ Get info about a certain channel/supergroup participant ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_getParticipants.md b/old_docs/API_docs_v44/methods/channels_getParticipants.md index c2f0cdcd..3d4dfa13 100644 --- a/old_docs/API_docs_v44/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v44/methods/channels_getParticipants.md @@ -27,7 +27,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_inviteToChannel.md b/old_docs/API_docs_v44/methods/channels_inviteToChannel.md index 0a350cc8..998e3895 100644 --- a/old_docs/API_docs_v44/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v44/methods/channels_inviteToChannel.md @@ -25,7 +25,7 @@ Add users to channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ users - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Updates = channels.inviteToChannel({channel=InputChannel, users={InputUser}, }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_joinChannel.md b/old_docs/API_docs_v44/methods/channels_joinChannel.md index aae2bc1c..3c6a3b94 100644 --- a/old_docs/API_docs_v44/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v44/methods/channels_joinChannel.md @@ -24,7 +24,7 @@ Join a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.joinChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_kickFromChannel.md b/old_docs/API_docs_v44/methods/channels_kickFromChannel.md index c51cea7c..7586bdf6 100644 --- a/old_docs/API_docs_v44/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v44/methods/channels_kickFromChannel.md @@ -26,7 +26,7 @@ Kick user from channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ kicked - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.kickFromChannel({channel=InputChannel, user_id=InputUser, kicked=Bool, }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_leaveChannel.md b/old_docs/API_docs_v44/methods/channels_leaveChannel.md index 4e6701fe..0934089f 100644 --- a/old_docs/API_docs_v44/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v44/methods/channels_leaveChannel.md @@ -24,7 +24,7 @@ Leave a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.leaveChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_readHistory.md b/old_docs/API_docs_v44/methods/channels_readHistory.md index d76919ff..cf5c1529 100644 --- a/old_docs/API_docs_v44/methods/channels_readHistory.md +++ b/old_docs/API_docs_v44/methods/channels_readHistory.md @@ -25,7 +25,7 @@ Mark channel/supergroup history as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.readHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_reportSpam.md b/old_docs/API_docs_v44/methods/channels_reportSpam.md index 48022662..b0e99eb1 100644 --- a/old_docs/API_docs_v44/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v44/methods/channels_reportSpam.md @@ -26,7 +26,7 @@ Report a message in a supergroup/channel for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.reportSpam({channel=InputChannel, user_id=InputUser, id={int}, }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_toggleComments.md b/old_docs/API_docs_v44/methods/channels_toggleComments.md index 52e2c7ae..230b0315 100644 --- a/old_docs/API_docs_v44/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v44/methods/channels_toggleComments.md @@ -25,7 +25,7 @@ Enable channel comments ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleComments({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v44/methods/channels_updateUsername.md b/old_docs/API_docs_v44/methods/channels_updateUsername.md index 2e07e123..c0df8c7c 100644 --- a/old_docs/API_docs_v44/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v44/methods/channels_updateUsername.md @@ -25,7 +25,7 @@ Update the username of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.updateUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/contacts_block.md b/old_docs/API_docs_v44/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v44/methods/contacts_block.md +++ b/old_docs/API_docs_v44/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v44/methods/contacts_deleteContact.md b/old_docs/API_docs_v44/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v44/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v44/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v44/methods/contacts_deleteContacts.md b/old_docs/API_docs_v44/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v44/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v44/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v44/methods/contacts_exportCard.md b/old_docs/API_docs_v44/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v44/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v44/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v44/methods/contacts_getBlocked.md b/old_docs/API_docs_v44/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v44/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v44/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/contacts_getContacts.md b/old_docs/API_docs_v44/methods/contacts_getContacts.md index ccf0f99d..dfa407f2 100644 --- a/old_docs/API_docs_v44/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v44/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/contacts_getStatuses.md b/old_docs/API_docs_v44/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v44/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v44/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v44/methods/contacts_getSuggested.md b/old_docs/API_docs_v44/methods/contacts_getSuggested.md index d7feb718..8183eae4 100644 --- a/old_docs/API_docs_v44/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v44/methods/contacts_getSuggested.md @@ -24,7 +24,7 @@ Get suggested contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/contacts_importCard.md b/old_docs/API_docs_v44/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v44/methods/contacts_importCard.md +++ b/old_docs/API_docs_v44/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v44/methods/contacts_importContacts.md b/old_docs/API_docs_v44/methods/contacts_importContacts.md index d0404dd2..f1b17e2c 100644 --- a/old_docs/API_docs_v44/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v44/methods/contacts_importContacts.md @@ -25,7 +25,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ replace - Json encoded Bool Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v44/methods/contacts_search.md b/old_docs/API_docs_v44/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v44/methods/contacts_search.md +++ b/old_docs/API_docs_v44/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/contacts_unblock.md b/old_docs/API_docs_v44/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v44/methods/contacts_unblock.md +++ b/old_docs/API_docs_v44/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v44/methods/help_getAppChangelog.md b/old_docs/API_docs_v44/methods/help_getAppChangelog.md index e5f9dae5..872c377b 100644 --- a/old_docs/API_docs_v44/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v44/methods/help_getAppChangelog.md @@ -27,7 +27,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/help_getAppUpdate.md b/old_docs/API_docs_v44/methods/help_getAppUpdate.md index a501cbc5..4bdf36c3 100644 --- a/old_docs/API_docs_v44/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v44/methods/help_getAppUpdate.md @@ -27,7 +27,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/help_getConfig.md b/old_docs/API_docs_v44/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v44/methods/help_getConfig.md +++ b/old_docs/API_docs_v44/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v44/methods/help_getInviteText.md b/old_docs/API_docs_v44/methods/help_getInviteText.md index 1b31e572..797e2ad3 100644 --- a/old_docs/API_docs_v44/methods/help_getInviteText.md +++ b/old_docs/API_docs_v44/methods/help_getInviteText.md @@ -24,7 +24,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/help_getNearestDc.md b/old_docs/API_docs_v44/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v44/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v44/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v44/methods/help_getSupport.md b/old_docs/API_docs_v44/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v44/methods/help_getSupport.md +++ b/old_docs/API_docs_v44/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v44/methods/help_getTermsOfService.md b/old_docs/API_docs_v44/methods/help_getTermsOfService.md index 06eda47b..701de622 100644 --- a/old_docs/API_docs_v44/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v44/methods/help_getTermsOfService.md @@ -24,7 +24,7 @@ Get terms of service ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_TermsOfService = help.getTermsOfService({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/help_saveAppLog.md b/old_docs/API_docs_v44/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v44/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v44/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v44/methods/initConnection.md b/old_docs/API_docs_v44/methods/initConnection.md index 58cdb067..e34794f8 100644 --- a/old_docs/API_docs_v44/methods/initConnection.md +++ b/old_docs/API_docs_v44/methods/initConnection.md @@ -29,7 +29,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v44/methods/invokeAfterMsg.md b/old_docs/API_docs_v44/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v44/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v44/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v44/methods/invokeAfterMsgs.md b/old_docs/API_docs_v44/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v44/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v44/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v44/methods/invokeWithLayer.md b/old_docs/API_docs_v44/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v44/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v44/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v44/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v44/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/old_docs/API_docs_v44/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v44/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_addChatUser.md b/old_docs/API_docs_v44/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v44/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v44/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_checkChatInvite.md b/old_docs/API_docs_v44/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/old_docs/API_docs_v44/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v44/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_createChat.md b/old_docs/API_docs_v44/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v44/methods/messages_createChat.md +++ b/old_docs/API_docs_v44/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_deleteChatUser.md b/old_docs/API_docs_v44/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v44/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v44/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_deleteHistory.md b/old_docs/API_docs_v44/methods/messages_deleteHistory.md index 4b00d3a2..444d6758 100644 --- a/old_docs/API_docs_v44/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v44/methods/messages_deleteHistory.md @@ -25,7 +25,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_deleteMessages.md b/old_docs/API_docs_v44/methods/messages_deleteMessages.md index 2aa9d7d1..24152bec 100644 --- a/old_docs/API_docs_v44/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v44/methods/messages_deleteMessages.md @@ -24,7 +24,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_editChatAdmin.md b/old_docs/API_docs_v44/methods/messages_editChatAdmin.md index a2dad97f..f883b50e 100644 --- a/old_docs/API_docs_v44/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v44/methods/messages_editChatAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ is_admin - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.editChatAdmin({chat_id=InputPeer, user_id=InputUser, is_admin=Bool, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_editChatPhoto.md b/old_docs/API_docs_v44/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v44/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v44/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_editChatTitle.md b/old_docs/API_docs_v44/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v44/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v44/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_exportChatInvite.md b/old_docs/API_docs_v44/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/old_docs/API_docs_v44/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v44/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_forwardMessage.md b/old_docs/API_docs_v44/methods/messages_forwardMessage.md index 586670b8..d9c0453f 100644 --- a/old_docs/API_docs_v44/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v44/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_forwardMessages.md b/old_docs/API_docs_v44/methods/messages_forwardMessages.md index 1bc42a02..036d61fe 100644 --- a/old_docs/API_docs_v44/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v44/methods/messages_forwardMessages.md @@ -27,7 +27,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ to_peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({broadcast=Bool, from_peer=InputPeer, id={int}, to_peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_getAllStickers.md b/old_docs/API_docs_v44/methods/messages_getAllStickers.md index 966af122..c25a823b 100644 --- a/old_docs/API_docs_v44/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v44/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_getChats.md b/old_docs/API_docs_v44/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v44/methods/messages_getChats.md +++ b/old_docs/API_docs_v44/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_getDialogs.md b/old_docs/API_docs_v44/methods/messages_getDialogs.md index 557cb7d9..2919a482 100644 --- a/old_docs/API_docs_v44/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v44/methods/messages_getDialogs.md @@ -27,7 +27,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v44/methods/messages_getDocumentByHash.md index 5b6f6f21..00f0a558 100644 --- a/old_docs/API_docs_v44/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v44/methods/messages_getDocumentByHash.md @@ -26,7 +26,7 @@ Get document by SHA256 hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ mime_type - Json encoded string Or, if you're into Lua: -``` +```lua Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_getHistory.md b/old_docs/API_docs_v44/methods/messages_getHistory.md index 955f71cf..cfa5867b 100644 --- a/old_docs/API_docs_v44/methods/messages_getHistory.md +++ b/old_docs/API_docs_v44/methods/messages_getHistory.md @@ -29,7 +29,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_getMessages.md b/old_docs/API_docs_v44/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v44/methods/messages_getMessages.md +++ b/old_docs/API_docs_v44/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_getMessagesViews.md b/old_docs/API_docs_v44/methods/messages_getMessagesViews.md index 57a99054..b2b6110e 100644 --- a/old_docs/API_docs_v44/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v44/methods/messages_getMessagesViews.md @@ -26,7 +26,7 @@ Get and increase message views ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ increment - Json encoded Bool Or, if you're into Lua: -``` +```lua Vector_of_int = messages.getMessagesViews({peer=InputPeer, id={int}, increment=Bool, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_getStickerSet.md b/old_docs/API_docs_v44/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/old_docs/API_docs_v44/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v44/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_getStickers.md b/old_docs/API_docs_v44/methods/messages_getStickers.md index b1d3bd83..f4ca9972 100644 --- a/old_docs/API_docs_v44/methods/messages_getStickers.md +++ b/old_docs/API_docs_v44/methods/messages_getStickers.md @@ -25,7 +25,7 @@ Get stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v44/methods/messages_getWebPagePreview.md index 8475c8f5..4838be94 100644 --- a/old_docs/API_docs_v44/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v44/methods/messages_getWebPagePreview.md @@ -24,7 +24,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_importChatInvite.md b/old_docs/API_docs_v44/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/old_docs/API_docs_v44/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v44/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_installStickerSet.md b/old_docs/API_docs_v44/methods/messages_installStickerSet.md index 1cd832e5..41be11e1 100644 --- a/old_docs/API_docs_v44/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v44/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ disabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.installStickerSet({stickerset=InputStickerSet, disabled=Bool, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_migrateChat.md b/old_docs/API_docs_v44/methods/messages_migrateChat.md index df91f510..e789ff7d 100644 --- a/old_docs/API_docs_v44/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v44/methods/messages_migrateChat.md @@ -24,7 +24,7 @@ Convert chat to supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.migrateChat({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_readHistory.md b/old_docs/API_docs_v44/methods/messages_readHistory.md index 48d7fb45..4a2188d8 100644 --- a/old_docs/API_docs_v44/methods/messages_readHistory.md +++ b/old_docs/API_docs_v44/methods/messages_readHistory.md @@ -25,7 +25,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_readMessageContents.md b/old_docs/API_docs_v44/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v44/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v44/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_receivedMessages.md b/old_docs/API_docs_v44/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/old_docs/API_docs_v44/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v44/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md index 8fb0d3da..372d870e 100644 --- a/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md @@ -24,7 +24,7 @@ Reorder sticker sets ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ order - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.reorderStickerSets({order={long}, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_reportSpam.md b/old_docs/API_docs_v44/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/old_docs/API_docs_v44/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v44/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_search.md b/old_docs/API_docs_v44/methods/messages_search.md index c39973e1..4a1f85e3 100644 --- a/old_docs/API_docs_v44/methods/messages_search.md +++ b/old_docs/API_docs_v44/methods/messages_search.md @@ -32,7 +32,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({important_only=Bool, peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_searchGifs.md b/old_docs/API_docs_v44/methods/messages_searchGifs.md index 1ef77d23..a12cdd21 100644 --- a/old_docs/API_docs_v44/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v44/methods/messages_searchGifs.md @@ -25,7 +25,7 @@ Search gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_searchGlobal.md b/old_docs/API_docs_v44/methods/messages_searchGlobal.md index 4d05bf0d..1fb73592 100644 --- a/old_docs/API_docs_v44/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v44/methods/messages_searchGlobal.md @@ -28,7 +28,7 @@ Global message search ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_sendBroadcast.md b/old_docs/API_docs_v44/methods/messages_sendBroadcast.md index 11f43d4c..5813ba9c 100644 --- a/old_docs/API_docs_v44/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v44/methods/messages_sendBroadcast.md @@ -26,7 +26,7 @@ Send a message to all users in the chat list ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua Updates = messages.sendBroadcast({contacts={InputUser}, message='string', media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_sendEncrypted.md b/old_docs/API_docs_v44/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v44/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v44/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v44/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v44/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v44/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_sendMedia.md b/old_docs/API_docs_v44/methods/messages_sendMedia.md index 5b315147..e57e9e3a 100644 --- a/old_docs/API_docs_v44/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v44/methods/messages_sendMedia.md @@ -28,7 +28,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({broadcast=Bool, peer=InputPeer, reply_to_msg_id=int, media=InputMedia, reply_markup=ReplyMarkup, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_sendMessage.md b/old_docs/API_docs_v44/methods/messages_sendMessage.md index de30373d..b3360767 100644 --- a/old_docs/API_docs_v44/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v44/methods/messages_sendMessage.md @@ -31,7 +31,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMessage({no_webpage=Bool, broadcast=Bool, peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_setTyping.md b/old_docs/API_docs_v44/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v44/methods/messages_setTyping.md +++ b/old_docs/API_docs_v44/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_startBot.md b/old_docs/API_docs_v44/methods/messages_startBot.md index 506957a7..71f82822 100644 --- a/old_docs/API_docs_v44/methods/messages_startBot.md +++ b/old_docs/API_docs_v44/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md index 0f1e56fa..56438277 100644 --- a/old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md @@ -25,7 +25,7 @@ Enable all users are admins in normal groups (not supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = messages.toggleChatAdmins({chat_id=InputPeer, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v44/methods/photos_deletePhotos.md b/old_docs/API_docs_v44/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v44/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v44/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v44/methods/photos_getUserPhotos.md b/old_docs/API_docs_v44/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/old_docs/API_docs_v44/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v44/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md index 706f0a01..7341e4e7 100644 --- a/old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md @@ -25,7 +25,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md index 99064210..1debfc82 100644 --- a/old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md @@ -27,7 +27,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v44/methods/users_getUsers.md b/old_docs/API_docs_v44/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v44/methods/users_getUsers.md +++ b/old_docs/API_docs_v44/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v44/types/Chat.md b/old_docs/API_docs_v44/types/Chat.md index cd83aacb..58654e6e 100644 --- a/old_docs/API_docs_v44/types/Chat.md +++ b/old_docs/API_docs_v44/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v44/types/InputChannel.md b/old_docs/API_docs_v44/types/InputChannel.md index 3882099d..6dc802fc 100644 --- a/old_docs/API_docs_v44/types/InputChannel.md +++ b/old_docs/API_docs_v44/types/InputChannel.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputChannel = '@username'; // Username $InputChannel = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v44/types/InputEncryptedChat.md b/old_docs/API_docs_v44/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v44/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v44/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v44/types/InputEncryptedFile.md b/old_docs/API_docs_v44/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v44/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v44/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v44/types/InputFile.md b/old_docs/API_docs_v44/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v44/types/InputFile.md +++ b/old_docs/API_docs_v44/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v44/types/InputNotifyPeer.md b/old_docs/API_docs_v44/types/InputNotifyPeer.md index ffc1f0cf..f9d0a662 100644 --- a/old_docs/API_docs_v44/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v44/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v44/types/InputPeer.md b/old_docs/API_docs_v44/types/InputPeer.md index 2076c00b..2649db1a 100644 --- a/old_docs/API_docs_v44/types/InputPeer.md +++ b/old_docs/API_docs_v44/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v44/types/InputUser.md b/old_docs/API_docs_v44/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/old_docs/API_docs_v44/types/InputUser.md +++ b/old_docs/API_docs_v44/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v44/types/KeyboardButton.md b/old_docs/API_docs_v44/types/KeyboardButton.md index f292ca69..9de6a7fc 100644 --- a/old_docs/API_docs_v44/types/KeyboardButton.md +++ b/old_docs/API_docs_v44/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/old_docs/API_docs_v44/types/NotifyPeer.md b/old_docs/API_docs_v44/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v44/types/NotifyPeer.md +++ b/old_docs/API_docs_v44/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v44/types/Peer.md b/old_docs/API_docs_v44/types/Peer.md index ebb98e91..0ab7fdcc 100644 --- a/old_docs/API_docs_v44/types/Peer.md +++ b/old_docs/API_docs_v44/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v44/types/User.md b/old_docs/API_docs_v44/types/User.md index b145a3f8..5385caa4 100644 --- a/old_docs/API_docs_v44/types/User.md +++ b/old_docs/API_docs_v44/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v45/constructors/accountDaysTTL.md b/old_docs/API_docs_v45/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v45/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v45/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v45/constructors/account_authorizations.md b/old_docs/API_docs_v45/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v45/constructors/account_authorizations.md +++ b/old_docs/API_docs_v45/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v45/constructors/account_noPassword.md b/old_docs/API_docs_v45/constructors/account_noPassword.md index 81a483d6..63a4af6d 100644 --- a/old_docs/API_docs_v45/constructors/account_noPassword.md +++ b/old_docs/API_docs_v45/constructors/account_noPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -33,10 +33,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'emai ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/account_password.md b/old_docs/API_docs_v45/constructors/account_password.md index 9a8b31c6..5c4c334b 100644 --- a/old_docs/API_docs_v45/constructors/account_password.md +++ b/old_docs/API_docs_v45/constructors/account_password.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` @@ -36,10 +36,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v45/constructors/account_passwordInputSettings.md index f474e0c7..b5838f0a 100644 --- a/old_docs/API_docs_v45/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v45/constructors/account_passwordInputSettings.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v45/constructors/account_passwordSettings.md b/old_docs/API_docs_v45/constructors/account_passwordSettings.md index 27d14f59..04fc8621 100644 --- a/old_docs/API_docs_v45/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v45/constructors/account_passwordSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v45/constructors/account_privacyRules.md b/old_docs/API_docs_v45/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v45/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v45/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v45/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v45/constructors/account_sentChangePhoneCode.md index 7bfd04ab..34044265 100644 --- a/old_docs/API_docs_v45/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v45/constructors/account_sentChangePhoneCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; ``` @@ -33,10 +33,9 @@ $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} ``` diff --git a/old_docs/API_docs_v45/constructors/audio.md b/old_docs/API_docs_v45/constructors/audio.md index 1d899f64..785de6e2 100644 --- a/old_docs/API_docs_v45/constructors/audio.md +++ b/old_docs/API_docs_v45/constructors/audio.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` @@ -38,10 +38,9 @@ $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audio={_='audio', id=long, access_hash=long, date=int, duration=int, mime_type='string', size=int, dc_id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/audioEmpty.md b/old_docs/API_docs_v45/constructors/audioEmpty.md index 2b0ed960..846367f4 100644 --- a/old_docs/API_docs_v45/constructors/audioEmpty.md +++ b/old_docs/API_docs_v45/constructors/audioEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audioEmpty={_='audioEmpty', id=long} ``` diff --git a/old_docs/API_docs_v45/constructors/auth_authorization.md b/old_docs/API_docs_v45/constructors/auth_authorization.md index bbe5a8b9..1a75a113 100644 --- a/old_docs/API_docs_v45/constructors/auth_authorization.md +++ b/old_docs/API_docs_v45/constructors/auth_authorization.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` @@ -32,10 +32,9 @@ $auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_authorization={_='auth.authorization', user=User} ``` diff --git a/old_docs/API_docs_v45/constructors/auth_checkedPhone.md b/old_docs/API_docs_v45/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v45/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v45/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v45/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v45/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v45/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v45/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v45/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v45/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v45/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v45/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v45/constructors/auth_sentAppCode.md b/old_docs/API_docs_v45/constructors/auth_sentAppCode.md index 1f354541..ec13efba 100644 --- a/old_docs/API_docs_v45/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v45/constructors/auth_sentAppCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'pho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v45/constructors/auth_sentCode.md b/old_docs/API_docs_v45/constructors/auth_sentCode.md index 01834b65..2b5301e1 100644 --- a/old_docs/API_docs_v45/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v45/constructors/auth_sentCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v45/constructors/authorization.md b/old_docs/API_docs_v45/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v45/constructors/authorization.md +++ b/old_docs/API_docs_v45/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v45/constructors/botCommand.md b/old_docs/API_docs_v45/constructors/botCommand.md index 8569358d..fcb65461 100644 --- a/old_docs/API_docs_v45/constructors/botCommand.md +++ b/old_docs/API_docs_v45/constructors/botCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v45/constructors/botInfo.md b/old_docs/API_docs_v45/constructors/botInfo.md index afa0de7c..86584a29 100644 --- a/old_docs/API_docs_v45/constructors/botInfo.md +++ b/old_docs/API_docs_v45/constructors/botInfo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => 'string', 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -36,10 +36,9 @@ $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInfo={_='botInfo', user_id=int, version=int, share_text='string', description='string', commands={BotCommand}} ``` diff --git a/old_docs/API_docs_v45/constructors/botInfoEmpty.md b/old_docs/API_docs_v45/constructors/botInfoEmpty.md index df42ad4b..7afd677c 100644 --- a/old_docs/API_docs_v45/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v45/constructors/botInfoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfoEmpty = ['_' => 'botInfoEmpty']; ``` @@ -27,10 +27,9 @@ $botInfoEmpty = ['_' => 'botInfoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInfoEmpty={_='botInfoEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/botInlineMediaResultDocument.md b/old_docs/API_docs_v45/constructors/botInlineMediaResultDocument.md index 5226ad77..838097ca 100644 --- a/old_docs/API_docs_v45/constructors/botInlineMediaResultDocument.md +++ b/old_docs/API_docs_v45/constructors/botInlineMediaResultDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMediaResultDocument = ['_' => 'botInlineMediaResultDocument', 'id' => 'string', 'type' => 'string', 'document' => Document, 'send_message' => BotInlineMessage]; ``` @@ -35,10 +35,9 @@ $botInlineMediaResultDocument = ['_' => 'botInlineMediaResultDocument', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMediaResultDocument={_='botInlineMediaResultDocument', id='string', type='string', document=Document, send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v45/constructors/botInlineMediaResultPhoto.md b/old_docs/API_docs_v45/constructors/botInlineMediaResultPhoto.md index ae3ef71d..fcc3be72 100644 --- a/old_docs/API_docs_v45/constructors/botInlineMediaResultPhoto.md +++ b/old_docs/API_docs_v45/constructors/botInlineMediaResultPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMediaResultPhoto = ['_' => 'botInlineMediaResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'send_message' => BotInlineMessage]; ``` @@ -35,10 +35,9 @@ $botInlineMediaResultPhoto = ['_' => 'botInlineMediaResultPhoto', 'id' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMediaResultPhoto={_='botInlineMediaResultPhoto', id='string', type='string', photo=Photo, send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v45/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v45/constructors/botInlineMessageMediaAuto.md index 39b7b84c..fb3bd94c 100644 --- a/old_docs/API_docs_v45/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v45/constructors/botInlineMessageMediaAuto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string']; ``` @@ -32,10 +32,9 @@ $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/botInlineMessageText.md b/old_docs/API_docs_v45/constructors/botInlineMessageText.md index 6794c10f..8d481b2c 100644 --- a/old_docs/API_docs_v45/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v45/constructors/botInlineMessageText.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v45/constructors/botInlineResult.md b/old_docs/API_docs_v45/constructors/botInlineResult.md index c7abbd71..8b6ead75 100644 --- a/old_docs/API_docs_v45/constructors/botInlineResult.md +++ b/old_docs/API_docs_v45/constructors/botInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` @@ -43,10 +43,9 @@ $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_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v45/constructors/channel.md b/old_docs/API_docs_v45/constructors/channel.md index 1830deb5..35e207d6 100644 --- a/old_docs/API_docs_v45/constructors/channel.md +++ b/old_docs/API_docs_v45/constructors/channel.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'username' => 'string', 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => 'string']; ``` @@ -48,10 +48,9 @@ $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, restricted=Bool, id=int, access_hash=long, title='string', username='string', photo=ChatPhoto, date=int, version=int, restriction_reason='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/channelForbidden.md b/old_docs/API_docs_v45/constructors/channelForbidden.md index cc8b60d1..6e168c38 100644 --- a/old_docs/API_docs_v45/constructors/channelForbidden.md +++ b/old_docs/API_docs_v45/constructors/channelForbidden.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` @@ -34,10 +34,9 @@ $channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelForbidden={_='channelForbidden', id=int, access_hash=long, title='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/channelFull.md b/old_docs/API_docs_v45/constructors/channelFull.md index 70916a7a..3fac209b 100644 --- a/old_docs/API_docs_v45/constructors/channelFull.md +++ b/old_docs/API_docs_v45/constructors/channelFull.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_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]; ``` @@ -46,10 +46,9 @@ $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelFull={_='channelFull', can_view_participants=Bool, id=int, about='string', participants_count=int, admins_count=int, kicked_count=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/channelMessagesFilter.md b/old_docs/API_docs_v45/constructors/channelMessagesFilter.md index f4d8feff..9b929e61 100644 --- a/old_docs/API_docs_v45/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v45/constructors/channelMessagesFilter.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]]; ``` @@ -34,10 +34,9 @@ $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilter={_='channelMessagesFilter', important_only=Bool, exclude_new_messages=Bool, ranges={MessageRange}} ``` diff --git a/old_docs/API_docs_v45/constructors/channelMessagesFilterCollapsed.md b/old_docs/API_docs_v45/constructors/channelMessagesFilterCollapsed.md index fa1fff29..770cc788 100644 --- a/old_docs/API_docs_v45/constructors/channelMessagesFilterCollapsed.md +++ b/old_docs/API_docs_v45/constructors/channelMessagesFilterCollapsed.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterCollapsed={_='channelMessagesFilterCollapsed'} ``` diff --git a/old_docs/API_docs_v45/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v45/constructors/channelMessagesFilterEmpty.md index 350e50de..a446b896 100644 --- a/old_docs/API_docs_v45/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v45/constructors/channelMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/channelParticipant.md b/old_docs/API_docs_v45/constructors/channelParticipant.md index c7de5400..dbcb792b 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipant.md +++ b/old_docs/API_docs_v45/constructors/channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v45/constructors/channelParticipantCreator.md b/old_docs/API_docs_v45/constructors/channelParticipantCreator.md index 86cafe0a..e999fb9c 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantCreator={_='channelParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/channelParticipantEditor.md b/old_docs/API_docs_v45/constructors/channelParticipantEditor.md index 37ae4bb0..7c7e4dc9 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantEditor.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v45/constructors/channelParticipantKicked.md b/old_docs/API_docs_v45/constructors/channelParticipantKicked.md index ccc454be..6bcc2e0f 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantKicked.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int} ``` diff --git a/old_docs/API_docs_v45/constructors/channelParticipantModerator.md b/old_docs/API_docs_v45/constructors/channelParticipantModerator.md index 90b4ab52..49c68acd 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantModerator.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v45/constructors/channelParticipantSelf.md b/old_docs/API_docs_v45/constructors/channelParticipantSelf.md index 83864972..4b5949ac 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantSelf.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v45/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v45/constructors/channelParticipantsAdmins.md index c86cb9a4..4b0c30d4 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantsAdmins.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` @@ -27,10 +27,9 @@ $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v45/constructors/channelParticipantsBots.md b/old_docs/API_docs_v45/constructors/channelParticipantsBots.md index 30875f94..66e510c7 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantsBots.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` @@ -27,10 +27,9 @@ $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v45/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v45/constructors/channelParticipantsKicked.md index 7f026ceb..38cf128e 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantsKicked.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` @@ -27,10 +27,9 @@ $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v45/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v45/constructors/channelParticipantsRecent.md index e4cb6466..51e57069 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantsRecent.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` @@ -27,10 +27,9 @@ $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v45/constructors/channelRoleEditor.md b/old_docs/API_docs_v45/constructors/channelRoleEditor.md index 86d953a9..1e472d2f 100644 --- a/old_docs/API_docs_v45/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v45/constructors/channelRoleEditor.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` @@ -27,10 +27,9 @@ $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v45/constructors/channelRoleEmpty.md b/old_docs/API_docs_v45/constructors/channelRoleEmpty.md index a50bb310..85d1c3fb 100644 --- a/old_docs/API_docs_v45/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v45/constructors/channelRoleEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` @@ -27,10 +27,9 @@ $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/channelRoleModerator.md b/old_docs/API_docs_v45/constructors/channelRoleModerator.md index 781f60ad..f242ff5c 100644 --- a/old_docs/API_docs_v45/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v45/constructors/channelRoleModerator.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` @@ -27,10 +27,9 @@ $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleModerator={_='channelRoleModerator'} ``` diff --git a/old_docs/API_docs_v45/constructors/channels_channelParticipant.md b/old_docs/API_docs_v45/constructors/channels_channelParticipant.md index bdf27b08..107502c5 100644 --- a/old_docs/API_docs_v45/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v45/constructors/channels_channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v45/constructors/channels_channelParticipants.md b/old_docs/API_docs_v45/constructors/channels_channelParticipants.md index 1b76b1e0..0402423f 100644 --- a/old_docs/API_docs_v45/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v45/constructors/channels_channelParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v45/constructors/chat.md b/old_docs/API_docs_v45/constructors/chat.md index 5ae1811d..b6f24f3e 100644 --- a/old_docs/API_docs_v45/constructors/chat.md +++ b/old_docs/API_docs_v45/constructors/chat.md @@ -33,7 +33,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -44,10 +44,9 @@ $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} ``` diff --git a/old_docs/API_docs_v45/constructors/chatEmpty.md b/old_docs/API_docs_v45/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v45/constructors/chatEmpty.md +++ b/old_docs/API_docs_v45/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/chatForbidden.md b/old_docs/API_docs_v45/constructors/chatForbidden.md index de5bb302..61c45660 100644 --- a/old_docs/API_docs_v45/constructors/chatForbidden.md +++ b/old_docs/API_docs_v45/constructors/chatForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v45/constructors/chatFull.md b/old_docs/API_docs_v45/constructors/chatFull.md index 6e138596..2a5f67f6 100644 --- a/old_docs/API_docs_v45/constructors/chatFull.md +++ b/old_docs/API_docs_v45/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v45/constructors/chatInvite.md b/old_docs/API_docs_v45/constructors/chatInvite.md index 6cf6e489..3c3a0001 100644 --- a/old_docs/API_docs_v45/constructors/chatInvite.md +++ b/old_docs/API_docs_v45/constructors/chatInvite.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string']; ``` @@ -36,10 +36,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v45/constructors/chatInviteAlready.md b/old_docs/API_docs_v45/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/old_docs/API_docs_v45/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v45/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/old_docs/API_docs_v45/constructors/chatInviteEmpty.md b/old_docs/API_docs_v45/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/old_docs/API_docs_v45/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v45/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/chatInviteExported.md b/old_docs/API_docs_v45/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/old_docs/API_docs_v45/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v45/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/chatParticipant.md b/old_docs/API_docs_v45/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v45/constructors/chatParticipant.md +++ b/old_docs/API_docs_v45/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v45/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v45/constructors/chatParticipantAdmin.md index 62aee9a4..63a38575 100644 --- a/old_docs/API_docs_v45/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v45/constructors/chatParticipantAdmin.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v45/constructors/chatParticipantCreator.md b/old_docs/API_docs_v45/constructors/chatParticipantCreator.md index 0fb7b6ef..75b9c4d4 100644 --- a/old_docs/API_docs_v45/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v45/constructors/chatParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantCreator={_='chatParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/chatParticipants.md b/old_docs/API_docs_v45/constructors/chatParticipants.md index 38af2ca5..ae254290 100644 --- a/old_docs/API_docs_v45/constructors/chatParticipants.md +++ b/old_docs/API_docs_v45/constructors/chatParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v45/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v45/constructors/chatParticipantsForbidden.md index 2ecdfe10..639b30ee 100644 --- a/old_docs/API_docs_v45/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v45/constructors/chatParticipantsForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v45/constructors/chatPhoto.md b/old_docs/API_docs_v45/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v45/constructors/chatPhoto.md +++ b/old_docs/API_docs_v45/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v45/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v45/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v45/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v45/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/config.md b/old_docs/API_docs_v45/constructors/config.md index 0bf287c1..621e396c 100644 --- a/old_docs/API_docs_v45/constructors/config.md +++ b/old_docs/API_docs_v45/constructors/config.md @@ -39,7 +39,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -50,10 +50,9 @@ $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v45/constructors/contact.md b/old_docs/API_docs_v45/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v45/constructors/contact.md +++ b/old_docs/API_docs_v45/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v45/constructors/contactBlocked.md b/old_docs/API_docs_v45/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v45/constructors/contactBlocked.md +++ b/old_docs/API_docs_v45/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v45/constructors/contactLinkContact.md b/old_docs/API_docs_v45/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v45/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v45/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v45/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v45/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v45/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v45/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v45/constructors/contactLinkNone.md b/old_docs/API_docs_v45/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v45/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v45/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v45/constructors/contactLinkUnknown.md b/old_docs/API_docs_v45/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v45/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v45/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v45/constructors/contactStatus.md b/old_docs/API_docs_v45/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v45/constructors/contactStatus.md +++ b/old_docs/API_docs_v45/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v45/constructors/contactSuggested.md b/old_docs/API_docs_v45/constructors/contactSuggested.md index 7dc8105c..e90bf7c9 100644 --- a/old_docs/API_docs_v45/constructors/contactSuggested.md +++ b/old_docs/API_docs_v45/constructors/contactSuggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` @@ -33,10 +33,9 @@ $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int} ``` diff --git a/old_docs/API_docs_v45/constructors/contacts_blocked.md b/old_docs/API_docs_v45/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v45/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v45/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v45/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v45/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v45/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v45/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v45/constructors/contacts_contacts.md b/old_docs/API_docs_v45/constructors/contacts_contacts.md index 34dae91a..ea16b38a 100644 --- a/old_docs/API_docs_v45/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v45/constructors/contacts_contacts.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} ``` diff --git a/old_docs/API_docs_v45/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v45/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v45/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v45/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v45/constructors/contacts_found.md b/old_docs/API_docs_v45/constructors/contacts_found.md index 7e0e458c..624fa475 100644 --- a/old_docs/API_docs_v45/constructors/contacts_found.md +++ b/old_docs/API_docs_v45/constructors/contacts_found.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v45/constructors/contacts_importedContacts.md b/old_docs/API_docs_v45/constructors/contacts_importedContacts.md index 7bf9c1bf..8b9012bb 100644 --- a/old_docs/API_docs_v45/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v45/constructors/contacts_importedContacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v45/constructors/contacts_link.md b/old_docs/API_docs_v45/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v45/constructors/contacts_link.md +++ b/old_docs/API_docs_v45/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v45/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v45/constructors/contacts_resolvedPeer.md index add29235..4aa323dd 100644 --- a/old_docs/API_docs_v45/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v45/constructors/contacts_resolvedPeer.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v45/constructors/contacts_suggested.md b/old_docs/API_docs_v45/constructors/contacts_suggested.md index 553cebcb..2659d855 100644 --- a/old_docs/API_docs_v45/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v45/constructors/contacts_suggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggest ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} ``` diff --git a/old_docs/API_docs_v45/constructors/dcOption.md b/old_docs/API_docs_v45/constructors/dcOption.md index 176671ce..72ecd652 100644 --- a/old_docs/API_docs_v45/constructors/dcOption.md +++ b/old_docs/API_docs_v45/constructors/dcOption.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` @@ -36,10 +36,9 @@ $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', ipv6=Bool, media_only=Bool, id=int, ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v45/constructors/dialog.md b/old_docs/API_docs_v45/constructors/dialog.md index cbb327d6..539225bf 100644 --- a/old_docs/API_docs_v45/constructors/dialog.md +++ b/old_docs/API_docs_v45/constructors/dialog.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` @@ -36,10 +36,9 @@ $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_ma ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v45/constructors/dialogChannel.md b/old_docs/API_docs_v45/constructors/dialogChannel.md index 298ffa24..918b6bed 100644 --- a/old_docs/API_docs_v45/constructors/dialogChannel.md +++ b/old_docs/API_docs_v45/constructors/dialogChannel.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int]; ``` @@ -39,10 +39,9 @@ $dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialogChannel={_='dialogChannel', peer=Peer, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, notify_settings=PeerNotifySettings, pts=int} ``` diff --git a/old_docs/API_docs_v45/constructors/disabledFeature.md b/old_docs/API_docs_v45/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v45/constructors/disabledFeature.md +++ b/old_docs/API_docs_v45/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/document.md b/old_docs/API_docs_v45/constructors/document.md index 8719d873..e9547f1f 100644 --- a/old_docs/API_docs_v45/constructors/document.md +++ b/old_docs/API_docs_v45/constructors/document.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -39,10 +39,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v45/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v45/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v45/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v45/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v45/constructors/documentAttributeAudio.md b/old_docs/API_docs_v45/constructors/documentAttributeAudio.md index 8fb77965..8bf344bb 100644 --- a/old_docs/API_docs_v45/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v45/constructors/documentAttributeAudio.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => 'string', 'performer' => 'string']; ``` @@ -34,10 +34,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', duration=int, title='string', performer='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/documentAttributeFilename.md b/old_docs/API_docs_v45/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v45/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v45/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v45/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v45/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v45/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v45/constructors/documentAttributeSticker.md b/old_docs/API_docs_v45/constructors/documentAttributeSticker.md index d44d94cd..397679ef 100644 --- a/old_docs/API_docs_v45/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v45/constructors/documentAttributeSticker.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` @@ -33,10 +33,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', alt='string', stickerset=InputStickerSet} ``` diff --git a/old_docs/API_docs_v45/constructors/documentAttributeVideo.md b/old_docs/API_docs_v45/constructors/documentAttributeVideo.md index 0902c118..cc7ffced 100644 --- a/old_docs/API_docs_v45/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v45/constructors/documentAttributeVideo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -34,10 +34,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v45/constructors/documentEmpty.md b/old_docs/API_docs_v45/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v45/constructors/documentEmpty.md +++ b/old_docs/API_docs_v45/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v45/constructors/encryptedChat.md b/old_docs/API_docs_v45/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v45/constructors/encryptedChat.md +++ b/old_docs/API_docs_v45/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v45/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v45/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v45/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v45/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v45/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v45/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v45/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/encryptedChatRequested.md b/old_docs/API_docs_v45/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v45/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v45/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v45/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v45/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v45/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v45/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/encryptedFile.md b/old_docs/API_docs_v45/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v45/constructors/encryptedFile.md +++ b/old_docs/API_docs_v45/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v45/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v45/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v45/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v45/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/encryptedMessage.md b/old_docs/API_docs_v45/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v45/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v45/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v45/constructors/encryptedMessageService.md b/old_docs/API_docs_v45/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v45/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v45/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v45/constructors/error.md b/old_docs/API_docs_v45/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v45/constructors/error.md +++ b/old_docs/API_docs_v45/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/fileLocation.md b/old_docs/API_docs_v45/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v45/constructors/fileLocation.md +++ b/old_docs/API_docs_v45/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v45/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v45/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v45/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v45/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v45/constructors/foundGif.md b/old_docs/API_docs_v45/constructors/foundGif.md index d8ee3695..c2f0ce33 100644 --- a/old_docs/API_docs_v45/constructors/foundGif.md +++ b/old_docs/API_docs_v45/constructors/foundGif.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` @@ -37,10 +37,9 @@ $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'con ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGif={_='foundGif', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int} ``` diff --git a/old_docs/API_docs_v45/constructors/foundGifCached.md b/old_docs/API_docs_v45/constructors/foundGifCached.md index e4a1a552..03e67917 100644 --- a/old_docs/API_docs_v45/constructors/foundGifCached.md +++ b/old_docs/API_docs_v45/constructors/foundGifCached.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -34,10 +34,9 @@ $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGifCached={_='foundGifCached', url='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v45/constructors/geoPoint.md b/old_docs/API_docs_v45/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v45/constructors/geoPoint.md +++ b/old_docs/API_docs_v45/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v45/constructors/geoPointEmpty.md b/old_docs/API_docs_v45/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v45/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v45/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/help_appChangelog.md b/old_docs/API_docs_v45/constructors/help_appChangelog.md index 5b7b353a..d30f8acd 100644 --- a/old_docs/API_docs_v45/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v45/constructors/help_appChangelog.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelog={_='help.appChangelog', text='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v45/constructors/help_appChangelogEmpty.md index 0f0827c3..e20017b7 100644 --- a/old_docs/API_docs_v45/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v45/constructors/help_appChangelogEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` @@ -27,10 +27,9 @@ $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelogEmpty={_='help.appChangelogEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/help_appUpdate.md b/old_docs/API_docs_v45/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v45/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v45/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/help_inviteText.md b/old_docs/API_docs_v45/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v45/constructors/help_inviteText.md +++ b/old_docs/API_docs_v45/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/help_noAppUpdate.md b/old_docs/API_docs_v45/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v45/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v45/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v45/constructors/help_support.md b/old_docs/API_docs_v45/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v45/constructors/help_support.md +++ b/old_docs/API_docs_v45/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v45/constructors/help_termsOfService.md b/old_docs/API_docs_v45/constructors/help_termsOfService.md index 8e558bed..ec7a8121 100644 --- a/old_docs/API_docs_v45/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v45/constructors/help_termsOfService.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_termsOfService={_='help.termsOfService', text='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/importedContact.md b/old_docs/API_docs_v45/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v45/constructors/importedContact.md +++ b/old_docs/API_docs_v45/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v45/constructors/inputAppEvent.md b/old_docs/API_docs_v45/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v45/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v45/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputAudio.md b/old_docs/API_docs_v45/constructors/inputAudio.md index c428307e..ac1c82e3 100644 --- a/old_docs/API_docs_v45/constructors/inputAudio.md +++ b/old_docs/API_docs_v45/constructors/inputAudio.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudio={_='inputAudio', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v45/constructors/inputAudioEmpty.md b/old_docs/API_docs_v45/constructors/inputAudioEmpty.md index a84b3e67..b0b4e934 100644 --- a/old_docs/API_docs_v45/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputAudioEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` @@ -27,10 +27,9 @@ $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v45/constructors/inputAudioFileLocation.md index f95ad919..a2633244 100644 --- a/old_docs/API_docs_v45/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v45/constructors/inputAudioFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v45/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v45/constructors/inputBotInlineMessageMediaAuto.md index 61bd0fcf..b0f76bc1 100644 --- a/old_docs/API_docs_v45/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v45/constructors/inputBotInlineMessageMediaAuto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string']; ``` @@ -32,10 +32,9 @@ $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'cap ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v45/constructors/inputBotInlineMessageText.md index e8207b71..97a744bb 100644 --- a/old_docs/API_docs_v45/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v45/constructors/inputBotInlineMessageText.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v45/constructors/inputBotInlineResult.md b/old_docs/API_docs_v45/constructors/inputBotInlineResult.md index 668af514..34148d70 100644 --- a/old_docs/API_docs_v45/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v45/constructors/inputBotInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` @@ -43,10 +43,9 @@ $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v45/constructors/inputChannel.md b/old_docs/API_docs_v45/constructors/inputChannel.md index b5cb3566..34ed10ca 100644 --- a/old_docs/API_docs_v45/constructors/inputChannel.md +++ b/old_docs/API_docs_v45/constructors/inputChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannel={_='inputChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v45/constructors/inputChannelEmpty.md b/old_docs/API_docs_v45/constructors/inputChannelEmpty.md index f7e18434..bd53602b 100644 --- a/old_docs/API_docs_v45/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputChannelEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` @@ -27,10 +27,9 @@ $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputChatPhoto.md b/old_docs/API_docs_v45/constructors/inputChatPhoto.md index 5affda9a..7ad8a3f7 100644 --- a/old_docs/API_docs_v45/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v45/constructors/inputChatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputP ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v45/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v45/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v45/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v45/constructors/inputChatUploadedPhoto.md index a22405b2..ed0624da 100644 --- a/old_docs/API_docs_v45/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v45/constructors/inputChatUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v45/constructors/inputDocument.md b/old_docs/API_docs_v45/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v45/constructors/inputDocument.md +++ b/old_docs/API_docs_v45/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v45/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v45/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v45/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v45/constructors/inputDocumentFileLocation.md index 2ba7d2b3..5d593784 100644 --- a/old_docs/API_docs_v45/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v45/constructors/inputDocumentFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v45/constructors/inputEncryptedChat.md b/old_docs/API_docs_v45/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v45/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v45/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v45/constructors/inputEncryptedFile.md b/old_docs/API_docs_v45/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v45/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v45/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v45/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v45/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v45/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v45/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v45/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v45/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v45/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v45/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v45/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v45/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v45/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v45/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v45/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v45/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v45/constructors/inputFile.md b/old_docs/API_docs_v45/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v45/constructors/inputFile.md +++ b/old_docs/API_docs_v45/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputFileBig.md b/old_docs/API_docs_v45/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v45/constructors/inputFileBig.md +++ b/old_docs/API_docs_v45/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputFileLocation.md b/old_docs/API_docs_v45/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v45/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v45/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v45/constructors/inputGeoPoint.md b/old_docs/API_docs_v45/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v45/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v45/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v45/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v45/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v45/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMediaAudio.md b/old_docs/API_docs_v45/constructors/inputMediaAudio.md index 6ebbe6ec..6c166ec0 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v45/constructors/inputMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` @@ -32,10 +32,9 @@ $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaAudio={_='inputMediaAudio', id=InputAudio} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMediaContact.md b/old_docs/API_docs_v45/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v45/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMediaDocument.md b/old_docs/API_docs_v45/constructors/inputMediaDocument.md index 8c961036..9436d5e4 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v45/constructors/inputMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'capt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMediaEmpty.md b/old_docs/API_docs_v45/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v45/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v45/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v45/constructors/inputMediaGifExternal.md index cf68972a..14153a43 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v45/constructors/inputMediaGifExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGifExternal={_='inputMediaGifExternal', url='string', q='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMediaPhoto.md b/old_docs/API_docs_v45/constructors/inputMediaPhoto.md index 0be7f6fe..71f4ded5 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v45/constructors/inputMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v45/constructors/inputMediaUploadedAudio.md index 4eb4cb85..73fcb4f8 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v45/constructors/inputMediaUploadedAudio.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v45/constructors/inputMediaUploadedDocument.md index e70c2a9c..d3887568 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v45/constructors/inputMediaUploadedDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string']; ``` @@ -35,10 +35,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v45/constructors/inputMediaUploadedPhoto.md index 499857ce..ad2a8680 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v45/constructors/inputMediaUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v45/constructors/inputMediaUploadedThumbDocument.md index 7a6c823e..f5a601a7 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v45/constructors/inputMediaUploadedThumbDocument.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v45/constructors/inputMediaUploadedThumbVideo.md index 0a4afc86..e9d00c6e 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v45/constructors/inputMediaUploadedThumbVideo.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` @@ -38,10 +38,9 @@ $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type='string', caption='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v45/constructors/inputMediaUploadedVideo.md index 2409751b..b3984571 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v45/constructors/inputMediaUploadedVideo.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` @@ -37,10 +37,9 @@ $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type='string', caption='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMediaVenue.md b/old_docs/API_docs_v45/constructors/inputMediaVenue.md index 3e7ee3a1..b2171fbc 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v45/constructors/inputMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMediaVideo.md b/old_docs/API_docs_v45/constructors/inputMediaVideo.md index 05af7adb..b16b97d5 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v45/constructors/inputMediaVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVideo={_='inputMediaVideo', id=InputVideo, caption='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterAudio.md index 066b1642..79c822fc 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterAudio.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterAudioDocuments.md index 7badd17c..a8963d46 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterAudioDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterGif.md index 94698ecd..a3a51104 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputNotifyAll.md b/old_docs/API_docs_v45/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v45/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v45/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputNotifyChats.md b/old_docs/API_docs_v45/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v45/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v45/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputNotifyPeer.md b/old_docs/API_docs_v45/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v45/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v45/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v45/constructors/inputNotifyUsers.md b/old_docs/API_docs_v45/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v45/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v45/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPeerChannel.md b/old_docs/API_docs_v45/constructors/inputPeerChannel.md index 8b84fe20..14c2f105 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v45/constructors/inputPeerChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPeerChat.md b/old_docs/API_docs_v45/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v45/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPeerEmpty.md b/old_docs/API_docs_v45/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v45/constructors/inputPeerNotifySettings.md index ce1896bb..a600e880 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v45/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPeerSelf.md b/old_docs/API_docs_v45/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v45/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPeerUser.md b/old_docs/API_docs_v45/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v45/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPhoneContact.md b/old_docs/API_docs_v45/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v45/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v45/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPhoto.md b/old_docs/API_docs_v45/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v45/constructors/inputPhoto.md +++ b/old_docs/API_docs_v45/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPhotoCrop.md b/old_docs/API_docs_v45/constructors/inputPhotoCrop.md index b35bf42f..e90029a9 100644 --- a/old_docs/API_docs_v45/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v45/constructors/inputPhotoCrop.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` @@ -34,10 +34,9 @@ $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v45/constructors/inputPhotoCropAuto.md index 6c2f121d..37414b14 100644 --- a/old_docs/API_docs_v45/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v45/constructors/inputPhotoCropAuto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` @@ -27,10 +27,9 @@ $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v45/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v45/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v45/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v45/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v45/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v45/constructors/inputReportReasonOther.md b/old_docs/API_docs_v45/constructors/inputReportReasonOther.md index 361582bd..4dbffa18 100644 --- a/old_docs/API_docs_v45/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v45/constructors/inputReportReasonOther.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonOther={_='inputReportReasonOther', text='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v45/constructors/inputReportReasonPornography.md index c18c71d3..5c80f096 100644 --- a/old_docs/API_docs_v45/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v45/constructors/inputReportReasonPornography.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` @@ -27,10 +27,9 @@ $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v45/constructors/inputReportReasonSpam.md index 19ed6687..75d59861 100644 --- a/old_docs/API_docs_v45/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v45/constructors/inputReportReasonSpam.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` @@ -27,10 +27,9 @@ $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v45/constructors/inputReportReasonViolence.md index 10fbce47..28d27e85 100644 --- a/old_docs/API_docs_v45/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v45/constructors/inputReportReasonViolence.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` @@ -27,10 +27,9 @@ $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v45/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/old_docs/API_docs_v45/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputStickerSetID.md b/old_docs/API_docs_v45/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/old_docs/API_docs_v45/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v45/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v45/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v45/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/old_docs/API_docs_v45/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v45/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputUser.md b/old_docs/API_docs_v45/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/old_docs/API_docs_v45/constructors/inputUser.md +++ b/old_docs/API_docs_v45/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v45/constructors/inputUserEmpty.md b/old_docs/API_docs_v45/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v45/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputUserSelf.md b/old_docs/API_docs_v45/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v45/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v45/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputVideo.md b/old_docs/API_docs_v45/constructors/inputVideo.md index 4ea87c56..b3874cd7 100644 --- a/old_docs/API_docs_v45/constructors/inputVideo.md +++ b/old_docs/API_docs_v45/constructors/inputVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideo={_='inputVideo', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v45/constructors/inputVideoEmpty.md b/old_docs/API_docs_v45/constructors/inputVideoEmpty.md index b69984f7..5322ed90 100644 --- a/old_docs/API_docs_v45/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputVideoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` @@ -27,10 +27,9 @@ $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v45/constructors/inputVideoFileLocation.md index 2692222e..d9a3f678 100644 --- a/old_docs/API_docs_v45/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v45/constructors/inputVideoFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v45/constructors/keyboardButton.md b/old_docs/API_docs_v45/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/old_docs/API_docs_v45/constructors/keyboardButton.md +++ b/old_docs/API_docs_v45/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/keyboardButtonRow.md b/old_docs/API_docs_v45/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/old_docs/API_docs_v45/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v45/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/old_docs/API_docs_v45/constructors/message.md b/old_docs/API_docs_v45/constructors/message.md index 84bd8db6..fd174639 100644 --- a/old_docs/API_docs_v45/constructors/message.md +++ b/old_docs/API_docs_v45/constructors/message.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'views' => int]; ``` @@ -48,10 +48,9 @@ $message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, fwd_from_id=Peer, fwd_date=int, via_bot_id=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int} ``` diff --git a/old_docs/API_docs_v45/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v45/constructors/messageActionChannelCreate.md index b1750d73..2600ab63 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v45/constructors/messageActionChannelCreate.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v45/constructors/messageActionChannelMigrateFrom.md index add136dc..1fdcf3f4 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v45/constructors/messageActionChannelMigrateFrom.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 't ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v45/constructors/messageActionChatAddUser.md index 9c7de7f8..283365cd 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', users={int}} ``` diff --git a/old_docs/API_docs_v45/constructors/messageActionChatCreate.md b/old_docs/API_docs_v45/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v45/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v45/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v45/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v45/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v45/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v45/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v45/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v45/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v45/constructors/messageActionChatMigrateTo.md index 21d2cb22..8ace1091 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatMigrateTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/messageActionEmpty.md b/old_docs/API_docs_v45/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v45/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v45/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/messageEmpty.md b/old_docs/API_docs_v45/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v45/constructors/messageEmpty.md +++ b/old_docs/API_docs_v45/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/messageEntityBold.md b/old_docs/API_docs_v45/constructors/messageEntityBold.md index 950699fb..90f74ad5 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v45/constructors/messageEntityBold.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v45/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v45/constructors/messageEntityBotCommand.md index 8be471d3..9fb8f6a6 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v45/constructors/messageEntityBotCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v45/constructors/messageEntityCode.md b/old_docs/API_docs_v45/constructors/messageEntityCode.md index 7c701844..d236e57e 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v45/constructors/messageEntityCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v45/constructors/messageEntityEmail.md b/old_docs/API_docs_v45/constructors/messageEntityEmail.md index 35a968c7..74e910f3 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v45/constructors/messageEntityEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v45/constructors/messageEntityHashtag.md b/old_docs/API_docs_v45/constructors/messageEntityHashtag.md index 6b124e73..77e29387 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v45/constructors/messageEntityHashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v45/constructors/messageEntityItalic.md b/old_docs/API_docs_v45/constructors/messageEntityItalic.md index 25f73428..5975bae2 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v45/constructors/messageEntityItalic.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v45/constructors/messageEntityMention.md b/old_docs/API_docs_v45/constructors/messageEntityMention.md index 9eb4d266..1a21cb10 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v45/constructors/messageEntityMention.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v45/constructors/messageEntityPre.md b/old_docs/API_docs_v45/constructors/messageEntityPre.md index abfc9136..13b165fe 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v45/constructors/messageEntityPre.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPre={_='messageEntityPre', offset=int, length=int, language='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v45/constructors/messageEntityTextUrl.md index 91f6d36c..b6d82843 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v45/constructors/messageEntityTextUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/messageEntityUnknown.md b/old_docs/API_docs_v45/constructors/messageEntityUnknown.md index 69ca8a1b..4c434fd7 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v45/constructors/messageEntityUnknown.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v45/constructors/messageEntityUrl.md b/old_docs/API_docs_v45/constructors/messageEntityUrl.md index 377c3dda..2cf334a5 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v45/constructors/messageEntityUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v45/constructors/messageGroup.md b/old_docs/API_docs_v45/constructors/messageGroup.md index 31de6cb4..ee695490 100644 --- a/old_docs/API_docs_v45/constructors/messageGroup.md +++ b/old_docs/API_docs_v45/constructors/messageGroup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int]; ``` @@ -35,10 +35,9 @@ $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageGroup={_='messageGroup', min_id=int, max_id=int, count=int, date=int} ``` diff --git a/old_docs/API_docs_v45/constructors/messageMediaAudio.md b/old_docs/API_docs_v45/constructors/messageMediaAudio.md index c2970836..4f350752 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v45/constructors/messageMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` @@ -32,10 +32,9 @@ $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaAudio={_='messageMediaAudio', audio=Audio} ``` diff --git a/old_docs/API_docs_v45/constructors/messageMediaContact.md b/old_docs/API_docs_v45/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v45/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/messageMediaDocument.md b/old_docs/API_docs_v45/constructors/messageMediaDocument.md index 1f584a82..44199179 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v45/constructors/messageMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document, caption='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/messageMediaEmpty.md b/old_docs/API_docs_v45/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v45/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/messageMediaGeo.md b/old_docs/API_docs_v45/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v45/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v45/constructors/messageMediaPhoto.md b/old_docs/API_docs_v45/constructors/messageMediaPhoto.md index 47579066..7350efce 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v45/constructors/messageMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v45/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v45/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v45/constructors/messageMediaVenue.md b/old_docs/API_docs_v45/constructors/messageMediaVenue.md index 2db2d25d..2ef2b27f 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v45/constructors/messageMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/messageMediaVideo.md b/old_docs/API_docs_v45/constructors/messageMediaVideo.md index 444b12eb..694f6928 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v45/constructors/messageMediaVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVideo={_='messageMediaVideo', video=Video, caption='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/messageMediaWebPage.md b/old_docs/API_docs_v45/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v45/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v45/constructors/messageRange.md b/old_docs/API_docs_v45/constructors/messageRange.md index 40c3f81a..527e8646 100644 --- a/old_docs/API_docs_v45/constructors/messageRange.md +++ b/old_docs/API_docs_v45/constructors/messageRange.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageRange={_='messageRange', min_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/messageService.md b/old_docs/API_docs_v45/constructors/messageService.md index 138cbb18..6baa427c 100644 --- a/old_docs/API_docs_v45/constructors/messageService.md +++ b/old_docs/API_docs_v45/constructors/messageService.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` @@ -40,10 +40,9 @@ $messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'me ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v45/constructors/messages_affectedHistory.md b/old_docs/API_docs_v45/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v45/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v45/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v45/constructors/messages_affectedMessages.md b/old_docs/API_docs_v45/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v45/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v45/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v45/constructors/messages_allStickers.md b/old_docs/API_docs_v45/constructors/messages_allStickers.md index 2a7d1313..45a66ddf 100644 --- a/old_docs/API_docs_v45/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v45/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} ``` diff --git a/old_docs/API_docs_v45/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v45/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v45/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v45/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v45/constructors/messages_botResults.md b/old_docs/API_docs_v45/constructors/messages_botResults.md index 1ebdef99..8703c6cf 100644 --- a/old_docs/API_docs_v45/constructors/messages_botResults.md +++ b/old_docs/API_docs_v45/constructors/messages_botResults.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'results' => [BotInlineResult, BotInlineResult]]; ``` @@ -35,10 +35,9 @@ $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', results={BotInlineResult}} ``` diff --git a/old_docs/API_docs_v45/constructors/messages_channelMessages.md b/old_docs/API_docs_v45/constructors/messages_channelMessages.md index 8948bf1d..eadc5001 100644 --- a/old_docs/API_docs_v45/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v45/constructors/messages_channelMessages.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -37,10 +37,9 @@ $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'c ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v45/constructors/messages_chatFull.md b/old_docs/API_docs_v45/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v45/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v45/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v45/constructors/messages_chats.md b/old_docs/API_docs_v45/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v45/constructors/messages_chats.md +++ b/old_docs/API_docs_v45/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v45/constructors/messages_dhConfig.md b/old_docs/API_docs_v45/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v45/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v45/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v45/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v45/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v45/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v45/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v45/constructors/messages_dialogs.md b/old_docs/API_docs_v45/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v45/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v45/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v45/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v45/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v45/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v45/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v45/constructors/messages_foundGifs.md b/old_docs/API_docs_v45/constructors/messages_foundGifs.md index f86a9fed..4d513264 100644 --- a/old_docs/API_docs_v45/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v45/constructors/messages_foundGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; ``` @@ -33,10 +33,9 @@ $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'resul ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} ``` diff --git a/old_docs/API_docs_v45/constructors/messages_messages.md b/old_docs/API_docs_v45/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v45/constructors/messages_messages.md +++ b/old_docs/API_docs_v45/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v45/constructors/messages_messagesSlice.md b/old_docs/API_docs_v45/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v45/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v45/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v45/constructors/messages_savedGifs.md b/old_docs/API_docs_v45/constructors/messages_savedGifs.md index 4a254ab5..ae7e595f 100644 --- a/old_docs/API_docs_v45/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v45/constructors/messages_savedGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Do ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} ``` diff --git a/old_docs/API_docs_v45/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v45/constructors/messages_savedGifsNotModified.md index 65c17d0c..ef0db669 100644 --- a/old_docs/API_docs_v45/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v45/constructors/messages_savedGifsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` @@ -27,10 +27,9 @@ $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifsNotModified={_='messages.savedGifsNotModified'} ``` diff --git a/old_docs/API_docs_v45/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v45/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v45/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v45/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v45/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v45/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v45/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v45/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v45/constructors/messages_stickerSet.md b/old_docs/API_docs_v45/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/old_docs/API_docs_v45/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v45/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v45/constructors/messages_stickers.md b/old_docs/API_docs_v45/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v45/constructors/messages_stickers.md +++ b/old_docs/API_docs_v45/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v45/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v45/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v45/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v45/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v45/constructors/nearestDc.md b/old_docs/API_docs_v45/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v45/constructors/nearestDc.md +++ b/old_docs/API_docs_v45/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v45/constructors/notifyAll.md b/old_docs/API_docs_v45/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v45/constructors/notifyAll.md +++ b/old_docs/API_docs_v45/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v45/constructors/notifyChats.md b/old_docs/API_docs_v45/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v45/constructors/notifyChats.md +++ b/old_docs/API_docs_v45/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v45/constructors/notifyPeer.md b/old_docs/API_docs_v45/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v45/constructors/notifyPeer.md +++ b/old_docs/API_docs_v45/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v45/constructors/notifyUsers.md b/old_docs/API_docs_v45/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v45/constructors/notifyUsers.md +++ b/old_docs/API_docs_v45/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v45/constructors/peerChannel.md b/old_docs/API_docs_v45/constructors/peerChannel.md index f30e3f41..360d5c42 100644 --- a/old_docs/API_docs_v45/constructors/peerChannel.md +++ b/old_docs/API_docs_v45/constructors/peerChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/peerChat.md b/old_docs/API_docs_v45/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v45/constructors/peerChat.md +++ b/old_docs/API_docs_v45/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v45/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v45/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v45/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v45/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v45/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v45/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v45/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/peerNotifySettings.md b/old_docs/API_docs_v45/constructors/peerNotifySettings.md index 513132f4..12c5bbb9 100644 --- a/old_docs/API_docs_v45/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v45/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v45/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v45/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v45/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v45/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/peerUser.md b/old_docs/API_docs_v45/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v45/constructors/peerUser.md +++ b/old_docs/API_docs_v45/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/photo.md b/old_docs/API_docs_v45/constructors/photo.md index 7055e7a9..982122b9 100644 --- a/old_docs/API_docs_v45/constructors/photo.md +++ b/old_docs/API_docs_v45/constructors/photo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -35,10 +35,9 @@ $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v45/constructors/photoCachedSize.md b/old_docs/API_docs_v45/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v45/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v45/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v45/constructors/photoEmpty.md b/old_docs/API_docs_v45/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v45/constructors/photoEmpty.md +++ b/old_docs/API_docs_v45/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v45/constructors/photoSize.md b/old_docs/API_docs_v45/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v45/constructors/photoSize.md +++ b/old_docs/API_docs_v45/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v45/constructors/photoSizeEmpty.md b/old_docs/API_docs_v45/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v45/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v45/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/photos_photo.md b/old_docs/API_docs_v45/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v45/constructors/photos_photo.md +++ b/old_docs/API_docs_v45/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v45/constructors/photos_photos.md b/old_docs/API_docs_v45/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v45/constructors/photos_photos.md +++ b/old_docs/API_docs_v45/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v45/constructors/photos_photosSlice.md b/old_docs/API_docs_v45/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v45/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v45/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v45/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v45/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v45/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v45/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v45/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v45/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v45/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v45/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v45/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v45/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v45/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v45/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v45/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v45/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v45/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v45/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v45/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v45/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v45/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v45/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v45/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v45/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v45/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v45/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v45/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v45/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v45/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v45/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v45/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v45/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/old_docs/API_docs_v45/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v45/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v45/constructors/replyKeyboardForceReply.md index 56e255c1..3f7fae8c 100644 --- a/old_docs/API_docs_v45/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v45/constructors/replyKeyboardForceReply.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` @@ -33,10 +33,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool} ``` diff --git a/old_docs/API_docs_v45/constructors/replyKeyboardHide.md b/old_docs/API_docs_v45/constructors/replyKeyboardHide.md index 7251db49..30e9f399 100644 --- a/old_docs/API_docs_v45/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v45/constructors/replyKeyboardHide.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` @@ -32,10 +32,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide', selective=Bool} ``` diff --git a/old_docs/API_docs_v45/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v45/constructors/replyKeyboardMarkup.md index 87a55463..80f3f654 100644 --- a/old_docs/API_docs_v45/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v45/constructors/replyKeyboardMarkup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -35,10 +35,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v45/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v45/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v45/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v45/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v45/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v45/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v45/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v45/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v45/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v45/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v45/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v45/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v45/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v45/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/old_docs/API_docs_v45/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v45/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/old_docs/API_docs_v45/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v45/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/old_docs/API_docs_v45/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v45/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/old_docs/API_docs_v45/constructors/stickerPack.md b/old_docs/API_docs_v45/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v45/constructors/stickerPack.md +++ b/old_docs/API_docs_v45/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v45/constructors/stickerSet.md b/old_docs/API_docs_v45/constructors/stickerSet.md index 4f0e5ff2..695e2aea 100644 --- a/old_docs/API_docs_v45/constructors/stickerSet.md +++ b/old_docs/API_docs_v45/constructors/stickerSet.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -40,10 +40,9 @@ $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'of ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', installed=Bool, disabled=Bool, official=Bool, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/old_docs/API_docs_v45/constructors/storage_fileGif.md b/old_docs/API_docs_v45/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v45/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v45/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v45/constructors/storage_fileJpeg.md b/old_docs/API_docs_v45/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v45/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v45/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v45/constructors/storage_fileMov.md b/old_docs/API_docs_v45/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v45/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v45/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v45/constructors/storage_fileMp3.md b/old_docs/API_docs_v45/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v45/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v45/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v45/constructors/storage_fileMp4.md b/old_docs/API_docs_v45/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v45/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v45/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v45/constructors/storage_filePartial.md b/old_docs/API_docs_v45/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v45/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v45/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v45/constructors/storage_filePdf.md b/old_docs/API_docs_v45/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v45/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v45/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v45/constructors/storage_filePng.md b/old_docs/API_docs_v45/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v45/constructors/storage_filePng.md +++ b/old_docs/API_docs_v45/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v45/constructors/storage_fileUnknown.md b/old_docs/API_docs_v45/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v45/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v45/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v45/constructors/storage_fileWebp.md b/old_docs/API_docs_v45/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v45/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v45/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v45/constructors/true.md b/old_docs/API_docs_v45/constructors/true.md index 2e27ecbf..4863f16b 100644 --- a/old_docs/API_docs_v45/constructors/true.md +++ b/old_docs/API_docs_v45/constructors/true.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $true = ['_' => 'true']; ``` @@ -27,10 +27,9 @@ $true = ['_' => 'true']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua true={_='true'} ``` diff --git a/old_docs/API_docs_v45/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v45/constructors/updateBotInlineQuery.md index e47e802a..7f4cf56f 100644 --- a/old_docs/API_docs_v45/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v45/constructors/updateBotInlineQuery.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'offset' => 'string']; ``` @@ -35,10 +35,9 @@ $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query='string', offset='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/updateBotInlineSend.md b/old_docs/API_docs_v45/constructors/updateBotInlineSend.md index adbc1dca..86ef068a 100644 --- a/old_docs/API_docs_v45/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v45/constructors/updateBotInlineSend.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'id' => 'string']; ``` @@ -34,10 +34,9 @@ $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineSend={_='updateBotInlineSend', user_id=int, query='string', id='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/updateChannel.md b/old_docs/API_docs_v45/constructors/updateChannel.md index e615920a..fb876328 100644 --- a/old_docs/API_docs_v45/constructors/updateChannel.md +++ b/old_docs/API_docs_v45/constructors/updateChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannel={_='updateChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updateChannelGroup.md b/old_docs/API_docs_v45/constructors/updateChannelGroup.md index c322e296..8266d55a 100644 --- a/old_docs/API_docs_v45/constructors/updateChannelGroup.md +++ b/old_docs/API_docs_v45/constructors/updateChannelGroup.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup]; ``` @@ -33,10 +33,9 @@ $updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelGroup={_='updateChannelGroup', channel_id=int, group=MessageGroup} ``` diff --git a/old_docs/API_docs_v45/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v45/constructors/updateChannelMessageViews.md index 19e0b648..d62f055a 100644 --- a/old_docs/API_docs_v45/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v45/constructors/updateChannelMessageViews.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` @@ -34,10 +34,9 @@ $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updateChannelTooLong.md b/old_docs/API_docs_v45/constructors/updateChannelTooLong.md index c4366f91..5665f1a4 100644 --- a/old_docs/API_docs_v45/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v45/constructors/updateChannelTooLong.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelTooLong={_='updateChannelTooLong', channel_id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updateChatAdmins.md b/old_docs/API_docs_v45/constructors/updateChatAdmins.md index 87ffd626..aac09762 100644 --- a/old_docs/API_docs_v45/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v45/constructors/updateChatAdmins.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v45/constructors/updateChatParticipantAdd.md index ea5157ad..fe76dc62 100644 --- a/old_docs/API_docs_v45/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v45/constructors/updateChatParticipantAdd.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` @@ -36,10 +36,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v45/constructors/updateChatParticipantAdmin.md index b1022850..d262b2e6 100644 --- a/old_docs/API_docs_v45/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v45/constructors/updateChatParticipantAdmin.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v45/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v45/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v45/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updateChatParticipants.md b/old_docs/API_docs_v45/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v45/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v45/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v45/constructors/updateChatUserTyping.md b/old_docs/API_docs_v45/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v45/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v45/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v45/constructors/updateContactLink.md b/old_docs/API_docs_v45/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v45/constructors/updateContactLink.md +++ b/old_docs/API_docs_v45/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v45/constructors/updateContactRegistered.md b/old_docs/API_docs_v45/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v45/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v45/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updateDcOptions.md b/old_docs/API_docs_v45/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v45/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v45/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v45/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v45/constructors/updateDeleteChannelMessages.md index 0f84f3f7..8fb10b65 100644 --- a/old_docs/API_docs_v45/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v45/constructors/updateDeleteChannelMessages.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updateDeleteMessages.md b/old_docs/API_docs_v45/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v45/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v45/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v45/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v45/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v45/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v45/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v45/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v45/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updateEncryption.md b/old_docs/API_docs_v45/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v45/constructors/updateEncryption.md +++ b/old_docs/API_docs_v45/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updateMessageID.md b/old_docs/API_docs_v45/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v45/constructors/updateMessageID.md +++ b/old_docs/API_docs_v45/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updateNewAuthorization.md b/old_docs/API_docs_v45/constructors/updateNewAuthorization.md index c7a95f80..ce1d0815 100644 --- a/old_docs/API_docs_v45/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v45/constructors/updateNewAuthorization.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` @@ -35,10 +35,9 @@ $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device='string', location='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v45/constructors/updateNewChannelMessage.md index 59dbc820..9fa1c7ec 100644 --- a/old_docs/API_docs_v45/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v45/constructors/updateNewChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Messa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v45/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v45/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v45/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updateNewMessage.md b/old_docs/API_docs_v45/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v45/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v45/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updateNewStickerSet.md b/old_docs/API_docs_v45/constructors/updateNewStickerSet.md index c36d4617..5ba327ea 100644 --- a/old_docs/API_docs_v45/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v45/constructors/updateNewStickerSet.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` @@ -32,10 +32,9 @@ $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_S ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} ``` diff --git a/old_docs/API_docs_v45/constructors/updateNotifySettings.md b/old_docs/API_docs_v45/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v45/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v45/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v45/constructors/updatePrivacy.md b/old_docs/API_docs_v45/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v45/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v45/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v45/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v45/constructors/updateReadChannelInbox.md index be964e20..c8c26acb 100644 --- a/old_docs/API_docs_v45/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v45/constructors/updateReadChannelInbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v45/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v45/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v45/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v45/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v45/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v45/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v45/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/old_docs/API_docs_v45/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v45/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updateSavedGifs.md b/old_docs/API_docs_v45/constructors/updateSavedGifs.md index dd17f321..ea5619fc 100644 --- a/old_docs/API_docs_v45/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v45/constructors/updateSavedGifs.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` @@ -27,10 +27,9 @@ $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v45/constructors/updateServiceNotification.md b/old_docs/API_docs_v45/constructors/updateServiceNotification.md index 979fe7bd..ddcf7eb5 100644 --- a/old_docs/API_docs_v45/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v45/constructors/updateServiceNotification.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` @@ -35,10 +35,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'str ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', type='string', message='string', media=MessageMedia, popup=Bool} ``` diff --git a/old_docs/API_docs_v45/constructors/updateShort.md b/old_docs/API_docs_v45/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v45/constructors/updateShort.md +++ b/old_docs/API_docs_v45/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updateShortChatMessage.md b/old_docs/API_docs_v45/constructors/updateShortChatMessage.md index 59fff001..a3e4b02f 100644 --- a/old_docs/API_docs_v45/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v45/constructors/updateShortChatMessage.md @@ -36,7 +36,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -47,10 +47,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'o ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v45/constructors/updateShortMessage.md b/old_docs/API_docs_v45/constructors/updateShortMessage.md index 64f10398..b1d17aca 100644 --- a/old_docs/API_docs_v45/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v45/constructors/updateShortMessage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -46,10 +46,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v45/constructors/updateShortSentMessage.md b/old_docs/API_docs_v45/constructors/updateShortSentMessage.md index 0e40bd22..f35f8285 100644 --- a/old_docs/API_docs_v45/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v45/constructors/updateShortSentMessage.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -39,10 +39,9 @@ $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'o ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortSentMessage={_='updateShortSentMessage', unread=Bool, out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v45/constructors/updateStickerSets.md b/old_docs/API_docs_v45/constructors/updateStickerSets.md index 4f045d67..e4cc23a0 100644 --- a/old_docs/API_docs_v45/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v45/constructors/updateStickerSets.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSets = ['_' => 'updateStickerSets']; ``` @@ -27,10 +27,9 @@ $updateStickerSets = ['_' => 'updateStickerSets']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v45/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v45/constructors/updateStickerSetsOrder.md index ff94265f..d47c939f 100644 --- a/old_docs/API_docs_v45/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v45/constructors/updateStickerSetsOrder.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long, long]]; ``` @@ -32,10 +32,9 @@ $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long, lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSetsOrder={_='updateStickerSetsOrder', order={long}} ``` diff --git a/old_docs/API_docs_v45/constructors/updateUserBlocked.md b/old_docs/API_docs_v45/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v45/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v45/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v45/constructors/updateUserName.md b/old_docs/API_docs_v45/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v45/constructors/updateUserName.md +++ b/old_docs/API_docs_v45/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/updateUserPhone.md b/old_docs/API_docs_v45/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v45/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v45/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/updateUserPhoto.md b/old_docs/API_docs_v45/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v45/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v45/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v45/constructors/updateUserStatus.md b/old_docs/API_docs_v45/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v45/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v45/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v45/constructors/updateUserTyping.md b/old_docs/API_docs_v45/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v45/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v45/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v45/constructors/updateWebPage.md b/old_docs/API_docs_v45/constructors/updateWebPage.md index 9f468619..932d8ff2 100644 --- a/old_docs/API_docs_v45/constructors/updateWebPage.md +++ b/old_docs/API_docs_v45/constructors/updateWebPage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updates.md b/old_docs/API_docs_v45/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v45/constructors/updates.md +++ b/old_docs/API_docs_v45/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updatesCombined.md b/old_docs/API_docs_v45/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v45/constructors/updatesCombined.md +++ b/old_docs/API_docs_v45/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updatesTooLong.md b/old_docs/API_docs_v45/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v45/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v45/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v45/constructors/updates_channelDifference.md b/old_docs/API_docs_v45/constructors/updates_channelDifference.md index 21b618c2..df1dafd6 100644 --- a/old_docs/API_docs_v45/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v45/constructors/updates_channelDifference.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v45/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v45/constructors/updates_channelDifferenceEmpty.md index a2e49340..a5be0377 100644 --- a/old_docs/API_docs_v45/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v45/constructors/updates_channelDifferenceEmpty.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'fin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v45/constructors/updates_channelDifferenceTooLong.md index 47f23144..28fc12ca 100644 --- a/old_docs/API_docs_v45/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v45/constructors/updates_channelDifferenceTooLong.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -42,10 +42,9 @@ $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v45/constructors/updates_difference.md b/old_docs/API_docs_v45/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v45/constructors/updates_difference.md +++ b/old_docs/API_docs_v45/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v45/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v45/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v45/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v45/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v45/constructors/updates_differenceSlice.md b/old_docs/API_docs_v45/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v45/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v45/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v45/constructors/updates_state.md b/old_docs/API_docs_v45/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v45/constructors/updates_state.md +++ b/old_docs/API_docs_v45/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v45/constructors/upload_file.md b/old_docs/API_docs_v45/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v45/constructors/upload_file.md +++ b/old_docs/API_docs_v45/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v45/constructors/user.md b/old_docs/API_docs_v45/constructors/user.md index 9eeae68a..700213b6 100644 --- a/old_docs/API_docs_v45/constructors/user.md +++ b/old_docs/API_docs_v45/constructors/user.md @@ -40,7 +40,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => 'string', 'bot_inline_placeholder' => 'string']; ``` @@ -51,10 +51,9 @@ $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason='string', bot_inline_placeholder='string'} ``` diff --git a/old_docs/API_docs_v45/constructors/userEmpty.md b/old_docs/API_docs_v45/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v45/constructors/userEmpty.md +++ b/old_docs/API_docs_v45/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v45/constructors/userFull.md b/old_docs/API_docs_v45/constructors/userFull.md index dff5cfa2..9b32a434 100644 --- a/old_docs/API_docs_v45/constructors/userFull.md +++ b/old_docs/API_docs_v45/constructors/userFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` @@ -37,10 +37,9 @@ $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v45/constructors/userProfilePhoto.md b/old_docs/API_docs_v45/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v45/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v45/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v45/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v45/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v45/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v45/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/userStatusEmpty.md b/old_docs/API_docs_v45/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v45/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v45/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v45/constructors/userStatusLastMonth.md b/old_docs/API_docs_v45/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v45/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v45/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v45/constructors/userStatusLastWeek.md b/old_docs/API_docs_v45/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v45/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v45/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v45/constructors/userStatusOffline.md b/old_docs/API_docs_v45/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v45/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v45/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v45/constructors/userStatusOnline.md b/old_docs/API_docs_v45/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v45/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v45/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v45/constructors/userStatusRecently.md b/old_docs/API_docs_v45/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v45/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v45/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v45/constructors/vector.md b/old_docs/API_docs_v45/constructors/vector.md index c9e27763..d8ea6f1f 100644 --- a/old_docs/API_docs_v45/constructors/vector.md +++ b/old_docs/API_docs_v45/constructors/vector.md @@ -18,7 +18,7 @@ Array ### Example: -``` +```php $vector = ['_' => 'vector']; ``` @@ -29,10 +29,9 @@ $vector = ['_' => 'vector']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua vector={_='vector'} ``` diff --git a/old_docs/API_docs_v45/constructors/video.md b/old_docs/API_docs_v45/constructors/video.md index 58154db2..a0ab3175 100644 --- a/old_docs/API_docs_v45/constructors/video.md +++ b/old_docs/API_docs_v45/constructors/video.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int]; ``` @@ -41,10 +41,9 @@ $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua video={_='video', id=long, access_hash=long, date=int, duration=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v45/constructors/videoEmpty.md b/old_docs/API_docs_v45/constructors/videoEmpty.md index 8509fcf9..a41ca8ab 100644 --- a/old_docs/API_docs_v45/constructors/videoEmpty.md +++ b/old_docs/API_docs_v45/constructors/videoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua videoEmpty={_='videoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v45/constructors/wallPaper.md b/old_docs/API_docs_v45/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v45/constructors/wallPaper.md +++ b/old_docs/API_docs_v45/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v45/constructors/wallPaperSolid.md b/old_docs/API_docs_v45/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v45/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v45/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v45/constructors/webPage.md b/old_docs/API_docs_v45/constructors/webPage.md index 1023918f..fe5271f3 100644 --- a/old_docs/API_docs_v45/constructors/webPage.md +++ b/old_docs/API_docs_v45/constructors/webPage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document]; ``` @@ -46,10 +46,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document} ``` diff --git a/old_docs/API_docs_v45/constructors/webPageEmpty.md b/old_docs/API_docs_v45/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v45/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v45/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v45/constructors/webPagePending.md b/old_docs/API_docs_v45/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v45/constructors/webPagePending.md +++ b/old_docs/API_docs_v45/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v45/methods/account_changePhone.md b/old_docs/API_docs_v45/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v45/methods/account_changePhone.md +++ b/old_docs/API_docs_v45/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/account_checkUsername.md b/old_docs/API_docs_v45/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v45/methods/account_checkUsername.md +++ b/old_docs/API_docs_v45/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/account_deleteAccount.md b/old_docs/API_docs_v45/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v45/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v45/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/account_getAccountTTL.md b/old_docs/API_docs_v45/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v45/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v45/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v45/methods/account_getAuthorizations.md b/old_docs/API_docs_v45/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v45/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v45/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v45/methods/account_getNotifySettings.md b/old_docs/API_docs_v45/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v45/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v45/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v45/methods/account_getPassword.md b/old_docs/API_docs_v45/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v45/methods/account_getPassword.md +++ b/old_docs/API_docs_v45/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v45/methods/account_getPasswordSettings.md b/old_docs/API_docs_v45/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v45/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v45/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v45/methods/account_getPrivacy.md b/old_docs/API_docs_v45/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v45/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v45/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v45/methods/account_getWallPapers.md b/old_docs/API_docs_v45/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v45/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v45/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v45/methods/account_registerDevice.md b/old_docs/API_docs_v45/methods/account_registerDevice.md index bd2b5649..3192933d 100644 --- a/old_docs/API_docs_v45/methods/account_registerDevice.md +++ b/old_docs/API_docs_v45/methods/account_registerDevice.md @@ -30,7 +30,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', device_model='string', system_version='string', app_version='string', app_sandbox=Bool, lang_code='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/account_reportPeer.md b/old_docs/API_docs_v45/methods/account_reportPeer.md index d8c49851..673b48bf 100644 --- a/old_docs/API_docs_v45/methods/account_reportPeer.md +++ b/old_docs/API_docs_v45/methods/account_reportPeer.md @@ -25,7 +25,7 @@ Report for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reason - Json encoded ReportReason Or, if you're into Lua: -``` +```lua Bool = account.reportPeer({peer=InputPeer, reason=ReportReason, }) ``` diff --git a/old_docs/API_docs_v45/methods/account_resetAuthorization.md b/old_docs/API_docs_v45/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v45/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v45/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v45/methods/account_resetNotifySettings.md b/old_docs/API_docs_v45/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v45/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v45/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md index 2fcdcc4c..12ea92c5 100644 --- a/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md @@ -24,7 +24,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/account_setAccountTTL.md b/old_docs/API_docs_v45/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v45/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v45/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v45/methods/account_setPrivacy.md b/old_docs/API_docs_v45/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v45/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v45/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v45/methods/account_unregisterDevice.md b/old_docs/API_docs_v45/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v45/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v45/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v45/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v45/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v45/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/account_updateNotifySettings.md b/old_docs/API_docs_v45/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v45/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v45/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v45/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v45/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v45/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v45/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v45/methods/account_updateProfile.md b/old_docs/API_docs_v45/methods/account_updateProfile.md index 541086a6..5034a6da 100644 --- a/old_docs/API_docs_v45/methods/account_updateProfile.md +++ b/old_docs/API_docs_v45/methods/account_updateProfile.md @@ -25,7 +25,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ last_name - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/account_updateStatus.md b/old_docs/API_docs_v45/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v45/methods/account_updateStatus.md +++ b/old_docs/API_docs_v45/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v45/methods/account_updateUsername.md b/old_docs/API_docs_v45/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v45/methods/account_updateUsername.md +++ b/old_docs/API_docs_v45/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/auth_checkPhone.md b/old_docs/API_docs_v45/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v45/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v45/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/auth_recoverPassword.md b/old_docs/API_docs_v45/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v45/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v45/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v45/methods/auth_sendCall.md b/old_docs/API_docs_v45/methods/auth_sendCall.md index 70a2870f..e8260454 100644 --- a/old_docs/API_docs_v45/methods/auth_sendCall.md +++ b/old_docs/API_docs_v45/methods/auth_sendCall.md @@ -25,7 +25,7 @@ Send verification phone call ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/auth_sendInvites.md b/old_docs/API_docs_v45/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v45/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v45/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/auth_sendSms.md b/old_docs/API_docs_v45/methods/auth_sendSms.md index 6c31f570..050926ff 100644 --- a/old_docs/API_docs_v45/methods/auth_sendSms.md +++ b/old_docs/API_docs_v45/methods/auth_sendSms.md @@ -25,7 +25,7 @@ Send SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_checkUsername.md b/old_docs/API_docs_v45/methods/channels_checkUsername.md index d287b3ca..573bf8f0 100644 --- a/old_docs/API_docs_v45/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v45/methods/channels_checkUsername.md @@ -25,7 +25,7 @@ Check if this username is free and can be assigned to a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.checkUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_createChannel.md b/old_docs/API_docs_v45/methods/channels_createChannel.md index 356f473a..1821c864 100644 --- a/old_docs/API_docs_v45/methods/channels_createChannel.md +++ b/old_docs/API_docs_v45/methods/channels_createChannel.md @@ -27,7 +27,7 @@ Create channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title='string', about='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_deleteChannel.md b/old_docs/API_docs_v45/methods/channels_deleteChannel.md index b55d91b8..a79ccb9f 100644 --- a/old_docs/API_docs_v45/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v45/methods/channels_deleteChannel.md @@ -24,7 +24,7 @@ Delete a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.deleteChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_deleteMessages.md b/old_docs/API_docs_v45/methods/channels_deleteMessages.md index 03625c94..8cd7ebb3 100644 --- a/old_docs/API_docs_v45/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v45/methods/channels_deleteMessages.md @@ -25,7 +25,7 @@ Delete channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v45/methods/channels_deleteUserHistory.md index 204a8786..78baa90f 100644 --- a/old_docs/API_docs_v45/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v45/methods/channels_deleteUserHistory.md @@ -25,7 +25,7 @@ Delete all messages of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_editAbout.md b/old_docs/API_docs_v45/methods/channels_editAbout.md index fd861133..549d7ea5 100644 --- a/old_docs/API_docs_v45/methods/channels_editAbout.md +++ b/old_docs/API_docs_v45/methods/channels_editAbout.md @@ -25,7 +25,7 @@ Edit the about text of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.editAbout({channel=InputChannel, about='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_editAdmin.md b/old_docs/API_docs_v45/methods/channels_editAdmin.md index bc0793fe..b41561e0 100644 --- a/old_docs/API_docs_v45/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v45/methods/channels_editAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ role - Json encoded ChannelParticipantRole Or, if you're into Lua: -``` +```lua Updates = channels.editAdmin({channel=InputChannel, user_id=InputUser, role=ChannelParticipantRole, }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_editPhoto.md b/old_docs/API_docs_v45/methods/channels_editPhoto.md index ccbaed65..7013c6e2 100644 --- a/old_docs/API_docs_v45/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v45/methods/channels_editPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = channels.editPhoto({channel=InputChannel, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_editTitle.md b/old_docs/API_docs_v45/methods/channels_editTitle.md index ffd868ba..a9c8c50f 100644 --- a/old_docs/API_docs_v45/methods/channels_editTitle.md +++ b/old_docs/API_docs_v45/methods/channels_editTitle.md @@ -25,7 +25,7 @@ Edit the title of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.editTitle({channel=InputChannel, title='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_exportInvite.md b/old_docs/API_docs_v45/methods/channels_exportInvite.md index 0b4b5c31..5a92097a 100644 --- a/old_docs/API_docs_v45/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v45/methods/channels_exportInvite.md @@ -24,7 +24,7 @@ Export the invite link of a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua ExportedChatInvite = channels.exportInvite({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_getChannels.md b/old_docs/API_docs_v45/methods/channels_getChannels.md index 71edac7b..a146be1e 100644 --- a/old_docs/API_docs_v45/methods/channels_getChannels.md +++ b/old_docs/API_docs_v45/methods/channels_getChannels.md @@ -24,7 +24,7 @@ Get info about multiple channels/supergroups ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputChannel Or, if you're into Lua: -``` +```lua messages_Chats = channels.getChannels({id={InputChannel}, }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_getDialogs.md b/old_docs/API_docs_v45/methods/channels_getDialogs.md index c3acd0e6..b238558d 100644 --- a/old_docs/API_docs_v45/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v45/methods/channels_getDialogs.md @@ -25,7 +25,7 @@ Get channel dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = channels.getDialogs({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_getImportantHistory.md b/old_docs/API_docs_v45/methods/channels_getImportantHistory.md index e038bde8..374afee5 100644 --- a/old_docs/API_docs_v45/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v45/methods/channels_getImportantHistory.md @@ -29,7 +29,7 @@ Get important channel/supergroup history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getImportantHistory({channel=InputChannel, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_getMessages.md b/old_docs/API_docs_v45/methods/channels_getMessages.md index 217757eb..208cbcc4 100644 --- a/old_docs/API_docs_v45/methods/channels_getMessages.md +++ b/old_docs/API_docs_v45/methods/channels_getMessages.md @@ -25,7 +25,7 @@ Get channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_getParticipant.md b/old_docs/API_docs_v45/methods/channels_getParticipant.md index a641d213..9cf80799 100644 --- a/old_docs/API_docs_v45/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v45/methods/channels_getParticipant.md @@ -25,7 +25,7 @@ Get info about a certain channel/supergroup participant ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_getParticipants.md b/old_docs/API_docs_v45/methods/channels_getParticipants.md index c2f0cdcd..3d4dfa13 100644 --- a/old_docs/API_docs_v45/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v45/methods/channels_getParticipants.md @@ -27,7 +27,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_inviteToChannel.md b/old_docs/API_docs_v45/methods/channels_inviteToChannel.md index 0a350cc8..998e3895 100644 --- a/old_docs/API_docs_v45/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v45/methods/channels_inviteToChannel.md @@ -25,7 +25,7 @@ Add users to channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ users - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Updates = channels.inviteToChannel({channel=InputChannel, users={InputUser}, }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_joinChannel.md b/old_docs/API_docs_v45/methods/channels_joinChannel.md index aae2bc1c..3c6a3b94 100644 --- a/old_docs/API_docs_v45/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v45/methods/channels_joinChannel.md @@ -24,7 +24,7 @@ Join a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.joinChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_kickFromChannel.md b/old_docs/API_docs_v45/methods/channels_kickFromChannel.md index c51cea7c..7586bdf6 100644 --- a/old_docs/API_docs_v45/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v45/methods/channels_kickFromChannel.md @@ -26,7 +26,7 @@ Kick user from channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ kicked - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.kickFromChannel({channel=InputChannel, user_id=InputUser, kicked=Bool, }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_leaveChannel.md b/old_docs/API_docs_v45/methods/channels_leaveChannel.md index 4e6701fe..0934089f 100644 --- a/old_docs/API_docs_v45/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v45/methods/channels_leaveChannel.md @@ -24,7 +24,7 @@ Leave a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.leaveChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_readHistory.md b/old_docs/API_docs_v45/methods/channels_readHistory.md index d76919ff..cf5c1529 100644 --- a/old_docs/API_docs_v45/methods/channels_readHistory.md +++ b/old_docs/API_docs_v45/methods/channels_readHistory.md @@ -25,7 +25,7 @@ Mark channel/supergroup history as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.readHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_reportSpam.md b/old_docs/API_docs_v45/methods/channels_reportSpam.md index 48022662..b0e99eb1 100644 --- a/old_docs/API_docs_v45/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v45/methods/channels_reportSpam.md @@ -26,7 +26,7 @@ Report a message in a supergroup/channel for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.reportSpam({channel=InputChannel, user_id=InputUser, id={int}, }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_toggleComments.md b/old_docs/API_docs_v45/methods/channels_toggleComments.md index 52e2c7ae..230b0315 100644 --- a/old_docs/API_docs_v45/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v45/methods/channels_toggleComments.md @@ -25,7 +25,7 @@ Enable channel comments ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleComments({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v45/methods/channels_updateUsername.md b/old_docs/API_docs_v45/methods/channels_updateUsername.md index 2e07e123..c0df8c7c 100644 --- a/old_docs/API_docs_v45/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v45/methods/channels_updateUsername.md @@ -25,7 +25,7 @@ Update the username of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.updateUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/contacts_block.md b/old_docs/API_docs_v45/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v45/methods/contacts_block.md +++ b/old_docs/API_docs_v45/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v45/methods/contacts_deleteContact.md b/old_docs/API_docs_v45/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v45/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v45/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v45/methods/contacts_deleteContacts.md b/old_docs/API_docs_v45/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v45/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v45/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v45/methods/contacts_exportCard.md b/old_docs/API_docs_v45/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v45/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v45/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v45/methods/contacts_getBlocked.md b/old_docs/API_docs_v45/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v45/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v45/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/contacts_getContacts.md b/old_docs/API_docs_v45/methods/contacts_getContacts.md index ccf0f99d..dfa407f2 100644 --- a/old_docs/API_docs_v45/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v45/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/contacts_getStatuses.md b/old_docs/API_docs_v45/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v45/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v45/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v45/methods/contacts_getSuggested.md b/old_docs/API_docs_v45/methods/contacts_getSuggested.md index d7feb718..8183eae4 100644 --- a/old_docs/API_docs_v45/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v45/methods/contacts_getSuggested.md @@ -24,7 +24,7 @@ Get suggested contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/contacts_importCard.md b/old_docs/API_docs_v45/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v45/methods/contacts_importCard.md +++ b/old_docs/API_docs_v45/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v45/methods/contacts_importContacts.md b/old_docs/API_docs_v45/methods/contacts_importContacts.md index d0404dd2..f1b17e2c 100644 --- a/old_docs/API_docs_v45/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v45/methods/contacts_importContacts.md @@ -25,7 +25,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ replace - Json encoded Bool Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v45/methods/contacts_search.md b/old_docs/API_docs_v45/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v45/methods/contacts_search.md +++ b/old_docs/API_docs_v45/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/contacts_unblock.md b/old_docs/API_docs_v45/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v45/methods/contacts_unblock.md +++ b/old_docs/API_docs_v45/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v45/methods/help_getAppChangelog.md b/old_docs/API_docs_v45/methods/help_getAppChangelog.md index e5f9dae5..872c377b 100644 --- a/old_docs/API_docs_v45/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v45/methods/help_getAppChangelog.md @@ -27,7 +27,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/help_getAppUpdate.md b/old_docs/API_docs_v45/methods/help_getAppUpdate.md index a501cbc5..4bdf36c3 100644 --- a/old_docs/API_docs_v45/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v45/methods/help_getAppUpdate.md @@ -27,7 +27,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/help_getConfig.md b/old_docs/API_docs_v45/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v45/methods/help_getConfig.md +++ b/old_docs/API_docs_v45/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v45/methods/help_getInviteText.md b/old_docs/API_docs_v45/methods/help_getInviteText.md index 1b31e572..797e2ad3 100644 --- a/old_docs/API_docs_v45/methods/help_getInviteText.md +++ b/old_docs/API_docs_v45/methods/help_getInviteText.md @@ -24,7 +24,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/help_getNearestDc.md b/old_docs/API_docs_v45/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v45/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v45/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v45/methods/help_getSupport.md b/old_docs/API_docs_v45/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v45/methods/help_getSupport.md +++ b/old_docs/API_docs_v45/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v45/methods/help_getTermsOfService.md b/old_docs/API_docs_v45/methods/help_getTermsOfService.md index 06eda47b..701de622 100644 --- a/old_docs/API_docs_v45/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v45/methods/help_getTermsOfService.md @@ -24,7 +24,7 @@ Get terms of service ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_TermsOfService = help.getTermsOfService({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/help_saveAppLog.md b/old_docs/API_docs_v45/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v45/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v45/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v45/methods/initConnection.md b/old_docs/API_docs_v45/methods/initConnection.md index 58cdb067..e34794f8 100644 --- a/old_docs/API_docs_v45/methods/initConnection.md +++ b/old_docs/API_docs_v45/methods/initConnection.md @@ -29,7 +29,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v45/methods/invokeAfterMsg.md b/old_docs/API_docs_v45/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v45/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v45/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v45/methods/invokeAfterMsgs.md b/old_docs/API_docs_v45/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v45/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v45/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v45/methods/invokeWithLayer.md b/old_docs/API_docs_v45/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v45/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v45/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v45/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v45/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/old_docs/API_docs_v45/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v45/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_addChatUser.md b/old_docs/API_docs_v45/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v45/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v45/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_checkChatInvite.md b/old_docs/API_docs_v45/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/old_docs/API_docs_v45/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v45/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_createChat.md b/old_docs/API_docs_v45/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v45/methods/messages_createChat.md +++ b/old_docs/API_docs_v45/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_deleteChatUser.md b/old_docs/API_docs_v45/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v45/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v45/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_deleteHistory.md b/old_docs/API_docs_v45/methods/messages_deleteHistory.md index 4b00d3a2..444d6758 100644 --- a/old_docs/API_docs_v45/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v45/methods/messages_deleteHistory.md @@ -25,7 +25,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_deleteMessages.md b/old_docs/API_docs_v45/methods/messages_deleteMessages.md index 2aa9d7d1..24152bec 100644 --- a/old_docs/API_docs_v45/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v45/methods/messages_deleteMessages.md @@ -24,7 +24,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_editChatAdmin.md b/old_docs/API_docs_v45/methods/messages_editChatAdmin.md index a2dad97f..f883b50e 100644 --- a/old_docs/API_docs_v45/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v45/methods/messages_editChatAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ is_admin - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.editChatAdmin({chat_id=InputPeer, user_id=InputUser, is_admin=Bool, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_editChatPhoto.md b/old_docs/API_docs_v45/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v45/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v45/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_editChatTitle.md b/old_docs/API_docs_v45/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v45/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v45/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_exportChatInvite.md b/old_docs/API_docs_v45/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/old_docs/API_docs_v45/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v45/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_forwardMessage.md b/old_docs/API_docs_v45/methods/messages_forwardMessage.md index 586670b8..d9c0453f 100644 --- a/old_docs/API_docs_v45/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v45/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_forwardMessages.md b/old_docs/API_docs_v45/methods/messages_forwardMessages.md index 1bc42a02..036d61fe 100644 --- a/old_docs/API_docs_v45/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v45/methods/messages_forwardMessages.md @@ -27,7 +27,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ to_peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({broadcast=Bool, from_peer=InputPeer, id={int}, to_peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_getAllStickers.md b/old_docs/API_docs_v45/methods/messages_getAllStickers.md index 966af122..c25a823b 100644 --- a/old_docs/API_docs_v45/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v45/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_getChats.md b/old_docs/API_docs_v45/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v45/methods/messages_getChats.md +++ b/old_docs/API_docs_v45/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_getDialogs.md b/old_docs/API_docs_v45/methods/messages_getDialogs.md index 557cb7d9..2919a482 100644 --- a/old_docs/API_docs_v45/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v45/methods/messages_getDialogs.md @@ -27,7 +27,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v45/methods/messages_getDocumentByHash.md index 5b6f6f21..00f0a558 100644 --- a/old_docs/API_docs_v45/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v45/methods/messages_getDocumentByHash.md @@ -26,7 +26,7 @@ Get document by SHA256 hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ mime_type - Json encoded string Or, if you're into Lua: -``` +```lua Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_getHistory.md b/old_docs/API_docs_v45/methods/messages_getHistory.md index 955f71cf..cfa5867b 100644 --- a/old_docs/API_docs_v45/methods/messages_getHistory.md +++ b/old_docs/API_docs_v45/methods/messages_getHistory.md @@ -29,7 +29,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v45/methods/messages_getInlineBotResults.md index 75a393ce..8f514a14 100644 --- a/old_docs/API_docs_v45/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v45/methods/messages_getInlineBotResults.md @@ -26,7 +26,7 @@ Call inline bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ offset - Json encoded string Or, if you're into Lua: -``` +```lua messages_BotResults = messages.getInlineBotResults({bot=InputUser, query='string', offset='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_getMessages.md b/old_docs/API_docs_v45/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v45/methods/messages_getMessages.md +++ b/old_docs/API_docs_v45/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_getMessagesViews.md b/old_docs/API_docs_v45/methods/messages_getMessagesViews.md index 57a99054..b2b6110e 100644 --- a/old_docs/API_docs_v45/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v45/methods/messages_getMessagesViews.md @@ -26,7 +26,7 @@ Get and increase message views ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ increment - Json encoded Bool Or, if you're into Lua: -``` +```lua Vector_of_int = messages.getMessagesViews({peer=InputPeer, id={int}, increment=Bool, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_getSavedGifs.md b/old_docs/API_docs_v45/methods/messages_getSavedGifs.md index cafba4e1..1a879907 100644 --- a/old_docs/API_docs_v45/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v45/methods/messages_getSavedGifs.md @@ -24,7 +24,7 @@ Get saved gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_getStickerSet.md b/old_docs/API_docs_v45/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/old_docs/API_docs_v45/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v45/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_getStickers.md b/old_docs/API_docs_v45/methods/messages_getStickers.md index b1d3bd83..f4ca9972 100644 --- a/old_docs/API_docs_v45/methods/messages_getStickers.md +++ b/old_docs/API_docs_v45/methods/messages_getStickers.md @@ -25,7 +25,7 @@ Get stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v45/methods/messages_getWebPagePreview.md index 8475c8f5..4838be94 100644 --- a/old_docs/API_docs_v45/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v45/methods/messages_getWebPagePreview.md @@ -24,7 +24,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_importChatInvite.md b/old_docs/API_docs_v45/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/old_docs/API_docs_v45/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v45/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_installStickerSet.md b/old_docs/API_docs_v45/methods/messages_installStickerSet.md index 1cd832e5..41be11e1 100644 --- a/old_docs/API_docs_v45/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v45/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ disabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.installStickerSet({stickerset=InputStickerSet, disabled=Bool, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_migrateChat.md b/old_docs/API_docs_v45/methods/messages_migrateChat.md index df91f510..e789ff7d 100644 --- a/old_docs/API_docs_v45/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v45/methods/messages_migrateChat.md @@ -24,7 +24,7 @@ Convert chat to supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.migrateChat({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_readHistory.md b/old_docs/API_docs_v45/methods/messages_readHistory.md index 48d7fb45..4a2188d8 100644 --- a/old_docs/API_docs_v45/methods/messages_readHistory.md +++ b/old_docs/API_docs_v45/methods/messages_readHistory.md @@ -25,7 +25,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_readMessageContents.md b/old_docs/API_docs_v45/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v45/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v45/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_receivedMessages.md b/old_docs/API_docs_v45/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/old_docs/API_docs_v45/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v45/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md index 8fb0d3da..372d870e 100644 --- a/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md @@ -24,7 +24,7 @@ Reorder sticker sets ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ order - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.reorderStickerSets({order={long}, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_reportSpam.md b/old_docs/API_docs_v45/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/old_docs/API_docs_v45/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v45/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_saveGif.md b/old_docs/API_docs_v45/methods/messages_saveGif.md index adae6d86..dfa956ab 100644 --- a/old_docs/API_docs_v45/methods/messages_saveGif.md +++ b/old_docs/API_docs_v45/methods/messages_saveGif.md @@ -25,7 +25,7 @@ Save a GIF ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveGif({id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_search.md b/old_docs/API_docs_v45/methods/messages_search.md index c39973e1..4a1f85e3 100644 --- a/old_docs/API_docs_v45/methods/messages_search.md +++ b/old_docs/API_docs_v45/methods/messages_search.md @@ -32,7 +32,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({important_only=Bool, peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_searchGifs.md b/old_docs/API_docs_v45/methods/messages_searchGifs.md index 1ef77d23..a12cdd21 100644 --- a/old_docs/API_docs_v45/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v45/methods/messages_searchGifs.md @@ -25,7 +25,7 @@ Search gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_searchGlobal.md b/old_docs/API_docs_v45/methods/messages_searchGlobal.md index 4d05bf0d..1fb73592 100644 --- a/old_docs/API_docs_v45/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v45/methods/messages_searchGlobal.md @@ -28,7 +28,7 @@ Global message search ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_sendBroadcast.md b/old_docs/API_docs_v45/methods/messages_sendBroadcast.md index 11f43d4c..5813ba9c 100644 --- a/old_docs/API_docs_v45/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v45/methods/messages_sendBroadcast.md @@ -26,7 +26,7 @@ Send a message to all users in the chat list ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua Updates = messages.sendBroadcast({contacts={InputUser}, message='string', media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_sendEncrypted.md b/old_docs/API_docs_v45/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v45/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v45/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v45/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v45/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v45/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md index 6be33475..4f06d93c 100644 --- a/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md @@ -28,7 +28,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.sendInlineBotResult({broadcast=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_sendMedia.md b/old_docs/API_docs_v45/methods/messages_sendMedia.md index 5b315147..e57e9e3a 100644 --- a/old_docs/API_docs_v45/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v45/methods/messages_sendMedia.md @@ -28,7 +28,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({broadcast=Bool, peer=InputPeer, reply_to_msg_id=int, media=InputMedia, reply_markup=ReplyMarkup, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_sendMessage.md b/old_docs/API_docs_v45/methods/messages_sendMessage.md index de30373d..b3360767 100644 --- a/old_docs/API_docs_v45/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v45/methods/messages_sendMessage.md @@ -31,7 +31,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMessage({no_webpage=Bool, broadcast=Bool, peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v45/methods/messages_setInlineBotResults.md index 62322f2b..0456eeed 100644 --- a/old_docs/API_docs_v45/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v45/methods/messages_setInlineBotResults.md @@ -29,7 +29,7 @@ Bots only: set the results of an inline query ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ next_offset - Json encoded string Or, if you're into Lua: -``` +```lua Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_setTyping.md b/old_docs/API_docs_v45/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v45/methods/messages_setTyping.md +++ b/old_docs/API_docs_v45/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_startBot.md b/old_docs/API_docs_v45/methods/messages_startBot.md index 506957a7..71f82822 100644 --- a/old_docs/API_docs_v45/methods/messages_startBot.md +++ b/old_docs/API_docs_v45/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md index 0f1e56fa..56438277 100644 --- a/old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md @@ -25,7 +25,7 @@ Enable all users are admins in normal groups (not supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = messages.toggleChatAdmins({chat_id=InputPeer, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v45/methods/photos_deletePhotos.md b/old_docs/API_docs_v45/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v45/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v45/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v45/methods/photos_getUserPhotos.md b/old_docs/API_docs_v45/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/old_docs/API_docs_v45/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v45/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md index 706f0a01..7341e4e7 100644 --- a/old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md @@ -25,7 +25,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md index 99064210..1debfc82 100644 --- a/old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md @@ -27,7 +27,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v45/methods/users_getUsers.md b/old_docs/API_docs_v45/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v45/methods/users_getUsers.md +++ b/old_docs/API_docs_v45/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v45/types/Chat.md b/old_docs/API_docs_v45/types/Chat.md index cd83aacb..58654e6e 100644 --- a/old_docs/API_docs_v45/types/Chat.md +++ b/old_docs/API_docs_v45/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v45/types/InputChannel.md b/old_docs/API_docs_v45/types/InputChannel.md index 3882099d..6dc802fc 100644 --- a/old_docs/API_docs_v45/types/InputChannel.md +++ b/old_docs/API_docs_v45/types/InputChannel.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputChannel = '@username'; // Username $InputChannel = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v45/types/InputEncryptedChat.md b/old_docs/API_docs_v45/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v45/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v45/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v45/types/InputEncryptedFile.md b/old_docs/API_docs_v45/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v45/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v45/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v45/types/InputFile.md b/old_docs/API_docs_v45/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v45/types/InputFile.md +++ b/old_docs/API_docs_v45/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v45/types/InputNotifyPeer.md b/old_docs/API_docs_v45/types/InputNotifyPeer.md index ffc1f0cf..f9d0a662 100644 --- a/old_docs/API_docs_v45/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v45/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v45/types/InputPeer.md b/old_docs/API_docs_v45/types/InputPeer.md index 2076c00b..2649db1a 100644 --- a/old_docs/API_docs_v45/types/InputPeer.md +++ b/old_docs/API_docs_v45/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v45/types/InputUser.md b/old_docs/API_docs_v45/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/old_docs/API_docs_v45/types/InputUser.md +++ b/old_docs/API_docs_v45/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v45/types/KeyboardButton.md b/old_docs/API_docs_v45/types/KeyboardButton.md index f292ca69..9de6a7fc 100644 --- a/old_docs/API_docs_v45/types/KeyboardButton.md +++ b/old_docs/API_docs_v45/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/old_docs/API_docs_v45/types/NotifyPeer.md b/old_docs/API_docs_v45/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v45/types/NotifyPeer.md +++ b/old_docs/API_docs_v45/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v45/types/Peer.md b/old_docs/API_docs_v45/types/Peer.md index ebb98e91..0ab7fdcc 100644 --- a/old_docs/API_docs_v45/types/Peer.md +++ b/old_docs/API_docs_v45/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v45/types/User.md b/old_docs/API_docs_v45/types/User.md index b145a3f8..5385caa4 100644 --- a/old_docs/API_docs_v45/types/User.md +++ b/old_docs/API_docs_v45/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v46/constructors/accountDaysTTL.md b/old_docs/API_docs_v46/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v46/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v46/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v46/constructors/account_authorizations.md b/old_docs/API_docs_v46/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v46/constructors/account_authorizations.md +++ b/old_docs/API_docs_v46/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v46/constructors/account_noPassword.md b/old_docs/API_docs_v46/constructors/account_noPassword.md index 81a483d6..63a4af6d 100644 --- a/old_docs/API_docs_v46/constructors/account_noPassword.md +++ b/old_docs/API_docs_v46/constructors/account_noPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -33,10 +33,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'emai ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/account_password.md b/old_docs/API_docs_v46/constructors/account_password.md index 9a8b31c6..5c4c334b 100644 --- a/old_docs/API_docs_v46/constructors/account_password.md +++ b/old_docs/API_docs_v46/constructors/account_password.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` @@ -36,10 +36,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v46/constructors/account_passwordInputSettings.md index f474e0c7..b5838f0a 100644 --- a/old_docs/API_docs_v46/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v46/constructors/account_passwordInputSettings.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v46/constructors/account_passwordSettings.md b/old_docs/API_docs_v46/constructors/account_passwordSettings.md index 27d14f59..04fc8621 100644 --- a/old_docs/API_docs_v46/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v46/constructors/account_passwordSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v46/constructors/account_privacyRules.md b/old_docs/API_docs_v46/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v46/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v46/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v46/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v46/constructors/account_sentChangePhoneCode.md index 7bfd04ab..34044265 100644 --- a/old_docs/API_docs_v46/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v46/constructors/account_sentChangePhoneCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; ``` @@ -33,10 +33,9 @@ $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} ``` diff --git a/old_docs/API_docs_v46/constructors/audio.md b/old_docs/API_docs_v46/constructors/audio.md index 1d899f64..785de6e2 100644 --- a/old_docs/API_docs_v46/constructors/audio.md +++ b/old_docs/API_docs_v46/constructors/audio.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int]; ``` @@ -38,10 +38,9 @@ $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audio={_='audio', id=long, access_hash=long, date=int, duration=int, mime_type='string', size=int, dc_id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/audioEmpty.md b/old_docs/API_docs_v46/constructors/audioEmpty.md index 2b0ed960..846367f4 100644 --- a/old_docs/API_docs_v46/constructors/audioEmpty.md +++ b/old_docs/API_docs_v46/constructors/audioEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $audioEmpty = ['_' => 'audioEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua audioEmpty={_='audioEmpty', id=long} ``` diff --git a/old_docs/API_docs_v46/constructors/auth_authorization.md b/old_docs/API_docs_v46/constructors/auth_authorization.md index bbe5a8b9..1a75a113 100644 --- a/old_docs/API_docs_v46/constructors/auth_authorization.md +++ b/old_docs/API_docs_v46/constructors/auth_authorization.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` @@ -32,10 +32,9 @@ $auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_authorization={_='auth.authorization', user=User} ``` diff --git a/old_docs/API_docs_v46/constructors/auth_checkedPhone.md b/old_docs/API_docs_v46/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v46/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v46/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v46/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v46/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v46/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v46/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v46/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v46/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v46/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v46/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v46/constructors/auth_sentAppCode.md b/old_docs/API_docs_v46/constructors/auth_sentAppCode.md index 1f354541..ec13efba 100644 --- a/old_docs/API_docs_v46/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v46/constructors/auth_sentAppCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'pho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v46/constructors/auth_sentCode.md b/old_docs/API_docs_v46/constructors/auth_sentCode.md index 01834b65..2b5301e1 100644 --- a/old_docs/API_docs_v46/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v46/constructors/auth_sentCode.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; ``` @@ -35,10 +35,9 @@ $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_cod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} ``` diff --git a/old_docs/API_docs_v46/constructors/authorization.md b/old_docs/API_docs_v46/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v46/constructors/authorization.md +++ b/old_docs/API_docs_v46/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v46/constructors/botCommand.md b/old_docs/API_docs_v46/constructors/botCommand.md index 8569358d..fcb65461 100644 --- a/old_docs/API_docs_v46/constructors/botCommand.md +++ b/old_docs/API_docs_v46/constructors/botCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v46/constructors/botInfo.md b/old_docs/API_docs_v46/constructors/botInfo.md index afa0de7c..86584a29 100644 --- a/old_docs/API_docs_v46/constructors/botInfo.md +++ b/old_docs/API_docs_v46/constructors/botInfo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => 'string', 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -36,10 +36,9 @@ $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInfo={_='botInfo', user_id=int, version=int, share_text='string', description='string', commands={BotCommand}} ``` diff --git a/old_docs/API_docs_v46/constructors/botInfoEmpty.md b/old_docs/API_docs_v46/constructors/botInfoEmpty.md index df42ad4b..7afd677c 100644 --- a/old_docs/API_docs_v46/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v46/constructors/botInfoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfoEmpty = ['_' => 'botInfoEmpty']; ``` @@ -27,10 +27,9 @@ $botInfoEmpty = ['_' => 'botInfoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInfoEmpty={_='botInfoEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/botInlineMediaResultDocument.md b/old_docs/API_docs_v46/constructors/botInlineMediaResultDocument.md index 5226ad77..838097ca 100644 --- a/old_docs/API_docs_v46/constructors/botInlineMediaResultDocument.md +++ b/old_docs/API_docs_v46/constructors/botInlineMediaResultDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMediaResultDocument = ['_' => 'botInlineMediaResultDocument', 'id' => 'string', 'type' => 'string', 'document' => Document, 'send_message' => BotInlineMessage]; ``` @@ -35,10 +35,9 @@ $botInlineMediaResultDocument = ['_' => 'botInlineMediaResultDocument', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMediaResultDocument={_='botInlineMediaResultDocument', id='string', type='string', document=Document, send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v46/constructors/botInlineMediaResultPhoto.md b/old_docs/API_docs_v46/constructors/botInlineMediaResultPhoto.md index ae3ef71d..fcc3be72 100644 --- a/old_docs/API_docs_v46/constructors/botInlineMediaResultPhoto.md +++ b/old_docs/API_docs_v46/constructors/botInlineMediaResultPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMediaResultPhoto = ['_' => 'botInlineMediaResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'send_message' => BotInlineMessage]; ``` @@ -35,10 +35,9 @@ $botInlineMediaResultPhoto = ['_' => 'botInlineMediaResultPhoto', 'id' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMediaResultPhoto={_='botInlineMediaResultPhoto', id='string', type='string', photo=Photo, send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v46/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v46/constructors/botInlineMessageMediaAuto.md index 39b7b84c..fb3bd94c 100644 --- a/old_docs/API_docs_v46/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v46/constructors/botInlineMessageMediaAuto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string']; ``` @@ -32,10 +32,9 @@ $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/botInlineMessageText.md b/old_docs/API_docs_v46/constructors/botInlineMessageText.md index 6794c10f..8d481b2c 100644 --- a/old_docs/API_docs_v46/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v46/constructors/botInlineMessageText.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v46/constructors/botInlineResult.md b/old_docs/API_docs_v46/constructors/botInlineResult.md index c7abbd71..8b6ead75 100644 --- a/old_docs/API_docs_v46/constructors/botInlineResult.md +++ b/old_docs/API_docs_v46/constructors/botInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` @@ -43,10 +43,9 @@ $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_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v46/constructors/channel.md b/old_docs/API_docs_v46/constructors/channel.md index 1830deb5..35e207d6 100644 --- a/old_docs/API_docs_v46/constructors/channel.md +++ b/old_docs/API_docs_v46/constructors/channel.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'username' => 'string', 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => 'string']; ``` @@ -48,10 +48,9 @@ $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, restricted=Bool, id=int, access_hash=long, title='string', username='string', photo=ChatPhoto, date=int, version=int, restriction_reason='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/channelForbidden.md b/old_docs/API_docs_v46/constructors/channelForbidden.md index cc8b60d1..6e168c38 100644 --- a/old_docs/API_docs_v46/constructors/channelForbidden.md +++ b/old_docs/API_docs_v46/constructors/channelForbidden.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` @@ -34,10 +34,9 @@ $channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelForbidden={_='channelForbidden', id=int, access_hash=long, title='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/channelFull.md b/old_docs/API_docs_v46/constructors/channelFull.md index 70916a7a..3fac209b 100644 --- a/old_docs/API_docs_v46/constructors/channelFull.md +++ b/old_docs/API_docs_v46/constructors/channelFull.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_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]; ``` @@ -46,10 +46,9 @@ $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelFull={_='channelFull', can_view_participants=Bool, id=int, about='string', participants_count=int, admins_count=int, kicked_count=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/channelMessagesFilter.md b/old_docs/API_docs_v46/constructors/channelMessagesFilter.md index f4d8feff..9b929e61 100644 --- a/old_docs/API_docs_v46/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v46/constructors/channelMessagesFilter.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]]; ``` @@ -34,10 +34,9 @@ $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilter={_='channelMessagesFilter', important_only=Bool, exclude_new_messages=Bool, ranges={MessageRange}} ``` diff --git a/old_docs/API_docs_v46/constructors/channelMessagesFilterCollapsed.md b/old_docs/API_docs_v46/constructors/channelMessagesFilterCollapsed.md index fa1fff29..770cc788 100644 --- a/old_docs/API_docs_v46/constructors/channelMessagesFilterCollapsed.md +++ b/old_docs/API_docs_v46/constructors/channelMessagesFilterCollapsed.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterCollapsed={_='channelMessagesFilterCollapsed'} ``` diff --git a/old_docs/API_docs_v46/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v46/constructors/channelMessagesFilterEmpty.md index 350e50de..a446b896 100644 --- a/old_docs/API_docs_v46/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v46/constructors/channelMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/channelParticipant.md b/old_docs/API_docs_v46/constructors/channelParticipant.md index c7de5400..dbcb792b 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipant.md +++ b/old_docs/API_docs_v46/constructors/channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v46/constructors/channelParticipantCreator.md b/old_docs/API_docs_v46/constructors/channelParticipantCreator.md index 86cafe0a..e999fb9c 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantCreator={_='channelParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/channelParticipantEditor.md b/old_docs/API_docs_v46/constructors/channelParticipantEditor.md index 37ae4bb0..7c7e4dc9 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantEditor.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v46/constructors/channelParticipantKicked.md b/old_docs/API_docs_v46/constructors/channelParticipantKicked.md index ccc454be..6bcc2e0f 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantKicked.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int} ``` diff --git a/old_docs/API_docs_v46/constructors/channelParticipantModerator.md b/old_docs/API_docs_v46/constructors/channelParticipantModerator.md index 90b4ab52..49c68acd 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantModerator.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v46/constructors/channelParticipantSelf.md b/old_docs/API_docs_v46/constructors/channelParticipantSelf.md index 83864972..4b5949ac 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantSelf.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v46/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v46/constructors/channelParticipantsAdmins.md index c86cb9a4..4b0c30d4 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantsAdmins.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` @@ -27,10 +27,9 @@ $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v46/constructors/channelParticipantsBots.md b/old_docs/API_docs_v46/constructors/channelParticipantsBots.md index 30875f94..66e510c7 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantsBots.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` @@ -27,10 +27,9 @@ $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v46/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v46/constructors/channelParticipantsKicked.md index 7f026ceb..38cf128e 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantsKicked.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` @@ -27,10 +27,9 @@ $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v46/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v46/constructors/channelParticipantsRecent.md index e4cb6466..51e57069 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantsRecent.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` @@ -27,10 +27,9 @@ $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v46/constructors/channelRoleEditor.md b/old_docs/API_docs_v46/constructors/channelRoleEditor.md index 86d953a9..1e472d2f 100644 --- a/old_docs/API_docs_v46/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v46/constructors/channelRoleEditor.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` @@ -27,10 +27,9 @@ $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v46/constructors/channelRoleEmpty.md b/old_docs/API_docs_v46/constructors/channelRoleEmpty.md index a50bb310..85d1c3fb 100644 --- a/old_docs/API_docs_v46/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v46/constructors/channelRoleEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` @@ -27,10 +27,9 @@ $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/channelRoleModerator.md b/old_docs/API_docs_v46/constructors/channelRoleModerator.md index 781f60ad..f242ff5c 100644 --- a/old_docs/API_docs_v46/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v46/constructors/channelRoleModerator.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` @@ -27,10 +27,9 @@ $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleModerator={_='channelRoleModerator'} ``` diff --git a/old_docs/API_docs_v46/constructors/channels_channelParticipant.md b/old_docs/API_docs_v46/constructors/channels_channelParticipant.md index bdf27b08..107502c5 100644 --- a/old_docs/API_docs_v46/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v46/constructors/channels_channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v46/constructors/channels_channelParticipants.md b/old_docs/API_docs_v46/constructors/channels_channelParticipants.md index 1b76b1e0..0402423f 100644 --- a/old_docs/API_docs_v46/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v46/constructors/channels_channelParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v46/constructors/chat.md b/old_docs/API_docs_v46/constructors/chat.md index 5ae1811d..b6f24f3e 100644 --- a/old_docs/API_docs_v46/constructors/chat.md +++ b/old_docs/API_docs_v46/constructors/chat.md @@ -33,7 +33,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -44,10 +44,9 @@ $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} ``` diff --git a/old_docs/API_docs_v46/constructors/chatEmpty.md b/old_docs/API_docs_v46/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v46/constructors/chatEmpty.md +++ b/old_docs/API_docs_v46/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/chatForbidden.md b/old_docs/API_docs_v46/constructors/chatForbidden.md index de5bb302..61c45660 100644 --- a/old_docs/API_docs_v46/constructors/chatForbidden.md +++ b/old_docs/API_docs_v46/constructors/chatForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v46/constructors/chatFull.md b/old_docs/API_docs_v46/constructors/chatFull.md index 6e138596..2a5f67f6 100644 --- a/old_docs/API_docs_v46/constructors/chatFull.md +++ b/old_docs/API_docs_v46/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v46/constructors/chatInvite.md b/old_docs/API_docs_v46/constructors/chatInvite.md index 6cf6e489..3c3a0001 100644 --- a/old_docs/API_docs_v46/constructors/chatInvite.md +++ b/old_docs/API_docs_v46/constructors/chatInvite.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string']; ``` @@ -36,10 +36,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v46/constructors/chatInviteAlready.md b/old_docs/API_docs_v46/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/old_docs/API_docs_v46/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v46/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/old_docs/API_docs_v46/constructors/chatInviteEmpty.md b/old_docs/API_docs_v46/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/old_docs/API_docs_v46/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v46/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/chatInviteExported.md b/old_docs/API_docs_v46/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/old_docs/API_docs_v46/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v46/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/chatParticipant.md b/old_docs/API_docs_v46/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v46/constructors/chatParticipant.md +++ b/old_docs/API_docs_v46/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v46/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v46/constructors/chatParticipantAdmin.md index 62aee9a4..63a38575 100644 --- a/old_docs/API_docs_v46/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v46/constructors/chatParticipantAdmin.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v46/constructors/chatParticipantCreator.md b/old_docs/API_docs_v46/constructors/chatParticipantCreator.md index 0fb7b6ef..75b9c4d4 100644 --- a/old_docs/API_docs_v46/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v46/constructors/chatParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantCreator={_='chatParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/chatParticipants.md b/old_docs/API_docs_v46/constructors/chatParticipants.md index 38af2ca5..ae254290 100644 --- a/old_docs/API_docs_v46/constructors/chatParticipants.md +++ b/old_docs/API_docs_v46/constructors/chatParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v46/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v46/constructors/chatParticipantsForbidden.md index 2ecdfe10..639b30ee 100644 --- a/old_docs/API_docs_v46/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v46/constructors/chatParticipantsForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v46/constructors/chatPhoto.md b/old_docs/API_docs_v46/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v46/constructors/chatPhoto.md +++ b/old_docs/API_docs_v46/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v46/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v46/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v46/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v46/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/config.md b/old_docs/API_docs_v46/constructors/config.md index 0bf287c1..621e396c 100644 --- a/old_docs/API_docs_v46/constructors/config.md +++ b/old_docs/API_docs_v46/constructors/config.md @@ -39,7 +39,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -50,10 +50,9 @@ $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v46/constructors/contact.md b/old_docs/API_docs_v46/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v46/constructors/contact.md +++ b/old_docs/API_docs_v46/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v46/constructors/contactBlocked.md b/old_docs/API_docs_v46/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v46/constructors/contactBlocked.md +++ b/old_docs/API_docs_v46/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v46/constructors/contactLinkContact.md b/old_docs/API_docs_v46/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v46/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v46/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v46/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v46/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v46/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v46/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v46/constructors/contactLinkNone.md b/old_docs/API_docs_v46/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v46/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v46/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v46/constructors/contactLinkUnknown.md b/old_docs/API_docs_v46/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v46/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v46/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v46/constructors/contactStatus.md b/old_docs/API_docs_v46/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v46/constructors/contactStatus.md +++ b/old_docs/API_docs_v46/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v46/constructors/contactSuggested.md b/old_docs/API_docs_v46/constructors/contactSuggested.md index 7dc8105c..e90bf7c9 100644 --- a/old_docs/API_docs_v46/constructors/contactSuggested.md +++ b/old_docs/API_docs_v46/constructors/contactSuggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int]; ``` @@ -33,10 +33,9 @@ $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int} ``` diff --git a/old_docs/API_docs_v46/constructors/contacts_blocked.md b/old_docs/API_docs_v46/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v46/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v46/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v46/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v46/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v46/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v46/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v46/constructors/contacts_contacts.md b/old_docs/API_docs_v46/constructors/contacts_contacts.md index 34dae91a..ea16b38a 100644 --- a/old_docs/API_docs_v46/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v46/constructors/contacts_contacts.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} ``` diff --git a/old_docs/API_docs_v46/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v46/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v46/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v46/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v46/constructors/contacts_found.md b/old_docs/API_docs_v46/constructors/contacts_found.md index 7e0e458c..624fa475 100644 --- a/old_docs/API_docs_v46/constructors/contacts_found.md +++ b/old_docs/API_docs_v46/constructors/contacts_found.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v46/constructors/contacts_importedContacts.md b/old_docs/API_docs_v46/constructors/contacts_importedContacts.md index 7bf9c1bf..8b9012bb 100644 --- a/old_docs/API_docs_v46/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v46/constructors/contacts_importedContacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v46/constructors/contacts_link.md b/old_docs/API_docs_v46/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v46/constructors/contacts_link.md +++ b/old_docs/API_docs_v46/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v46/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v46/constructors/contacts_resolvedPeer.md index add29235..4aa323dd 100644 --- a/old_docs/API_docs_v46/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v46/constructors/contacts_resolvedPeer.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v46/constructors/contacts_suggested.md b/old_docs/API_docs_v46/constructors/contacts_suggested.md index 553cebcb..2659d855 100644 --- a/old_docs/API_docs_v46/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v46/constructors/contacts_suggested.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggest ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} ``` diff --git a/old_docs/API_docs_v46/constructors/dcOption.md b/old_docs/API_docs_v46/constructors/dcOption.md index 176671ce..72ecd652 100644 --- a/old_docs/API_docs_v46/constructors/dcOption.md +++ b/old_docs/API_docs_v46/constructors/dcOption.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` @@ -36,10 +36,9 @@ $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', ipv6=Bool, media_only=Bool, id=int, ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v46/constructors/dialog.md b/old_docs/API_docs_v46/constructors/dialog.md index cbb327d6..539225bf 100644 --- a/old_docs/API_docs_v46/constructors/dialog.md +++ b/old_docs/API_docs_v46/constructors/dialog.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` @@ -36,10 +36,9 @@ $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_ma ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v46/constructors/dialogChannel.md b/old_docs/API_docs_v46/constructors/dialogChannel.md index 298ffa24..918b6bed 100644 --- a/old_docs/API_docs_v46/constructors/dialogChannel.md +++ b/old_docs/API_docs_v46/constructors/dialogChannel.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int]; ``` @@ -39,10 +39,9 @@ $dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialogChannel={_='dialogChannel', peer=Peer, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, notify_settings=PeerNotifySettings, pts=int} ``` diff --git a/old_docs/API_docs_v46/constructors/disabledFeature.md b/old_docs/API_docs_v46/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v46/constructors/disabledFeature.md +++ b/old_docs/API_docs_v46/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/document.md b/old_docs/API_docs_v46/constructors/document.md index 8719d873..e9547f1f 100644 --- a/old_docs/API_docs_v46/constructors/document.md +++ b/old_docs/API_docs_v46/constructors/document.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -39,10 +39,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v46/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v46/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v46/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v46/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v46/constructors/documentAttributeAudio.md b/old_docs/API_docs_v46/constructors/documentAttributeAudio.md index 8fb77965..8bf344bb 100644 --- a/old_docs/API_docs_v46/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v46/constructors/documentAttributeAudio.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => 'string', 'performer' => 'string']; ``` @@ -34,10 +34,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', duration=int, title='string', performer='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/documentAttributeFilename.md b/old_docs/API_docs_v46/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v46/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v46/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v46/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v46/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v46/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v46/constructors/documentAttributeSticker.md b/old_docs/API_docs_v46/constructors/documentAttributeSticker.md index d44d94cd..397679ef 100644 --- a/old_docs/API_docs_v46/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v46/constructors/documentAttributeSticker.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` @@ -33,10 +33,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', alt='string', stickerset=InputStickerSet} ``` diff --git a/old_docs/API_docs_v46/constructors/documentAttributeVideo.md b/old_docs/API_docs_v46/constructors/documentAttributeVideo.md index 0902c118..cc7ffced 100644 --- a/old_docs/API_docs_v46/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v46/constructors/documentAttributeVideo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -34,10 +34,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v46/constructors/documentEmpty.md b/old_docs/API_docs_v46/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v46/constructors/documentEmpty.md +++ b/old_docs/API_docs_v46/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v46/constructors/encryptedChat.md b/old_docs/API_docs_v46/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v46/constructors/encryptedChat.md +++ b/old_docs/API_docs_v46/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v46/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v46/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v46/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v46/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v46/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v46/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v46/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/encryptedChatRequested.md b/old_docs/API_docs_v46/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v46/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v46/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v46/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v46/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v46/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v46/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/encryptedFile.md b/old_docs/API_docs_v46/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v46/constructors/encryptedFile.md +++ b/old_docs/API_docs_v46/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v46/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v46/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v46/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v46/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/encryptedMessage.md b/old_docs/API_docs_v46/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v46/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v46/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v46/constructors/encryptedMessageService.md b/old_docs/API_docs_v46/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v46/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v46/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v46/constructors/error.md b/old_docs/API_docs_v46/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v46/constructors/error.md +++ b/old_docs/API_docs_v46/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/fileLocation.md b/old_docs/API_docs_v46/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v46/constructors/fileLocation.md +++ b/old_docs/API_docs_v46/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v46/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v46/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v46/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v46/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v46/constructors/foundGif.md b/old_docs/API_docs_v46/constructors/foundGif.md index d8ee3695..c2f0ce33 100644 --- a/old_docs/API_docs_v46/constructors/foundGif.md +++ b/old_docs/API_docs_v46/constructors/foundGif.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` @@ -37,10 +37,9 @@ $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'con ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGif={_='foundGif', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int} ``` diff --git a/old_docs/API_docs_v46/constructors/foundGifCached.md b/old_docs/API_docs_v46/constructors/foundGifCached.md index e4a1a552..03e67917 100644 --- a/old_docs/API_docs_v46/constructors/foundGifCached.md +++ b/old_docs/API_docs_v46/constructors/foundGifCached.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -34,10 +34,9 @@ $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGifCached={_='foundGifCached', url='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v46/constructors/geoPoint.md b/old_docs/API_docs_v46/constructors/geoPoint.md index c1f95843..974bd08b 100644 --- a/old_docs/API_docs_v46/constructors/geoPoint.md +++ b/old_docs/API_docs_v46/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'longitude' => double, 'latitude' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'longitude' => double, 'latitude' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', longitude=double, latitude=double} ``` diff --git a/old_docs/API_docs_v46/constructors/geoPointEmpty.md b/old_docs/API_docs_v46/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v46/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v46/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/help_appChangelog.md b/old_docs/API_docs_v46/constructors/help_appChangelog.md index 5b7b353a..d30f8acd 100644 --- a/old_docs/API_docs_v46/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v46/constructors/help_appChangelog.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelog={_='help.appChangelog', text='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v46/constructors/help_appChangelogEmpty.md index 0f0827c3..e20017b7 100644 --- a/old_docs/API_docs_v46/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v46/constructors/help_appChangelogEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` @@ -27,10 +27,9 @@ $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelogEmpty={_='help.appChangelogEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/help_appUpdate.md b/old_docs/API_docs_v46/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v46/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v46/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/help_inviteText.md b/old_docs/API_docs_v46/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v46/constructors/help_inviteText.md +++ b/old_docs/API_docs_v46/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/help_noAppUpdate.md b/old_docs/API_docs_v46/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v46/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v46/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v46/constructors/help_support.md b/old_docs/API_docs_v46/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v46/constructors/help_support.md +++ b/old_docs/API_docs_v46/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v46/constructors/help_termsOfService.md b/old_docs/API_docs_v46/constructors/help_termsOfService.md index 8e558bed..ec7a8121 100644 --- a/old_docs/API_docs_v46/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v46/constructors/help_termsOfService.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_termsOfService={_='help.termsOfService', text='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/importedContact.md b/old_docs/API_docs_v46/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v46/constructors/importedContact.md +++ b/old_docs/API_docs_v46/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v46/constructors/inputAppEvent.md b/old_docs/API_docs_v46/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v46/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v46/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputAudio.md b/old_docs/API_docs_v46/constructors/inputAudio.md index c428307e..ac1c82e3 100644 --- a/old_docs/API_docs_v46/constructors/inputAudio.md +++ b/old_docs/API_docs_v46/constructors/inputAudio.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudio={_='inputAudio', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v46/constructors/inputAudioEmpty.md b/old_docs/API_docs_v46/constructors/inputAudioEmpty.md index a84b3e67..b0b4e934 100644 --- a/old_docs/API_docs_v46/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputAudioEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` @@ -27,10 +27,9 @@ $inputAudioEmpty = ['_' => 'inputAudioEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioEmpty={_='inputAudioEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v46/constructors/inputAudioFileLocation.md index f95ad919..a2633244 100644 --- a/old_docs/API_docs_v46/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v46/constructors/inputAudioFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAudioFileLocation={_='inputAudioFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v46/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v46/constructors/inputBotInlineMessageMediaAuto.md index 61bd0fcf..b0f76bc1 100644 --- a/old_docs/API_docs_v46/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v46/constructors/inputBotInlineMessageMediaAuto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string']; ``` @@ -32,10 +32,9 @@ $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'cap ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v46/constructors/inputBotInlineMessageText.md index e8207b71..97a744bb 100644 --- a/old_docs/API_docs_v46/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v46/constructors/inputBotInlineMessageText.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v46/constructors/inputBotInlineResult.md b/old_docs/API_docs_v46/constructors/inputBotInlineResult.md index 668af514..34148d70 100644 --- a/old_docs/API_docs_v46/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v46/constructors/inputBotInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` @@ -43,10 +43,9 @@ $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v46/constructors/inputChannel.md b/old_docs/API_docs_v46/constructors/inputChannel.md index b5cb3566..34ed10ca 100644 --- a/old_docs/API_docs_v46/constructors/inputChannel.md +++ b/old_docs/API_docs_v46/constructors/inputChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannel={_='inputChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v46/constructors/inputChannelEmpty.md b/old_docs/API_docs_v46/constructors/inputChannelEmpty.md index f7e18434..bd53602b 100644 --- a/old_docs/API_docs_v46/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputChannelEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` @@ -27,10 +27,9 @@ $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputChatPhoto.md b/old_docs/API_docs_v46/constructors/inputChatPhoto.md index 5affda9a..7ad8a3f7 100644 --- a/old_docs/API_docs_v46/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v46/constructors/inputChatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputP ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v46/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v46/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v46/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v46/constructors/inputChatUploadedPhoto.md index a22405b2..ed0624da 100644 --- a/old_docs/API_docs_v46/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v46/constructors/inputChatUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v46/constructors/inputDocument.md b/old_docs/API_docs_v46/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v46/constructors/inputDocument.md +++ b/old_docs/API_docs_v46/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v46/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v46/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v46/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v46/constructors/inputDocumentFileLocation.md index 2ba7d2b3..5d593784 100644 --- a/old_docs/API_docs_v46/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v46/constructors/inputDocumentFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v46/constructors/inputEncryptedChat.md b/old_docs/API_docs_v46/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v46/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v46/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v46/constructors/inputEncryptedFile.md b/old_docs/API_docs_v46/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v46/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v46/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v46/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v46/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v46/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v46/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v46/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v46/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v46/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v46/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v46/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v46/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v46/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v46/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v46/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v46/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v46/constructors/inputFile.md b/old_docs/API_docs_v46/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v46/constructors/inputFile.md +++ b/old_docs/API_docs_v46/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputFileBig.md b/old_docs/API_docs_v46/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v46/constructors/inputFileBig.md +++ b/old_docs/API_docs_v46/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputFileLocation.md b/old_docs/API_docs_v46/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v46/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v46/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v46/constructors/inputGeoPoint.md b/old_docs/API_docs_v46/constructors/inputGeoPoint.md index 4ad80c06..78e6d22f 100644 --- a/old_docs/API_docs_v46/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v46/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'latitude' => double, 'longitude' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'latitude' => double, 'longitude' => d ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', latitude=double, longitude=double} ``` diff --git a/old_docs/API_docs_v46/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v46/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v46/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMediaAudio.md b/old_docs/API_docs_v46/constructors/inputMediaAudio.md index 7c3dabe9..9d9f0277 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v46/constructors/inputMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaAudio = ['_' => 'inputMediaAudio', 'audio' => InputAudio]; ``` @@ -32,10 +32,9 @@ $inputMediaAudio = ['_' => 'inputMediaAudio', 'audio' => InputAudio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaAudio={_='inputMediaAudio', audio=InputAudio} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMediaContact.md b/old_docs/API_docs_v46/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v46/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMediaDocument.md b/old_docs/API_docs_v46/constructors/inputMediaDocument.md index 001b49e4..322f59af 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v46/constructors/inputMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'document_id' => InputDocument, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'document_id' => InputDocume ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', document_id=InputDocument, caption='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMediaEmpty.md b/old_docs/API_docs_v46/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v46/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v46/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v46/constructors/inputMediaGifExternal.md index cf68972a..14153a43 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v46/constructors/inputMediaGifExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGifExternal={_='inputMediaGifExternal', url='string', q='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMediaPhoto.md b/old_docs/API_docs_v46/constructors/inputMediaPhoto.md index 0be7f6fe..71f4ded5 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v46/constructors/inputMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v46/constructors/inputMediaUploadedAudio.md index 4eb4cb85..73fcb4f8 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v46/constructors/inputMediaUploadedAudio.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedAudio={_='inputMediaUploadedAudio', file=InputFile, duration=int, mime_type='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v46/constructors/inputMediaUploadedDocument.md index e70c2a9c..d3887568 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v46/constructors/inputMediaUploadedDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string']; ``` @@ -35,10 +35,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v46/constructors/inputMediaUploadedPhoto.md index 499857ce..ad2a8680 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v46/constructors/inputMediaUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v46/constructors/inputMediaUploadedThumbDocument.md index 7a6c823e..f5a601a7 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v46/constructors/inputMediaUploadedThumbDocument.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v46/constructors/inputMediaUploadedThumbVideo.md index 0a4afc86..e9d00c6e 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v46/constructors/inputMediaUploadedThumbVideo.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` @@ -38,10 +38,9 @@ $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type='string', caption='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v46/constructors/inputMediaUploadedVideo.md index 2409751b..b3984571 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v46/constructors/inputMediaUploadedVideo.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string', 'caption' => 'string']; ``` @@ -37,10 +37,9 @@ $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type='string', caption='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMediaVenue.md b/old_docs/API_docs_v46/constructors/inputMediaVenue.md index 3e7ee3a1..b2171fbc 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v46/constructors/inputMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMediaVideo.md b/old_docs/API_docs_v46/constructors/inputMediaVideo.md index d75d201c..a3f7de48 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v46/constructors/inputMediaVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVideo = ['_' => 'inputMediaVideo', 'video' => InputVideo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaVideo = ['_' => 'inputMediaVideo', 'video' => InputVideo, 'caption' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVideo={_='inputMediaVideo', video=InputVideo, caption='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterAudio.md index 066b1642..79c822fc 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterAudio.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterAudio={_='inputMessagesFilterAudio'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterAudioDocuments.md index 7badd17c..a8963d46 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterAudioDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterAudioDocuments={_='inputMessagesFilterAudioDocuments'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterGif.md index 94698ecd..a3a51104 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputNotifyAll.md b/old_docs/API_docs_v46/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v46/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v46/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputNotifyChats.md b/old_docs/API_docs_v46/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v46/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v46/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputNotifyPeer.md b/old_docs/API_docs_v46/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v46/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v46/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v46/constructors/inputNotifyUsers.md b/old_docs/API_docs_v46/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v46/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v46/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPeerChannel.md b/old_docs/API_docs_v46/constructors/inputPeerChannel.md index 8b84fe20..14c2f105 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v46/constructors/inputPeerChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPeerChat.md b/old_docs/API_docs_v46/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v46/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPeerEmpty.md b/old_docs/API_docs_v46/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v46/constructors/inputPeerNotifySettings.md index ce1896bb..a600e880 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v46/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPeerSelf.md b/old_docs/API_docs_v46/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v46/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPeerUser.md b/old_docs/API_docs_v46/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v46/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPhoneContact.md b/old_docs/API_docs_v46/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v46/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v46/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPhoto.md b/old_docs/API_docs_v46/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v46/constructors/inputPhoto.md +++ b/old_docs/API_docs_v46/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPhotoCrop.md b/old_docs/API_docs_v46/constructors/inputPhotoCrop.md index b35bf42f..e90029a9 100644 --- a/old_docs/API_docs_v46/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v46/constructors/inputPhotoCrop.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` @@ -34,10 +34,9 @@ $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v46/constructors/inputPhotoCropAuto.md index 6c2f121d..37414b14 100644 --- a/old_docs/API_docs_v46/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v46/constructors/inputPhotoCropAuto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` @@ -27,10 +27,9 @@ $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v46/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v46/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v46/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v46/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v46/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v46/constructors/inputReportReasonOther.md b/old_docs/API_docs_v46/constructors/inputReportReasonOther.md index 361582bd..4dbffa18 100644 --- a/old_docs/API_docs_v46/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v46/constructors/inputReportReasonOther.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonOther={_='inputReportReasonOther', text='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v46/constructors/inputReportReasonPornography.md index c18c71d3..5c80f096 100644 --- a/old_docs/API_docs_v46/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v46/constructors/inputReportReasonPornography.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` @@ -27,10 +27,9 @@ $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v46/constructors/inputReportReasonSpam.md index 19ed6687..75d59861 100644 --- a/old_docs/API_docs_v46/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v46/constructors/inputReportReasonSpam.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` @@ -27,10 +27,9 @@ $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v46/constructors/inputReportReasonViolence.md index 10fbce47..28d27e85 100644 --- a/old_docs/API_docs_v46/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v46/constructors/inputReportReasonViolence.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` @@ -27,10 +27,9 @@ $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v46/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/old_docs/API_docs_v46/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputStickerSetID.md b/old_docs/API_docs_v46/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/old_docs/API_docs_v46/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v46/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v46/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v46/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/old_docs/API_docs_v46/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v46/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputUser.md b/old_docs/API_docs_v46/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/old_docs/API_docs_v46/constructors/inputUser.md +++ b/old_docs/API_docs_v46/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v46/constructors/inputUserEmpty.md b/old_docs/API_docs_v46/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v46/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputUserSelf.md b/old_docs/API_docs_v46/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v46/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v46/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputVideo.md b/old_docs/API_docs_v46/constructors/inputVideo.md index 4ea87c56..b3874cd7 100644 --- a/old_docs/API_docs_v46/constructors/inputVideo.md +++ b/old_docs/API_docs_v46/constructors/inputVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideo={_='inputVideo', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v46/constructors/inputVideoEmpty.md b/old_docs/API_docs_v46/constructors/inputVideoEmpty.md index b69984f7..5322ed90 100644 --- a/old_docs/API_docs_v46/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputVideoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` @@ -27,10 +27,9 @@ $inputVideoEmpty = ['_' => 'inputVideoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoEmpty={_='inputVideoEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v46/constructors/inputVideoFileLocation.md index 2692222e..d9a3f678 100644 --- a/old_docs/API_docs_v46/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v46/constructors/inputVideoFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'acces ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputVideoFileLocation={_='inputVideoFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v46/constructors/keyboardButton.md b/old_docs/API_docs_v46/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/old_docs/API_docs_v46/constructors/keyboardButton.md +++ b/old_docs/API_docs_v46/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/keyboardButtonRow.md b/old_docs/API_docs_v46/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/old_docs/API_docs_v46/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v46/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/old_docs/API_docs_v46/constructors/message.md b/old_docs/API_docs_v46/constructors/message.md index 84bd8db6..fd174639 100644 --- a/old_docs/API_docs_v46/constructors/message.md +++ b/old_docs/API_docs_v46/constructors/message.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'views' => int]; ``` @@ -48,10 +48,9 @@ $message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, fwd_from_id=Peer, fwd_date=int, via_bot_id=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int} ``` diff --git a/old_docs/API_docs_v46/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v46/constructors/messageActionChannelCreate.md index b1750d73..2600ab63 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v46/constructors/messageActionChannelCreate.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v46/constructors/messageActionChannelMigrateFrom.md index add136dc..1fdcf3f4 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v46/constructors/messageActionChannelMigrateFrom.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 't ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v46/constructors/messageActionChatAddUser.md index 9c7de7f8..283365cd 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', users={int}} ``` diff --git a/old_docs/API_docs_v46/constructors/messageActionChatCreate.md b/old_docs/API_docs_v46/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v46/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v46/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v46/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v46/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v46/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v46/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v46/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v46/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v46/constructors/messageActionChatMigrateTo.md index 21d2cb22..8ace1091 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatMigrateTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/messageActionEmpty.md b/old_docs/API_docs_v46/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v46/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v46/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/messageEmpty.md b/old_docs/API_docs_v46/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v46/constructors/messageEmpty.md +++ b/old_docs/API_docs_v46/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/messageEntityBold.md b/old_docs/API_docs_v46/constructors/messageEntityBold.md index 950699fb..90f74ad5 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v46/constructors/messageEntityBold.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v46/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v46/constructors/messageEntityBotCommand.md index 8be471d3..9fb8f6a6 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v46/constructors/messageEntityBotCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v46/constructors/messageEntityCode.md b/old_docs/API_docs_v46/constructors/messageEntityCode.md index 7c701844..d236e57e 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v46/constructors/messageEntityCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v46/constructors/messageEntityEmail.md b/old_docs/API_docs_v46/constructors/messageEntityEmail.md index 35a968c7..74e910f3 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v46/constructors/messageEntityEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v46/constructors/messageEntityHashtag.md b/old_docs/API_docs_v46/constructors/messageEntityHashtag.md index 6b124e73..77e29387 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v46/constructors/messageEntityHashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v46/constructors/messageEntityItalic.md b/old_docs/API_docs_v46/constructors/messageEntityItalic.md index 25f73428..5975bae2 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v46/constructors/messageEntityItalic.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v46/constructors/messageEntityMention.md b/old_docs/API_docs_v46/constructors/messageEntityMention.md index 9eb4d266..1a21cb10 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v46/constructors/messageEntityMention.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v46/constructors/messageEntityPre.md b/old_docs/API_docs_v46/constructors/messageEntityPre.md index abfc9136..13b165fe 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v46/constructors/messageEntityPre.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPre={_='messageEntityPre', offset=int, length=int, language='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v46/constructors/messageEntityTextUrl.md index 91f6d36c..b6d82843 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v46/constructors/messageEntityTextUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/messageEntityUnknown.md b/old_docs/API_docs_v46/constructors/messageEntityUnknown.md index 69ca8a1b..4c434fd7 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v46/constructors/messageEntityUnknown.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v46/constructors/messageEntityUrl.md b/old_docs/API_docs_v46/constructors/messageEntityUrl.md index 377c3dda..2cf334a5 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v46/constructors/messageEntityUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v46/constructors/messageGroup.md b/old_docs/API_docs_v46/constructors/messageGroup.md index 31de6cb4..ee695490 100644 --- a/old_docs/API_docs_v46/constructors/messageGroup.md +++ b/old_docs/API_docs_v46/constructors/messageGroup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int]; ``` @@ -35,10 +35,9 @@ $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageGroup={_='messageGroup', min_id=int, max_id=int, count=int, date=int} ``` diff --git a/old_docs/API_docs_v46/constructors/messageMediaAudio.md b/old_docs/API_docs_v46/constructors/messageMediaAudio.md index c2970836..4f350752 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v46/constructors/messageMediaAudio.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` @@ -32,10 +32,9 @@ $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaAudio={_='messageMediaAudio', audio=Audio} ``` diff --git a/old_docs/API_docs_v46/constructors/messageMediaContact.md b/old_docs/API_docs_v46/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v46/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/messageMediaDocument.md b/old_docs/API_docs_v46/constructors/messageMediaDocument.md index 1f584a82..44199179 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v46/constructors/messageMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document, caption='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/messageMediaEmpty.md b/old_docs/API_docs_v46/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v46/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/messageMediaGeo.md b/old_docs/API_docs_v46/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v46/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v46/constructors/messageMediaPhoto.md b/old_docs/API_docs_v46/constructors/messageMediaPhoto.md index 47579066..7350efce 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v46/constructors/messageMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v46/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v46/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v46/constructors/messageMediaVenue.md b/old_docs/API_docs_v46/constructors/messageMediaVenue.md index 2db2d25d..2ef2b27f 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v46/constructors/messageMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/messageMediaVideo.md b/old_docs/API_docs_v46/constructors/messageMediaVideo.md index 444b12eb..694f6928 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v46/constructors/messageMediaVideo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVideo={_='messageMediaVideo', video=Video, caption='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/messageMediaWebPage.md b/old_docs/API_docs_v46/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v46/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v46/constructors/messageRange.md b/old_docs/API_docs_v46/constructors/messageRange.md index 40c3f81a..527e8646 100644 --- a/old_docs/API_docs_v46/constructors/messageRange.md +++ b/old_docs/API_docs_v46/constructors/messageRange.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageRange={_='messageRange', min_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/messageService.md b/old_docs/API_docs_v46/constructors/messageService.md index 138cbb18..6baa427c 100644 --- a/old_docs/API_docs_v46/constructors/messageService.md +++ b/old_docs/API_docs_v46/constructors/messageService.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction]; ``` @@ -40,10 +40,9 @@ $messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'me ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v46/constructors/messages_affectedHistory.md b/old_docs/API_docs_v46/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v46/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v46/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v46/constructors/messages_affectedMessages.md b/old_docs/API_docs_v46/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v46/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v46/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v46/constructors/messages_allStickers.md b/old_docs/API_docs_v46/constructors/messages_allStickers.md index 2a7d1313..45a66ddf 100644 --- a/old_docs/API_docs_v46/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v46/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} ``` diff --git a/old_docs/API_docs_v46/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v46/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v46/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v46/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v46/constructors/messages_botResults.md b/old_docs/API_docs_v46/constructors/messages_botResults.md index 1ebdef99..8703c6cf 100644 --- a/old_docs/API_docs_v46/constructors/messages_botResults.md +++ b/old_docs/API_docs_v46/constructors/messages_botResults.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'results' => [BotInlineResult, BotInlineResult]]; ``` @@ -35,10 +35,9 @@ $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', results={BotInlineResult}} ``` diff --git a/old_docs/API_docs_v46/constructors/messages_channelMessages.md b/old_docs/API_docs_v46/constructors/messages_channelMessages.md index 8948bf1d..eadc5001 100644 --- a/old_docs/API_docs_v46/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v46/constructors/messages_channelMessages.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -37,10 +37,9 @@ $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'c ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v46/constructors/messages_chatFull.md b/old_docs/API_docs_v46/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v46/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v46/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v46/constructors/messages_chats.md b/old_docs/API_docs_v46/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v46/constructors/messages_chats.md +++ b/old_docs/API_docs_v46/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v46/constructors/messages_dhConfig.md b/old_docs/API_docs_v46/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v46/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v46/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v46/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v46/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v46/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v46/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v46/constructors/messages_dialogs.md b/old_docs/API_docs_v46/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v46/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v46/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v46/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v46/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v46/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v46/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v46/constructors/messages_foundGifs.md b/old_docs/API_docs_v46/constructors/messages_foundGifs.md index f86a9fed..4d513264 100644 --- a/old_docs/API_docs_v46/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v46/constructors/messages_foundGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; ``` @@ -33,10 +33,9 @@ $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'resul ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} ``` diff --git a/old_docs/API_docs_v46/constructors/messages_messages.md b/old_docs/API_docs_v46/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v46/constructors/messages_messages.md +++ b/old_docs/API_docs_v46/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v46/constructors/messages_messagesSlice.md b/old_docs/API_docs_v46/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v46/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v46/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v46/constructors/messages_savedGifs.md b/old_docs/API_docs_v46/constructors/messages_savedGifs.md index 4a254ab5..ae7e595f 100644 --- a/old_docs/API_docs_v46/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v46/constructors/messages_savedGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Do ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} ``` diff --git a/old_docs/API_docs_v46/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v46/constructors/messages_savedGifsNotModified.md index 65c17d0c..ef0db669 100644 --- a/old_docs/API_docs_v46/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v46/constructors/messages_savedGifsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` @@ -27,10 +27,9 @@ $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifsNotModified={_='messages.savedGifsNotModified'} ``` diff --git a/old_docs/API_docs_v46/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v46/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v46/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v46/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v46/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v46/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v46/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v46/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v46/constructors/messages_stickerSet.md b/old_docs/API_docs_v46/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/old_docs/API_docs_v46/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v46/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v46/constructors/messages_stickers.md b/old_docs/API_docs_v46/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v46/constructors/messages_stickers.md +++ b/old_docs/API_docs_v46/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v46/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v46/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v46/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v46/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v46/constructors/nearestDc.md b/old_docs/API_docs_v46/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v46/constructors/nearestDc.md +++ b/old_docs/API_docs_v46/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v46/constructors/notifyAll.md b/old_docs/API_docs_v46/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v46/constructors/notifyAll.md +++ b/old_docs/API_docs_v46/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v46/constructors/notifyChats.md b/old_docs/API_docs_v46/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v46/constructors/notifyChats.md +++ b/old_docs/API_docs_v46/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v46/constructors/notifyPeer.md b/old_docs/API_docs_v46/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v46/constructors/notifyPeer.md +++ b/old_docs/API_docs_v46/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v46/constructors/notifyUsers.md b/old_docs/API_docs_v46/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v46/constructors/notifyUsers.md +++ b/old_docs/API_docs_v46/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v46/constructors/peerChannel.md b/old_docs/API_docs_v46/constructors/peerChannel.md index f30e3f41..360d5c42 100644 --- a/old_docs/API_docs_v46/constructors/peerChannel.md +++ b/old_docs/API_docs_v46/constructors/peerChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/peerChat.md b/old_docs/API_docs_v46/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v46/constructors/peerChat.md +++ b/old_docs/API_docs_v46/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v46/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v46/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v46/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v46/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v46/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v46/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v46/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/peerNotifySettings.md b/old_docs/API_docs_v46/constructors/peerNotifySettings.md index 513132f4..12c5bbb9 100644 --- a/old_docs/API_docs_v46/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v46/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int]; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int} ``` diff --git a/old_docs/API_docs_v46/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v46/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v46/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v46/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/peerUser.md b/old_docs/API_docs_v46/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v46/constructors/peerUser.md +++ b/old_docs/API_docs_v46/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/photo.md b/old_docs/API_docs_v46/constructors/photo.md index 7055e7a9..982122b9 100644 --- a/old_docs/API_docs_v46/constructors/photo.md +++ b/old_docs/API_docs_v46/constructors/photo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -35,10 +35,9 @@ $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v46/constructors/photoCachedSize.md b/old_docs/API_docs_v46/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v46/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v46/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v46/constructors/photoEmpty.md b/old_docs/API_docs_v46/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v46/constructors/photoEmpty.md +++ b/old_docs/API_docs_v46/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v46/constructors/photoSize.md b/old_docs/API_docs_v46/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v46/constructors/photoSize.md +++ b/old_docs/API_docs_v46/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v46/constructors/photoSizeEmpty.md b/old_docs/API_docs_v46/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v46/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v46/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/photos_photo.md b/old_docs/API_docs_v46/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v46/constructors/photos_photo.md +++ b/old_docs/API_docs_v46/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v46/constructors/photos_photos.md b/old_docs/API_docs_v46/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v46/constructors/photos_photos.md +++ b/old_docs/API_docs_v46/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v46/constructors/photos_photosSlice.md b/old_docs/API_docs_v46/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v46/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v46/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v46/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v46/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v46/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v46/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v46/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v46/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v46/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v46/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v46/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v46/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v46/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v46/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v46/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v46/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v46/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v46/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v46/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v46/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v46/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v46/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v46/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v46/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v46/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v46/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v46/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v46/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v46/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v46/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v46/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v46/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/old_docs/API_docs_v46/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v46/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v46/constructors/replyKeyboardForceReply.md index 56e255c1..3f7fae8c 100644 --- a/old_docs/API_docs_v46/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v46/constructors/replyKeyboardForceReply.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` @@ -33,10 +33,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool} ``` diff --git a/old_docs/API_docs_v46/constructors/replyKeyboardHide.md b/old_docs/API_docs_v46/constructors/replyKeyboardHide.md index 7251db49..30e9f399 100644 --- a/old_docs/API_docs_v46/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v46/constructors/replyKeyboardHide.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` @@ -32,10 +32,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide', selective=Bool} ``` diff --git a/old_docs/API_docs_v46/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v46/constructors/replyKeyboardMarkup.md index 87a55463..80f3f654 100644 --- a/old_docs/API_docs_v46/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v46/constructors/replyKeyboardMarkup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -35,10 +35,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v46/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v46/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v46/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v46/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v46/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v46/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v46/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v46/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v46/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v46/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v46/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v46/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v46/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v46/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/old_docs/API_docs_v46/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v46/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/old_docs/API_docs_v46/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v46/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/old_docs/API_docs_v46/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v46/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/old_docs/API_docs_v46/constructors/stickerPack.md b/old_docs/API_docs_v46/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v46/constructors/stickerPack.md +++ b/old_docs/API_docs_v46/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v46/constructors/stickerSet.md b/old_docs/API_docs_v46/constructors/stickerSet.md index 4f0e5ff2..695e2aea 100644 --- a/old_docs/API_docs_v46/constructors/stickerSet.md +++ b/old_docs/API_docs_v46/constructors/stickerSet.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -40,10 +40,9 @@ $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'of ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', installed=Bool, disabled=Bool, official=Bool, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/old_docs/API_docs_v46/constructors/storage_fileGif.md b/old_docs/API_docs_v46/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v46/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v46/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v46/constructors/storage_fileJpeg.md b/old_docs/API_docs_v46/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v46/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v46/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v46/constructors/storage_fileMov.md b/old_docs/API_docs_v46/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v46/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v46/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v46/constructors/storage_fileMp3.md b/old_docs/API_docs_v46/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v46/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v46/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v46/constructors/storage_fileMp4.md b/old_docs/API_docs_v46/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v46/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v46/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v46/constructors/storage_filePartial.md b/old_docs/API_docs_v46/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v46/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v46/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v46/constructors/storage_filePdf.md b/old_docs/API_docs_v46/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v46/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v46/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v46/constructors/storage_filePng.md b/old_docs/API_docs_v46/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v46/constructors/storage_filePng.md +++ b/old_docs/API_docs_v46/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v46/constructors/storage_fileUnknown.md b/old_docs/API_docs_v46/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v46/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v46/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v46/constructors/storage_fileWebp.md b/old_docs/API_docs_v46/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v46/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v46/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v46/constructors/true.md b/old_docs/API_docs_v46/constructors/true.md index 2e27ecbf..4863f16b 100644 --- a/old_docs/API_docs_v46/constructors/true.md +++ b/old_docs/API_docs_v46/constructors/true.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $true = ['_' => 'true']; ``` @@ -27,10 +27,9 @@ $true = ['_' => 'true']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua true={_='true'} ``` diff --git a/old_docs/API_docs_v46/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v46/constructors/updateBotInlineQuery.md index e47e802a..7f4cf56f 100644 --- a/old_docs/API_docs_v46/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v46/constructors/updateBotInlineQuery.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'offset' => 'string']; ``` @@ -35,10 +35,9 @@ $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query='string', offset='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/updateChannel.md b/old_docs/API_docs_v46/constructors/updateChannel.md index e615920a..fb876328 100644 --- a/old_docs/API_docs_v46/constructors/updateChannel.md +++ b/old_docs/API_docs_v46/constructors/updateChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannel={_='updateChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updateChannelGroup.md b/old_docs/API_docs_v46/constructors/updateChannelGroup.md index c322e296..8266d55a 100644 --- a/old_docs/API_docs_v46/constructors/updateChannelGroup.md +++ b/old_docs/API_docs_v46/constructors/updateChannelGroup.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup]; ``` @@ -33,10 +33,9 @@ $updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelGroup={_='updateChannelGroup', channel_id=int, group=MessageGroup} ``` diff --git a/old_docs/API_docs_v46/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v46/constructors/updateChannelMessageViews.md index 19e0b648..d62f055a 100644 --- a/old_docs/API_docs_v46/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v46/constructors/updateChannelMessageViews.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` @@ -34,10 +34,9 @@ $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updateChannelTooLong.md b/old_docs/API_docs_v46/constructors/updateChannelTooLong.md index c4366f91..5665f1a4 100644 --- a/old_docs/API_docs_v46/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v46/constructors/updateChannelTooLong.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelTooLong={_='updateChannelTooLong', channel_id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updateChatAdmins.md b/old_docs/API_docs_v46/constructors/updateChatAdmins.md index 87ffd626..aac09762 100644 --- a/old_docs/API_docs_v46/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v46/constructors/updateChatAdmins.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v46/constructors/updateChatParticipantAdd.md index ea5157ad..fe76dc62 100644 --- a/old_docs/API_docs_v46/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v46/constructors/updateChatParticipantAdd.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` @@ -36,10 +36,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v46/constructors/updateChatParticipantAdmin.md index b1022850..d262b2e6 100644 --- a/old_docs/API_docs_v46/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v46/constructors/updateChatParticipantAdmin.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v46/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v46/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v46/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updateChatParticipants.md b/old_docs/API_docs_v46/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v46/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v46/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v46/constructors/updateChatUserTyping.md b/old_docs/API_docs_v46/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v46/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v46/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v46/constructors/updateContactLink.md b/old_docs/API_docs_v46/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v46/constructors/updateContactLink.md +++ b/old_docs/API_docs_v46/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v46/constructors/updateContactRegistered.md b/old_docs/API_docs_v46/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v46/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v46/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updateDcOptions.md b/old_docs/API_docs_v46/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v46/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v46/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v46/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v46/constructors/updateDeleteChannelMessages.md index 447ec336..18488ad6 100644 --- a/old_docs/API_docs_v46/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v46/constructors/updateDeleteChannelMessages.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int, int], 'channel_pts' => int, 'channel_pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, channel_pts=int, channel_pts_count=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updateDeleteMessages.md b/old_docs/API_docs_v46/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v46/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v46/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v46/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v46/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v46/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v46/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v46/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v46/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updateEncryption.md b/old_docs/API_docs_v46/constructors/updateEncryption.md index f4faf2ef..ba897b0a 100644 --- a/old_docs/API_docs_v46/constructors/updateEncryption.md +++ b/old_docs/API_docs_v46/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'encr_chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'encr_chat' => EncryptedChat, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', encr_chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updateMessageID.md b/old_docs/API_docs_v46/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v46/constructors/updateMessageID.md +++ b/old_docs/API_docs_v46/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updateNewAuthorization.md b/old_docs/API_docs_v46/constructors/updateNewAuthorization.md index c7a95f80..ce1d0815 100644 --- a/old_docs/API_docs_v46/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v46/constructors/updateNewAuthorization.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` @@ -35,10 +35,9 @@ $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device='string', location='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v46/constructors/updateNewChannelMessage.md index 122cc1b7..a4748660 100644 --- a/old_docs/API_docs_v46/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v46/constructors/updateNewChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'channel_pts' => int, 'channel_pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Messa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewChannelMessage={_='updateNewChannelMessage', message=Message, channel_pts=int, channel_pts_count=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v46/constructors/updateNewEncryptedMessage.md index 91e25c56..1adec443 100644 --- a/old_docs/API_docs_v46/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v46/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'encr_message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'encr_message' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', encr_message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updateNewMessage.md b/old_docs/API_docs_v46/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v46/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v46/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updateNewStickerSet.md b/old_docs/API_docs_v46/constructors/updateNewStickerSet.md index c36d4617..5ba327ea 100644 --- a/old_docs/API_docs_v46/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v46/constructors/updateNewStickerSet.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` @@ -32,10 +32,9 @@ $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_S ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} ``` diff --git a/old_docs/API_docs_v46/constructors/updateNotifySettings.md b/old_docs/API_docs_v46/constructors/updateNotifySettings.md index bb865029..b5f3920f 100644 --- a/old_docs/API_docs_v46/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v46/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'notify_peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'notify_peer' => NotifyP ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', notify_peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v46/constructors/updatePrivacy.md b/old_docs/API_docs_v46/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v46/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v46/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v46/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v46/constructors/updateReadChannelInbox.md index be964e20..c8c26acb 100644 --- a/old_docs/API_docs_v46/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v46/constructors/updateReadChannelInbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v46/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v46/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v46/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v46/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v46/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v46/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v46/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/old_docs/API_docs_v46/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v46/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updateSavedGifs.md b/old_docs/API_docs_v46/constructors/updateSavedGifs.md index dd17f321..ea5619fc 100644 --- a/old_docs/API_docs_v46/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v46/constructors/updateSavedGifs.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` @@ -27,10 +27,9 @@ $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v46/constructors/updateServiceNotification.md b/old_docs/API_docs_v46/constructors/updateServiceNotification.md index f0d09617..d9f910cb 100644 --- a/old_docs/API_docs_v46/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v46/constructors/updateServiceNotification.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message_text' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` @@ -35,10 +35,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'str ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', type='string', message_text='string', media=MessageMedia, popup=Bool} ``` diff --git a/old_docs/API_docs_v46/constructors/updateShort.md b/old_docs/API_docs_v46/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v46/constructors/updateShort.md +++ b/old_docs/API_docs_v46/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updateShortChatMessage.md b/old_docs/API_docs_v46/constructors/updateShortChatMessage.md index 59fff001..a3e4b02f 100644 --- a/old_docs/API_docs_v46/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v46/constructors/updateShortChatMessage.md @@ -36,7 +36,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -47,10 +47,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'o ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v46/constructors/updateShortMessage.md b/old_docs/API_docs_v46/constructors/updateShortMessage.md index 64f10398..b1d17aca 100644 --- a/old_docs/API_docs_v46/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v46/constructors/updateShortMessage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -46,10 +46,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v46/constructors/updateShortSentMessage.md b/old_docs/API_docs_v46/constructors/updateShortSentMessage.md index 0e40bd22..f35f8285 100644 --- a/old_docs/API_docs_v46/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v46/constructors/updateShortSentMessage.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -39,10 +39,9 @@ $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'o ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortSentMessage={_='updateShortSentMessage', unread=Bool, out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v46/constructors/updateStickerSets.md b/old_docs/API_docs_v46/constructors/updateStickerSets.md index 4f045d67..e4cc23a0 100644 --- a/old_docs/API_docs_v46/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v46/constructors/updateStickerSets.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSets = ['_' => 'updateStickerSets']; ``` @@ -27,10 +27,9 @@ $updateStickerSets = ['_' => 'updateStickerSets']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v46/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v46/constructors/updateStickerSetsOrder.md index ff94265f..d47c939f 100644 --- a/old_docs/API_docs_v46/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v46/constructors/updateStickerSetsOrder.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long, long]]; ``` @@ -32,10 +32,9 @@ $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long, lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSetsOrder={_='updateStickerSetsOrder', order={long}} ``` diff --git a/old_docs/API_docs_v46/constructors/updateUserBlocked.md b/old_docs/API_docs_v46/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v46/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v46/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v46/constructors/updateUserName.md b/old_docs/API_docs_v46/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v46/constructors/updateUserName.md +++ b/old_docs/API_docs_v46/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/updateUserPhone.md b/old_docs/API_docs_v46/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v46/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v46/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/updateUserPhoto.md b/old_docs/API_docs_v46/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v46/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v46/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v46/constructors/updateUserStatus.md b/old_docs/API_docs_v46/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v46/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v46/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v46/constructors/updateUserTyping.md b/old_docs/API_docs_v46/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v46/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v46/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v46/constructors/updateWebPage.md b/old_docs/API_docs_v46/constructors/updateWebPage.md index 9f468619..932d8ff2 100644 --- a/old_docs/API_docs_v46/constructors/updateWebPage.md +++ b/old_docs/API_docs_v46/constructors/updateWebPage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updates.md b/old_docs/API_docs_v46/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v46/constructors/updates.md +++ b/old_docs/API_docs_v46/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updatesCombined.md b/old_docs/API_docs_v46/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v46/constructors/updatesCombined.md +++ b/old_docs/API_docs_v46/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updatesTooLong.md b/old_docs/API_docs_v46/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v46/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v46/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v46/constructors/updates_channelDifference.md b/old_docs/API_docs_v46/constructors/updates_channelDifference.md index e9f322a0..0a302fea 100644 --- a/old_docs/API_docs_v46/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v46/constructors/updates_channelDifference.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'channel_pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifference={_='updates.channelDifference', final=Bool, channel_pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v46/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v46/constructors/updates_channelDifferenceEmpty.md index a8d2795b..60cb29cc 100644 --- a/old_docs/API_docs_v46/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v46/constructors/updates_channelDifferenceEmpty.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'channel_pts' => int, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'fin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, channel_pts=int, timeout=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v46/constructors/updates_channelDifferenceTooLong.md index d29e9fb0..2e2e02fe 100644 --- a/old_docs/API_docs_v46/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v46/constructors/updates_channelDifferenceTooLong.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'channel_pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -42,10 +42,9 @@ $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, channel_pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v46/constructors/updates_difference.md b/old_docs/API_docs_v46/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v46/constructors/updates_difference.md +++ b/old_docs/API_docs_v46/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v46/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v46/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v46/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v46/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v46/constructors/updates_differenceSlice.md b/old_docs/API_docs_v46/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v46/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v46/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v46/constructors/updates_state.md b/old_docs/API_docs_v46/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v46/constructors/updates_state.md +++ b/old_docs/API_docs_v46/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v46/constructors/upload_file.md b/old_docs/API_docs_v46/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v46/constructors/upload_file.md +++ b/old_docs/API_docs_v46/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v46/constructors/user.md b/old_docs/API_docs_v46/constructors/user.md index 9eeae68a..700213b6 100644 --- a/old_docs/API_docs_v46/constructors/user.md +++ b/old_docs/API_docs_v46/constructors/user.md @@ -40,7 +40,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => 'string', 'bot_inline_placeholder' => 'string']; ``` @@ -51,10 +51,9 @@ $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason='string', bot_inline_placeholder='string'} ``` diff --git a/old_docs/API_docs_v46/constructors/userEmpty.md b/old_docs/API_docs_v46/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v46/constructors/userEmpty.md +++ b/old_docs/API_docs_v46/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v46/constructors/userFull.md b/old_docs/API_docs_v46/constructors/userFull.md index dff5cfa2..9b32a434 100644 --- a/old_docs/API_docs_v46/constructors/userFull.md +++ b/old_docs/API_docs_v46/constructors/userFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` @@ -37,10 +37,9 @@ $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v46/constructors/userProfilePhoto.md b/old_docs/API_docs_v46/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v46/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v46/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v46/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v46/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v46/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v46/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/userStatusEmpty.md b/old_docs/API_docs_v46/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v46/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v46/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v46/constructors/userStatusLastMonth.md b/old_docs/API_docs_v46/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v46/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v46/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v46/constructors/userStatusLastWeek.md b/old_docs/API_docs_v46/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v46/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v46/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v46/constructors/userStatusOffline.md b/old_docs/API_docs_v46/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v46/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v46/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v46/constructors/userStatusOnline.md b/old_docs/API_docs_v46/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v46/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v46/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v46/constructors/userStatusRecently.md b/old_docs/API_docs_v46/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v46/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v46/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v46/constructors/video.md b/old_docs/API_docs_v46/constructors/video.md index 58154db2..a0ab3175 100644 --- a/old_docs/API_docs_v46/constructors/video.md +++ b/old_docs/API_docs_v46/constructors/video.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int]; ``` @@ -41,10 +41,9 @@ $video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua video={_='video', id=long, access_hash=long, date=int, duration=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v46/constructors/videoEmpty.md b/old_docs/API_docs_v46/constructors/videoEmpty.md index 8509fcf9..a41ca8ab 100644 --- a/old_docs/API_docs_v46/constructors/videoEmpty.md +++ b/old_docs/API_docs_v46/constructors/videoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $videoEmpty = ['_' => 'videoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua videoEmpty={_='videoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v46/constructors/wallPaper.md b/old_docs/API_docs_v46/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v46/constructors/wallPaper.md +++ b/old_docs/API_docs_v46/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v46/constructors/wallPaperSolid.md b/old_docs/API_docs_v46/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v46/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v46/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v46/constructors/webPage.md b/old_docs/API_docs_v46/constructors/webPage.md index 1023918f..fe5271f3 100644 --- a/old_docs/API_docs_v46/constructors/webPage.md +++ b/old_docs/API_docs_v46/constructors/webPage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document]; ``` @@ -46,10 +46,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document} ``` diff --git a/old_docs/API_docs_v46/constructors/webPageEmpty.md b/old_docs/API_docs_v46/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v46/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v46/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v46/constructors/webPagePending.md b/old_docs/API_docs_v46/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v46/constructors/webPagePending.md +++ b/old_docs/API_docs_v46/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v46/methods/account_changePhone.md b/old_docs/API_docs_v46/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v46/methods/account_changePhone.md +++ b/old_docs/API_docs_v46/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/account_checkUsername.md b/old_docs/API_docs_v46/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v46/methods/account_checkUsername.md +++ b/old_docs/API_docs_v46/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/account_deleteAccount.md b/old_docs/API_docs_v46/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v46/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v46/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/account_getAccountTTL.md b/old_docs/API_docs_v46/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v46/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v46/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v46/methods/account_getAuthorizations.md b/old_docs/API_docs_v46/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v46/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v46/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v46/methods/account_getNotifySettings.md b/old_docs/API_docs_v46/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v46/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v46/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v46/methods/account_getPassword.md b/old_docs/API_docs_v46/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v46/methods/account_getPassword.md +++ b/old_docs/API_docs_v46/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v46/methods/account_getPasswordSettings.md b/old_docs/API_docs_v46/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v46/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v46/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v46/methods/account_getPrivacy.md b/old_docs/API_docs_v46/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v46/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v46/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v46/methods/account_getWallPapers.md b/old_docs/API_docs_v46/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v46/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v46/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v46/methods/account_registerDevice.md b/old_docs/API_docs_v46/methods/account_registerDevice.md index bd2b5649..3192933d 100644 --- a/old_docs/API_docs_v46/methods/account_registerDevice.md +++ b/old_docs/API_docs_v46/methods/account_registerDevice.md @@ -30,7 +30,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', device_model='string', system_version='string', app_version='string', app_sandbox=Bool, lang_code='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/account_reportPeer.md b/old_docs/API_docs_v46/methods/account_reportPeer.md index d8c49851..673b48bf 100644 --- a/old_docs/API_docs_v46/methods/account_reportPeer.md +++ b/old_docs/API_docs_v46/methods/account_reportPeer.md @@ -25,7 +25,7 @@ Report for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reason - Json encoded ReportReason Or, if you're into Lua: -``` +```lua Bool = account.reportPeer({peer=InputPeer, reason=ReportReason, }) ``` diff --git a/old_docs/API_docs_v46/methods/account_resetAuthorization.md b/old_docs/API_docs_v46/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v46/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v46/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v46/methods/account_resetNotifySettings.md b/old_docs/API_docs_v46/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v46/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v46/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md index 2fcdcc4c..12ea92c5 100644 --- a/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md @@ -24,7 +24,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/account_setAccountTTL.md b/old_docs/API_docs_v46/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v46/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v46/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v46/methods/account_setPrivacy.md b/old_docs/API_docs_v46/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v46/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v46/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v46/methods/account_unregisterDevice.md b/old_docs/API_docs_v46/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v46/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v46/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v46/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v46/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v46/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/account_updateNotifySettings.md b/old_docs/API_docs_v46/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v46/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v46/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v46/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v46/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v46/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v46/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v46/methods/account_updateProfile.md b/old_docs/API_docs_v46/methods/account_updateProfile.md index 541086a6..5034a6da 100644 --- a/old_docs/API_docs_v46/methods/account_updateProfile.md +++ b/old_docs/API_docs_v46/methods/account_updateProfile.md @@ -25,7 +25,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ last_name - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/account_updateStatus.md b/old_docs/API_docs_v46/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v46/methods/account_updateStatus.md +++ b/old_docs/API_docs_v46/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v46/methods/account_updateUsername.md b/old_docs/API_docs_v46/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v46/methods/account_updateUsername.md +++ b/old_docs/API_docs_v46/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/auth_checkPhone.md b/old_docs/API_docs_v46/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v46/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v46/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/auth_recoverPassword.md b/old_docs/API_docs_v46/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v46/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v46/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v46/methods/auth_sendCall.md b/old_docs/API_docs_v46/methods/auth_sendCall.md index 70a2870f..e8260454 100644 --- a/old_docs/API_docs_v46/methods/auth_sendCall.md +++ b/old_docs/API_docs_v46/methods/auth_sendCall.md @@ -25,7 +25,7 @@ Send verification phone call ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendCall({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/auth_sendInvites.md b/old_docs/API_docs_v46/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v46/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v46/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/auth_sendSms.md b/old_docs/API_docs_v46/methods/auth_sendSms.md index 6c31f570..050926ff 100644 --- a/old_docs/API_docs_v46/methods/auth_sendSms.md +++ b/old_docs/API_docs_v46/methods/auth_sendSms.md @@ -25,7 +25,7 @@ Send SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendSms({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_checkUsername.md b/old_docs/API_docs_v46/methods/channels_checkUsername.md index d287b3ca..573bf8f0 100644 --- a/old_docs/API_docs_v46/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v46/methods/channels_checkUsername.md @@ -25,7 +25,7 @@ Check if this username is free and can be assigned to a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.checkUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_createChannel.md b/old_docs/API_docs_v46/methods/channels_createChannel.md index 356f473a..1821c864 100644 --- a/old_docs/API_docs_v46/methods/channels_createChannel.md +++ b/old_docs/API_docs_v46/methods/channels_createChannel.md @@ -27,7 +27,7 @@ Create channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title='string', about='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_deleteChannel.md b/old_docs/API_docs_v46/methods/channels_deleteChannel.md index b55d91b8..a79ccb9f 100644 --- a/old_docs/API_docs_v46/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v46/methods/channels_deleteChannel.md @@ -24,7 +24,7 @@ Delete a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.deleteChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_deleteMessages.md b/old_docs/API_docs_v46/methods/channels_deleteMessages.md index 03625c94..8cd7ebb3 100644 --- a/old_docs/API_docs_v46/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v46/methods/channels_deleteMessages.md @@ -25,7 +25,7 @@ Delete channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v46/methods/channels_deleteUserHistory.md index 204a8786..78baa90f 100644 --- a/old_docs/API_docs_v46/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v46/methods/channels_deleteUserHistory.md @@ -25,7 +25,7 @@ Delete all messages of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_editAbout.md b/old_docs/API_docs_v46/methods/channels_editAbout.md index fd861133..549d7ea5 100644 --- a/old_docs/API_docs_v46/methods/channels_editAbout.md +++ b/old_docs/API_docs_v46/methods/channels_editAbout.md @@ -25,7 +25,7 @@ Edit the about text of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.editAbout({channel=InputChannel, about='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_editAdmin.md b/old_docs/API_docs_v46/methods/channels_editAdmin.md index bc0793fe..b41561e0 100644 --- a/old_docs/API_docs_v46/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v46/methods/channels_editAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ role - Json encoded ChannelParticipantRole Or, if you're into Lua: -``` +```lua Updates = channels.editAdmin({channel=InputChannel, user_id=InputUser, role=ChannelParticipantRole, }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_editPhoto.md b/old_docs/API_docs_v46/methods/channels_editPhoto.md index ccbaed65..7013c6e2 100644 --- a/old_docs/API_docs_v46/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v46/methods/channels_editPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = channels.editPhoto({channel=InputChannel, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_editTitle.md b/old_docs/API_docs_v46/methods/channels_editTitle.md index ffd868ba..a9c8c50f 100644 --- a/old_docs/API_docs_v46/methods/channels_editTitle.md +++ b/old_docs/API_docs_v46/methods/channels_editTitle.md @@ -25,7 +25,7 @@ Edit the title of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.editTitle({channel=InputChannel, title='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_exportInvite.md b/old_docs/API_docs_v46/methods/channels_exportInvite.md index 0b4b5c31..5a92097a 100644 --- a/old_docs/API_docs_v46/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v46/methods/channels_exportInvite.md @@ -24,7 +24,7 @@ Export the invite link of a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua ExportedChatInvite = channels.exportInvite({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_getChannels.md b/old_docs/API_docs_v46/methods/channels_getChannels.md index 71edac7b..a146be1e 100644 --- a/old_docs/API_docs_v46/methods/channels_getChannels.md +++ b/old_docs/API_docs_v46/methods/channels_getChannels.md @@ -24,7 +24,7 @@ Get info about multiple channels/supergroups ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputChannel Or, if you're into Lua: -``` +```lua messages_Chats = channels.getChannels({id={InputChannel}, }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_getDialogs.md b/old_docs/API_docs_v46/methods/channels_getDialogs.md index c3acd0e6..b238558d 100644 --- a/old_docs/API_docs_v46/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v46/methods/channels_getDialogs.md @@ -25,7 +25,7 @@ Get channel dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = channels.getDialogs({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_getImportantHistory.md b/old_docs/API_docs_v46/methods/channels_getImportantHistory.md index e038bde8..374afee5 100644 --- a/old_docs/API_docs_v46/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v46/methods/channels_getImportantHistory.md @@ -29,7 +29,7 @@ Get important channel/supergroup history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getImportantHistory({channel=InputChannel, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_getMessages.md b/old_docs/API_docs_v46/methods/channels_getMessages.md index 217757eb..208cbcc4 100644 --- a/old_docs/API_docs_v46/methods/channels_getMessages.md +++ b/old_docs/API_docs_v46/methods/channels_getMessages.md @@ -25,7 +25,7 @@ Get channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_getParticipant.md b/old_docs/API_docs_v46/methods/channels_getParticipant.md index a641d213..9cf80799 100644 --- a/old_docs/API_docs_v46/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v46/methods/channels_getParticipant.md @@ -25,7 +25,7 @@ Get info about a certain channel/supergroup participant ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_getParticipants.md b/old_docs/API_docs_v46/methods/channels_getParticipants.md index c2f0cdcd..3d4dfa13 100644 --- a/old_docs/API_docs_v46/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v46/methods/channels_getParticipants.md @@ -27,7 +27,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_inviteToChannel.md b/old_docs/API_docs_v46/methods/channels_inviteToChannel.md index 0a350cc8..998e3895 100644 --- a/old_docs/API_docs_v46/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v46/methods/channels_inviteToChannel.md @@ -25,7 +25,7 @@ Add users to channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ users - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Updates = channels.inviteToChannel({channel=InputChannel, users={InputUser}, }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_joinChannel.md b/old_docs/API_docs_v46/methods/channels_joinChannel.md index aae2bc1c..3c6a3b94 100644 --- a/old_docs/API_docs_v46/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v46/methods/channels_joinChannel.md @@ -24,7 +24,7 @@ Join a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.joinChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_kickFromChannel.md b/old_docs/API_docs_v46/methods/channels_kickFromChannel.md index c51cea7c..7586bdf6 100644 --- a/old_docs/API_docs_v46/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v46/methods/channels_kickFromChannel.md @@ -26,7 +26,7 @@ Kick user from channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ kicked - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.kickFromChannel({channel=InputChannel, user_id=InputUser, kicked=Bool, }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_leaveChannel.md b/old_docs/API_docs_v46/methods/channels_leaveChannel.md index 4e6701fe..0934089f 100644 --- a/old_docs/API_docs_v46/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v46/methods/channels_leaveChannel.md @@ -24,7 +24,7 @@ Leave a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.leaveChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_readHistory.md b/old_docs/API_docs_v46/methods/channels_readHistory.md index d76919ff..cf5c1529 100644 --- a/old_docs/API_docs_v46/methods/channels_readHistory.md +++ b/old_docs/API_docs_v46/methods/channels_readHistory.md @@ -25,7 +25,7 @@ Mark channel/supergroup history as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.readHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_reportSpam.md b/old_docs/API_docs_v46/methods/channels_reportSpam.md index 48022662..b0e99eb1 100644 --- a/old_docs/API_docs_v46/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v46/methods/channels_reportSpam.md @@ -26,7 +26,7 @@ Report a message in a supergroup/channel for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.reportSpam({channel=InputChannel, user_id=InputUser, id={int}, }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_toggleComments.md b/old_docs/API_docs_v46/methods/channels_toggleComments.md index 52e2c7ae..230b0315 100644 --- a/old_docs/API_docs_v46/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v46/methods/channels_toggleComments.md @@ -25,7 +25,7 @@ Enable channel comments ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleComments({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v46/methods/channels_updateUsername.md b/old_docs/API_docs_v46/methods/channels_updateUsername.md index 2e07e123..c0df8c7c 100644 --- a/old_docs/API_docs_v46/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v46/methods/channels_updateUsername.md @@ -25,7 +25,7 @@ Update the username of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.updateUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/contacts_block.md b/old_docs/API_docs_v46/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v46/methods/contacts_block.md +++ b/old_docs/API_docs_v46/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v46/methods/contacts_deleteContact.md b/old_docs/API_docs_v46/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v46/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v46/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v46/methods/contacts_deleteContacts.md b/old_docs/API_docs_v46/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v46/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v46/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v46/methods/contacts_exportCard.md b/old_docs/API_docs_v46/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v46/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v46/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v46/methods/contacts_getBlocked.md b/old_docs/API_docs_v46/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v46/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v46/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/contacts_getContacts.md b/old_docs/API_docs_v46/methods/contacts_getContacts.md index ccf0f99d..dfa407f2 100644 --- a/old_docs/API_docs_v46/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v46/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/contacts_getStatuses.md b/old_docs/API_docs_v46/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v46/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v46/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v46/methods/contacts_getSuggested.md b/old_docs/API_docs_v46/methods/contacts_getSuggested.md index d7feb718..8183eae4 100644 --- a/old_docs/API_docs_v46/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v46/methods/contacts_getSuggested.md @@ -24,7 +24,7 @@ Get suggested contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/contacts_importCard.md b/old_docs/API_docs_v46/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v46/methods/contacts_importCard.md +++ b/old_docs/API_docs_v46/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v46/methods/contacts_importContacts.md b/old_docs/API_docs_v46/methods/contacts_importContacts.md index d0404dd2..f1b17e2c 100644 --- a/old_docs/API_docs_v46/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v46/methods/contacts_importContacts.md @@ -25,7 +25,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ replace - Json encoded Bool Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v46/methods/contacts_search.md b/old_docs/API_docs_v46/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v46/methods/contacts_search.md +++ b/old_docs/API_docs_v46/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/contacts_unblock.md b/old_docs/API_docs_v46/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v46/methods/contacts_unblock.md +++ b/old_docs/API_docs_v46/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v46/methods/help_getAppChangelog.md b/old_docs/API_docs_v46/methods/help_getAppChangelog.md index e5f9dae5..872c377b 100644 --- a/old_docs/API_docs_v46/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v46/methods/help_getAppChangelog.md @@ -27,7 +27,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/help_getAppUpdate.md b/old_docs/API_docs_v46/methods/help_getAppUpdate.md index a501cbc5..4bdf36c3 100644 --- a/old_docs/API_docs_v46/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v46/methods/help_getAppUpdate.md @@ -27,7 +27,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/help_getConfig.md b/old_docs/API_docs_v46/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v46/methods/help_getConfig.md +++ b/old_docs/API_docs_v46/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v46/methods/help_getInviteText.md b/old_docs/API_docs_v46/methods/help_getInviteText.md index 1b31e572..797e2ad3 100644 --- a/old_docs/API_docs_v46/methods/help_getInviteText.md +++ b/old_docs/API_docs_v46/methods/help_getInviteText.md @@ -24,7 +24,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/help_getNearestDc.md b/old_docs/API_docs_v46/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v46/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v46/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v46/methods/help_getSupport.md b/old_docs/API_docs_v46/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v46/methods/help_getSupport.md +++ b/old_docs/API_docs_v46/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v46/methods/help_getTermsOfService.md b/old_docs/API_docs_v46/methods/help_getTermsOfService.md index 06eda47b..701de622 100644 --- a/old_docs/API_docs_v46/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v46/methods/help_getTermsOfService.md @@ -24,7 +24,7 @@ Get terms of service ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_TermsOfService = help.getTermsOfService({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/help_saveAppLog.md b/old_docs/API_docs_v46/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v46/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v46/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v46/methods/initConnection.md b/old_docs/API_docs_v46/methods/initConnection.md index 58cdb067..e34794f8 100644 --- a/old_docs/API_docs_v46/methods/initConnection.md +++ b/old_docs/API_docs_v46/methods/initConnection.md @@ -29,7 +29,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v46/methods/invokeAfterMsg.md b/old_docs/API_docs_v46/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v46/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v46/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v46/methods/invokeAfterMsgs.md b/old_docs/API_docs_v46/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v46/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v46/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v46/methods/invokeWithLayer.md b/old_docs/API_docs_v46/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v46/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v46/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v46/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v46/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/old_docs/API_docs_v46/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v46/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_addChatUser.md b/old_docs/API_docs_v46/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v46/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v46/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_checkChatInvite.md b/old_docs/API_docs_v46/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/old_docs/API_docs_v46/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v46/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_createChat.md b/old_docs/API_docs_v46/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v46/methods/messages_createChat.md +++ b/old_docs/API_docs_v46/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_deleteChatUser.md b/old_docs/API_docs_v46/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v46/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v46/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_deleteHistory.md b/old_docs/API_docs_v46/methods/messages_deleteHistory.md index 4b00d3a2..444d6758 100644 --- a/old_docs/API_docs_v46/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v46/methods/messages_deleteHistory.md @@ -25,7 +25,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_deleteMessages.md b/old_docs/API_docs_v46/methods/messages_deleteMessages.md index 2aa9d7d1..24152bec 100644 --- a/old_docs/API_docs_v46/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v46/methods/messages_deleteMessages.md @@ -24,7 +24,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_editChatAdmin.md b/old_docs/API_docs_v46/methods/messages_editChatAdmin.md index a2dad97f..f883b50e 100644 --- a/old_docs/API_docs_v46/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v46/methods/messages_editChatAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ is_admin - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.editChatAdmin({chat_id=InputPeer, user_id=InputUser, is_admin=Bool, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_editChatPhoto.md b/old_docs/API_docs_v46/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v46/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v46/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_editChatTitle.md b/old_docs/API_docs_v46/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v46/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v46/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_exportChatInvite.md b/old_docs/API_docs_v46/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/old_docs/API_docs_v46/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v46/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_forwardMessage.md b/old_docs/API_docs_v46/methods/messages_forwardMessage.md index 586670b8..d9c0453f 100644 --- a/old_docs/API_docs_v46/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v46/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_forwardMessages.md b/old_docs/API_docs_v46/methods/messages_forwardMessages.md index 1bc42a02..036d61fe 100644 --- a/old_docs/API_docs_v46/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v46/methods/messages_forwardMessages.md @@ -27,7 +27,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ to_peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({broadcast=Bool, from_peer=InputPeer, id={int}, to_peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_getAllStickers.md b/old_docs/API_docs_v46/methods/messages_getAllStickers.md index 966af122..c25a823b 100644 --- a/old_docs/API_docs_v46/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v46/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_getChats.md b/old_docs/API_docs_v46/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v46/methods/messages_getChats.md +++ b/old_docs/API_docs_v46/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_getDialogs.md b/old_docs/API_docs_v46/methods/messages_getDialogs.md index 557cb7d9..2919a482 100644 --- a/old_docs/API_docs_v46/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v46/methods/messages_getDialogs.md @@ -27,7 +27,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v46/methods/messages_getDocumentByHash.md index 5b6f6f21..00f0a558 100644 --- a/old_docs/API_docs_v46/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v46/methods/messages_getDocumentByHash.md @@ -26,7 +26,7 @@ Get document by SHA256 hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ mime_type - Json encoded string Or, if you're into Lua: -``` +```lua Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_getHistory.md b/old_docs/API_docs_v46/methods/messages_getHistory.md index 955f71cf..cfa5867b 100644 --- a/old_docs/API_docs_v46/methods/messages_getHistory.md +++ b/old_docs/API_docs_v46/methods/messages_getHistory.md @@ -29,7 +29,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v46/methods/messages_getInlineBotResults.md index 75a393ce..8f514a14 100644 --- a/old_docs/API_docs_v46/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v46/methods/messages_getInlineBotResults.md @@ -26,7 +26,7 @@ Call inline bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ offset - Json encoded string Or, if you're into Lua: -``` +```lua messages_BotResults = messages.getInlineBotResults({bot=InputUser, query='string', offset='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_getMessages.md b/old_docs/API_docs_v46/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v46/methods/messages_getMessages.md +++ b/old_docs/API_docs_v46/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_getMessagesViews.md b/old_docs/API_docs_v46/methods/messages_getMessagesViews.md index 57a99054..b2b6110e 100644 --- a/old_docs/API_docs_v46/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v46/methods/messages_getMessagesViews.md @@ -26,7 +26,7 @@ Get and increase message views ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ increment - Json encoded Bool Or, if you're into Lua: -``` +```lua Vector_of_int = messages.getMessagesViews({peer=InputPeer, id={int}, increment=Bool, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_getSavedGifs.md b/old_docs/API_docs_v46/methods/messages_getSavedGifs.md index cafba4e1..1a879907 100644 --- a/old_docs/API_docs_v46/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v46/methods/messages_getSavedGifs.md @@ -24,7 +24,7 @@ Get saved gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_getStickerSet.md b/old_docs/API_docs_v46/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/old_docs/API_docs_v46/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v46/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_getStickers.md b/old_docs/API_docs_v46/methods/messages_getStickers.md index b1d3bd83..f4ca9972 100644 --- a/old_docs/API_docs_v46/methods/messages_getStickers.md +++ b/old_docs/API_docs_v46/methods/messages_getStickers.md @@ -25,7 +25,7 @@ Get stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v46/methods/messages_getWebPagePreview.md index 8475c8f5..4838be94 100644 --- a/old_docs/API_docs_v46/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v46/methods/messages_getWebPagePreview.md @@ -24,7 +24,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_importChatInvite.md b/old_docs/API_docs_v46/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/old_docs/API_docs_v46/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v46/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_installStickerSet.md b/old_docs/API_docs_v46/methods/messages_installStickerSet.md index 1cd832e5..41be11e1 100644 --- a/old_docs/API_docs_v46/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v46/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ disabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.installStickerSet({stickerset=InputStickerSet, disabled=Bool, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_migrateChat.md b/old_docs/API_docs_v46/methods/messages_migrateChat.md index df91f510..e789ff7d 100644 --- a/old_docs/API_docs_v46/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v46/methods/messages_migrateChat.md @@ -24,7 +24,7 @@ Convert chat to supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.migrateChat({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_readHistory.md b/old_docs/API_docs_v46/methods/messages_readHistory.md index 48d7fb45..4a2188d8 100644 --- a/old_docs/API_docs_v46/methods/messages_readHistory.md +++ b/old_docs/API_docs_v46/methods/messages_readHistory.md @@ -25,7 +25,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_readMessageContents.md b/old_docs/API_docs_v46/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v46/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v46/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_receivedMessages.md b/old_docs/API_docs_v46/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/old_docs/API_docs_v46/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v46/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md index 8fb0d3da..372d870e 100644 --- a/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md @@ -24,7 +24,7 @@ Reorder sticker sets ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ order - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.reorderStickerSets({order={long}, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_reportSpam.md b/old_docs/API_docs_v46/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/old_docs/API_docs_v46/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v46/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_saveGif.md b/old_docs/API_docs_v46/methods/messages_saveGif.md index adae6d86..dfa956ab 100644 --- a/old_docs/API_docs_v46/methods/messages_saveGif.md +++ b/old_docs/API_docs_v46/methods/messages_saveGif.md @@ -25,7 +25,7 @@ Save a GIF ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveGif({id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_search.md b/old_docs/API_docs_v46/methods/messages_search.md index c39973e1..4a1f85e3 100644 --- a/old_docs/API_docs_v46/methods/messages_search.md +++ b/old_docs/API_docs_v46/methods/messages_search.md @@ -32,7 +32,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({important_only=Bool, peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_searchGifs.md b/old_docs/API_docs_v46/methods/messages_searchGifs.md index 1ef77d23..a12cdd21 100644 --- a/old_docs/API_docs_v46/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v46/methods/messages_searchGifs.md @@ -25,7 +25,7 @@ Search gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_searchGlobal.md b/old_docs/API_docs_v46/methods/messages_searchGlobal.md index 4d05bf0d..1fb73592 100644 --- a/old_docs/API_docs_v46/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v46/methods/messages_searchGlobal.md @@ -28,7 +28,7 @@ Global message search ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_sendBroadcast.md b/old_docs/API_docs_v46/methods/messages_sendBroadcast.md index 11f43d4c..5813ba9c 100644 --- a/old_docs/API_docs_v46/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v46/methods/messages_sendBroadcast.md @@ -26,7 +26,7 @@ Send a message to all users in the chat list ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua Updates = messages.sendBroadcast({contacts={InputUser}, message='string', media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_sendEncrypted.md b/old_docs/API_docs_v46/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v46/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v46/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v46/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v46/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v46/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md index 6be33475..4f06d93c 100644 --- a/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md @@ -28,7 +28,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.sendInlineBotResult({broadcast=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_sendMedia.md b/old_docs/API_docs_v46/methods/messages_sendMedia.md index 5b315147..e57e9e3a 100644 --- a/old_docs/API_docs_v46/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v46/methods/messages_sendMedia.md @@ -28,7 +28,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({broadcast=Bool, peer=InputPeer, reply_to_msg_id=int, media=InputMedia, reply_markup=ReplyMarkup, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_sendMessage.md b/old_docs/API_docs_v46/methods/messages_sendMessage.md index de30373d..b3360767 100644 --- a/old_docs/API_docs_v46/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v46/methods/messages_sendMessage.md @@ -31,7 +31,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMessage({no_webpage=Bool, broadcast=Bool, peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v46/methods/messages_setInlineBotResults.md index 62322f2b..0456eeed 100644 --- a/old_docs/API_docs_v46/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v46/methods/messages_setInlineBotResults.md @@ -29,7 +29,7 @@ Bots only: set the results of an inline query ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ next_offset - Json encoded string Or, if you're into Lua: -``` +```lua Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_setTyping.md b/old_docs/API_docs_v46/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v46/methods/messages_setTyping.md +++ b/old_docs/API_docs_v46/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_startBot.md b/old_docs/API_docs_v46/methods/messages_startBot.md index 506957a7..71f82822 100644 --- a/old_docs/API_docs_v46/methods/messages_startBot.md +++ b/old_docs/API_docs_v46/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md index 0f1e56fa..56438277 100644 --- a/old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md @@ -25,7 +25,7 @@ Enable all users are admins in normal groups (not supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = messages.toggleChatAdmins({chat_id=InputPeer, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v46/methods/photos_deletePhotos.md b/old_docs/API_docs_v46/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v46/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v46/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v46/methods/photos_getUserPhotos.md b/old_docs/API_docs_v46/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/old_docs/API_docs_v46/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v46/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md index 706f0a01..7341e4e7 100644 --- a/old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md @@ -25,7 +25,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md index 99064210..1debfc82 100644 --- a/old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md @@ -27,7 +27,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v46/methods/users_getUsers.md b/old_docs/API_docs_v46/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v46/methods/users_getUsers.md +++ b/old_docs/API_docs_v46/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v46/types/Chat.md b/old_docs/API_docs_v46/types/Chat.md index cd83aacb..58654e6e 100644 --- a/old_docs/API_docs_v46/types/Chat.md +++ b/old_docs/API_docs_v46/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v46/types/InputChannel.md b/old_docs/API_docs_v46/types/InputChannel.md index 3882099d..6dc802fc 100644 --- a/old_docs/API_docs_v46/types/InputChannel.md +++ b/old_docs/API_docs_v46/types/InputChannel.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputChannel = '@username'; // Username $InputChannel = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v46/types/InputEncryptedChat.md b/old_docs/API_docs_v46/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v46/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v46/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v46/types/InputEncryptedFile.md b/old_docs/API_docs_v46/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v46/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v46/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v46/types/InputFile.md b/old_docs/API_docs_v46/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v46/types/InputFile.md +++ b/old_docs/API_docs_v46/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v46/types/InputNotifyPeer.md b/old_docs/API_docs_v46/types/InputNotifyPeer.md index ffc1f0cf..f9d0a662 100644 --- a/old_docs/API_docs_v46/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v46/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v46/types/InputPeer.md b/old_docs/API_docs_v46/types/InputPeer.md index 2076c00b..2649db1a 100644 --- a/old_docs/API_docs_v46/types/InputPeer.md +++ b/old_docs/API_docs_v46/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v46/types/InputUser.md b/old_docs/API_docs_v46/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/old_docs/API_docs_v46/types/InputUser.md +++ b/old_docs/API_docs_v46/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v46/types/KeyboardButton.md b/old_docs/API_docs_v46/types/KeyboardButton.md index f292ca69..9de6a7fc 100644 --- a/old_docs/API_docs_v46/types/KeyboardButton.md +++ b/old_docs/API_docs_v46/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/old_docs/API_docs_v46/types/NotifyPeer.md b/old_docs/API_docs_v46/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v46/types/NotifyPeer.md +++ b/old_docs/API_docs_v46/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v46/types/Peer.md b/old_docs/API_docs_v46/types/Peer.md index ebb98e91..0ab7fdcc 100644 --- a/old_docs/API_docs_v46/types/Peer.md +++ b/old_docs/API_docs_v46/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v46/types/User.md b/old_docs/API_docs_v46/types/User.md index 3abd182f..425c8d2b 100644 --- a/old_docs/API_docs_v46/types/User.md +++ b/old_docs/API_docs_v46/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v51/constructors/accountDaysTTL.md b/old_docs/API_docs_v51/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v51/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v51/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v51/constructors/account_authorizations.md b/old_docs/API_docs_v51/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v51/constructors/account_authorizations.md +++ b/old_docs/API_docs_v51/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v51/constructors/account_noPassword.md b/old_docs/API_docs_v51/constructors/account_noPassword.md index 81a483d6..63a4af6d 100644 --- a/old_docs/API_docs_v51/constructors/account_noPassword.md +++ b/old_docs/API_docs_v51/constructors/account_noPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -33,10 +33,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'emai ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/account_password.md b/old_docs/API_docs_v51/constructors/account_password.md index 9a8b31c6..5c4c334b 100644 --- a/old_docs/API_docs_v51/constructors/account_password.md +++ b/old_docs/API_docs_v51/constructors/account_password.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` @@ -36,10 +36,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v51/constructors/account_passwordInputSettings.md index f474e0c7..b5838f0a 100644 --- a/old_docs/API_docs_v51/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v51/constructors/account_passwordInputSettings.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v51/constructors/account_passwordSettings.md b/old_docs/API_docs_v51/constructors/account_passwordSettings.md index 27d14f59..04fc8621 100644 --- a/old_docs/API_docs_v51/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v51/constructors/account_passwordSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v51/constructors/account_privacyRules.md b/old_docs/API_docs_v51/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v51/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v51/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v51/constructors/auth_authorization.md b/old_docs/API_docs_v51/constructors/auth_authorization.md index bbe5a8b9..1a75a113 100644 --- a/old_docs/API_docs_v51/constructors/auth_authorization.md +++ b/old_docs/API_docs_v51/constructors/auth_authorization.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` @@ -32,10 +32,9 @@ $auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_authorization={_='auth.authorization', user=User} ``` diff --git a/old_docs/API_docs_v51/constructors/auth_checkedPhone.md b/old_docs/API_docs_v51/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v51/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v51/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v51/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v51/constructors/auth_codeTypeCall.md index 6a4f28d1..788a2c37 100644 --- a/old_docs/API_docs_v51/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v51/constructors/auth_codeTypeCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeCall={_='auth.codeTypeCall'} ``` diff --git a/old_docs/API_docs_v51/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v51/constructors/auth_codeTypeFlashCall.md index 2851bf4e..abb65fcf 100644 --- a/old_docs/API_docs_v51/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v51/constructors/auth_codeTypeFlashCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} ``` diff --git a/old_docs/API_docs_v51/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v51/constructors/auth_codeTypeSms.md index 04b78a3d..34b42c95 100644 --- a/old_docs/API_docs_v51/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v51/constructors/auth_codeTypeSms.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeSms={_='auth.codeTypeSms'} ``` diff --git a/old_docs/API_docs_v51/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v51/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v51/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v51/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v51/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v51/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v51/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v51/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v51/constructors/auth_sentCode.md b/old_docs/API_docs_v51/constructors/auth_sentCode.md index 0226e79e..2b3f2017 100644 --- a/old_docs/API_docs_v51/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v51/constructors/auth_sentCode.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; ``` @@ -36,10 +36,9 @@ $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} ``` diff --git a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeApp.md index eb4f4530..eba1784a 100644 --- a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeApp.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeCall.md index b72a7550..5948ce63 100644 --- a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeFlashCall.md index 2c59cad5..bcc7acf6 100644 --- a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeFlashCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeSms.md index db6858ea..3073333f 100644 --- a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeSms.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v51/constructors/authorization.md b/old_docs/API_docs_v51/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v51/constructors/authorization.md +++ b/old_docs/API_docs_v51/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v51/constructors/botCommand.md b/old_docs/API_docs_v51/constructors/botCommand.md index 8569358d..fcb65461 100644 --- a/old_docs/API_docs_v51/constructors/botCommand.md +++ b/old_docs/API_docs_v51/constructors/botCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v51/constructors/botInfo.md b/old_docs/API_docs_v51/constructors/botInfo.md index 507f9f8c..ad88f390 100644 --- a/old_docs/API_docs_v51/constructors/botInfo.md +++ b/old_docs/API_docs_v51/constructors/botInfo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v51/constructors/botInlineMediaResult.md b/old_docs/API_docs_v51/constructors/botInlineMediaResult.md index 43454784..0131af98 100644 --- a/old_docs/API_docs_v51/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v51/constructors/botInlineMediaResult.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` @@ -38,10 +38,9 @@ $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} ``` diff --git a/old_docs/API_docs_v51/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v51/constructors/botInlineMessageMediaAuto.md index 71557e0c..89ef07e4 100644 --- a/old_docs/API_docs_v51/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v51/constructors/botInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v51/constructors/botInlineMessageMediaContact.md b/old_docs/API_docs_v51/constructors/botInlineMessageMediaContact.md index c3f25947..771472fa 100644 --- a/old_docs/API_docs_v51/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v51/constructors/botInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v51/constructors/botInlineMessageMediaGeo.md b/old_docs/API_docs_v51/constructors/botInlineMessageMediaGeo.md index c87e0dfe..24bf8b8d 100644 --- a/old_docs/API_docs_v51/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v51/constructors/botInlineMessageMediaGeo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v51/constructors/botInlineMessageMediaVenue.md b/old_docs/API_docs_v51/constructors/botInlineMessageMediaVenue.md index 4795ba75..8108a37c 100644 --- a/old_docs/API_docs_v51/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v51/constructors/botInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v51/constructors/botInlineMessageText.md b/old_docs/API_docs_v51/constructors/botInlineMessageText.md index 4a274d28..b3fa92ed 100644 --- a/old_docs/API_docs_v51/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v51/constructors/botInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v51/constructors/botInlineResult.md b/old_docs/API_docs_v51/constructors/botInlineResult.md index c7abbd71..8b6ead75 100644 --- a/old_docs/API_docs_v51/constructors/botInlineResult.md +++ b/old_docs/API_docs_v51/constructors/botInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` @@ -43,10 +43,9 @@ $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_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v51/constructors/channel.md b/old_docs/API_docs_v51/constructors/channel.md index 489f65c7..98c32d4b 100644 --- a/old_docs/API_docs_v51/constructors/channel.md +++ b/old_docs/API_docs_v51/constructors/channel.md @@ -40,7 +40,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => 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']; ``` @@ -51,10 +51,9 @@ $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=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'} ``` diff --git a/old_docs/API_docs_v51/constructors/channelForbidden.md b/old_docs/API_docs_v51/constructors/channelForbidden.md index cc8b60d1..6e168c38 100644 --- a/old_docs/API_docs_v51/constructors/channelForbidden.md +++ b/old_docs/API_docs_v51/constructors/channelForbidden.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` @@ -34,10 +34,9 @@ $channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelForbidden={_='channelForbidden', id=int, access_hash=long, title='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/channelFull.md b/old_docs/API_docs_v51/constructors/channelFull.md index 7d01a1dd..f932c20b 100644 --- a/old_docs/API_docs_v51/constructors/channelFull.md +++ b/old_docs/API_docs_v51/constructors/channelFull.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_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]; ``` @@ -48,10 +48,9 @@ $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, id=int, about='string', participants_count=int, admins_count=int, kicked_count=int, read_inbox_max_id=int, unread_count=int, unread_important_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} ``` diff --git a/old_docs/API_docs_v51/constructors/channelMessagesFilter.md b/old_docs/API_docs_v51/constructors/channelMessagesFilter.md index f4d8feff..9b929e61 100644 --- a/old_docs/API_docs_v51/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v51/constructors/channelMessagesFilter.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]]; ``` @@ -34,10 +34,9 @@ $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilter={_='channelMessagesFilter', important_only=Bool, exclude_new_messages=Bool, ranges={MessageRange}} ``` diff --git a/old_docs/API_docs_v51/constructors/channelMessagesFilterCollapsed.md b/old_docs/API_docs_v51/constructors/channelMessagesFilterCollapsed.md index fa1fff29..770cc788 100644 --- a/old_docs/API_docs_v51/constructors/channelMessagesFilterCollapsed.md +++ b/old_docs/API_docs_v51/constructors/channelMessagesFilterCollapsed.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterCollapsed={_='channelMessagesFilterCollapsed'} ``` diff --git a/old_docs/API_docs_v51/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v51/constructors/channelMessagesFilterEmpty.md index 350e50de..a446b896 100644 --- a/old_docs/API_docs_v51/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v51/constructors/channelMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/channelParticipant.md b/old_docs/API_docs_v51/constructors/channelParticipant.md index c7de5400..dbcb792b 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipant.md +++ b/old_docs/API_docs_v51/constructors/channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v51/constructors/channelParticipantCreator.md b/old_docs/API_docs_v51/constructors/channelParticipantCreator.md index 86cafe0a..e999fb9c 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantCreator={_='channelParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/channelParticipantEditor.md b/old_docs/API_docs_v51/constructors/channelParticipantEditor.md index 37ae4bb0..7c7e4dc9 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantEditor.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v51/constructors/channelParticipantKicked.md b/old_docs/API_docs_v51/constructors/channelParticipantKicked.md index ccc454be..6bcc2e0f 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantKicked.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int} ``` diff --git a/old_docs/API_docs_v51/constructors/channelParticipantModerator.md b/old_docs/API_docs_v51/constructors/channelParticipantModerator.md index 90b4ab52..49c68acd 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantModerator.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v51/constructors/channelParticipantSelf.md b/old_docs/API_docs_v51/constructors/channelParticipantSelf.md index 83864972..4b5949ac 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantSelf.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v51/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v51/constructors/channelParticipantsAdmins.md index c86cb9a4..4b0c30d4 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantsAdmins.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` @@ -27,10 +27,9 @@ $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v51/constructors/channelParticipantsBots.md b/old_docs/API_docs_v51/constructors/channelParticipantsBots.md index 30875f94..66e510c7 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantsBots.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` @@ -27,10 +27,9 @@ $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v51/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v51/constructors/channelParticipantsKicked.md index 7f026ceb..38cf128e 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantsKicked.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` @@ -27,10 +27,9 @@ $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v51/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v51/constructors/channelParticipantsRecent.md index e4cb6466..51e57069 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantsRecent.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` @@ -27,10 +27,9 @@ $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v51/constructors/channelRoleEditor.md b/old_docs/API_docs_v51/constructors/channelRoleEditor.md index 86d953a9..1e472d2f 100644 --- a/old_docs/API_docs_v51/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v51/constructors/channelRoleEditor.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` @@ -27,10 +27,9 @@ $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v51/constructors/channelRoleEmpty.md b/old_docs/API_docs_v51/constructors/channelRoleEmpty.md index a50bb310..85d1c3fb 100644 --- a/old_docs/API_docs_v51/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v51/constructors/channelRoleEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` @@ -27,10 +27,9 @@ $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/channelRoleModerator.md b/old_docs/API_docs_v51/constructors/channelRoleModerator.md index 781f60ad..f242ff5c 100644 --- a/old_docs/API_docs_v51/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v51/constructors/channelRoleModerator.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` @@ -27,10 +27,9 @@ $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleModerator={_='channelRoleModerator'} ``` diff --git a/old_docs/API_docs_v51/constructors/channels_channelParticipant.md b/old_docs/API_docs_v51/constructors/channels_channelParticipant.md index bdf27b08..107502c5 100644 --- a/old_docs/API_docs_v51/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v51/constructors/channels_channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v51/constructors/channels_channelParticipants.md b/old_docs/API_docs_v51/constructors/channels_channelParticipants.md index 1b76b1e0..0402423f 100644 --- a/old_docs/API_docs_v51/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v51/constructors/channels_channelParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v51/constructors/chat.md b/old_docs/API_docs_v51/constructors/chat.md index 5ae1811d..b6f24f3e 100644 --- a/old_docs/API_docs_v51/constructors/chat.md +++ b/old_docs/API_docs_v51/constructors/chat.md @@ -33,7 +33,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -44,10 +44,9 @@ $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} ``` diff --git a/old_docs/API_docs_v51/constructors/chatEmpty.md b/old_docs/API_docs_v51/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v51/constructors/chatEmpty.md +++ b/old_docs/API_docs_v51/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/chatForbidden.md b/old_docs/API_docs_v51/constructors/chatForbidden.md index de5bb302..61c45660 100644 --- a/old_docs/API_docs_v51/constructors/chatForbidden.md +++ b/old_docs/API_docs_v51/constructors/chatForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v51/constructors/chatFull.md b/old_docs/API_docs_v51/constructors/chatFull.md index 6e138596..2a5f67f6 100644 --- a/old_docs/API_docs_v51/constructors/chatFull.md +++ b/old_docs/API_docs_v51/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v51/constructors/chatInvite.md b/old_docs/API_docs_v51/constructors/chatInvite.md index 6cf6e489..3c3a0001 100644 --- a/old_docs/API_docs_v51/constructors/chatInvite.md +++ b/old_docs/API_docs_v51/constructors/chatInvite.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string']; ``` @@ -36,10 +36,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v51/constructors/chatInviteAlready.md b/old_docs/API_docs_v51/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/old_docs/API_docs_v51/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v51/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/old_docs/API_docs_v51/constructors/chatInviteEmpty.md b/old_docs/API_docs_v51/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/old_docs/API_docs_v51/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v51/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/chatInviteExported.md b/old_docs/API_docs_v51/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/old_docs/API_docs_v51/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v51/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/chatParticipant.md b/old_docs/API_docs_v51/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v51/constructors/chatParticipant.md +++ b/old_docs/API_docs_v51/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v51/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v51/constructors/chatParticipantAdmin.md index 62aee9a4..63a38575 100644 --- a/old_docs/API_docs_v51/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v51/constructors/chatParticipantAdmin.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v51/constructors/chatParticipantCreator.md b/old_docs/API_docs_v51/constructors/chatParticipantCreator.md index 0fb7b6ef..75b9c4d4 100644 --- a/old_docs/API_docs_v51/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v51/constructors/chatParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantCreator={_='chatParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/chatParticipants.md b/old_docs/API_docs_v51/constructors/chatParticipants.md index 38af2ca5..ae254290 100644 --- a/old_docs/API_docs_v51/constructors/chatParticipants.md +++ b/old_docs/API_docs_v51/constructors/chatParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v51/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v51/constructors/chatParticipantsForbidden.md index 2ecdfe10..639b30ee 100644 --- a/old_docs/API_docs_v51/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v51/constructors/chatParticipantsForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v51/constructors/chatPhoto.md b/old_docs/API_docs_v51/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v51/constructors/chatPhoto.md +++ b/old_docs/API_docs_v51/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v51/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v51/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v51/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v51/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/config.md b/old_docs/API_docs_v51/constructors/config.md index 8fdd5b6c..168bf473 100644 --- a/old_docs/API_docs_v51/constructors/config.md +++ b/old_docs/API_docs_v51/constructors/config.md @@ -40,7 +40,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -51,10 +51,9 @@ $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v51/constructors/contact.md b/old_docs/API_docs_v51/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v51/constructors/contact.md +++ b/old_docs/API_docs_v51/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v51/constructors/contactBlocked.md b/old_docs/API_docs_v51/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v51/constructors/contactBlocked.md +++ b/old_docs/API_docs_v51/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v51/constructors/contactLinkContact.md b/old_docs/API_docs_v51/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v51/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v51/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v51/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v51/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v51/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v51/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v51/constructors/contactLinkNone.md b/old_docs/API_docs_v51/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v51/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v51/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v51/constructors/contactLinkUnknown.md b/old_docs/API_docs_v51/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v51/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v51/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v51/constructors/contactStatus.md b/old_docs/API_docs_v51/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v51/constructors/contactStatus.md +++ b/old_docs/API_docs_v51/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v51/constructors/contacts_blocked.md b/old_docs/API_docs_v51/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v51/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v51/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v51/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v51/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v51/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v51/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v51/constructors/contacts_contacts.md b/old_docs/API_docs_v51/constructors/contacts_contacts.md index 34dae91a..ea16b38a 100644 --- a/old_docs/API_docs_v51/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v51/constructors/contacts_contacts.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} ``` diff --git a/old_docs/API_docs_v51/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v51/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v51/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v51/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v51/constructors/contacts_found.md b/old_docs/API_docs_v51/constructors/contacts_found.md index 7e0e458c..624fa475 100644 --- a/old_docs/API_docs_v51/constructors/contacts_found.md +++ b/old_docs/API_docs_v51/constructors/contacts_found.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v51/constructors/contacts_importedContacts.md b/old_docs/API_docs_v51/constructors/contacts_importedContacts.md index 7bf9c1bf..8b9012bb 100644 --- a/old_docs/API_docs_v51/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v51/constructors/contacts_importedContacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v51/constructors/contacts_link.md b/old_docs/API_docs_v51/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v51/constructors/contacts_link.md +++ b/old_docs/API_docs_v51/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v51/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v51/constructors/contacts_resolvedPeer.md index add29235..4aa323dd 100644 --- a/old_docs/API_docs_v51/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v51/constructors/contacts_resolvedPeer.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v51/constructors/dcOption.md b/old_docs/API_docs_v51/constructors/dcOption.md index 3fd6f51f..c4e1a91f 100644 --- a/old_docs/API_docs_v51/constructors/dcOption.md +++ b/old_docs/API_docs_v51/constructors/dcOption.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` @@ -37,10 +37,9 @@ $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, id=int, ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v51/constructors/dialog.md b/old_docs/API_docs_v51/constructors/dialog.md index cbb327d6..539225bf 100644 --- a/old_docs/API_docs_v51/constructors/dialog.md +++ b/old_docs/API_docs_v51/constructors/dialog.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings]; ``` @@ -36,10 +36,9 @@ $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_ma ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v51/constructors/dialogChannel.md b/old_docs/API_docs_v51/constructors/dialogChannel.md index 298ffa24..918b6bed 100644 --- a/old_docs/API_docs_v51/constructors/dialogChannel.md +++ b/old_docs/API_docs_v51/constructors/dialogChannel.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int]; ``` @@ -39,10 +39,9 @@ $dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialogChannel={_='dialogChannel', peer=Peer, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, notify_settings=PeerNotifySettings, pts=int} ``` diff --git a/old_docs/API_docs_v51/constructors/disabledFeature.md b/old_docs/API_docs_v51/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v51/constructors/disabledFeature.md +++ b/old_docs/API_docs_v51/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/document.md b/old_docs/API_docs_v51/constructors/document.md index 8719d873..e9547f1f 100644 --- a/old_docs/API_docs_v51/constructors/document.md +++ b/old_docs/API_docs_v51/constructors/document.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -39,10 +39,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v51/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v51/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v51/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v51/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v51/constructors/documentAttributeAudio.md b/old_docs/API_docs_v51/constructors/documentAttributeAudio.md index 0dc5decc..f427a05c 100644 --- a/old_docs/API_docs_v51/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v51/constructors/documentAttributeAudio.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` @@ -36,10 +36,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'du ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title='string', performer='string', waveform='bytes'} ``` diff --git a/old_docs/API_docs_v51/constructors/documentAttributeFilename.md b/old_docs/API_docs_v51/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v51/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v51/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v51/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v51/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v51/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v51/constructors/documentAttributeSticker.md b/old_docs/API_docs_v51/constructors/documentAttributeSticker.md index d44d94cd..397679ef 100644 --- a/old_docs/API_docs_v51/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v51/constructors/documentAttributeSticker.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` @@ -33,10 +33,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', alt='string', stickerset=InputStickerSet} ``` diff --git a/old_docs/API_docs_v51/constructors/documentAttributeVideo.md b/old_docs/API_docs_v51/constructors/documentAttributeVideo.md index 0902c118..cc7ffced 100644 --- a/old_docs/API_docs_v51/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v51/constructors/documentAttributeVideo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -34,10 +34,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v51/constructors/documentEmpty.md b/old_docs/API_docs_v51/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v51/constructors/documentEmpty.md +++ b/old_docs/API_docs_v51/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v51/constructors/encryptedChat.md b/old_docs/API_docs_v51/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v51/constructors/encryptedChat.md +++ b/old_docs/API_docs_v51/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v51/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v51/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v51/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v51/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v51/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v51/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v51/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/encryptedChatRequested.md b/old_docs/API_docs_v51/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v51/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v51/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v51/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v51/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v51/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v51/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/encryptedFile.md b/old_docs/API_docs_v51/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v51/constructors/encryptedFile.md +++ b/old_docs/API_docs_v51/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v51/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v51/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v51/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v51/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/encryptedMessage.md b/old_docs/API_docs_v51/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v51/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v51/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v51/constructors/encryptedMessageService.md b/old_docs/API_docs_v51/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v51/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v51/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v51/constructors/error.md b/old_docs/API_docs_v51/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v51/constructors/error.md +++ b/old_docs/API_docs_v51/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/exportedMessageLink.md b/old_docs/API_docs_v51/constructors/exportedMessageLink.md index 423c9fa3..9db8d71a 100644 --- a/old_docs/API_docs_v51/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v51/constructors/exportedMessageLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua exportedMessageLink={_='exportedMessageLink', link='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/fileLocation.md b/old_docs/API_docs_v51/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v51/constructors/fileLocation.md +++ b/old_docs/API_docs_v51/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v51/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v51/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v51/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v51/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v51/constructors/foundGif.md b/old_docs/API_docs_v51/constructors/foundGif.md index d8ee3695..c2f0ce33 100644 --- a/old_docs/API_docs_v51/constructors/foundGif.md +++ b/old_docs/API_docs_v51/constructors/foundGif.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` @@ -37,10 +37,9 @@ $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'con ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGif={_='foundGif', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int} ``` diff --git a/old_docs/API_docs_v51/constructors/foundGifCached.md b/old_docs/API_docs_v51/constructors/foundGifCached.md index e4a1a552..03e67917 100644 --- a/old_docs/API_docs_v51/constructors/foundGifCached.md +++ b/old_docs/API_docs_v51/constructors/foundGifCached.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -34,10 +34,9 @@ $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGifCached={_='foundGifCached', url='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v51/constructors/geoPoint.md b/old_docs/API_docs_v51/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v51/constructors/geoPoint.md +++ b/old_docs/API_docs_v51/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v51/constructors/geoPointEmpty.md b/old_docs/API_docs_v51/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v51/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v51/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/help_appChangelog.md b/old_docs/API_docs_v51/constructors/help_appChangelog.md index 5b7b353a..d30f8acd 100644 --- a/old_docs/API_docs_v51/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v51/constructors/help_appChangelog.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelog={_='help.appChangelog', text='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v51/constructors/help_appChangelogEmpty.md index 0f0827c3..e20017b7 100644 --- a/old_docs/API_docs_v51/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v51/constructors/help_appChangelogEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` @@ -27,10 +27,9 @@ $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelogEmpty={_='help.appChangelogEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/help_appUpdate.md b/old_docs/API_docs_v51/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v51/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v51/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/help_inviteText.md b/old_docs/API_docs_v51/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v51/constructors/help_inviteText.md +++ b/old_docs/API_docs_v51/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/help_noAppUpdate.md b/old_docs/API_docs_v51/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v51/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v51/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v51/constructors/help_support.md b/old_docs/API_docs_v51/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v51/constructors/help_support.md +++ b/old_docs/API_docs_v51/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v51/constructors/help_termsOfService.md b/old_docs/API_docs_v51/constructors/help_termsOfService.md index 8e558bed..ec7a8121 100644 --- a/old_docs/API_docs_v51/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v51/constructors/help_termsOfService.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_termsOfService={_='help.termsOfService', text='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/importedContact.md b/old_docs/API_docs_v51/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v51/constructors/importedContact.md +++ b/old_docs/API_docs_v51/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v51/constructors/inlineBotSwitchPM.md b/old_docs/API_docs_v51/constructors/inlineBotSwitchPM.md index 0dfd4714..b4fb8185 100644 --- a/old_docs/API_docs_v51/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v51/constructors/inlineBotSwitchPM.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` @@ -33,10 +33,9 @@ $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_par ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inlineBotSwitchPM={_='inlineBotSwitchPM', text='string', start_param='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputAppEvent.md b/old_docs/API_docs_v51/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v51/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v51/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputBotInlineMessageID.md b/old_docs/API_docs_v51/constructors/inputBotInlineMessageID.md index 91c7586d..aecbb733 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineMessageID.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaAuto.md index 28d93836..17e2a1cb 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'cap ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaContact.md b/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaContact.md index 5b78709f..25dd9029 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaGeo.md b/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaGeo.md index 39365847..935dba16 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaGeo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaVenue.md b/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaVenue.md index 7dbc6a6c..56ec0745 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'g ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v51/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v51/constructors/inputBotInlineMessageText.md index e6a0bbb7..acae47bc 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v51/constructors/inputBotInlineResult.md b/old_docs/API_docs_v51/constructors/inputBotInlineResult.md index 668af514..34148d70 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` @@ -43,10 +43,9 @@ $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v51/constructors/inputBotInlineResultDocument.md b/old_docs/API_docs_v51/constructors/inputBotInlineResultDocument.md index ad13df76..9d5f1eb6 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineResultDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` @@ -37,10 +37,9 @@ $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultDocument={_='inputBotInlineResultDocument', id='string', type='string', title='string', description='string', document=InputDocument, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v51/constructors/inputBotInlineResultPhoto.md b/old_docs/API_docs_v51/constructors/inputBotInlineResultPhoto.md index 43f00813..271bb02e 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineResultPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` @@ -35,10 +35,9 @@ $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id='string', type='string', photo=InputPhoto, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v51/constructors/inputChannel.md b/old_docs/API_docs_v51/constructors/inputChannel.md index b5cb3566..34ed10ca 100644 --- a/old_docs/API_docs_v51/constructors/inputChannel.md +++ b/old_docs/API_docs_v51/constructors/inputChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannel={_='inputChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v51/constructors/inputChannelEmpty.md b/old_docs/API_docs_v51/constructors/inputChannelEmpty.md index f7e18434..bd53602b 100644 --- a/old_docs/API_docs_v51/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputChannelEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` @@ -27,10 +27,9 @@ $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputChatPhoto.md b/old_docs/API_docs_v51/constructors/inputChatPhoto.md index 5affda9a..7ad8a3f7 100644 --- a/old_docs/API_docs_v51/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v51/constructors/inputChatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputP ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v51/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v51/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v51/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v51/constructors/inputChatUploadedPhoto.md index a22405b2..ed0624da 100644 --- a/old_docs/API_docs_v51/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v51/constructors/inputChatUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v51/constructors/inputDocument.md b/old_docs/API_docs_v51/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v51/constructors/inputDocument.md +++ b/old_docs/API_docs_v51/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v51/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v51/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v51/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v51/constructors/inputDocumentFileLocation.md index 2ba7d2b3..5d593784 100644 --- a/old_docs/API_docs_v51/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v51/constructors/inputDocumentFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v51/constructors/inputEncryptedChat.md b/old_docs/API_docs_v51/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v51/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v51/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v51/constructors/inputEncryptedFile.md b/old_docs/API_docs_v51/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v51/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v51/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v51/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v51/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v51/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v51/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v51/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v51/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v51/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v51/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v51/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v51/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v51/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v51/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v51/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v51/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v51/constructors/inputFile.md b/old_docs/API_docs_v51/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v51/constructors/inputFile.md +++ b/old_docs/API_docs_v51/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputFileBig.md b/old_docs/API_docs_v51/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v51/constructors/inputFileBig.md +++ b/old_docs/API_docs_v51/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputFileLocation.md b/old_docs/API_docs_v51/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v51/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v51/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v51/constructors/inputGeoPoint.md b/old_docs/API_docs_v51/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v51/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v51/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v51/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v51/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v51/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMediaContact.md b/old_docs/API_docs_v51/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v51/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMediaDocument.md b/old_docs/API_docs_v51/constructors/inputMediaDocument.md index 8c961036..9436d5e4 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v51/constructors/inputMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'capt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMediaEmpty.md b/old_docs/API_docs_v51/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v51/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v51/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v51/constructors/inputMediaGifExternal.md index cf68972a..14153a43 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v51/constructors/inputMediaGifExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGifExternal={_='inputMediaGifExternal', url='string', q='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMediaPhoto.md b/old_docs/API_docs_v51/constructors/inputMediaPhoto.md index 0be7f6fe..71f4ded5 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v51/constructors/inputMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v51/constructors/inputMediaUploadedDocument.md index e70c2a9c..d3887568 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v51/constructors/inputMediaUploadedDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string']; ``` @@ -35,10 +35,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v51/constructors/inputMediaUploadedPhoto.md index 499857ce..ad2a8680 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v51/constructors/inputMediaUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v51/constructors/inputMediaUploadedThumbDocument.md index 7a6c823e..f5a601a7 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v51/constructors/inputMediaUploadedThumbDocument.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMediaVenue.md b/old_docs/API_docs_v51/constructors/inputMediaVenue.md index 3e7ee3a1..b2171fbc 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v51/constructors/inputMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterGif.md index 94698ecd..a3a51104 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterMusic.md index ac6373c2..b2ed1044 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterMusic.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterVoice.md index 026a91be..be3af22a 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputNotifyAll.md b/old_docs/API_docs_v51/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v51/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v51/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputNotifyChats.md b/old_docs/API_docs_v51/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v51/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v51/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputNotifyPeer.md b/old_docs/API_docs_v51/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v51/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v51/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v51/constructors/inputNotifyUsers.md b/old_docs/API_docs_v51/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v51/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v51/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPeerChannel.md b/old_docs/API_docs_v51/constructors/inputPeerChannel.md index 8b84fe20..14c2f105 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v51/constructors/inputPeerChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPeerChat.md b/old_docs/API_docs_v51/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v51/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPeerEmpty.md b/old_docs/API_docs_v51/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v51/constructors/inputPeerNotifySettings.md index 6b281f53..cd18b39e 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v51/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPeerSelf.md b/old_docs/API_docs_v51/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v51/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPeerUser.md b/old_docs/API_docs_v51/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v51/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPhoneContact.md b/old_docs/API_docs_v51/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v51/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v51/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPhoto.md b/old_docs/API_docs_v51/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v51/constructors/inputPhoto.md +++ b/old_docs/API_docs_v51/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPhotoCrop.md b/old_docs/API_docs_v51/constructors/inputPhotoCrop.md index b35bf42f..e90029a9 100644 --- a/old_docs/API_docs_v51/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v51/constructors/inputPhotoCrop.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` @@ -34,10 +34,9 @@ $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v51/constructors/inputPhotoCropAuto.md index 6c2f121d..37414b14 100644 --- a/old_docs/API_docs_v51/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v51/constructors/inputPhotoCropAuto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` @@ -27,10 +27,9 @@ $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v51/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v51/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v51/constructors/inputPrivacyKeyChatInvite.md index 9c55265f..d96148d4 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v51/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v51/constructors/inputReportReasonOther.md b/old_docs/API_docs_v51/constructors/inputReportReasonOther.md index 361582bd..4dbffa18 100644 --- a/old_docs/API_docs_v51/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v51/constructors/inputReportReasonOther.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonOther={_='inputReportReasonOther', text='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v51/constructors/inputReportReasonPornography.md index c18c71d3..5c80f096 100644 --- a/old_docs/API_docs_v51/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v51/constructors/inputReportReasonPornography.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` @@ -27,10 +27,9 @@ $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v51/constructors/inputReportReasonSpam.md index 19ed6687..75d59861 100644 --- a/old_docs/API_docs_v51/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v51/constructors/inputReportReasonSpam.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` @@ -27,10 +27,9 @@ $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v51/constructors/inputReportReasonViolence.md index 10fbce47..28d27e85 100644 --- a/old_docs/API_docs_v51/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v51/constructors/inputReportReasonViolence.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` @@ -27,10 +27,9 @@ $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v51/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/old_docs/API_docs_v51/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputStickerSetID.md b/old_docs/API_docs_v51/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/old_docs/API_docs_v51/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v51/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v51/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v51/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/old_docs/API_docs_v51/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v51/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputUser.md b/old_docs/API_docs_v51/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/old_docs/API_docs_v51/constructors/inputUser.md +++ b/old_docs/API_docs_v51/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v51/constructors/inputUserEmpty.md b/old_docs/API_docs_v51/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v51/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/inputUserSelf.md b/old_docs/API_docs_v51/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v51/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v51/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v51/constructors/keyboardButton.md b/old_docs/API_docs_v51/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/old_docs/API_docs_v51/constructors/keyboardButton.md +++ b/old_docs/API_docs_v51/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/keyboardButtonCallback.md b/old_docs/API_docs_v51/constructors/keyboardButtonCallback.md index 63e87aac..c8f86f50 100644 --- a/old_docs/API_docs_v51/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v51/constructors/keyboardButtonCallback.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` @@ -33,10 +33,9 @@ $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonCallback={_='keyboardButtonCallback', text='string', data='bytes'} ``` diff --git a/old_docs/API_docs_v51/constructors/keyboardButtonRequestGeoLocation.md b/old_docs/API_docs_v51/constructors/keyboardButtonRequestGeoLocation.md index fc422d90..63d4a82f 100644 --- a/old_docs/API_docs_v51/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v51/constructors/keyboardButtonRequestGeoLocation.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/keyboardButtonRequestPhone.md b/old_docs/API_docs_v51/constructors/keyboardButtonRequestPhone.md index a1719e24..ba58979f 100644 --- a/old_docs/API_docs_v51/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v51/constructors/keyboardButtonRequestPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/keyboardButtonRow.md b/old_docs/API_docs_v51/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/old_docs/API_docs_v51/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v51/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/old_docs/API_docs_v51/constructors/keyboardButtonSwitchInline.md b/old_docs/API_docs_v51/constructors/keyboardButtonSwitchInline.md index e682eec2..4c35e84b 100644 --- a/old_docs/API_docs_v51/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v51/constructors/keyboardButtonSwitchInline.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'text' => 'string', 'query' => 'string']; ``` @@ -33,10 +33,9 @@ $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'text' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', text='string', query='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/keyboardButtonUrl.md b/old_docs/API_docs_v51/constructors/keyboardButtonUrl.md index 709d4fa9..56b86f1c 100644 --- a/old_docs/API_docs_v51/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v51/constructors/keyboardButtonUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` @@ -33,10 +33,9 @@ $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonUrl={_='keyboardButtonUrl', text='string', url='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/message.md b/old_docs/API_docs_v51/constructors/message.md index a4c7aa35..d0f15e11 100644 --- a/old_docs/API_docs_v51/constructors/message.md +++ b/old_docs/API_docs_v51/constructors/message.md @@ -39,7 +39,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'views' => int, 'edit_date' => int]; ``` @@ -50,10 +50,9 @@ $message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int} ``` diff --git a/old_docs/API_docs_v51/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v51/constructors/messageActionChannelCreate.md index b1750d73..2600ab63 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v51/constructors/messageActionChannelCreate.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v51/constructors/messageActionChannelMigrateFrom.md index add136dc..1fdcf3f4 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v51/constructors/messageActionChannelMigrateFrom.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 't ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v51/constructors/messageActionChatAddUser.md index 9c7de7f8..283365cd 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', users={int}} ``` diff --git a/old_docs/API_docs_v51/constructors/messageActionChatCreate.md b/old_docs/API_docs_v51/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v51/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v51/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v51/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v51/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v51/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v51/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v51/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v51/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v51/constructors/messageActionChatMigrateTo.md index 21d2cb22..8ace1091 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatMigrateTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/messageActionEmpty.md b/old_docs/API_docs_v51/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v51/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v51/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/messageActionPinMessage.md b/old_docs/API_docs_v51/constructors/messageActionPinMessage.md index ffa41746..be763787 100644 --- a/old_docs/API_docs_v51/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v51/constructors/messageActionPinMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` @@ -27,10 +27,9 @@ $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/old_docs/API_docs_v51/constructors/messageEmpty.md b/old_docs/API_docs_v51/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v51/constructors/messageEmpty.md +++ b/old_docs/API_docs_v51/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/messageEntityBold.md b/old_docs/API_docs_v51/constructors/messageEntityBold.md index 950699fb..90f74ad5 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v51/constructors/messageEntityBold.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v51/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v51/constructors/messageEntityBotCommand.md index 8be471d3..9fb8f6a6 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v51/constructors/messageEntityBotCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v51/constructors/messageEntityCode.md b/old_docs/API_docs_v51/constructors/messageEntityCode.md index 7c701844..d236e57e 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v51/constructors/messageEntityCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v51/constructors/messageEntityEmail.md b/old_docs/API_docs_v51/constructors/messageEntityEmail.md index 35a968c7..74e910f3 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v51/constructors/messageEntityEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v51/constructors/messageEntityHashtag.md b/old_docs/API_docs_v51/constructors/messageEntityHashtag.md index 6b124e73..77e29387 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v51/constructors/messageEntityHashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v51/constructors/messageEntityItalic.md b/old_docs/API_docs_v51/constructors/messageEntityItalic.md index 25f73428..5975bae2 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v51/constructors/messageEntityItalic.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v51/constructors/messageEntityMention.md b/old_docs/API_docs_v51/constructors/messageEntityMention.md index 9eb4d266..1a21cb10 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v51/constructors/messageEntityMention.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v51/constructors/messageEntityPre.md b/old_docs/API_docs_v51/constructors/messageEntityPre.md index abfc9136..13b165fe 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v51/constructors/messageEntityPre.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPre={_='messageEntityPre', offset=int, length=int, language='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v51/constructors/messageEntityTextUrl.md index 91f6d36c..b6d82843 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v51/constructors/messageEntityTextUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/messageEntityUnknown.md b/old_docs/API_docs_v51/constructors/messageEntityUnknown.md index 69ca8a1b..4c434fd7 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v51/constructors/messageEntityUnknown.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v51/constructors/messageEntityUrl.md b/old_docs/API_docs_v51/constructors/messageEntityUrl.md index 377c3dda..2cf334a5 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v51/constructors/messageEntityUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v51/constructors/messageFwdHeader.md b/old_docs/API_docs_v51/constructors/messageFwdHeader.md index b55da4c5..999c62ad 100644 --- a/old_docs/API_docs_v51/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v51/constructors/messageFwdHeader.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int]; ``` @@ -35,10 +35,9 @@ $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int} ``` diff --git a/old_docs/API_docs_v51/constructors/messageGroup.md b/old_docs/API_docs_v51/constructors/messageGroup.md index 31de6cb4..ee695490 100644 --- a/old_docs/API_docs_v51/constructors/messageGroup.md +++ b/old_docs/API_docs_v51/constructors/messageGroup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int]; ``` @@ -35,10 +35,9 @@ $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageGroup={_='messageGroup', min_id=int, max_id=int, count=int, date=int} ``` diff --git a/old_docs/API_docs_v51/constructors/messageMediaContact.md b/old_docs/API_docs_v51/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v51/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/messageMediaDocument.md b/old_docs/API_docs_v51/constructors/messageMediaDocument.md index 1f584a82..44199179 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v51/constructors/messageMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document, caption='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/messageMediaEmpty.md b/old_docs/API_docs_v51/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v51/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/messageMediaGeo.md b/old_docs/API_docs_v51/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v51/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v51/constructors/messageMediaPhoto.md b/old_docs/API_docs_v51/constructors/messageMediaPhoto.md index 47579066..7350efce 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v51/constructors/messageMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v51/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v51/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v51/constructors/messageMediaVenue.md b/old_docs/API_docs_v51/constructors/messageMediaVenue.md index 2db2d25d..2ef2b27f 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v51/constructors/messageMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/messageMediaWebPage.md b/old_docs/API_docs_v51/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v51/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v51/constructors/messageRange.md b/old_docs/API_docs_v51/constructors/messageRange.md index 40c3f81a..527e8646 100644 --- a/old_docs/API_docs_v51/constructors/messageRange.md +++ b/old_docs/API_docs_v51/constructors/messageRange.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageRange={_='messageRange', min_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/messageService.md b/old_docs/API_docs_v51/constructors/messageService.md index 9d5a8c41..0fe8376e 100644 --- a/old_docs/API_docs_v51/constructors/messageService.md +++ b/old_docs/API_docs_v51/constructors/messageService.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction]; ``` @@ -43,10 +43,9 @@ $messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'me ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_affectedHistory.md b/old_docs/API_docs_v51/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v51/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v51/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_affectedMessages.md b/old_docs/API_docs_v51/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v51/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v51/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_allStickers.md b/old_docs/API_docs_v51/constructors/messages_allStickers.md index 2a7d1313..45a66ddf 100644 --- a/old_docs/API_docs_v51/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v51/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v51/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v51/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v51/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v51/constructors/messages_botCallbackAnswer.md index e4778f83..e383ab3a 100644 --- a/old_docs/API_docs_v51/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v51/constructors/messages_botCallbackAnswer.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'message' => 'string']; ``` @@ -33,10 +33,9 @@ $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, message='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_botResults.md b/old_docs/API_docs_v51/constructors/messages_botResults.md index b26aa39e..5b97a820 100644 --- a/old_docs/API_docs_v51/constructors/messages_botResults.md +++ b/old_docs/API_docs_v51/constructors/messages_botResults.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult]]; ``` @@ -36,10 +36,9 @@ $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_channelMessages.md b/old_docs/API_docs_v51/constructors/messages_channelMessages.md index 8948bf1d..eadc5001 100644 --- a/old_docs/API_docs_v51/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v51/constructors/messages_channelMessages.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -37,10 +37,9 @@ $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'c ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_chatFull.md b/old_docs/API_docs_v51/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v51/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v51/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_chats.md b/old_docs/API_docs_v51/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v51/constructors/messages_chats.md +++ b/old_docs/API_docs_v51/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_dhConfig.md b/old_docs/API_docs_v51/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v51/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v51/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v51/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v51/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v51/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_dialogs.md b/old_docs/API_docs_v51/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v51/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v51/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v51/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v51/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v51/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_foundGifs.md b/old_docs/API_docs_v51/constructors/messages_foundGifs.md index f86a9fed..4d513264 100644 --- a/old_docs/API_docs_v51/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v51/constructors/messages_foundGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; ``` @@ -33,10 +33,9 @@ $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'resul ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_messageEditData.md b/old_docs/API_docs_v51/constructors/messages_messageEditData.md index aee6e179..fe0f3ab3 100644 --- a/old_docs/API_docs_v51/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v51/constructors/messages_messageEditData.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` @@ -32,10 +32,9 @@ $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messageEditData={_='messages.messageEditData', caption=Bool} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_messages.md b/old_docs/API_docs_v51/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v51/constructors/messages_messages.md +++ b/old_docs/API_docs_v51/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_messagesSlice.md b/old_docs/API_docs_v51/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v51/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v51/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_savedGifs.md b/old_docs/API_docs_v51/constructors/messages_savedGifs.md index 4a254ab5..ae7e595f 100644 --- a/old_docs/API_docs_v51/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v51/constructors/messages_savedGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Do ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v51/constructors/messages_savedGifsNotModified.md index 65c17d0c..ef0db669 100644 --- a/old_docs/API_docs_v51/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v51/constructors/messages_savedGifsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` @@ -27,10 +27,9 @@ $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifsNotModified={_='messages.savedGifsNotModified'} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v51/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v51/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v51/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v51/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v51/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v51/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_stickerSet.md b/old_docs/API_docs_v51/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/old_docs/API_docs_v51/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v51/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_stickers.md b/old_docs/API_docs_v51/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v51/constructors/messages_stickers.md +++ b/old_docs/API_docs_v51/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v51/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v51/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v51/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v51/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v51/constructors/nearestDc.md b/old_docs/API_docs_v51/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v51/constructors/nearestDc.md +++ b/old_docs/API_docs_v51/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v51/constructors/notifyAll.md b/old_docs/API_docs_v51/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v51/constructors/notifyAll.md +++ b/old_docs/API_docs_v51/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v51/constructors/notifyChats.md b/old_docs/API_docs_v51/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v51/constructors/notifyChats.md +++ b/old_docs/API_docs_v51/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v51/constructors/notifyPeer.md b/old_docs/API_docs_v51/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v51/constructors/notifyPeer.md +++ b/old_docs/API_docs_v51/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v51/constructors/notifyUsers.md b/old_docs/API_docs_v51/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v51/constructors/notifyUsers.md +++ b/old_docs/API_docs_v51/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v51/constructors/peerChannel.md b/old_docs/API_docs_v51/constructors/peerChannel.md index f30e3f41..360d5c42 100644 --- a/old_docs/API_docs_v51/constructors/peerChannel.md +++ b/old_docs/API_docs_v51/constructors/peerChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/peerChat.md b/old_docs/API_docs_v51/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v51/constructors/peerChat.md +++ b/old_docs/API_docs_v51/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v51/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v51/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v51/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v51/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v51/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v51/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v51/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/peerNotifySettings.md b/old_docs/API_docs_v51/constructors/peerNotifySettings.md index f011beb7..2007e4ee 100644 --- a/old_docs/API_docs_v51/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v51/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'si ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v51/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v51/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v51/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/peerSettings.md b/old_docs/API_docs_v51/constructors/peerSettings.md index 8f74bb50..2468fee4 100644 --- a/old_docs/API_docs_v51/constructors/peerSettings.md +++ b/old_docs/API_docs_v51/constructors/peerSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` @@ -32,10 +32,9 @@ $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerSettings={_='peerSettings', report_spam=Bool} ``` diff --git a/old_docs/API_docs_v51/constructors/peerUser.md b/old_docs/API_docs_v51/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v51/constructors/peerUser.md +++ b/old_docs/API_docs_v51/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/photo.md b/old_docs/API_docs_v51/constructors/photo.md index 7055e7a9..982122b9 100644 --- a/old_docs/API_docs_v51/constructors/photo.md +++ b/old_docs/API_docs_v51/constructors/photo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -35,10 +35,9 @@ $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v51/constructors/photoCachedSize.md b/old_docs/API_docs_v51/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v51/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v51/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v51/constructors/photoEmpty.md b/old_docs/API_docs_v51/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v51/constructors/photoEmpty.md +++ b/old_docs/API_docs_v51/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v51/constructors/photoSize.md b/old_docs/API_docs_v51/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v51/constructors/photoSize.md +++ b/old_docs/API_docs_v51/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v51/constructors/photoSizeEmpty.md b/old_docs/API_docs_v51/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v51/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v51/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/photos_photo.md b/old_docs/API_docs_v51/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v51/constructors/photos_photo.md +++ b/old_docs/API_docs_v51/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v51/constructors/photos_photos.md b/old_docs/API_docs_v51/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v51/constructors/photos_photos.md +++ b/old_docs/API_docs_v51/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v51/constructors/photos_photosSlice.md b/old_docs/API_docs_v51/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v51/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v51/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v51/constructors/privacyKeyChatInvite.md b/old_docs/API_docs_v51/constructors/privacyKeyChatInvite.md index cc6e39b6..44826e55 100644 --- a/old_docs/API_docs_v51/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v51/constructors/privacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v51/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v51/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v51/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v51/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v51/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v51/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v51/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v51/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v51/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v51/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v51/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v51/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v51/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v51/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v51/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v51/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v51/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v51/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v51/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v51/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v51/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v51/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v51/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v51/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v51/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v51/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v51/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v51/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v51/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v51/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/old_docs/API_docs_v51/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v51/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/replyInlineMarkup.md b/old_docs/API_docs_v51/constructors/replyInlineMarkup.md index 6d353569..6e481165 100644 --- a/old_docs/API_docs_v51/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v51/constructors/replyInlineMarkup.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -32,10 +32,9 @@ $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v51/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v51/constructors/replyKeyboardForceReply.md index 56e255c1..3f7fae8c 100644 --- a/old_docs/API_docs_v51/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v51/constructors/replyKeyboardForceReply.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` @@ -33,10 +33,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool} ``` diff --git a/old_docs/API_docs_v51/constructors/replyKeyboardHide.md b/old_docs/API_docs_v51/constructors/replyKeyboardHide.md index 7251db49..30e9f399 100644 --- a/old_docs/API_docs_v51/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v51/constructors/replyKeyboardHide.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` @@ -32,10 +32,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide', selective=Bool} ``` diff --git a/old_docs/API_docs_v51/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v51/constructors/replyKeyboardMarkup.md index 87a55463..80f3f654 100644 --- a/old_docs/API_docs_v51/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v51/constructors/replyKeyboardMarkup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -35,10 +35,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v51/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v51/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v51/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v51/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v51/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v51/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v51/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v51/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v51/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v51/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v51/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v51/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v51/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v51/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/old_docs/API_docs_v51/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v51/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/old_docs/API_docs_v51/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v51/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/old_docs/API_docs_v51/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v51/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/old_docs/API_docs_v51/constructors/stickerPack.md b/old_docs/API_docs_v51/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v51/constructors/stickerPack.md +++ b/old_docs/API_docs_v51/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v51/constructors/stickerSet.md b/old_docs/API_docs_v51/constructors/stickerSet.md index 4f0e5ff2..695e2aea 100644 --- a/old_docs/API_docs_v51/constructors/stickerSet.md +++ b/old_docs/API_docs_v51/constructors/stickerSet.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -40,10 +40,9 @@ $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'of ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', installed=Bool, disabled=Bool, official=Bool, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/old_docs/API_docs_v51/constructors/storage_fileGif.md b/old_docs/API_docs_v51/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v51/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v51/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v51/constructors/storage_fileJpeg.md b/old_docs/API_docs_v51/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v51/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v51/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v51/constructors/storage_fileMov.md b/old_docs/API_docs_v51/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v51/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v51/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v51/constructors/storage_fileMp3.md b/old_docs/API_docs_v51/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v51/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v51/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v51/constructors/storage_fileMp4.md b/old_docs/API_docs_v51/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v51/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v51/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v51/constructors/storage_filePartial.md b/old_docs/API_docs_v51/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v51/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v51/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v51/constructors/storage_filePdf.md b/old_docs/API_docs_v51/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v51/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v51/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v51/constructors/storage_filePng.md b/old_docs/API_docs_v51/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v51/constructors/storage_filePng.md +++ b/old_docs/API_docs_v51/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v51/constructors/storage_fileUnknown.md b/old_docs/API_docs_v51/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v51/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v51/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v51/constructors/storage_fileWebp.md b/old_docs/API_docs_v51/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v51/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v51/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v51/constructors/true.md b/old_docs/API_docs_v51/constructors/true.md index 2e27ecbf..4863f16b 100644 --- a/old_docs/API_docs_v51/constructors/true.md +++ b/old_docs/API_docs_v51/constructors/true.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $true = ['_' => 'true']; ``` @@ -27,10 +27,9 @@ $true = ['_' => 'true']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua true={_='true'} ``` diff --git a/old_docs/API_docs_v51/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v51/constructors/updateBotCallbackQuery.md index 0f9065c3..ad441db6 100644 --- a/old_docs/API_docs_v51/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v51/constructors/updateBotCallbackQuery.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'data' => 'bytes']; ``` @@ -36,10 +36,9 @@ $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, data='bytes'} ``` diff --git a/old_docs/API_docs_v51/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v51/constructors/updateBotInlineQuery.md index 1cc45358..ed15d35f 100644 --- a/old_docs/API_docs_v51/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v51/constructors/updateBotInlineQuery.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` @@ -36,10 +36,9 @@ $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query='string', geo=GeoPoint, offset='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/updateBotInlineSend.md b/old_docs/API_docs_v51/constructors/updateBotInlineSend.md index fe6c01d3..dda18420 100644 --- a/old_docs/API_docs_v51/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v51/constructors/updateBotInlineSend.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` @@ -36,10 +36,9 @@ $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineSend={_='updateBotInlineSend', user_id=int, query='string', geo=GeoPoint, id='string', msg_id=InputBotInlineMessageID} ``` diff --git a/old_docs/API_docs_v51/constructors/updateChannel.md b/old_docs/API_docs_v51/constructors/updateChannel.md index e615920a..fb876328 100644 --- a/old_docs/API_docs_v51/constructors/updateChannel.md +++ b/old_docs/API_docs_v51/constructors/updateChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannel={_='updateChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateChannelGroup.md b/old_docs/API_docs_v51/constructors/updateChannelGroup.md index c322e296..8266d55a 100644 --- a/old_docs/API_docs_v51/constructors/updateChannelGroup.md +++ b/old_docs/API_docs_v51/constructors/updateChannelGroup.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup]; ``` @@ -33,10 +33,9 @@ $updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelGroup={_='updateChannelGroup', channel_id=int, group=MessageGroup} ``` diff --git a/old_docs/API_docs_v51/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v51/constructors/updateChannelMessageViews.md index 19e0b648..d62f055a 100644 --- a/old_docs/API_docs_v51/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v51/constructors/updateChannelMessageViews.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` @@ -34,10 +34,9 @@ $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateChannelPinnedMessage.md b/old_docs/API_docs_v51/constructors/updateChannelPinnedMessage.md index c6e66353..0d767fb8 100644 --- a/old_docs/API_docs_v51/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v51/constructors/updateChannelPinnedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateChannelTooLong.md b/old_docs/API_docs_v51/constructors/updateChannelTooLong.md index e42904d0..179a43dd 100644 --- a/old_docs/API_docs_v51/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v51/constructors/updateChannelTooLong.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateChatAdmins.md b/old_docs/API_docs_v51/constructors/updateChatAdmins.md index 87ffd626..aac09762 100644 --- a/old_docs/API_docs_v51/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v51/constructors/updateChatAdmins.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v51/constructors/updateChatParticipantAdd.md index ea5157ad..fe76dc62 100644 --- a/old_docs/API_docs_v51/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v51/constructors/updateChatParticipantAdd.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` @@ -36,10 +36,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v51/constructors/updateChatParticipantAdmin.md index b1022850..d262b2e6 100644 --- a/old_docs/API_docs_v51/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v51/constructors/updateChatParticipantAdmin.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v51/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v51/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v51/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateChatParticipants.md b/old_docs/API_docs_v51/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v51/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v51/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v51/constructors/updateChatUserTyping.md b/old_docs/API_docs_v51/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v51/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v51/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v51/constructors/updateContactLink.md b/old_docs/API_docs_v51/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v51/constructors/updateContactLink.md +++ b/old_docs/API_docs_v51/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v51/constructors/updateContactRegistered.md b/old_docs/API_docs_v51/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v51/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v51/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateDcOptions.md b/old_docs/API_docs_v51/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v51/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v51/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v51/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v51/constructors/updateDeleteChannelMessages.md index 0f84f3f7..8fb10b65 100644 --- a/old_docs/API_docs_v51/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v51/constructors/updateDeleteChannelMessages.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateDeleteMessages.md b/old_docs/API_docs_v51/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v51/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v51/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateEditChannelMessage.md b/old_docs/API_docs_v51/constructors/updateEditChannelMessage.md index 959c433a..485afae1 100644 --- a/old_docs/API_docs_v51/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v51/constructors/updateEditChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateEditMessage.md b/old_docs/API_docs_v51/constructors/updateEditMessage.md index f9f820e8..9f986f86 100644 --- a/old_docs/API_docs_v51/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v51/constructors/updateEditMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v51/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v51/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v51/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v51/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v51/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v51/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateEncryption.md b/old_docs/API_docs_v51/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v51/constructors/updateEncryption.md +++ b/old_docs/API_docs_v51/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateInlineBotCallbackQuery.md b/old_docs/API_docs_v51/constructors/updateInlineBotCallbackQuery.md index 54347e7d..dfe1ef69 100644 --- a/old_docs/API_docs_v51/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v51/constructors/updateInlineBotCallbackQuery.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'data' => 'bytes']; ``` @@ -35,10 +35,9 @@ $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, data='bytes'} ``` diff --git a/old_docs/API_docs_v51/constructors/updateMessageID.md b/old_docs/API_docs_v51/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v51/constructors/updateMessageID.md +++ b/old_docs/API_docs_v51/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateNewAuthorization.md b/old_docs/API_docs_v51/constructors/updateNewAuthorization.md index c7a95f80..ce1d0815 100644 --- a/old_docs/API_docs_v51/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v51/constructors/updateNewAuthorization.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` @@ -35,10 +35,9 @@ $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device='string', location='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v51/constructors/updateNewChannelMessage.md index 59dbc820..9fa1c7ec 100644 --- a/old_docs/API_docs_v51/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v51/constructors/updateNewChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Messa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v51/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v51/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v51/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateNewMessage.md b/old_docs/API_docs_v51/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v51/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v51/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateNewStickerSet.md b/old_docs/API_docs_v51/constructors/updateNewStickerSet.md index c36d4617..5ba327ea 100644 --- a/old_docs/API_docs_v51/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v51/constructors/updateNewStickerSet.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` @@ -32,10 +32,9 @@ $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_S ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} ``` diff --git a/old_docs/API_docs_v51/constructors/updateNotifySettings.md b/old_docs/API_docs_v51/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v51/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v51/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v51/constructors/updatePrivacy.md b/old_docs/API_docs_v51/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v51/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v51/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v51/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v51/constructors/updateReadChannelInbox.md index be964e20..c8c26acb 100644 --- a/old_docs/API_docs_v51/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v51/constructors/updateReadChannelInbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v51/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v51/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v51/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v51/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v51/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v51/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v51/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/old_docs/API_docs_v51/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v51/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateSavedGifs.md b/old_docs/API_docs_v51/constructors/updateSavedGifs.md index dd17f321..ea5619fc 100644 --- a/old_docs/API_docs_v51/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v51/constructors/updateSavedGifs.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` @@ -27,10 +27,9 @@ $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v51/constructors/updateServiceNotification.md b/old_docs/API_docs_v51/constructors/updateServiceNotification.md index 979fe7bd..ddcf7eb5 100644 --- a/old_docs/API_docs_v51/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v51/constructors/updateServiceNotification.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` @@ -35,10 +35,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'str ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', type='string', message='string', media=MessageMedia, popup=Bool} ``` diff --git a/old_docs/API_docs_v51/constructors/updateShort.md b/old_docs/API_docs_v51/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v51/constructors/updateShort.md +++ b/old_docs/API_docs_v51/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updateShortChatMessage.md b/old_docs/API_docs_v51/constructors/updateShortChatMessage.md index 5b781f89..a7b6e357 100644 --- a/old_docs/API_docs_v51/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v51/constructors/updateShortChatMessage.md @@ -36,7 +36,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -47,10 +47,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'o ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v51/constructors/updateShortMessage.md b/old_docs/API_docs_v51/constructors/updateShortMessage.md index d4a5e7f3..069445e4 100644 --- a/old_docs/API_docs_v51/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v51/constructors/updateShortMessage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -46,10 +46,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v51/constructors/updateShortSentMessage.md b/old_docs/API_docs_v51/constructors/updateShortSentMessage.md index 0e40bd22..f35f8285 100644 --- a/old_docs/API_docs_v51/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v51/constructors/updateShortSentMessage.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -39,10 +39,9 @@ $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'o ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortSentMessage={_='updateShortSentMessage', unread=Bool, out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v51/constructors/updateStickerSets.md b/old_docs/API_docs_v51/constructors/updateStickerSets.md index 4f045d67..e4cc23a0 100644 --- a/old_docs/API_docs_v51/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v51/constructors/updateStickerSets.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSets = ['_' => 'updateStickerSets']; ``` @@ -27,10 +27,9 @@ $updateStickerSets = ['_' => 'updateStickerSets']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v51/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v51/constructors/updateStickerSetsOrder.md index ff94265f..d47c939f 100644 --- a/old_docs/API_docs_v51/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v51/constructors/updateStickerSetsOrder.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long, long]]; ``` @@ -32,10 +32,9 @@ $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long, lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSetsOrder={_='updateStickerSetsOrder', order={long}} ``` diff --git a/old_docs/API_docs_v51/constructors/updateUserBlocked.md b/old_docs/API_docs_v51/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v51/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v51/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v51/constructors/updateUserName.md b/old_docs/API_docs_v51/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v51/constructors/updateUserName.md +++ b/old_docs/API_docs_v51/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/updateUserPhone.md b/old_docs/API_docs_v51/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v51/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v51/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/updateUserPhoto.md b/old_docs/API_docs_v51/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v51/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v51/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v51/constructors/updateUserStatus.md b/old_docs/API_docs_v51/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v51/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v51/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v51/constructors/updateUserTyping.md b/old_docs/API_docs_v51/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v51/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v51/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v51/constructors/updateWebPage.md b/old_docs/API_docs_v51/constructors/updateWebPage.md index 9f468619..932d8ff2 100644 --- a/old_docs/API_docs_v51/constructors/updateWebPage.md +++ b/old_docs/API_docs_v51/constructors/updateWebPage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updates.md b/old_docs/API_docs_v51/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v51/constructors/updates.md +++ b/old_docs/API_docs_v51/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updatesCombined.md b/old_docs/API_docs_v51/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v51/constructors/updatesCombined.md +++ b/old_docs/API_docs_v51/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updatesTooLong.md b/old_docs/API_docs_v51/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v51/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v51/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v51/constructors/updates_channelDifference.md b/old_docs/API_docs_v51/constructors/updates_channelDifference.md index 21b618c2..df1dafd6 100644 --- a/old_docs/API_docs_v51/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v51/constructors/updates_channelDifference.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v51/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v51/constructors/updates_channelDifferenceEmpty.md index a2e49340..a5be0377 100644 --- a/old_docs/API_docs_v51/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v51/constructors/updates_channelDifferenceEmpty.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'fin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v51/constructors/updates_channelDifferenceTooLong.md index 47f23144..28fc12ca 100644 --- a/old_docs/API_docs_v51/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v51/constructors/updates_channelDifferenceTooLong.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -42,10 +42,9 @@ $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v51/constructors/updates_difference.md b/old_docs/API_docs_v51/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v51/constructors/updates_difference.md +++ b/old_docs/API_docs_v51/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v51/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v51/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v51/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v51/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v51/constructors/updates_differenceSlice.md b/old_docs/API_docs_v51/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v51/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v51/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v51/constructors/updates_state.md b/old_docs/API_docs_v51/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v51/constructors/updates_state.md +++ b/old_docs/API_docs_v51/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v51/constructors/upload_file.md b/old_docs/API_docs_v51/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v51/constructors/upload_file.md +++ b/old_docs/API_docs_v51/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v51/constructors/user.md b/old_docs/API_docs_v51/constructors/user.md index a7cdf2b3..f21f6324 100644 --- a/old_docs/API_docs_v51/constructors/user.md +++ b/old_docs/API_docs_v51/constructors/user.md @@ -42,7 +42,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => 'string', 'bot_inline_placeholder' => 'string']; ``` @@ -53,10 +53,9 @@ $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, min=Bool, bot_inline_geo=Bool, id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason='string', bot_inline_placeholder='string'} ``` diff --git a/old_docs/API_docs_v51/constructors/userEmpty.md b/old_docs/API_docs_v51/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v51/constructors/userEmpty.md +++ b/old_docs/API_docs_v51/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v51/constructors/userFull.md b/old_docs/API_docs_v51/constructors/userFull.md index 8feba00d..5d694997 100644 --- a/old_docs/API_docs_v51/constructors/userFull.md +++ b/old_docs/API_docs_v51/constructors/userFull.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo]; ``` @@ -38,10 +38,9 @@ $userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', blocked=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v51/constructors/userProfilePhoto.md b/old_docs/API_docs_v51/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v51/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v51/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v51/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v51/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v51/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v51/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/userStatusEmpty.md b/old_docs/API_docs_v51/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v51/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v51/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v51/constructors/userStatusLastMonth.md b/old_docs/API_docs_v51/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v51/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v51/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v51/constructors/userStatusLastWeek.md b/old_docs/API_docs_v51/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v51/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v51/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v51/constructors/userStatusOffline.md b/old_docs/API_docs_v51/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v51/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v51/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v51/constructors/userStatusOnline.md b/old_docs/API_docs_v51/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v51/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v51/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v51/constructors/userStatusRecently.md b/old_docs/API_docs_v51/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v51/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v51/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v51/constructors/vector.md b/old_docs/API_docs_v51/constructors/vector.md index c9e27763..d8ea6f1f 100644 --- a/old_docs/API_docs_v51/constructors/vector.md +++ b/old_docs/API_docs_v51/constructors/vector.md @@ -18,7 +18,7 @@ Array ### Example: -``` +```php $vector = ['_' => 'vector']; ``` @@ -29,10 +29,9 @@ $vector = ['_' => 'vector']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua vector={_='vector'} ``` diff --git a/old_docs/API_docs_v51/constructors/wallPaper.md b/old_docs/API_docs_v51/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v51/constructors/wallPaper.md +++ b/old_docs/API_docs_v51/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v51/constructors/wallPaperSolid.md b/old_docs/API_docs_v51/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v51/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v51/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v51/constructors/webPage.md b/old_docs/API_docs_v51/constructors/webPage.md index 1023918f..fe5271f3 100644 --- a/old_docs/API_docs_v51/constructors/webPage.md +++ b/old_docs/API_docs_v51/constructors/webPage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document]; ``` @@ -46,10 +46,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document} ``` diff --git a/old_docs/API_docs_v51/constructors/webPageEmpty.md b/old_docs/API_docs_v51/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v51/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v51/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v51/constructors/webPagePending.md b/old_docs/API_docs_v51/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v51/constructors/webPagePending.md +++ b/old_docs/API_docs_v51/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v51/methods/account_changePhone.md b/old_docs/API_docs_v51/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v51/methods/account_changePhone.md +++ b/old_docs/API_docs_v51/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/account_checkUsername.md b/old_docs/API_docs_v51/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v51/methods/account_checkUsername.md +++ b/old_docs/API_docs_v51/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/account_deleteAccount.md b/old_docs/API_docs_v51/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v51/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v51/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/account_getAccountTTL.md b/old_docs/API_docs_v51/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v51/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v51/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v51/methods/account_getAuthorizations.md b/old_docs/API_docs_v51/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v51/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v51/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v51/methods/account_getNotifySettings.md b/old_docs/API_docs_v51/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v51/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v51/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v51/methods/account_getPassword.md b/old_docs/API_docs_v51/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v51/methods/account_getPassword.md +++ b/old_docs/API_docs_v51/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v51/methods/account_getPasswordSettings.md b/old_docs/API_docs_v51/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v51/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v51/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v51/methods/account_getPrivacy.md b/old_docs/API_docs_v51/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v51/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v51/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v51/methods/account_getWallPapers.md b/old_docs/API_docs_v51/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v51/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v51/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v51/methods/account_registerDevice.md b/old_docs/API_docs_v51/methods/account_registerDevice.md index bd2b5649..3192933d 100644 --- a/old_docs/API_docs_v51/methods/account_registerDevice.md +++ b/old_docs/API_docs_v51/methods/account_registerDevice.md @@ -30,7 +30,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', device_model='string', system_version='string', app_version='string', app_sandbox=Bool, lang_code='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/account_reportPeer.md b/old_docs/API_docs_v51/methods/account_reportPeer.md index d8c49851..673b48bf 100644 --- a/old_docs/API_docs_v51/methods/account_reportPeer.md +++ b/old_docs/API_docs_v51/methods/account_reportPeer.md @@ -25,7 +25,7 @@ Report for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reason - Json encoded ReportReason Or, if you're into Lua: -``` +```lua Bool = account.reportPeer({peer=InputPeer, reason=ReportReason, }) ``` diff --git a/old_docs/API_docs_v51/methods/account_resetAuthorization.md b/old_docs/API_docs_v51/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v51/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v51/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v51/methods/account_resetNotifySettings.md b/old_docs/API_docs_v51/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v51/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v51/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md index 33a001b9..123a5880 100644 --- a/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md @@ -26,7 +26,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v51/methods/account_setAccountTTL.md b/old_docs/API_docs_v51/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v51/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v51/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v51/methods/account_setPrivacy.md b/old_docs/API_docs_v51/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v51/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v51/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v51/methods/account_unregisterDevice.md b/old_docs/API_docs_v51/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v51/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v51/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v51/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v51/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v51/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/account_updateNotifySettings.md b/old_docs/API_docs_v51/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v51/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v51/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v51/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v51/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v51/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v51/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v51/methods/account_updateProfile.md b/old_docs/API_docs_v51/methods/account_updateProfile.md index f415381f..f54515e5 100644 --- a/old_docs/API_docs_v51/methods/account_updateProfile.md +++ b/old_docs/API_docs_v51/methods/account_updateProfile.md @@ -26,7 +26,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', about='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/account_updateStatus.md b/old_docs/API_docs_v51/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v51/methods/account_updateStatus.md +++ b/old_docs/API_docs_v51/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v51/methods/account_updateUsername.md b/old_docs/API_docs_v51/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v51/methods/account_updateUsername.md +++ b/old_docs/API_docs_v51/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/auth_cancelCode.md b/old_docs/API_docs_v51/methods/auth_cancelCode.md index 0b53954c..352c88e9 100644 --- a/old_docs/API_docs_v51/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v51/methods/auth_cancelCode.md @@ -25,7 +25,7 @@ Invalidate sent phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/auth_checkPhone.md b/old_docs/API_docs_v51/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v51/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v51/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/auth_recoverPassword.md b/old_docs/API_docs_v51/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v51/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v51/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v51/methods/auth_resendCode.md b/old_docs/API_docs_v51/methods/auth_resendCode.md index 28350d37..4ce58975 100644 --- a/old_docs/API_docs_v51/methods/auth_resendCode.md +++ b/old_docs/API_docs_v51/methods/auth_resendCode.md @@ -25,7 +25,7 @@ Resend the SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v51/methods/auth_sendInvites.md b/old_docs/API_docs_v51/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v51/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v51/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_checkUsername.md b/old_docs/API_docs_v51/methods/channels_checkUsername.md index d287b3ca..573bf8f0 100644 --- a/old_docs/API_docs_v51/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v51/methods/channels_checkUsername.md @@ -25,7 +25,7 @@ Check if this username is free and can be assigned to a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.checkUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_createChannel.md b/old_docs/API_docs_v51/methods/channels_createChannel.md index 356f473a..1821c864 100644 --- a/old_docs/API_docs_v51/methods/channels_createChannel.md +++ b/old_docs/API_docs_v51/methods/channels_createChannel.md @@ -27,7 +27,7 @@ Create channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title='string', about='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_deleteChannel.md b/old_docs/API_docs_v51/methods/channels_deleteChannel.md index b55d91b8..a79ccb9f 100644 --- a/old_docs/API_docs_v51/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v51/methods/channels_deleteChannel.md @@ -24,7 +24,7 @@ Delete a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.deleteChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_deleteMessages.md b/old_docs/API_docs_v51/methods/channels_deleteMessages.md index 03625c94..8cd7ebb3 100644 --- a/old_docs/API_docs_v51/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v51/methods/channels_deleteMessages.md @@ -25,7 +25,7 @@ Delete channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v51/methods/channels_deleteUserHistory.md index 204a8786..78baa90f 100644 --- a/old_docs/API_docs_v51/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v51/methods/channels_deleteUserHistory.md @@ -25,7 +25,7 @@ Delete all messages of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_editAbout.md b/old_docs/API_docs_v51/methods/channels_editAbout.md index fd861133..549d7ea5 100644 --- a/old_docs/API_docs_v51/methods/channels_editAbout.md +++ b/old_docs/API_docs_v51/methods/channels_editAbout.md @@ -25,7 +25,7 @@ Edit the about text of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.editAbout({channel=InputChannel, about='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_editAdmin.md b/old_docs/API_docs_v51/methods/channels_editAdmin.md index bc0793fe..b41561e0 100644 --- a/old_docs/API_docs_v51/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v51/methods/channels_editAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ role - Json encoded ChannelParticipantRole Or, if you're into Lua: -``` +```lua Updates = channels.editAdmin({channel=InputChannel, user_id=InputUser, role=ChannelParticipantRole, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_editPhoto.md b/old_docs/API_docs_v51/methods/channels_editPhoto.md index ccbaed65..7013c6e2 100644 --- a/old_docs/API_docs_v51/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v51/methods/channels_editPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = channels.editPhoto({channel=InputChannel, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_editTitle.md b/old_docs/API_docs_v51/methods/channels_editTitle.md index ffd868ba..a9c8c50f 100644 --- a/old_docs/API_docs_v51/methods/channels_editTitle.md +++ b/old_docs/API_docs_v51/methods/channels_editTitle.md @@ -25,7 +25,7 @@ Edit the title of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.editTitle({channel=InputChannel, title='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_exportInvite.md b/old_docs/API_docs_v51/methods/channels_exportInvite.md index 0b4b5c31..5a92097a 100644 --- a/old_docs/API_docs_v51/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v51/methods/channels_exportInvite.md @@ -24,7 +24,7 @@ Export the invite link of a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua ExportedChatInvite = channels.exportInvite({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_exportMessageLink.md b/old_docs/API_docs_v51/methods/channels_exportMessageLink.md index f42068f4..a2e2cc10 100644 --- a/old_docs/API_docs_v51/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v51/methods/channels_exportMessageLink.md @@ -25,7 +25,7 @@ Get the link of a message in a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua ExportedMessageLink = channels.exportMessageLink({channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_getChannels.md b/old_docs/API_docs_v51/methods/channels_getChannels.md index 71edac7b..a146be1e 100644 --- a/old_docs/API_docs_v51/methods/channels_getChannels.md +++ b/old_docs/API_docs_v51/methods/channels_getChannels.md @@ -24,7 +24,7 @@ Get info about multiple channels/supergroups ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputChannel Or, if you're into Lua: -``` +```lua messages_Chats = channels.getChannels({id={InputChannel}, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_getDialogs.md b/old_docs/API_docs_v51/methods/channels_getDialogs.md index c3acd0e6..b238558d 100644 --- a/old_docs/API_docs_v51/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v51/methods/channels_getDialogs.md @@ -25,7 +25,7 @@ Get channel dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = channels.getDialogs({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_getImportantHistory.md b/old_docs/API_docs_v51/methods/channels_getImportantHistory.md index 329b010c..368a46ed 100644 --- a/old_docs/API_docs_v51/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v51/methods/channels_getImportantHistory.md @@ -30,7 +30,7 @@ Get important channel/supergroup history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getImportantHistory({channel=InputChannel, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_getMessages.md b/old_docs/API_docs_v51/methods/channels_getMessages.md index 217757eb..208cbcc4 100644 --- a/old_docs/API_docs_v51/methods/channels_getMessages.md +++ b/old_docs/API_docs_v51/methods/channels_getMessages.md @@ -25,7 +25,7 @@ Get channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_getParticipant.md b/old_docs/API_docs_v51/methods/channels_getParticipant.md index a641d213..9cf80799 100644 --- a/old_docs/API_docs_v51/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v51/methods/channels_getParticipant.md @@ -25,7 +25,7 @@ Get info about a certain channel/supergroup participant ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_getParticipants.md b/old_docs/API_docs_v51/methods/channels_getParticipants.md index c2f0cdcd..3d4dfa13 100644 --- a/old_docs/API_docs_v51/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v51/methods/channels_getParticipants.md @@ -27,7 +27,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_inviteToChannel.md b/old_docs/API_docs_v51/methods/channels_inviteToChannel.md index 0a350cc8..998e3895 100644 --- a/old_docs/API_docs_v51/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v51/methods/channels_inviteToChannel.md @@ -25,7 +25,7 @@ Add users to channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ users - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Updates = channels.inviteToChannel({channel=InputChannel, users={InputUser}, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_joinChannel.md b/old_docs/API_docs_v51/methods/channels_joinChannel.md index aae2bc1c..3c6a3b94 100644 --- a/old_docs/API_docs_v51/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v51/methods/channels_joinChannel.md @@ -24,7 +24,7 @@ Join a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.joinChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_kickFromChannel.md b/old_docs/API_docs_v51/methods/channels_kickFromChannel.md index c51cea7c..7586bdf6 100644 --- a/old_docs/API_docs_v51/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v51/methods/channels_kickFromChannel.md @@ -26,7 +26,7 @@ Kick user from channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ kicked - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.kickFromChannel({channel=InputChannel, user_id=InputUser, kicked=Bool, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_leaveChannel.md b/old_docs/API_docs_v51/methods/channels_leaveChannel.md index 4e6701fe..0934089f 100644 --- a/old_docs/API_docs_v51/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v51/methods/channels_leaveChannel.md @@ -24,7 +24,7 @@ Leave a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.leaveChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_readHistory.md b/old_docs/API_docs_v51/methods/channels_readHistory.md index d76919ff..cf5c1529 100644 --- a/old_docs/API_docs_v51/methods/channels_readHistory.md +++ b/old_docs/API_docs_v51/methods/channels_readHistory.md @@ -25,7 +25,7 @@ Mark channel/supergroup history as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.readHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_reportSpam.md b/old_docs/API_docs_v51/methods/channels_reportSpam.md index 48022662..b0e99eb1 100644 --- a/old_docs/API_docs_v51/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v51/methods/channels_reportSpam.md @@ -26,7 +26,7 @@ Report a message in a supergroup/channel for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.reportSpam({channel=InputChannel, user_id=InputUser, id={int}, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_toggleComments.md b/old_docs/API_docs_v51/methods/channels_toggleComments.md index 52e2c7ae..230b0315 100644 --- a/old_docs/API_docs_v51/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v51/methods/channels_toggleComments.md @@ -25,7 +25,7 @@ Enable channel comments ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleComments({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_toggleInvites.md b/old_docs/API_docs_v51/methods/channels_toggleInvites.md index d0023b70..bed6ba15 100644 --- a/old_docs/API_docs_v51/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v51/methods/channels_toggleInvites.md @@ -25,7 +25,7 @@ Allow or disallow any user to invite users to this channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleInvites({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_toggleSignatures.md b/old_docs/API_docs_v51/methods/channels_toggleSignatures.md index 337e8627..c9fe18cc 100644 --- a/old_docs/API_docs_v51/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v51/methods/channels_toggleSignatures.md @@ -25,7 +25,7 @@ Toggle channel signatures ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleSignatures({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md index c79c5904..9d2cc058 100644 --- a/old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md @@ -26,7 +26,7 @@ Set the pinned message of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = channels.updatePinnedMessage({silent=Bool, channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels_updateUsername.md b/old_docs/API_docs_v51/methods/channels_updateUsername.md index 2e07e123..c0df8c7c 100644 --- a/old_docs/API_docs_v51/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v51/methods/channels_updateUsername.md @@ -25,7 +25,7 @@ Update the username of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.updateUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/contacts_block.md b/old_docs/API_docs_v51/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v51/methods/contacts_block.md +++ b/old_docs/API_docs_v51/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v51/methods/contacts_deleteContact.md b/old_docs/API_docs_v51/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v51/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v51/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v51/methods/contacts_deleteContacts.md b/old_docs/API_docs_v51/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v51/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v51/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v51/methods/contacts_exportCard.md b/old_docs/API_docs_v51/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v51/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v51/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v51/methods/contacts_getBlocked.md b/old_docs/API_docs_v51/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v51/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v51/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/contacts_getContacts.md b/old_docs/API_docs_v51/methods/contacts_getContacts.md index ccf0f99d..dfa407f2 100644 --- a/old_docs/API_docs_v51/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v51/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/contacts_getStatuses.md b/old_docs/API_docs_v51/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v51/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v51/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v51/methods/contacts_importCard.md b/old_docs/API_docs_v51/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v51/methods/contacts_importCard.md +++ b/old_docs/API_docs_v51/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v51/methods/contacts_importContacts.md b/old_docs/API_docs_v51/methods/contacts_importContacts.md index d0404dd2..f1b17e2c 100644 --- a/old_docs/API_docs_v51/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v51/methods/contacts_importContacts.md @@ -25,7 +25,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ replace - Json encoded Bool Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v51/methods/contacts_search.md b/old_docs/API_docs_v51/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v51/methods/contacts_search.md +++ b/old_docs/API_docs_v51/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/contacts_unblock.md b/old_docs/API_docs_v51/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v51/methods/contacts_unblock.md +++ b/old_docs/API_docs_v51/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v51/methods/help_getAppChangelog.md b/old_docs/API_docs_v51/methods/help_getAppChangelog.md index e5f9dae5..872c377b 100644 --- a/old_docs/API_docs_v51/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v51/methods/help_getAppChangelog.md @@ -27,7 +27,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/help_getAppUpdate.md b/old_docs/API_docs_v51/methods/help_getAppUpdate.md index a501cbc5..4bdf36c3 100644 --- a/old_docs/API_docs_v51/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v51/methods/help_getAppUpdate.md @@ -27,7 +27,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/help_getConfig.md b/old_docs/API_docs_v51/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v51/methods/help_getConfig.md +++ b/old_docs/API_docs_v51/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v51/methods/help_getInviteText.md b/old_docs/API_docs_v51/methods/help_getInviteText.md index 1b31e572..797e2ad3 100644 --- a/old_docs/API_docs_v51/methods/help_getInviteText.md +++ b/old_docs/API_docs_v51/methods/help_getInviteText.md @@ -24,7 +24,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/help_getNearestDc.md b/old_docs/API_docs_v51/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v51/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v51/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v51/methods/help_getSupport.md b/old_docs/API_docs_v51/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v51/methods/help_getSupport.md +++ b/old_docs/API_docs_v51/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v51/methods/help_getTermsOfService.md b/old_docs/API_docs_v51/methods/help_getTermsOfService.md index 06eda47b..701de622 100644 --- a/old_docs/API_docs_v51/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v51/methods/help_getTermsOfService.md @@ -24,7 +24,7 @@ Get terms of service ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua help_TermsOfService = help.getTermsOfService({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/help_saveAppLog.md b/old_docs/API_docs_v51/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v51/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v51/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v51/methods/initConnection.md b/old_docs/API_docs_v51/methods/initConnection.md index 58cdb067..e34794f8 100644 --- a/old_docs/API_docs_v51/methods/initConnection.md +++ b/old_docs/API_docs_v51/methods/initConnection.md @@ -29,7 +29,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v51/methods/invokeAfterMsg.md b/old_docs/API_docs_v51/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v51/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v51/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v51/methods/invokeAfterMsgs.md b/old_docs/API_docs_v51/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v51/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v51/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v51/methods/invokeWithLayer.md b/old_docs/API_docs_v51/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v51/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v51/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v51/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v51/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/old_docs/API_docs_v51/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v51/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_addChatUser.md b/old_docs/API_docs_v51/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v51/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v51/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_checkChatInvite.md b/old_docs/API_docs_v51/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/old_docs/API_docs_v51/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v51/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_createChat.md b/old_docs/API_docs_v51/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v51/methods/messages_createChat.md +++ b/old_docs/API_docs_v51/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_deleteChatUser.md b/old_docs/API_docs_v51/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v51/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v51/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_deleteHistory.md b/old_docs/API_docs_v51/methods/messages_deleteHistory.md index 4b00d3a2..444d6758 100644 --- a/old_docs/API_docs_v51/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v51/methods/messages_deleteHistory.md @@ -25,7 +25,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_deleteMessages.md b/old_docs/API_docs_v51/methods/messages_deleteMessages.md index 2aa9d7d1..24152bec 100644 --- a/old_docs/API_docs_v51/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v51/methods/messages_deleteMessages.md @@ -24,7 +24,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_editChatAdmin.md b/old_docs/API_docs_v51/methods/messages_editChatAdmin.md index a2dad97f..f883b50e 100644 --- a/old_docs/API_docs_v51/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v51/methods/messages_editChatAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ is_admin - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.editChatAdmin({chat_id=InputPeer, user_id=InputUser, is_admin=Bool, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_editChatPhoto.md b/old_docs/API_docs_v51/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v51/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v51/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_editChatTitle.md b/old_docs/API_docs_v51/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v51/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v51/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md index c669c8d7..6c04ab6f 100644 --- a/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md @@ -29,7 +29,7 @@ Edit a sent inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -66,7 +66,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.editInlineBotMessage({no_webpage=Bool, id=InputBotInlineMessageID, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_editMessage.md b/old_docs/API_docs_v51/methods/messages_editMessage.md index 7af0cfd9..db5cc876 100644 --- a/old_docs/API_docs_v51/methods/messages_editMessage.md +++ b/old_docs/API_docs_v51/methods/messages_editMessage.md @@ -30,7 +30,7 @@ Edit a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -67,7 +67,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.editMessage({no_webpage=Bool, peer=InputPeer, id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_exportChatInvite.md b/old_docs/API_docs_v51/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/old_docs/API_docs_v51/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v51/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_forwardMessage.md b/old_docs/API_docs_v51/methods/messages_forwardMessage.md index 586670b8..d9c0453f 100644 --- a/old_docs/API_docs_v51/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v51/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_forwardMessages.md b/old_docs/API_docs_v51/methods/messages_forwardMessages.md index 18407d16..10c71cc0 100644 --- a/old_docs/API_docs_v51/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v51/methods/messages_forwardMessages.md @@ -29,7 +29,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ to_peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({broadcast=Bool, silent=Bool, background=Bool, from_peer=InputPeer, id={int}, to_peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_getAllStickers.md b/old_docs/API_docs_v51/methods/messages_getAllStickers.md index 966af122..c25a823b 100644 --- a/old_docs/API_docs_v51/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v51/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md index 4f9c8c05..13f68775 100644 --- a/old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md @@ -26,7 +26,7 @@ Get the callback answer of a bot (after clicking a button) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ data - Json encoded bytes Or, if you're into Lua: -``` +```lua messages_BotCallbackAnswer = messages.getBotCallbackAnswer({peer=InputPeer, msg_id=int, data='bytes', }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_getChats.md b/old_docs/API_docs_v51/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v51/methods/messages_getChats.md +++ b/old_docs/API_docs_v51/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_getDialogs.md b/old_docs/API_docs_v51/methods/messages_getDialogs.md index 557cb7d9..2919a482 100644 --- a/old_docs/API_docs_v51/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v51/methods/messages_getDialogs.md @@ -27,7 +27,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v51/methods/messages_getDocumentByHash.md index 5b6f6f21..00f0a558 100644 --- a/old_docs/API_docs_v51/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v51/methods/messages_getDocumentByHash.md @@ -26,7 +26,7 @@ Get document by SHA256 hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ mime_type - Json encoded string Or, if you're into Lua: -``` +```lua Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_getHistory.md b/old_docs/API_docs_v51/methods/messages_getHistory.md index 76d20b70..23f2d6e9 100644 --- a/old_docs/API_docs_v51/methods/messages_getHistory.md +++ b/old_docs/API_docs_v51/methods/messages_getHistory.md @@ -30,7 +30,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v51/methods/messages_getInlineBotResults.md index 03b5d845..73f2deb2 100644 --- a/old_docs/API_docs_v51/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v51/methods/messages_getInlineBotResults.md @@ -28,7 +28,7 @@ Call inline bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ offset - Json encoded string Or, if you're into Lua: -``` +```lua messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_getMessageEditData.md b/old_docs/API_docs_v51/methods/messages_getMessageEditData.md index 2c44a1dc..77e2c030 100644 --- a/old_docs/API_docs_v51/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v51/methods/messages_getMessageEditData.md @@ -25,7 +25,7 @@ Check if about to edit a message or a media caption ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_getMessages.md b/old_docs/API_docs_v51/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v51/methods/messages_getMessages.md +++ b/old_docs/API_docs_v51/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_getMessagesViews.md b/old_docs/API_docs_v51/methods/messages_getMessagesViews.md index 57a99054..b2b6110e 100644 --- a/old_docs/API_docs_v51/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v51/methods/messages_getMessagesViews.md @@ -26,7 +26,7 @@ Get and increase message views ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ increment - Json encoded Bool Or, if you're into Lua: -``` +```lua Vector_of_int = messages.getMessagesViews({peer=InputPeer, id={int}, increment=Bool, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_getPeerSettings.md b/old_docs/API_docs_v51/methods/messages_getPeerSettings.md index 92d4697a..e2b3ec4f 100644 --- a/old_docs/API_docs_v51/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v51/methods/messages_getPeerSettings.md @@ -24,7 +24,7 @@ Get the settings of apeer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua PeerSettings = messages.getPeerSettings({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_getSavedGifs.md b/old_docs/API_docs_v51/methods/messages_getSavedGifs.md index cafba4e1..1a879907 100644 --- a/old_docs/API_docs_v51/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v51/methods/messages_getSavedGifs.md @@ -24,7 +24,7 @@ Get saved gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_getStickerSet.md b/old_docs/API_docs_v51/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/old_docs/API_docs_v51/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v51/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_getStickers.md b/old_docs/API_docs_v51/methods/messages_getStickers.md index b1d3bd83..f4ca9972 100644 --- a/old_docs/API_docs_v51/methods/messages_getStickers.md +++ b/old_docs/API_docs_v51/methods/messages_getStickers.md @@ -25,7 +25,7 @@ Get stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v51/methods/messages_getWebPagePreview.md index 8475c8f5..4838be94 100644 --- a/old_docs/API_docs_v51/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v51/methods/messages_getWebPagePreview.md @@ -24,7 +24,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_hideReportSpam.md b/old_docs/API_docs_v51/methods/messages_hideReportSpam.md index 17a7f8ef..1c0d72c5 100644 --- a/old_docs/API_docs_v51/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v51/methods/messages_hideReportSpam.md @@ -24,7 +24,7 @@ Hide report spam popup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.hideReportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_importChatInvite.md b/old_docs/API_docs_v51/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/old_docs/API_docs_v51/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v51/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_installStickerSet.md b/old_docs/API_docs_v51/methods/messages_installStickerSet.md index 1cd832e5..41be11e1 100644 --- a/old_docs/API_docs_v51/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v51/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ disabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.installStickerSet({stickerset=InputStickerSet, disabled=Bool, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_migrateChat.md b/old_docs/API_docs_v51/methods/messages_migrateChat.md index df91f510..e789ff7d 100644 --- a/old_docs/API_docs_v51/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v51/methods/messages_migrateChat.md @@ -24,7 +24,7 @@ Convert chat to supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.migrateChat({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_readHistory.md b/old_docs/API_docs_v51/methods/messages_readHistory.md index 48d7fb45..4a2188d8 100644 --- a/old_docs/API_docs_v51/methods/messages_readHistory.md +++ b/old_docs/API_docs_v51/methods/messages_readHistory.md @@ -25,7 +25,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_readMessageContents.md b/old_docs/API_docs_v51/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v51/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v51/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_receivedMessages.md b/old_docs/API_docs_v51/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/old_docs/API_docs_v51/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v51/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md index 8fb0d3da..372d870e 100644 --- a/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md @@ -24,7 +24,7 @@ Reorder sticker sets ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ order - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.reorderStickerSets({order={long}, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_reportSpam.md b/old_docs/API_docs_v51/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/old_docs/API_docs_v51/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v51/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_saveGif.md b/old_docs/API_docs_v51/methods/messages_saveGif.md index adae6d86..dfa956ab 100644 --- a/old_docs/API_docs_v51/methods/messages_saveGif.md +++ b/old_docs/API_docs_v51/methods/messages_saveGif.md @@ -25,7 +25,7 @@ Save a GIF ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveGif({id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_search.md b/old_docs/API_docs_v51/methods/messages_search.md index c39973e1..4a1f85e3 100644 --- a/old_docs/API_docs_v51/methods/messages_search.md +++ b/old_docs/API_docs_v51/methods/messages_search.md @@ -32,7 +32,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({important_only=Bool, peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_searchGifs.md b/old_docs/API_docs_v51/methods/messages_searchGifs.md index 1ef77d23..a12cdd21 100644 --- a/old_docs/API_docs_v51/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v51/methods/messages_searchGifs.md @@ -25,7 +25,7 @@ Search gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_searchGlobal.md b/old_docs/API_docs_v51/methods/messages_searchGlobal.md index 4d05bf0d..1fb73592 100644 --- a/old_docs/API_docs_v51/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v51/methods/messages_searchGlobal.md @@ -28,7 +28,7 @@ Global message search ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_sendBroadcast.md b/old_docs/API_docs_v51/methods/messages_sendBroadcast.md index 11f43d4c..5813ba9c 100644 --- a/old_docs/API_docs_v51/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v51/methods/messages_sendBroadcast.md @@ -26,7 +26,7 @@ Send a message to all users in the chat list ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua Updates = messages.sendBroadcast({contacts={InputUser}, message='string', media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_sendEncrypted.md b/old_docs/API_docs_v51/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v51/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v51/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v51/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v51/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v51/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md index 90befdec..593d4ce0 100644 --- a/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md @@ -30,7 +30,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ id - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.sendInlineBotResult({broadcast=Bool, silent=Bool, background=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_sendMedia.md b/old_docs/API_docs_v51/methods/messages_sendMedia.md index e9f3c1a0..d1c48c48 100644 --- a/old_docs/API_docs_v51/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v51/methods/messages_sendMedia.md @@ -30,7 +30,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({broadcast=Bool, silent=Bool, background=Bool, peer=InputPeer, reply_to_msg_id=int, media=InputMedia, reply_markup=ReplyMarkup, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_sendMessage.md b/old_docs/API_docs_v51/methods/messages_sendMessage.md index 611649e4..08cc66d2 100644 --- a/old_docs/API_docs_v51/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v51/methods/messages_sendMessage.md @@ -33,7 +33,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMessage({no_webpage=Bool, broadcast=Bool, silent=Bool, background=Bool, peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md index 39b03385..969e5343 100644 --- a/old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md @@ -26,7 +26,7 @@ Bots only: set the callback answer (after a button was clicked) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v51/methods/messages_setInlineBotResults.md index 443a028e..e1ebe4e3 100644 --- a/old_docs/API_docs_v51/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v51/methods/messages_setInlineBotResults.md @@ -30,7 +30,7 @@ Bots only: set the results of an inline query ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: -``` +```lua Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset='string', switch_pm=InlineBotSwitchPM, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_setTyping.md b/old_docs/API_docs_v51/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v51/methods/messages_setTyping.md +++ b/old_docs/API_docs_v51/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_startBot.md b/old_docs/API_docs_v51/methods/messages_startBot.md index 506957a7..71f82822 100644 --- a/old_docs/API_docs_v51/methods/messages_startBot.md +++ b/old_docs/API_docs_v51/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md index 0f1e56fa..56438277 100644 --- a/old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md @@ -25,7 +25,7 @@ Enable all users are admins in normal groups (not supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = messages.toggleChatAdmins({chat_id=InputPeer, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v51/methods/photos_deletePhotos.md b/old_docs/API_docs_v51/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v51/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v51/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v51/methods/photos_getUserPhotos.md b/old_docs/API_docs_v51/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/old_docs/API_docs_v51/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v51/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md index 706f0a01..7341e4e7 100644 --- a/old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md @@ -25,7 +25,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md index 99064210..1debfc82 100644 --- a/old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md @@ -27,7 +27,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v51/methods/users_getUsers.md b/old_docs/API_docs_v51/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v51/methods/users_getUsers.md +++ b/old_docs/API_docs_v51/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v51/types/Chat.md b/old_docs/API_docs_v51/types/Chat.md index cd83aacb..58654e6e 100644 --- a/old_docs/API_docs_v51/types/Chat.md +++ b/old_docs/API_docs_v51/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v51/types/InputChannel.md b/old_docs/API_docs_v51/types/InputChannel.md index 3882099d..6dc802fc 100644 --- a/old_docs/API_docs_v51/types/InputChannel.md +++ b/old_docs/API_docs_v51/types/InputChannel.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputChannel = '@username'; // Username $InputChannel = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v51/types/InputEncryptedChat.md b/old_docs/API_docs_v51/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v51/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v51/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v51/types/InputEncryptedFile.md b/old_docs/API_docs_v51/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v51/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v51/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v51/types/InputFile.md b/old_docs/API_docs_v51/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v51/types/InputFile.md +++ b/old_docs/API_docs_v51/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v51/types/InputNotifyPeer.md b/old_docs/API_docs_v51/types/InputNotifyPeer.md index ffc1f0cf..f9d0a662 100644 --- a/old_docs/API_docs_v51/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v51/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v51/types/InputPeer.md b/old_docs/API_docs_v51/types/InputPeer.md index 2076c00b..2649db1a 100644 --- a/old_docs/API_docs_v51/types/InputPeer.md +++ b/old_docs/API_docs_v51/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v51/types/InputUser.md b/old_docs/API_docs_v51/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/old_docs/API_docs_v51/types/InputUser.md +++ b/old_docs/API_docs_v51/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v51/types/KeyboardButton.md b/old_docs/API_docs_v51/types/KeyboardButton.md index 324867ee..fcdfc69f 100644 --- a/old_docs/API_docs_v51/types/KeyboardButton.md +++ b/old_docs/API_docs_v51/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/old_docs/API_docs_v51/types/NotifyPeer.md b/old_docs/API_docs_v51/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v51/types/NotifyPeer.md +++ b/old_docs/API_docs_v51/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v51/types/Peer.md b/old_docs/API_docs_v51/types/Peer.md index ebb98e91..0ab7fdcc 100644 --- a/old_docs/API_docs_v51/types/Peer.md +++ b/old_docs/API_docs_v51/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v51/types/User.md b/old_docs/API_docs_v51/types/User.md index b145a3f8..5385caa4 100644 --- a/old_docs/API_docs_v51/types/User.md +++ b/old_docs/API_docs_v51/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v53/constructors/accountDaysTTL.md b/old_docs/API_docs_v53/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v53/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v53/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v53/constructors/account_authorizations.md b/old_docs/API_docs_v53/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v53/constructors/account_authorizations.md +++ b/old_docs/API_docs_v53/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v53/constructors/account_noPassword.md b/old_docs/API_docs_v53/constructors/account_noPassword.md index 81a483d6..63a4af6d 100644 --- a/old_docs/API_docs_v53/constructors/account_noPassword.md +++ b/old_docs/API_docs_v53/constructors/account_noPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -33,10 +33,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'emai ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/account_password.md b/old_docs/API_docs_v53/constructors/account_password.md index 9a8b31c6..5c4c334b 100644 --- a/old_docs/API_docs_v53/constructors/account_password.md +++ b/old_docs/API_docs_v53/constructors/account_password.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` @@ -36,10 +36,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v53/constructors/account_passwordInputSettings.md index f474e0c7..b5838f0a 100644 --- a/old_docs/API_docs_v53/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v53/constructors/account_passwordInputSettings.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v53/constructors/account_passwordSettings.md b/old_docs/API_docs_v53/constructors/account_passwordSettings.md index 27d14f59..04fc8621 100644 --- a/old_docs/API_docs_v53/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v53/constructors/account_passwordSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v53/constructors/account_privacyRules.md b/old_docs/API_docs_v53/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v53/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v53/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v53/constructors/auth_authorization.md b/old_docs/API_docs_v53/constructors/auth_authorization.md index bbe5a8b9..1a75a113 100644 --- a/old_docs/API_docs_v53/constructors/auth_authorization.md +++ b/old_docs/API_docs_v53/constructors/auth_authorization.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` @@ -32,10 +32,9 @@ $auth_authorization = ['_' => 'auth.authorization', 'user' => User]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_authorization={_='auth.authorization', user=User} ``` diff --git a/old_docs/API_docs_v53/constructors/auth_checkedPhone.md b/old_docs/API_docs_v53/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v53/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v53/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v53/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v53/constructors/auth_codeTypeCall.md index 6a4f28d1..788a2c37 100644 --- a/old_docs/API_docs_v53/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v53/constructors/auth_codeTypeCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeCall={_='auth.codeTypeCall'} ``` diff --git a/old_docs/API_docs_v53/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v53/constructors/auth_codeTypeFlashCall.md index 2851bf4e..abb65fcf 100644 --- a/old_docs/API_docs_v53/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v53/constructors/auth_codeTypeFlashCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} ``` diff --git a/old_docs/API_docs_v53/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v53/constructors/auth_codeTypeSms.md index 04b78a3d..34b42c95 100644 --- a/old_docs/API_docs_v53/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v53/constructors/auth_codeTypeSms.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeSms={_='auth.codeTypeSms'} ``` diff --git a/old_docs/API_docs_v53/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v53/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v53/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v53/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v53/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v53/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v53/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v53/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v53/constructors/auth_sentCode.md b/old_docs/API_docs_v53/constructors/auth_sentCode.md index 0226e79e..2b3f2017 100644 --- a/old_docs/API_docs_v53/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v53/constructors/auth_sentCode.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; ``` @@ -36,10 +36,9 @@ $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} ``` diff --git a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeApp.md index eb4f4530..eba1784a 100644 --- a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeApp.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeCall.md index b72a7550..5948ce63 100644 --- a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeFlashCall.md index 2c59cad5..bcc7acf6 100644 --- a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeFlashCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeSms.md index db6858ea..3073333f 100644 --- a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeSms.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v53/constructors/authorization.md b/old_docs/API_docs_v53/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v53/constructors/authorization.md +++ b/old_docs/API_docs_v53/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v53/constructors/botCommand.md b/old_docs/API_docs_v53/constructors/botCommand.md index 8569358d..fcb65461 100644 --- a/old_docs/API_docs_v53/constructors/botCommand.md +++ b/old_docs/API_docs_v53/constructors/botCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v53/constructors/botInfo.md b/old_docs/API_docs_v53/constructors/botInfo.md index 507f9f8c..ad88f390 100644 --- a/old_docs/API_docs_v53/constructors/botInfo.md +++ b/old_docs/API_docs_v53/constructors/botInfo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v53/constructors/botInlineMediaResult.md b/old_docs/API_docs_v53/constructors/botInlineMediaResult.md index 43454784..0131af98 100644 --- a/old_docs/API_docs_v53/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v53/constructors/botInlineMediaResult.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` @@ -38,10 +38,9 @@ $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} ``` diff --git a/old_docs/API_docs_v53/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v53/constructors/botInlineMessageMediaAuto.md index 71557e0c..89ef07e4 100644 --- a/old_docs/API_docs_v53/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v53/constructors/botInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v53/constructors/botInlineMessageMediaContact.md b/old_docs/API_docs_v53/constructors/botInlineMessageMediaContact.md index c3f25947..771472fa 100644 --- a/old_docs/API_docs_v53/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v53/constructors/botInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v53/constructors/botInlineMessageMediaGeo.md b/old_docs/API_docs_v53/constructors/botInlineMessageMediaGeo.md index c87e0dfe..24bf8b8d 100644 --- a/old_docs/API_docs_v53/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v53/constructors/botInlineMessageMediaGeo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v53/constructors/botInlineMessageMediaVenue.md b/old_docs/API_docs_v53/constructors/botInlineMessageMediaVenue.md index 4795ba75..8108a37c 100644 --- a/old_docs/API_docs_v53/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v53/constructors/botInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v53/constructors/botInlineMessageText.md b/old_docs/API_docs_v53/constructors/botInlineMessageText.md index 4a274d28..b3fa92ed 100644 --- a/old_docs/API_docs_v53/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v53/constructors/botInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v53/constructors/botInlineResult.md b/old_docs/API_docs_v53/constructors/botInlineResult.md index c7abbd71..8b6ead75 100644 --- a/old_docs/API_docs_v53/constructors/botInlineResult.md +++ b/old_docs/API_docs_v53/constructors/botInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` @@ -43,10 +43,9 @@ $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_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v53/constructors/channel.md b/old_docs/API_docs_v53/constructors/channel.md index 489f65c7..98c32d4b 100644 --- a/old_docs/API_docs_v53/constructors/channel.md +++ b/old_docs/API_docs_v53/constructors/channel.md @@ -40,7 +40,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => 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']; ``` @@ -51,10 +51,9 @@ $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=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'} ``` diff --git a/old_docs/API_docs_v53/constructors/channelForbidden.md b/old_docs/API_docs_v53/constructors/channelForbidden.md index 27a78b5c..7d083e83 100644 --- a/old_docs/API_docs_v53/constructors/channelForbidden.md +++ b/old_docs/API_docs_v53/constructors/channelForbidden.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` @@ -36,10 +36,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v53/constructors/channelFull.md b/old_docs/API_docs_v53/constructors/channelFull.md index c947a32e..671149f5 100644 --- a/old_docs/API_docs_v53/constructors/channelFull.md +++ b/old_docs/API_docs_v53/constructors/channelFull.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_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]; ``` @@ -48,10 +48,9 @@ $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, id=int, about='string', participants_count=int, admins_count=int, kicked_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} ``` diff --git a/old_docs/API_docs_v53/constructors/channelMessagesFilter.md b/old_docs/API_docs_v53/constructors/channelMessagesFilter.md index b19d3151..1b953ba3 100644 --- a/old_docs/API_docs_v53/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v53/constructors/channelMessagesFilter.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v53/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v53/constructors/channelMessagesFilterEmpty.md index 350e50de..a446b896 100644 --- a/old_docs/API_docs_v53/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v53/constructors/channelMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/channelParticipant.md b/old_docs/API_docs_v53/constructors/channelParticipant.md index c7de5400..dbcb792b 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipant.md +++ b/old_docs/API_docs_v53/constructors/channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v53/constructors/channelParticipantCreator.md b/old_docs/API_docs_v53/constructors/channelParticipantCreator.md index 86cafe0a..e999fb9c 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantCreator={_='channelParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/channelParticipantEditor.md b/old_docs/API_docs_v53/constructors/channelParticipantEditor.md index 37ae4bb0..7c7e4dc9 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantEditor.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v53/constructors/channelParticipantKicked.md b/old_docs/API_docs_v53/constructors/channelParticipantKicked.md index ccc454be..6bcc2e0f 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantKicked.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int} ``` diff --git a/old_docs/API_docs_v53/constructors/channelParticipantModerator.md b/old_docs/API_docs_v53/constructors/channelParticipantModerator.md index 90b4ab52..49c68acd 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantModerator.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v53/constructors/channelParticipantSelf.md b/old_docs/API_docs_v53/constructors/channelParticipantSelf.md index 83864972..4b5949ac 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantSelf.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v53/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v53/constructors/channelParticipantsAdmins.md index c86cb9a4..4b0c30d4 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantsAdmins.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` @@ -27,10 +27,9 @@ $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v53/constructors/channelParticipantsBots.md b/old_docs/API_docs_v53/constructors/channelParticipantsBots.md index 30875f94..66e510c7 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantsBots.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` @@ -27,10 +27,9 @@ $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v53/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v53/constructors/channelParticipantsKicked.md index 7f026ceb..38cf128e 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantsKicked.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` @@ -27,10 +27,9 @@ $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v53/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v53/constructors/channelParticipantsRecent.md index e4cb6466..51e57069 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantsRecent.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` @@ -27,10 +27,9 @@ $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v53/constructors/channelRoleEditor.md b/old_docs/API_docs_v53/constructors/channelRoleEditor.md index 86d953a9..1e472d2f 100644 --- a/old_docs/API_docs_v53/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v53/constructors/channelRoleEditor.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` @@ -27,10 +27,9 @@ $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v53/constructors/channelRoleEmpty.md b/old_docs/API_docs_v53/constructors/channelRoleEmpty.md index a50bb310..85d1c3fb 100644 --- a/old_docs/API_docs_v53/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v53/constructors/channelRoleEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` @@ -27,10 +27,9 @@ $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/channelRoleModerator.md b/old_docs/API_docs_v53/constructors/channelRoleModerator.md index 781f60ad..f242ff5c 100644 --- a/old_docs/API_docs_v53/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v53/constructors/channelRoleModerator.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` @@ -27,10 +27,9 @@ $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleModerator={_='channelRoleModerator'} ``` diff --git a/old_docs/API_docs_v53/constructors/channels_channelParticipant.md b/old_docs/API_docs_v53/constructors/channels_channelParticipant.md index bdf27b08..107502c5 100644 --- a/old_docs/API_docs_v53/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v53/constructors/channels_channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v53/constructors/channels_channelParticipants.md b/old_docs/API_docs_v53/constructors/channels_channelParticipants.md index 1b76b1e0..0402423f 100644 --- a/old_docs/API_docs_v53/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v53/constructors/channels_channelParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v53/constructors/chat.md b/old_docs/API_docs_v53/constructors/chat.md index 5ae1811d..b6f24f3e 100644 --- a/old_docs/API_docs_v53/constructors/chat.md +++ b/old_docs/API_docs_v53/constructors/chat.md @@ -33,7 +33,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -44,10 +44,9 @@ $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} ``` diff --git a/old_docs/API_docs_v53/constructors/chatEmpty.md b/old_docs/API_docs_v53/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v53/constructors/chatEmpty.md +++ b/old_docs/API_docs_v53/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/chatForbidden.md b/old_docs/API_docs_v53/constructors/chatForbidden.md index de5bb302..61c45660 100644 --- a/old_docs/API_docs_v53/constructors/chatForbidden.md +++ b/old_docs/API_docs_v53/constructors/chatForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v53/constructors/chatFull.md b/old_docs/API_docs_v53/constructors/chatFull.md index 6e138596..2a5f67f6 100644 --- a/old_docs/API_docs_v53/constructors/chatFull.md +++ b/old_docs/API_docs_v53/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v53/constructors/chatInvite.md b/old_docs/API_docs_v53/constructors/chatInvite.md index 6cf6e489..3c3a0001 100644 --- a/old_docs/API_docs_v53/constructors/chatInvite.md +++ b/old_docs/API_docs_v53/constructors/chatInvite.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string']; ``` @@ -36,10 +36,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v53/constructors/chatInviteAlready.md b/old_docs/API_docs_v53/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/old_docs/API_docs_v53/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v53/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/old_docs/API_docs_v53/constructors/chatInviteEmpty.md b/old_docs/API_docs_v53/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/old_docs/API_docs_v53/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v53/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/chatInviteExported.md b/old_docs/API_docs_v53/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/old_docs/API_docs_v53/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v53/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/chatParticipant.md b/old_docs/API_docs_v53/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v53/constructors/chatParticipant.md +++ b/old_docs/API_docs_v53/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v53/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v53/constructors/chatParticipantAdmin.md index 62aee9a4..63a38575 100644 --- a/old_docs/API_docs_v53/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v53/constructors/chatParticipantAdmin.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v53/constructors/chatParticipantCreator.md b/old_docs/API_docs_v53/constructors/chatParticipantCreator.md index 0fb7b6ef..75b9c4d4 100644 --- a/old_docs/API_docs_v53/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v53/constructors/chatParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantCreator={_='chatParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/chatParticipants.md b/old_docs/API_docs_v53/constructors/chatParticipants.md index 38af2ca5..ae254290 100644 --- a/old_docs/API_docs_v53/constructors/chatParticipants.md +++ b/old_docs/API_docs_v53/constructors/chatParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v53/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v53/constructors/chatParticipantsForbidden.md index 2ecdfe10..639b30ee 100644 --- a/old_docs/API_docs_v53/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v53/constructors/chatParticipantsForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v53/constructors/chatPhoto.md b/old_docs/API_docs_v53/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v53/constructors/chatPhoto.md +++ b/old_docs/API_docs_v53/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v53/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v53/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v53/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v53/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/config.md b/old_docs/API_docs_v53/constructors/config.md index aa4083b1..da3ab78f 100644 --- a/old_docs/API_docs_v53/constructors/config.md +++ b/old_docs/API_docs_v53/constructors/config.md @@ -41,7 +41,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -52,10 +52,9 @@ $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, rating_e_decay=int, disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v53/constructors/contact.md b/old_docs/API_docs_v53/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v53/constructors/contact.md +++ b/old_docs/API_docs_v53/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v53/constructors/contactBlocked.md b/old_docs/API_docs_v53/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v53/constructors/contactBlocked.md +++ b/old_docs/API_docs_v53/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v53/constructors/contactLinkContact.md b/old_docs/API_docs_v53/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v53/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v53/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v53/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v53/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v53/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v53/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v53/constructors/contactLinkNone.md b/old_docs/API_docs_v53/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v53/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v53/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v53/constructors/contactLinkUnknown.md b/old_docs/API_docs_v53/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v53/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v53/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v53/constructors/contactStatus.md b/old_docs/API_docs_v53/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v53/constructors/contactStatus.md +++ b/old_docs/API_docs_v53/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v53/constructors/contacts_blocked.md b/old_docs/API_docs_v53/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v53/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v53/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v53/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v53/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v53/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v53/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v53/constructors/contacts_contacts.md b/old_docs/API_docs_v53/constructors/contacts_contacts.md index 34dae91a..ea16b38a 100644 --- a/old_docs/API_docs_v53/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v53/constructors/contacts_contacts.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} ``` diff --git a/old_docs/API_docs_v53/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v53/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v53/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v53/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v53/constructors/contacts_found.md b/old_docs/API_docs_v53/constructors/contacts_found.md index 7e0e458c..624fa475 100644 --- a/old_docs/API_docs_v53/constructors/contacts_found.md +++ b/old_docs/API_docs_v53/constructors/contacts_found.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v53/constructors/contacts_importedContacts.md b/old_docs/API_docs_v53/constructors/contacts_importedContacts.md index 7bf9c1bf..8b9012bb 100644 --- a/old_docs/API_docs_v53/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v53/constructors/contacts_importedContacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v53/constructors/contacts_link.md b/old_docs/API_docs_v53/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v53/constructors/contacts_link.md +++ b/old_docs/API_docs_v53/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v53/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v53/constructors/contacts_resolvedPeer.md index add29235..4aa323dd 100644 --- a/old_docs/API_docs_v53/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v53/constructors/contacts_resolvedPeer.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v53/constructors/contacts_topPeers.md b/old_docs/API_docs_v53/constructors/contacts_topPeers.md index 8777bff2..e4728594 100644 --- a/old_docs/API_docs_v53/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v53/constructors/contacts_topPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCatego ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v53/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v53/constructors/contacts_topPeersNotModified.md index 3aa2236a..7ec0114a 100644 --- a/old_docs/API_docs_v53/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v53/constructors/contacts_topPeersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeersNotModified={_='contacts.topPeersNotModified'} ``` diff --git a/old_docs/API_docs_v53/constructors/dcOption.md b/old_docs/API_docs_v53/constructors/dcOption.md index 3fd6f51f..c4e1a91f 100644 --- a/old_docs/API_docs_v53/constructors/dcOption.md +++ b/old_docs/API_docs_v53/constructors/dcOption.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` @@ -37,10 +37,9 @@ $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, id=int, ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v53/constructors/dialog.md b/old_docs/API_docs_v53/constructors/dialog.md index 225b0a90..2b6dc80c 100644 --- a/old_docs/API_docs_v53/constructors/dialog.md +++ b/old_docs/API_docs_v53/constructors/dialog.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage]; ``` @@ -39,10 +39,9 @@ $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_ma ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings, pts=int, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v53/constructors/disabledFeature.md b/old_docs/API_docs_v53/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v53/constructors/disabledFeature.md +++ b/old_docs/API_docs_v53/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/document.md b/old_docs/API_docs_v53/constructors/document.md index 8719d873..e9547f1f 100644 --- a/old_docs/API_docs_v53/constructors/document.md +++ b/old_docs/API_docs_v53/constructors/document.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -39,10 +39,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v53/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v53/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v53/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v53/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v53/constructors/documentAttributeAudio.md b/old_docs/API_docs_v53/constructors/documentAttributeAudio.md index 0dc5decc..f427a05c 100644 --- a/old_docs/API_docs_v53/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v53/constructors/documentAttributeAudio.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` @@ -36,10 +36,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'du ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title='string', performer='string', waveform='bytes'} ``` diff --git a/old_docs/API_docs_v53/constructors/documentAttributeFilename.md b/old_docs/API_docs_v53/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v53/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v53/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v53/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v53/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v53/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v53/constructors/documentAttributeSticker.md b/old_docs/API_docs_v53/constructors/documentAttributeSticker.md index d44d94cd..397679ef 100644 --- a/old_docs/API_docs_v53/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v53/constructors/documentAttributeSticker.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` @@ -33,10 +33,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', alt='string', stickerset=InputStickerSet} ``` diff --git a/old_docs/API_docs_v53/constructors/documentAttributeVideo.md b/old_docs/API_docs_v53/constructors/documentAttributeVideo.md index 0902c118..cc7ffced 100644 --- a/old_docs/API_docs_v53/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v53/constructors/documentAttributeVideo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -34,10 +34,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v53/constructors/documentEmpty.md b/old_docs/API_docs_v53/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v53/constructors/documentEmpty.md +++ b/old_docs/API_docs_v53/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v53/constructors/draftMessage.md b/old_docs/API_docs_v53/constructors/draftMessage.md index 370ffaef..ecec69a1 100644 --- a/old_docs/API_docs_v53/constructors/draftMessage.md +++ b/old_docs/API_docs_v53/constructors/draftMessage.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'date' => int]; ``` @@ -36,10 +36,9 @@ $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message='string', entities={MessageEntity}, date=int} ``` diff --git a/old_docs/API_docs_v53/constructors/draftMessageEmpty.md b/old_docs/API_docs_v53/constructors/draftMessageEmpty.md index 15b2aa67..65902a71 100644 --- a/old_docs/API_docs_v53/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v53/constructors/draftMessageEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` @@ -27,10 +27,9 @@ $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessageEmpty={_='draftMessageEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/encryptedChat.md b/old_docs/API_docs_v53/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v53/constructors/encryptedChat.md +++ b/old_docs/API_docs_v53/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v53/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v53/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v53/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v53/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v53/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v53/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v53/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/encryptedChatRequested.md b/old_docs/API_docs_v53/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v53/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v53/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v53/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v53/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v53/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v53/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/encryptedFile.md b/old_docs/API_docs_v53/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v53/constructors/encryptedFile.md +++ b/old_docs/API_docs_v53/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v53/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v53/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v53/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v53/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/encryptedMessage.md b/old_docs/API_docs_v53/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v53/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v53/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v53/constructors/encryptedMessageService.md b/old_docs/API_docs_v53/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v53/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v53/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v53/constructors/error.md b/old_docs/API_docs_v53/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v53/constructors/error.md +++ b/old_docs/API_docs_v53/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/exportedMessageLink.md b/old_docs/API_docs_v53/constructors/exportedMessageLink.md index 423c9fa3..9db8d71a 100644 --- a/old_docs/API_docs_v53/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v53/constructors/exportedMessageLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua exportedMessageLink={_='exportedMessageLink', link='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/fileLocation.md b/old_docs/API_docs_v53/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v53/constructors/fileLocation.md +++ b/old_docs/API_docs_v53/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v53/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v53/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v53/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v53/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v53/constructors/foundGif.md b/old_docs/API_docs_v53/constructors/foundGif.md index d8ee3695..c2f0ce33 100644 --- a/old_docs/API_docs_v53/constructors/foundGif.md +++ b/old_docs/API_docs_v53/constructors/foundGif.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` @@ -37,10 +37,9 @@ $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'con ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGif={_='foundGif', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int} ``` diff --git a/old_docs/API_docs_v53/constructors/foundGifCached.md b/old_docs/API_docs_v53/constructors/foundGifCached.md index e4a1a552..03e67917 100644 --- a/old_docs/API_docs_v53/constructors/foundGifCached.md +++ b/old_docs/API_docs_v53/constructors/foundGifCached.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -34,10 +34,9 @@ $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGifCached={_='foundGifCached', url='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v53/constructors/geoPoint.md b/old_docs/API_docs_v53/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v53/constructors/geoPoint.md +++ b/old_docs/API_docs_v53/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v53/constructors/geoPointEmpty.md b/old_docs/API_docs_v53/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v53/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v53/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/help_appChangelog.md b/old_docs/API_docs_v53/constructors/help_appChangelog.md index 5b7b353a..d30f8acd 100644 --- a/old_docs/API_docs_v53/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v53/constructors/help_appChangelog.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelog={_='help.appChangelog', text='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v53/constructors/help_appChangelogEmpty.md index 0f0827c3..e20017b7 100644 --- a/old_docs/API_docs_v53/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v53/constructors/help_appChangelogEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` @@ -27,10 +27,9 @@ $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelogEmpty={_='help.appChangelogEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/help_appUpdate.md b/old_docs/API_docs_v53/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v53/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v53/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/help_inviteText.md b/old_docs/API_docs_v53/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v53/constructors/help_inviteText.md +++ b/old_docs/API_docs_v53/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/help_noAppUpdate.md b/old_docs/API_docs_v53/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v53/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v53/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v53/constructors/help_support.md b/old_docs/API_docs_v53/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v53/constructors/help_support.md +++ b/old_docs/API_docs_v53/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v53/constructors/help_termsOfService.md b/old_docs/API_docs_v53/constructors/help_termsOfService.md index 8e558bed..ec7a8121 100644 --- a/old_docs/API_docs_v53/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v53/constructors/help_termsOfService.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_termsOfService={_='help.termsOfService', text='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/importedContact.md b/old_docs/API_docs_v53/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v53/constructors/importedContact.md +++ b/old_docs/API_docs_v53/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v53/constructors/inlineBotSwitchPM.md b/old_docs/API_docs_v53/constructors/inlineBotSwitchPM.md index 0dfd4714..b4fb8185 100644 --- a/old_docs/API_docs_v53/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v53/constructors/inlineBotSwitchPM.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` @@ -33,10 +33,9 @@ $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_par ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inlineBotSwitchPM={_='inlineBotSwitchPM', text='string', start_param='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputAppEvent.md b/old_docs/API_docs_v53/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v53/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v53/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputBotInlineMessageID.md b/old_docs/API_docs_v53/constructors/inputBotInlineMessageID.md index 91c7586d..aecbb733 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineMessageID.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaAuto.md index 28d93836..17e2a1cb 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'cap ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaContact.md b/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaContact.md index 5b78709f..25dd9029 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaGeo.md b/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaGeo.md index 39365847..935dba16 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaGeo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaVenue.md b/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaVenue.md index 7dbc6a6c..56ec0745 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'g ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v53/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v53/constructors/inputBotInlineMessageText.md index e6a0bbb7..acae47bc 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v53/constructors/inputBotInlineResult.md b/old_docs/API_docs_v53/constructors/inputBotInlineResult.md index 668af514..34148d70 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` @@ -43,10 +43,9 @@ $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v53/constructors/inputBotInlineResultDocument.md b/old_docs/API_docs_v53/constructors/inputBotInlineResultDocument.md index ad13df76..9d5f1eb6 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineResultDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` @@ -37,10 +37,9 @@ $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultDocument={_='inputBotInlineResultDocument', id='string', type='string', title='string', description='string', document=InputDocument, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v53/constructors/inputBotInlineResultPhoto.md b/old_docs/API_docs_v53/constructors/inputBotInlineResultPhoto.md index 43f00813..271bb02e 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineResultPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` @@ -35,10 +35,9 @@ $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id='string', type='string', photo=InputPhoto, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v53/constructors/inputChannel.md b/old_docs/API_docs_v53/constructors/inputChannel.md index b5cb3566..34ed10ca 100644 --- a/old_docs/API_docs_v53/constructors/inputChannel.md +++ b/old_docs/API_docs_v53/constructors/inputChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannel={_='inputChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v53/constructors/inputChannelEmpty.md b/old_docs/API_docs_v53/constructors/inputChannelEmpty.md index f7e18434..bd53602b 100644 --- a/old_docs/API_docs_v53/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputChannelEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` @@ -27,10 +27,9 @@ $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputChatPhoto.md b/old_docs/API_docs_v53/constructors/inputChatPhoto.md index 5affda9a..7ad8a3f7 100644 --- a/old_docs/API_docs_v53/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v53/constructors/inputChatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputP ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v53/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v53/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v53/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v53/constructors/inputChatUploadedPhoto.md index a22405b2..ed0624da 100644 --- a/old_docs/API_docs_v53/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v53/constructors/inputChatUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v53/constructors/inputDocument.md b/old_docs/API_docs_v53/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v53/constructors/inputDocument.md +++ b/old_docs/API_docs_v53/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v53/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v53/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v53/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v53/constructors/inputDocumentFileLocation.md index 2ba7d2b3..5d593784 100644 --- a/old_docs/API_docs_v53/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v53/constructors/inputDocumentFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v53/constructors/inputEncryptedChat.md b/old_docs/API_docs_v53/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v53/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v53/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v53/constructors/inputEncryptedFile.md b/old_docs/API_docs_v53/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v53/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v53/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v53/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v53/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v53/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v53/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v53/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v53/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v53/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v53/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v53/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v53/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v53/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v53/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v53/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v53/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v53/constructors/inputFile.md b/old_docs/API_docs_v53/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v53/constructors/inputFile.md +++ b/old_docs/API_docs_v53/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputFileBig.md b/old_docs/API_docs_v53/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v53/constructors/inputFileBig.md +++ b/old_docs/API_docs_v53/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputFileLocation.md b/old_docs/API_docs_v53/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v53/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v53/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v53/constructors/inputGeoPoint.md b/old_docs/API_docs_v53/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v53/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v53/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v53/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v53/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v53/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMediaContact.md b/old_docs/API_docs_v53/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v53/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMediaDocument.md b/old_docs/API_docs_v53/constructors/inputMediaDocument.md index 8c961036..9436d5e4 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v53/constructors/inputMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'capt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMediaEmpty.md b/old_docs/API_docs_v53/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v53/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v53/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v53/constructors/inputMediaGifExternal.md index cf68972a..14153a43 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v53/constructors/inputMediaGifExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGifExternal={_='inputMediaGifExternal', url='string', q='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMediaPhoto.md b/old_docs/API_docs_v53/constructors/inputMediaPhoto.md index 0be7f6fe..71f4ded5 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v53/constructors/inputMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v53/constructors/inputMediaUploadedDocument.md index e70c2a9c..d3887568 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v53/constructors/inputMediaUploadedDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string']; ``` @@ -35,10 +35,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v53/constructors/inputMediaUploadedPhoto.md index 499857ce..ad2a8680 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v53/constructors/inputMediaUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v53/constructors/inputMediaUploadedThumbDocument.md index 7a6c823e..f5a601a7 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v53/constructors/inputMediaUploadedThumbDocument.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMediaVenue.md b/old_docs/API_docs_v53/constructors/inputMediaVenue.md index 3e7ee3a1..b2171fbc 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v53/constructors/inputMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMessageEntityMentionName.md b/old_docs/API_docs_v53/constructors/inputMessageEntityMentionName.md index 92d5c8d9..19a0b4e3 100644 --- a/old_docs/API_docs_v53/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v53/constructors/inputMessageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser]; ``` @@ -34,10 +34,9 @@ $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessageEntityMentionName={_='inputMessageEntityMentionName', offset=int, length=int, user_id=InputUser} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterChatPhotos.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterChatPhotos.md index a02425b1..b72281f3 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterChatPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterGif.md index 94698ecd..a3a51104 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterMusic.md index ac6373c2..b2ed1044 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterMusic.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterVoice.md index 026a91be..be3af22a 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputNotifyAll.md b/old_docs/API_docs_v53/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v53/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v53/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputNotifyChats.md b/old_docs/API_docs_v53/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v53/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v53/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputNotifyPeer.md b/old_docs/API_docs_v53/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v53/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v53/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v53/constructors/inputNotifyUsers.md b/old_docs/API_docs_v53/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v53/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v53/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPeerChannel.md b/old_docs/API_docs_v53/constructors/inputPeerChannel.md index 8b84fe20..14c2f105 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v53/constructors/inputPeerChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPeerChat.md b/old_docs/API_docs_v53/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v53/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPeerEmpty.md b/old_docs/API_docs_v53/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v53/constructors/inputPeerNotifySettings.md index 6b281f53..cd18b39e 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v53/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPeerSelf.md b/old_docs/API_docs_v53/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v53/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPeerUser.md b/old_docs/API_docs_v53/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v53/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPhoneContact.md b/old_docs/API_docs_v53/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v53/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v53/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPhoto.md b/old_docs/API_docs_v53/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v53/constructors/inputPhoto.md +++ b/old_docs/API_docs_v53/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPhotoCrop.md b/old_docs/API_docs_v53/constructors/inputPhotoCrop.md index b35bf42f..e90029a9 100644 --- a/old_docs/API_docs_v53/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v53/constructors/inputPhotoCrop.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` @@ -34,10 +34,9 @@ $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v53/constructors/inputPhotoCropAuto.md index 6c2f121d..37414b14 100644 --- a/old_docs/API_docs_v53/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v53/constructors/inputPhotoCropAuto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` @@ -27,10 +27,9 @@ $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v53/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v53/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v53/constructors/inputPrivacyKeyChatInvite.md index 9c55265f..d96148d4 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v53/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v53/constructors/inputReportReasonOther.md b/old_docs/API_docs_v53/constructors/inputReportReasonOther.md index 361582bd..4dbffa18 100644 --- a/old_docs/API_docs_v53/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v53/constructors/inputReportReasonOther.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonOther={_='inputReportReasonOther', text='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v53/constructors/inputReportReasonPornography.md index c18c71d3..5c80f096 100644 --- a/old_docs/API_docs_v53/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v53/constructors/inputReportReasonPornography.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` @@ -27,10 +27,9 @@ $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v53/constructors/inputReportReasonSpam.md index 19ed6687..75d59861 100644 --- a/old_docs/API_docs_v53/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v53/constructors/inputReportReasonSpam.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` @@ -27,10 +27,9 @@ $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v53/constructors/inputReportReasonViolence.md index 10fbce47..28d27e85 100644 --- a/old_docs/API_docs_v53/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v53/constructors/inputReportReasonViolence.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` @@ -27,10 +27,9 @@ $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v53/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/old_docs/API_docs_v53/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputStickerSetID.md b/old_docs/API_docs_v53/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/old_docs/API_docs_v53/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v53/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v53/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v53/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/old_docs/API_docs_v53/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v53/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputUser.md b/old_docs/API_docs_v53/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/old_docs/API_docs_v53/constructors/inputUser.md +++ b/old_docs/API_docs_v53/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v53/constructors/inputUserEmpty.md b/old_docs/API_docs_v53/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v53/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/inputUserSelf.md b/old_docs/API_docs_v53/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v53/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v53/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v53/constructors/keyboardButton.md b/old_docs/API_docs_v53/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/old_docs/API_docs_v53/constructors/keyboardButton.md +++ b/old_docs/API_docs_v53/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/keyboardButtonCallback.md b/old_docs/API_docs_v53/constructors/keyboardButtonCallback.md index 63e87aac..c8f86f50 100644 --- a/old_docs/API_docs_v53/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v53/constructors/keyboardButtonCallback.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` @@ -33,10 +33,9 @@ $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonCallback={_='keyboardButtonCallback', text='string', data='bytes'} ``` diff --git a/old_docs/API_docs_v53/constructors/keyboardButtonRequestGeoLocation.md b/old_docs/API_docs_v53/constructors/keyboardButtonRequestGeoLocation.md index fc422d90..63d4a82f 100644 --- a/old_docs/API_docs_v53/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v53/constructors/keyboardButtonRequestGeoLocation.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/keyboardButtonRequestPhone.md b/old_docs/API_docs_v53/constructors/keyboardButtonRequestPhone.md index a1719e24..ba58979f 100644 --- a/old_docs/API_docs_v53/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v53/constructors/keyboardButtonRequestPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/keyboardButtonRow.md b/old_docs/API_docs_v53/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/old_docs/API_docs_v53/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v53/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/old_docs/API_docs_v53/constructors/keyboardButtonSwitchInline.md b/old_docs/API_docs_v53/constructors/keyboardButtonSwitchInline.md index e682eec2..4c35e84b 100644 --- a/old_docs/API_docs_v53/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v53/constructors/keyboardButtonSwitchInline.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'text' => 'string', 'query' => 'string']; ``` @@ -33,10 +33,9 @@ $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'text' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', text='string', query='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/keyboardButtonUrl.md b/old_docs/API_docs_v53/constructors/keyboardButtonUrl.md index 709d4fa9..56b86f1c 100644 --- a/old_docs/API_docs_v53/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v53/constructors/keyboardButtonUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` @@ -33,10 +33,9 @@ $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonUrl={_='keyboardButtonUrl', text='string', url='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/message.md b/old_docs/API_docs_v53/constructors/message.md index 9b54331e..b3ce8110 100644 --- a/old_docs/API_docs_v53/constructors/message.md +++ b/old_docs/API_docs_v53/constructors/message.md @@ -38,7 +38,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'views' => int, 'edit_date' => int]; ``` @@ -49,10 +49,9 @@ $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int} ``` diff --git a/old_docs/API_docs_v53/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v53/constructors/messageActionChannelCreate.md index b1750d73..2600ab63 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v53/constructors/messageActionChannelCreate.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v53/constructors/messageActionChannelMigrateFrom.md index add136dc..1fdcf3f4 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v53/constructors/messageActionChannelMigrateFrom.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 't ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v53/constructors/messageActionChatAddUser.md index 9c7de7f8..283365cd 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', users={int}} ``` diff --git a/old_docs/API_docs_v53/constructors/messageActionChatCreate.md b/old_docs/API_docs_v53/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v53/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v53/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v53/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v53/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v53/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v53/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v53/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v53/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v53/constructors/messageActionChatMigrateTo.md index 21d2cb22..8ace1091 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatMigrateTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/messageActionEmpty.md b/old_docs/API_docs_v53/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v53/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v53/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/messageActionHistoryClear.md b/old_docs/API_docs_v53/constructors/messageActionHistoryClear.md index 8b8dcc9d..90875cf6 100644 --- a/old_docs/API_docs_v53/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v53/constructors/messageActionHistoryClear.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` @@ -27,10 +27,9 @@ $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionHistoryClear={_='messageActionHistoryClear'} ``` diff --git a/old_docs/API_docs_v53/constructors/messageActionPinMessage.md b/old_docs/API_docs_v53/constructors/messageActionPinMessage.md index ffa41746..be763787 100644 --- a/old_docs/API_docs_v53/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v53/constructors/messageActionPinMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` @@ -27,10 +27,9 @@ $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/old_docs/API_docs_v53/constructors/messageEmpty.md b/old_docs/API_docs_v53/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v53/constructors/messageEmpty.md +++ b/old_docs/API_docs_v53/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/messageEntityBold.md b/old_docs/API_docs_v53/constructors/messageEntityBold.md index 950699fb..90f74ad5 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v53/constructors/messageEntityBold.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v53/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v53/constructors/messageEntityBotCommand.md index 8be471d3..9fb8f6a6 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v53/constructors/messageEntityBotCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v53/constructors/messageEntityCode.md b/old_docs/API_docs_v53/constructors/messageEntityCode.md index 7c701844..d236e57e 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v53/constructors/messageEntityCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v53/constructors/messageEntityEmail.md b/old_docs/API_docs_v53/constructors/messageEntityEmail.md index 35a968c7..74e910f3 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v53/constructors/messageEntityEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v53/constructors/messageEntityHashtag.md b/old_docs/API_docs_v53/constructors/messageEntityHashtag.md index 6b124e73..77e29387 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v53/constructors/messageEntityHashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v53/constructors/messageEntityItalic.md b/old_docs/API_docs_v53/constructors/messageEntityItalic.md index 25f73428..5975bae2 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v53/constructors/messageEntityItalic.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v53/constructors/messageEntityMention.md b/old_docs/API_docs_v53/constructors/messageEntityMention.md index 9eb4d266..1a21cb10 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v53/constructors/messageEntityMention.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v53/constructors/messageEntityMentionName.md b/old_docs/API_docs_v53/constructors/messageEntityMentionName.md index b546570b..0fe142c5 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v53/constructors/messageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int]; ``` @@ -34,10 +34,9 @@ $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/messageEntityPre.md b/old_docs/API_docs_v53/constructors/messageEntityPre.md index abfc9136..13b165fe 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v53/constructors/messageEntityPre.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPre={_='messageEntityPre', offset=int, length=int, language='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v53/constructors/messageEntityTextUrl.md index 91f6d36c..b6d82843 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v53/constructors/messageEntityTextUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/messageEntityUnknown.md b/old_docs/API_docs_v53/constructors/messageEntityUnknown.md index 69ca8a1b..4c434fd7 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v53/constructors/messageEntityUnknown.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v53/constructors/messageEntityUrl.md b/old_docs/API_docs_v53/constructors/messageEntityUrl.md index 377c3dda..2cf334a5 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v53/constructors/messageEntityUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v53/constructors/messageFwdHeader.md b/old_docs/API_docs_v53/constructors/messageFwdHeader.md index b55da4c5..999c62ad 100644 --- a/old_docs/API_docs_v53/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v53/constructors/messageFwdHeader.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int]; ``` @@ -35,10 +35,9 @@ $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int} ``` diff --git a/old_docs/API_docs_v53/constructors/messageMediaContact.md b/old_docs/API_docs_v53/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v53/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/messageMediaDocument.md b/old_docs/API_docs_v53/constructors/messageMediaDocument.md index 1f584a82..44199179 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v53/constructors/messageMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document, caption='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/messageMediaEmpty.md b/old_docs/API_docs_v53/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v53/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/messageMediaGeo.md b/old_docs/API_docs_v53/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v53/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v53/constructors/messageMediaPhoto.md b/old_docs/API_docs_v53/constructors/messageMediaPhoto.md index 47579066..7350efce 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v53/constructors/messageMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v53/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v53/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v53/constructors/messageMediaVenue.md b/old_docs/API_docs_v53/constructors/messageMediaVenue.md index 2db2d25d..2ef2b27f 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v53/constructors/messageMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/messageMediaWebPage.md b/old_docs/API_docs_v53/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v53/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v53/constructors/messageRange.md b/old_docs/API_docs_v53/constructors/messageRange.md index 40c3f81a..527e8646 100644 --- a/old_docs/API_docs_v53/constructors/messageRange.md +++ b/old_docs/API_docs_v53/constructors/messageRange.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageRange={_='messageRange', min_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/messageService.md b/old_docs/API_docs_v53/constructors/messageService.md index 8f47e32f..f9946e72 100644 --- a/old_docs/API_docs_v53/constructors/messageService.md +++ b/old_docs/API_docs_v53/constructors/messageService.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction]; ``` @@ -42,10 +42,9 @@ $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_affectedHistory.md b/old_docs/API_docs_v53/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v53/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v53/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_affectedMessages.md b/old_docs/API_docs_v53/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v53/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v53/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_allStickers.md b/old_docs/API_docs_v53/constructors/messages_allStickers.md index 2a7d1313..45a66ddf 100644 --- a/old_docs/API_docs_v53/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v53/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v53/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v53/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v53/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v53/constructors/messages_botCallbackAnswer.md index e4778f83..e383ab3a 100644 --- a/old_docs/API_docs_v53/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v53/constructors/messages_botCallbackAnswer.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'message' => 'string']; ``` @@ -33,10 +33,9 @@ $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, message='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_botResults.md b/old_docs/API_docs_v53/constructors/messages_botResults.md index b26aa39e..5b97a820 100644 --- a/old_docs/API_docs_v53/constructors/messages_botResults.md +++ b/old_docs/API_docs_v53/constructors/messages_botResults.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult]]; ``` @@ -36,10 +36,9 @@ $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_channelMessages.md b/old_docs/API_docs_v53/constructors/messages_channelMessages.md index 43f4cdc6..0da0608d 100644 --- a/old_docs/API_docs_v53/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v53/constructors/messages_channelMessages.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'c ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_chatFull.md b/old_docs/API_docs_v53/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v53/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v53/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_chats.md b/old_docs/API_docs_v53/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v53/constructors/messages_chats.md +++ b/old_docs/API_docs_v53/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_dhConfig.md b/old_docs/API_docs_v53/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v53/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v53/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v53/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v53/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v53/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_dialogs.md b/old_docs/API_docs_v53/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v53/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v53/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v53/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v53/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v53/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_foundGifs.md b/old_docs/API_docs_v53/constructors/messages_foundGifs.md index f86a9fed..4d513264 100644 --- a/old_docs/API_docs_v53/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v53/constructors/messages_foundGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; ``` @@ -33,10 +33,9 @@ $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'resul ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_messageEditData.md b/old_docs/API_docs_v53/constructors/messages_messageEditData.md index aee6e179..fe0f3ab3 100644 --- a/old_docs/API_docs_v53/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v53/constructors/messages_messageEditData.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` @@ -32,10 +32,9 @@ $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messageEditData={_='messages.messageEditData', caption=Bool} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_messages.md b/old_docs/API_docs_v53/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v53/constructors/messages_messages.md +++ b/old_docs/API_docs_v53/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_messagesSlice.md b/old_docs/API_docs_v53/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v53/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v53/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_peerDialogs.md b/old_docs/API_docs_v53/constructors/messages_peerDialogs.md index 93601b21..60aa48e6 100644 --- a/old_docs/API_docs_v53/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v53/constructors/messages_peerDialogs.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -36,10 +36,9 @@ $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Di ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_savedGifs.md b/old_docs/API_docs_v53/constructors/messages_savedGifs.md index 4a254ab5..ae7e595f 100644 --- a/old_docs/API_docs_v53/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v53/constructors/messages_savedGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Do ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v53/constructors/messages_savedGifsNotModified.md index 65c17d0c..ef0db669 100644 --- a/old_docs/API_docs_v53/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v53/constructors/messages_savedGifsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` @@ -27,10 +27,9 @@ $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifsNotModified={_='messages.savedGifsNotModified'} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v53/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v53/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v53/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v53/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v53/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v53/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_stickerSet.md b/old_docs/API_docs_v53/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/old_docs/API_docs_v53/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v53/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_stickers.md b/old_docs/API_docs_v53/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v53/constructors/messages_stickers.md +++ b/old_docs/API_docs_v53/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v53/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v53/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v53/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v53/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v53/constructors/nearestDc.md b/old_docs/API_docs_v53/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v53/constructors/nearestDc.md +++ b/old_docs/API_docs_v53/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v53/constructors/notifyAll.md b/old_docs/API_docs_v53/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v53/constructors/notifyAll.md +++ b/old_docs/API_docs_v53/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v53/constructors/notifyChats.md b/old_docs/API_docs_v53/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v53/constructors/notifyChats.md +++ b/old_docs/API_docs_v53/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v53/constructors/notifyPeer.md b/old_docs/API_docs_v53/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v53/constructors/notifyPeer.md +++ b/old_docs/API_docs_v53/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v53/constructors/notifyUsers.md b/old_docs/API_docs_v53/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v53/constructors/notifyUsers.md +++ b/old_docs/API_docs_v53/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v53/constructors/peerChannel.md b/old_docs/API_docs_v53/constructors/peerChannel.md index f30e3f41..360d5c42 100644 --- a/old_docs/API_docs_v53/constructors/peerChannel.md +++ b/old_docs/API_docs_v53/constructors/peerChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/peerChat.md b/old_docs/API_docs_v53/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v53/constructors/peerChat.md +++ b/old_docs/API_docs_v53/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v53/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v53/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v53/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v53/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v53/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v53/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v53/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/peerNotifySettings.md b/old_docs/API_docs_v53/constructors/peerNotifySettings.md index f011beb7..2007e4ee 100644 --- a/old_docs/API_docs_v53/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v53/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'si ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v53/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v53/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v53/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/peerSettings.md b/old_docs/API_docs_v53/constructors/peerSettings.md index 8f74bb50..2468fee4 100644 --- a/old_docs/API_docs_v53/constructors/peerSettings.md +++ b/old_docs/API_docs_v53/constructors/peerSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` @@ -32,10 +32,9 @@ $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerSettings={_='peerSettings', report_spam=Bool} ``` diff --git a/old_docs/API_docs_v53/constructors/peerUser.md b/old_docs/API_docs_v53/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v53/constructors/peerUser.md +++ b/old_docs/API_docs_v53/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/photo.md b/old_docs/API_docs_v53/constructors/photo.md index 7055e7a9..982122b9 100644 --- a/old_docs/API_docs_v53/constructors/photo.md +++ b/old_docs/API_docs_v53/constructors/photo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -35,10 +35,9 @@ $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v53/constructors/photoCachedSize.md b/old_docs/API_docs_v53/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v53/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v53/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v53/constructors/photoEmpty.md b/old_docs/API_docs_v53/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v53/constructors/photoEmpty.md +++ b/old_docs/API_docs_v53/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v53/constructors/photoSize.md b/old_docs/API_docs_v53/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v53/constructors/photoSize.md +++ b/old_docs/API_docs_v53/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v53/constructors/photoSizeEmpty.md b/old_docs/API_docs_v53/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v53/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v53/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/photos_photo.md b/old_docs/API_docs_v53/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v53/constructors/photos_photo.md +++ b/old_docs/API_docs_v53/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v53/constructors/photos_photos.md b/old_docs/API_docs_v53/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v53/constructors/photos_photos.md +++ b/old_docs/API_docs_v53/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v53/constructors/photos_photosSlice.md b/old_docs/API_docs_v53/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v53/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v53/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v53/constructors/privacyKeyChatInvite.md b/old_docs/API_docs_v53/constructors/privacyKeyChatInvite.md index cc6e39b6..44826e55 100644 --- a/old_docs/API_docs_v53/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v53/constructors/privacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v53/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v53/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v53/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v53/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v53/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v53/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v53/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v53/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v53/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v53/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v53/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v53/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v53/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v53/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v53/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v53/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v53/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v53/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v53/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v53/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v53/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v53/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v53/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v53/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v53/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v53/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v53/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v53/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v53/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v53/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/old_docs/API_docs_v53/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v53/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/replyInlineMarkup.md b/old_docs/API_docs_v53/constructors/replyInlineMarkup.md index 6d353569..6e481165 100644 --- a/old_docs/API_docs_v53/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v53/constructors/replyInlineMarkup.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -32,10 +32,9 @@ $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v53/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v53/constructors/replyKeyboardForceReply.md index 56e255c1..3f7fae8c 100644 --- a/old_docs/API_docs_v53/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v53/constructors/replyKeyboardForceReply.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` @@ -33,10 +33,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool} ``` diff --git a/old_docs/API_docs_v53/constructors/replyKeyboardHide.md b/old_docs/API_docs_v53/constructors/replyKeyboardHide.md index 7251db49..30e9f399 100644 --- a/old_docs/API_docs_v53/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v53/constructors/replyKeyboardHide.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` @@ -32,10 +32,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide', selective=Bool} ``` diff --git a/old_docs/API_docs_v53/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v53/constructors/replyKeyboardMarkup.md index 87a55463..80f3f654 100644 --- a/old_docs/API_docs_v53/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v53/constructors/replyKeyboardMarkup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -35,10 +35,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v53/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v53/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v53/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v53/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v53/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v53/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v53/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v53/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v53/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v53/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v53/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v53/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v53/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v53/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/old_docs/API_docs_v53/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v53/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/old_docs/API_docs_v53/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v53/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/old_docs/API_docs_v53/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v53/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/old_docs/API_docs_v53/constructors/stickerPack.md b/old_docs/API_docs_v53/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v53/constructors/stickerPack.md +++ b/old_docs/API_docs_v53/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v53/constructors/stickerSet.md b/old_docs/API_docs_v53/constructors/stickerSet.md index 4f0e5ff2..695e2aea 100644 --- a/old_docs/API_docs_v53/constructors/stickerSet.md +++ b/old_docs/API_docs_v53/constructors/stickerSet.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -40,10 +40,9 @@ $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'of ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', installed=Bool, disabled=Bool, official=Bool, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/old_docs/API_docs_v53/constructors/storage_fileGif.md b/old_docs/API_docs_v53/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v53/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v53/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v53/constructors/storage_fileJpeg.md b/old_docs/API_docs_v53/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v53/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v53/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v53/constructors/storage_fileMov.md b/old_docs/API_docs_v53/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v53/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v53/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v53/constructors/storage_fileMp3.md b/old_docs/API_docs_v53/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v53/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v53/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v53/constructors/storage_fileMp4.md b/old_docs/API_docs_v53/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v53/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v53/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v53/constructors/storage_filePartial.md b/old_docs/API_docs_v53/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v53/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v53/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v53/constructors/storage_filePdf.md b/old_docs/API_docs_v53/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v53/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v53/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v53/constructors/storage_filePng.md b/old_docs/API_docs_v53/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v53/constructors/storage_filePng.md +++ b/old_docs/API_docs_v53/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v53/constructors/storage_fileUnknown.md b/old_docs/API_docs_v53/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v53/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v53/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v53/constructors/storage_fileWebp.md b/old_docs/API_docs_v53/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v53/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v53/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v53/constructors/topPeer.md b/old_docs/API_docs_v53/constructors/topPeer.md index aa49751b..fff00b7d 100644 --- a/old_docs/API_docs_v53/constructors/topPeer.md +++ b/old_docs/API_docs_v53/constructors/topPeer.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` @@ -33,10 +33,9 @@ $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeer={_='topPeer', peer=Peer, rating=double} ``` diff --git a/old_docs/API_docs_v53/constructors/topPeerCategoryBotsInline.md b/old_docs/API_docs_v53/constructors/topPeerCategoryBotsInline.md index 1d57e310..3f7906e2 100644 --- a/old_docs/API_docs_v53/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v53/constructors/topPeerCategoryBotsInline.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsInline={_='topPeerCategoryBotsInline'} ``` diff --git a/old_docs/API_docs_v53/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v53/constructors/topPeerCategoryBotsPM.md index f6207626..78f54b44 100644 --- a/old_docs/API_docs_v53/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v53/constructors/topPeerCategoryBotsPM.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsPM={_='topPeerCategoryBotsPM'} ``` diff --git a/old_docs/API_docs_v53/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v53/constructors/topPeerCategoryChannels.md index 8f0e1fcb..02947d85 100644 --- a/old_docs/API_docs_v53/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v53/constructors/topPeerCategoryChannels.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryChannels={_='topPeerCategoryChannels'} ``` diff --git a/old_docs/API_docs_v53/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v53/constructors/topPeerCategoryCorrespondents.md index 9435610d..c0362f78 100644 --- a/old_docs/API_docs_v53/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v53/constructors/topPeerCategoryCorrespondents.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents'} ``` diff --git a/old_docs/API_docs_v53/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v53/constructors/topPeerCategoryGroups.md index 3b6859df..dddb951c 100644 --- a/old_docs/API_docs_v53/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v53/constructors/topPeerCategoryGroups.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryGroups={_='topPeerCategoryGroups'} ``` diff --git a/old_docs/API_docs_v53/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v53/constructors/topPeerCategoryPeers.md index 886ab6f9..36d071f6 100644 --- a/old_docs/API_docs_v53/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v53/constructors/topPeerCategoryPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer, TopPeer]]; ``` @@ -34,10 +34,9 @@ $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}} ``` diff --git a/old_docs/API_docs_v53/constructors/true.md b/old_docs/API_docs_v53/constructors/true.md index 2e27ecbf..4863f16b 100644 --- a/old_docs/API_docs_v53/constructors/true.md +++ b/old_docs/API_docs_v53/constructors/true.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $true = ['_' => 'true']; ``` @@ -27,10 +27,9 @@ $true = ['_' => 'true']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua true={_='true'} ``` diff --git a/old_docs/API_docs_v53/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v53/constructors/updateBotCallbackQuery.md index 0f9065c3..ad441db6 100644 --- a/old_docs/API_docs_v53/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v53/constructors/updateBotCallbackQuery.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'data' => 'bytes']; ``` @@ -36,10 +36,9 @@ $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, data='bytes'} ``` diff --git a/old_docs/API_docs_v53/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v53/constructors/updateBotInlineQuery.md index 1cc45358..ed15d35f 100644 --- a/old_docs/API_docs_v53/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v53/constructors/updateBotInlineQuery.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` @@ -36,10 +36,9 @@ $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query='string', geo=GeoPoint, offset='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/updateBotInlineSend.md b/old_docs/API_docs_v53/constructors/updateBotInlineSend.md index fe6c01d3..dda18420 100644 --- a/old_docs/API_docs_v53/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v53/constructors/updateBotInlineSend.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` @@ -36,10 +36,9 @@ $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineSend={_='updateBotInlineSend', user_id=int, query='string', geo=GeoPoint, id='string', msg_id=InputBotInlineMessageID} ``` diff --git a/old_docs/API_docs_v53/constructors/updateChannel.md b/old_docs/API_docs_v53/constructors/updateChannel.md index e615920a..fb876328 100644 --- a/old_docs/API_docs_v53/constructors/updateChannel.md +++ b/old_docs/API_docs_v53/constructors/updateChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannel={_='updateChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v53/constructors/updateChannelMessageViews.md index 19e0b648..d62f055a 100644 --- a/old_docs/API_docs_v53/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v53/constructors/updateChannelMessageViews.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` @@ -34,10 +34,9 @@ $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateChannelPinnedMessage.md b/old_docs/API_docs_v53/constructors/updateChannelPinnedMessage.md index c6e66353..0d767fb8 100644 --- a/old_docs/API_docs_v53/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v53/constructors/updateChannelPinnedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateChannelTooLong.md b/old_docs/API_docs_v53/constructors/updateChannelTooLong.md index e42904d0..179a43dd 100644 --- a/old_docs/API_docs_v53/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v53/constructors/updateChannelTooLong.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateChatAdmins.md b/old_docs/API_docs_v53/constructors/updateChatAdmins.md index 87ffd626..aac09762 100644 --- a/old_docs/API_docs_v53/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v53/constructors/updateChatAdmins.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v53/constructors/updateChatParticipantAdd.md index ea5157ad..fe76dc62 100644 --- a/old_docs/API_docs_v53/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v53/constructors/updateChatParticipantAdd.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` @@ -36,10 +36,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v53/constructors/updateChatParticipantAdmin.md index b1022850..d262b2e6 100644 --- a/old_docs/API_docs_v53/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v53/constructors/updateChatParticipantAdmin.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v53/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v53/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v53/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateChatParticipants.md b/old_docs/API_docs_v53/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v53/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v53/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v53/constructors/updateChatUserTyping.md b/old_docs/API_docs_v53/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v53/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v53/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v53/constructors/updateContactLink.md b/old_docs/API_docs_v53/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v53/constructors/updateContactLink.md +++ b/old_docs/API_docs_v53/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v53/constructors/updateContactRegistered.md b/old_docs/API_docs_v53/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v53/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v53/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateDcOptions.md b/old_docs/API_docs_v53/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v53/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v53/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v53/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v53/constructors/updateDeleteChannelMessages.md index 0f84f3f7..8fb10b65 100644 --- a/old_docs/API_docs_v53/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v53/constructors/updateDeleteChannelMessages.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateDeleteMessages.md b/old_docs/API_docs_v53/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v53/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v53/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateDraftMessage.md b/old_docs/API_docs_v53/constructors/updateDraftMessage.md index 7e759a4f..1bf7c2a4 100644 --- a/old_docs/API_docs_v53/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v53/constructors/updateDraftMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage]; ``` @@ -33,10 +33,9 @@ $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => D ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v53/constructors/updateEditChannelMessage.md b/old_docs/API_docs_v53/constructors/updateEditChannelMessage.md index 959c433a..485afae1 100644 --- a/old_docs/API_docs_v53/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v53/constructors/updateEditChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateEditMessage.md b/old_docs/API_docs_v53/constructors/updateEditMessage.md index f9f820e8..9f986f86 100644 --- a/old_docs/API_docs_v53/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v53/constructors/updateEditMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v53/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v53/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v53/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v53/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v53/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v53/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateEncryption.md b/old_docs/API_docs_v53/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v53/constructors/updateEncryption.md +++ b/old_docs/API_docs_v53/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateInlineBotCallbackQuery.md b/old_docs/API_docs_v53/constructors/updateInlineBotCallbackQuery.md index 54347e7d..dfe1ef69 100644 --- a/old_docs/API_docs_v53/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v53/constructors/updateInlineBotCallbackQuery.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'data' => 'bytes']; ``` @@ -35,10 +35,9 @@ $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, data='bytes'} ``` diff --git a/old_docs/API_docs_v53/constructors/updateMessageID.md b/old_docs/API_docs_v53/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v53/constructors/updateMessageID.md +++ b/old_docs/API_docs_v53/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateNewAuthorization.md b/old_docs/API_docs_v53/constructors/updateNewAuthorization.md index c7a95f80..ce1d0815 100644 --- a/old_docs/API_docs_v53/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v53/constructors/updateNewAuthorization.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` @@ -35,10 +35,9 @@ $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device='string', location='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v53/constructors/updateNewChannelMessage.md index 59dbc820..9fa1c7ec 100644 --- a/old_docs/API_docs_v53/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v53/constructors/updateNewChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Messa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v53/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v53/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v53/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateNewMessage.md b/old_docs/API_docs_v53/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v53/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v53/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateNewStickerSet.md b/old_docs/API_docs_v53/constructors/updateNewStickerSet.md index c36d4617..5ba327ea 100644 --- a/old_docs/API_docs_v53/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v53/constructors/updateNewStickerSet.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` @@ -32,10 +32,9 @@ $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_S ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} ``` diff --git a/old_docs/API_docs_v53/constructors/updateNotifySettings.md b/old_docs/API_docs_v53/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v53/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v53/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v53/constructors/updatePrivacy.md b/old_docs/API_docs_v53/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v53/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v53/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v53/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v53/constructors/updateReadChannelInbox.md index be964e20..c8c26acb 100644 --- a/old_docs/API_docs_v53/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v53/constructors/updateReadChannelInbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateReadChannelOutbox.md b/old_docs/API_docs_v53/constructors/updateReadChannelOutbox.md index c725d108..664108d1 100644 --- a/old_docs/API_docs_v53/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v53/constructors/updateReadChannelOutbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelOutbox={_='updateReadChannelOutbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v53/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v53/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v53/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v53/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v53/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v53/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v53/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/old_docs/API_docs_v53/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v53/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateSavedGifs.md b/old_docs/API_docs_v53/constructors/updateSavedGifs.md index dd17f321..ea5619fc 100644 --- a/old_docs/API_docs_v53/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v53/constructors/updateSavedGifs.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` @@ -27,10 +27,9 @@ $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v53/constructors/updateServiceNotification.md b/old_docs/API_docs_v53/constructors/updateServiceNotification.md index 979fe7bd..ddcf7eb5 100644 --- a/old_docs/API_docs_v53/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v53/constructors/updateServiceNotification.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` @@ -35,10 +35,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'str ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', type='string', message='string', media=MessageMedia, popup=Bool} ``` diff --git a/old_docs/API_docs_v53/constructors/updateShort.md b/old_docs/API_docs_v53/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v53/constructors/updateShort.md +++ b/old_docs/API_docs_v53/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updateShortChatMessage.md b/old_docs/API_docs_v53/constructors/updateShortChatMessage.md index d62e0729..cbeb4739 100644 --- a/old_docs/API_docs_v53/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v53/constructors/updateShortChatMessage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -46,10 +46,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'ment ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v53/constructors/updateShortMessage.md b/old_docs/API_docs_v53/constructors/updateShortMessage.md index d4effcb8..a8348773 100644 --- a/old_docs/API_docs_v53/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v53/constructors/updateShortMessage.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -45,10 +45,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v53/constructors/updateShortSentMessage.md b/old_docs/API_docs_v53/constructors/updateShortSentMessage.md index fd7035c3..2a318e56 100644 --- a/old_docs/API_docs_v53/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v53/constructors/updateShortSentMessage.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -38,10 +38,9 @@ $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v53/constructors/updateStickerSets.md b/old_docs/API_docs_v53/constructors/updateStickerSets.md index 4f045d67..e4cc23a0 100644 --- a/old_docs/API_docs_v53/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v53/constructors/updateStickerSets.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSets = ['_' => 'updateStickerSets']; ``` @@ -27,10 +27,9 @@ $updateStickerSets = ['_' => 'updateStickerSets']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v53/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v53/constructors/updateStickerSetsOrder.md index ff94265f..d47c939f 100644 --- a/old_docs/API_docs_v53/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v53/constructors/updateStickerSetsOrder.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long, long]]; ``` @@ -32,10 +32,9 @@ $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long, lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSetsOrder={_='updateStickerSetsOrder', order={long}} ``` diff --git a/old_docs/API_docs_v53/constructors/updateUserBlocked.md b/old_docs/API_docs_v53/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v53/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v53/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v53/constructors/updateUserName.md b/old_docs/API_docs_v53/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v53/constructors/updateUserName.md +++ b/old_docs/API_docs_v53/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/updateUserPhone.md b/old_docs/API_docs_v53/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v53/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v53/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/updateUserPhoto.md b/old_docs/API_docs_v53/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v53/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v53/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v53/constructors/updateUserStatus.md b/old_docs/API_docs_v53/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v53/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v53/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v53/constructors/updateUserTyping.md b/old_docs/API_docs_v53/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v53/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v53/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v53/constructors/updateWebPage.md b/old_docs/API_docs_v53/constructors/updateWebPage.md index 9f468619..932d8ff2 100644 --- a/old_docs/API_docs_v53/constructors/updateWebPage.md +++ b/old_docs/API_docs_v53/constructors/updateWebPage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updates.md b/old_docs/API_docs_v53/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v53/constructors/updates.md +++ b/old_docs/API_docs_v53/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updatesCombined.md b/old_docs/API_docs_v53/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v53/constructors/updatesCombined.md +++ b/old_docs/API_docs_v53/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updatesTooLong.md b/old_docs/API_docs_v53/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v53/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v53/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v53/constructors/updates_channelDifference.md b/old_docs/API_docs_v53/constructors/updates_channelDifference.md index 21b618c2..df1dafd6 100644 --- a/old_docs/API_docs_v53/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v53/constructors/updates_channelDifference.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v53/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v53/constructors/updates_channelDifferenceEmpty.md index a2e49340..a5be0377 100644 --- a/old_docs/API_docs_v53/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v53/constructors/updates_channelDifferenceEmpty.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'fin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v53/constructors/updates_channelDifferenceTooLong.md index 0debd690..8f7e8b2f 100644 --- a/old_docs/API_docs_v53/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v53/constructors/updates_channelDifferenceTooLong.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -41,10 +41,9 @@ $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v53/constructors/updates_difference.md b/old_docs/API_docs_v53/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v53/constructors/updates_difference.md +++ b/old_docs/API_docs_v53/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v53/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v53/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v53/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v53/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v53/constructors/updates_differenceSlice.md b/old_docs/API_docs_v53/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v53/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v53/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v53/constructors/updates_state.md b/old_docs/API_docs_v53/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v53/constructors/updates_state.md +++ b/old_docs/API_docs_v53/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v53/constructors/upload_file.md b/old_docs/API_docs_v53/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v53/constructors/upload_file.md +++ b/old_docs/API_docs_v53/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v53/constructors/user.md b/old_docs/API_docs_v53/constructors/user.md index a7cdf2b3..f21f6324 100644 --- a/old_docs/API_docs_v53/constructors/user.md +++ b/old_docs/API_docs_v53/constructors/user.md @@ -42,7 +42,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => 'string', 'bot_inline_placeholder' => 'string']; ``` @@ -53,10 +53,9 @@ $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, min=Bool, bot_inline_geo=Bool, id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason='string', bot_inline_placeholder='string'} ``` diff --git a/old_docs/API_docs_v53/constructors/userEmpty.md b/old_docs/API_docs_v53/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v53/constructors/userEmpty.md +++ b/old_docs/API_docs_v53/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v53/constructors/userFull.md b/old_docs/API_docs_v53/constructors/userFull.md index 8feba00d..5d694997 100644 --- a/old_docs/API_docs_v53/constructors/userFull.md +++ b/old_docs/API_docs_v53/constructors/userFull.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo]; ``` @@ -38,10 +38,9 @@ $userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', blocked=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v53/constructors/userProfilePhoto.md b/old_docs/API_docs_v53/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v53/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v53/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v53/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v53/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v53/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v53/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/userStatusEmpty.md b/old_docs/API_docs_v53/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v53/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v53/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v53/constructors/userStatusLastMonth.md b/old_docs/API_docs_v53/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v53/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v53/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v53/constructors/userStatusLastWeek.md b/old_docs/API_docs_v53/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v53/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v53/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v53/constructors/userStatusOffline.md b/old_docs/API_docs_v53/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v53/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v53/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v53/constructors/userStatusOnline.md b/old_docs/API_docs_v53/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v53/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v53/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v53/constructors/userStatusRecently.md b/old_docs/API_docs_v53/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v53/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v53/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v53/constructors/vector.md b/old_docs/API_docs_v53/constructors/vector.md index c9e27763..d8ea6f1f 100644 --- a/old_docs/API_docs_v53/constructors/vector.md +++ b/old_docs/API_docs_v53/constructors/vector.md @@ -18,7 +18,7 @@ Array ### Example: -``` +```php $vector = ['_' => 'vector']; ``` @@ -29,10 +29,9 @@ $vector = ['_' => 'vector']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua vector={_='vector'} ``` diff --git a/old_docs/API_docs_v53/constructors/wallPaper.md b/old_docs/API_docs_v53/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v53/constructors/wallPaper.md +++ b/old_docs/API_docs_v53/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v53/constructors/wallPaperSolid.md b/old_docs/API_docs_v53/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v53/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v53/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v53/constructors/webPage.md b/old_docs/API_docs_v53/constructors/webPage.md index 1023918f..fe5271f3 100644 --- a/old_docs/API_docs_v53/constructors/webPage.md +++ b/old_docs/API_docs_v53/constructors/webPage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document]; ``` @@ -46,10 +46,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document} ``` diff --git a/old_docs/API_docs_v53/constructors/webPageEmpty.md b/old_docs/API_docs_v53/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v53/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v53/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v53/constructors/webPagePending.md b/old_docs/API_docs_v53/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v53/constructors/webPagePending.md +++ b/old_docs/API_docs_v53/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v53/methods/account_changePhone.md b/old_docs/API_docs_v53/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v53/methods/account_changePhone.md +++ b/old_docs/API_docs_v53/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/account_checkUsername.md b/old_docs/API_docs_v53/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v53/methods/account_checkUsername.md +++ b/old_docs/API_docs_v53/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/account_deleteAccount.md b/old_docs/API_docs_v53/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v53/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v53/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/account_getAccountTTL.md b/old_docs/API_docs_v53/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v53/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v53/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v53/methods/account_getAuthorizations.md b/old_docs/API_docs_v53/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v53/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v53/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v53/methods/account_getNotifySettings.md b/old_docs/API_docs_v53/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v53/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v53/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v53/methods/account_getPassword.md b/old_docs/API_docs_v53/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v53/methods/account_getPassword.md +++ b/old_docs/API_docs_v53/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v53/methods/account_getPasswordSettings.md b/old_docs/API_docs_v53/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v53/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v53/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v53/methods/account_getPrivacy.md b/old_docs/API_docs_v53/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v53/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v53/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v53/methods/account_getWallPapers.md b/old_docs/API_docs_v53/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v53/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v53/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v53/methods/account_registerDevice.md b/old_docs/API_docs_v53/methods/account_registerDevice.md index 25549dab..ed1fced0 100644 --- a/old_docs/API_docs_v53/methods/account_registerDevice.md +++ b/old_docs/API_docs_v53/methods/account_registerDevice.md @@ -25,7 +25,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/account_reportPeer.md b/old_docs/API_docs_v53/methods/account_reportPeer.md index d8c49851..673b48bf 100644 --- a/old_docs/API_docs_v53/methods/account_reportPeer.md +++ b/old_docs/API_docs_v53/methods/account_reportPeer.md @@ -25,7 +25,7 @@ Report for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reason - Json encoded ReportReason Or, if you're into Lua: -``` +```lua Bool = account.reportPeer({peer=InputPeer, reason=ReportReason, }) ``` diff --git a/old_docs/API_docs_v53/methods/account_resetAuthorization.md b/old_docs/API_docs_v53/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v53/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v53/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v53/methods/account_resetNotifySettings.md b/old_docs/API_docs_v53/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v53/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v53/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md index 33a001b9..123a5880 100644 --- a/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md @@ -26,7 +26,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v53/methods/account_setAccountTTL.md b/old_docs/API_docs_v53/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v53/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v53/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v53/methods/account_setPrivacy.md b/old_docs/API_docs_v53/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v53/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v53/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v53/methods/account_unregisterDevice.md b/old_docs/API_docs_v53/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v53/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v53/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v53/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v53/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v53/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v53/methods/account_updateNotifySettings.md b/old_docs/API_docs_v53/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v53/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v53/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v53/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v53/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v53/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v53/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v53/methods/account_updateProfile.md b/old_docs/API_docs_v53/methods/account_updateProfile.md index f415381f..f54515e5 100644 --- a/old_docs/API_docs_v53/methods/account_updateProfile.md +++ b/old_docs/API_docs_v53/methods/account_updateProfile.md @@ -26,7 +26,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', about='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/account_updateStatus.md b/old_docs/API_docs_v53/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v53/methods/account_updateStatus.md +++ b/old_docs/API_docs_v53/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v53/methods/account_updateUsername.md b/old_docs/API_docs_v53/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v53/methods/account_updateUsername.md +++ b/old_docs/API_docs_v53/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/auth_cancelCode.md b/old_docs/API_docs_v53/methods/auth_cancelCode.md index 0b53954c..352c88e9 100644 --- a/old_docs/API_docs_v53/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v53/methods/auth_cancelCode.md @@ -25,7 +25,7 @@ Invalidate sent phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/auth_checkPhone.md b/old_docs/API_docs_v53/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v53/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v53/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/auth_recoverPassword.md b/old_docs/API_docs_v53/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v53/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v53/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v53/methods/auth_resendCode.md b/old_docs/API_docs_v53/methods/auth_resendCode.md index 28350d37..4ce58975 100644 --- a/old_docs/API_docs_v53/methods/auth_resendCode.md +++ b/old_docs/API_docs_v53/methods/auth_resendCode.md @@ -25,7 +25,7 @@ Resend the SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v53/methods/auth_sendInvites.md b/old_docs/API_docs_v53/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v53/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v53/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_checkUsername.md b/old_docs/API_docs_v53/methods/channels_checkUsername.md index d287b3ca..573bf8f0 100644 --- a/old_docs/API_docs_v53/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v53/methods/channels_checkUsername.md @@ -25,7 +25,7 @@ Check if this username is free and can be assigned to a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.checkUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_createChannel.md b/old_docs/API_docs_v53/methods/channels_createChannel.md index 356f473a..1821c864 100644 --- a/old_docs/API_docs_v53/methods/channels_createChannel.md +++ b/old_docs/API_docs_v53/methods/channels_createChannel.md @@ -27,7 +27,7 @@ Create channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title='string', about='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_deleteChannel.md b/old_docs/API_docs_v53/methods/channels_deleteChannel.md index b55d91b8..a79ccb9f 100644 --- a/old_docs/API_docs_v53/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v53/methods/channels_deleteChannel.md @@ -24,7 +24,7 @@ Delete a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.deleteChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_deleteMessages.md b/old_docs/API_docs_v53/methods/channels_deleteMessages.md index 03625c94..8cd7ebb3 100644 --- a/old_docs/API_docs_v53/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v53/methods/channels_deleteMessages.md @@ -25,7 +25,7 @@ Delete channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v53/methods/channels_deleteUserHistory.md index 204a8786..78baa90f 100644 --- a/old_docs/API_docs_v53/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v53/methods/channels_deleteUserHistory.md @@ -25,7 +25,7 @@ Delete all messages of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_editAbout.md b/old_docs/API_docs_v53/methods/channels_editAbout.md index fd861133..549d7ea5 100644 --- a/old_docs/API_docs_v53/methods/channels_editAbout.md +++ b/old_docs/API_docs_v53/methods/channels_editAbout.md @@ -25,7 +25,7 @@ Edit the about text of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.editAbout({channel=InputChannel, about='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_editAdmin.md b/old_docs/API_docs_v53/methods/channels_editAdmin.md index bc0793fe..b41561e0 100644 --- a/old_docs/API_docs_v53/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v53/methods/channels_editAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ role - Json encoded ChannelParticipantRole Or, if you're into Lua: -``` +```lua Updates = channels.editAdmin({channel=InputChannel, user_id=InputUser, role=ChannelParticipantRole, }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_editPhoto.md b/old_docs/API_docs_v53/methods/channels_editPhoto.md index ccbaed65..7013c6e2 100644 --- a/old_docs/API_docs_v53/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v53/methods/channels_editPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = channels.editPhoto({channel=InputChannel, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_editTitle.md b/old_docs/API_docs_v53/methods/channels_editTitle.md index ffd868ba..a9c8c50f 100644 --- a/old_docs/API_docs_v53/methods/channels_editTitle.md +++ b/old_docs/API_docs_v53/methods/channels_editTitle.md @@ -25,7 +25,7 @@ Edit the title of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.editTitle({channel=InputChannel, title='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_exportInvite.md b/old_docs/API_docs_v53/methods/channels_exportInvite.md index 0b4b5c31..5a92097a 100644 --- a/old_docs/API_docs_v53/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v53/methods/channels_exportInvite.md @@ -24,7 +24,7 @@ Export the invite link of a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua ExportedChatInvite = channels.exportInvite({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_exportMessageLink.md b/old_docs/API_docs_v53/methods/channels_exportMessageLink.md index f42068f4..a2e2cc10 100644 --- a/old_docs/API_docs_v53/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v53/methods/channels_exportMessageLink.md @@ -25,7 +25,7 @@ Get the link of a message in a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua ExportedMessageLink = channels.exportMessageLink({channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_getChannels.md b/old_docs/API_docs_v53/methods/channels_getChannels.md index 71edac7b..a146be1e 100644 --- a/old_docs/API_docs_v53/methods/channels_getChannels.md +++ b/old_docs/API_docs_v53/methods/channels_getChannels.md @@ -24,7 +24,7 @@ Get info about multiple channels/supergroups ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputChannel Or, if you're into Lua: -``` +```lua messages_Chats = channels.getChannels({id={InputChannel}, }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_getMessages.md b/old_docs/API_docs_v53/methods/channels_getMessages.md index 217757eb..208cbcc4 100644 --- a/old_docs/API_docs_v53/methods/channels_getMessages.md +++ b/old_docs/API_docs_v53/methods/channels_getMessages.md @@ -25,7 +25,7 @@ Get channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_getParticipant.md b/old_docs/API_docs_v53/methods/channels_getParticipant.md index a641d213..9cf80799 100644 --- a/old_docs/API_docs_v53/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v53/methods/channels_getParticipant.md @@ -25,7 +25,7 @@ Get info about a certain channel/supergroup participant ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_getParticipants.md b/old_docs/API_docs_v53/methods/channels_getParticipants.md index c2f0cdcd..3d4dfa13 100644 --- a/old_docs/API_docs_v53/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v53/methods/channels_getParticipants.md @@ -27,7 +27,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_inviteToChannel.md b/old_docs/API_docs_v53/methods/channels_inviteToChannel.md index 0a350cc8..998e3895 100644 --- a/old_docs/API_docs_v53/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v53/methods/channels_inviteToChannel.md @@ -25,7 +25,7 @@ Add users to channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ users - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Updates = channels.inviteToChannel({channel=InputChannel, users={InputUser}, }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_joinChannel.md b/old_docs/API_docs_v53/methods/channels_joinChannel.md index aae2bc1c..3c6a3b94 100644 --- a/old_docs/API_docs_v53/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v53/methods/channels_joinChannel.md @@ -24,7 +24,7 @@ Join a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.joinChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_kickFromChannel.md b/old_docs/API_docs_v53/methods/channels_kickFromChannel.md index c51cea7c..7586bdf6 100644 --- a/old_docs/API_docs_v53/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v53/methods/channels_kickFromChannel.md @@ -26,7 +26,7 @@ Kick user from channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ kicked - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.kickFromChannel({channel=InputChannel, user_id=InputUser, kicked=Bool, }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_leaveChannel.md b/old_docs/API_docs_v53/methods/channels_leaveChannel.md index 4e6701fe..0934089f 100644 --- a/old_docs/API_docs_v53/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v53/methods/channels_leaveChannel.md @@ -24,7 +24,7 @@ Leave a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.leaveChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_readHistory.md b/old_docs/API_docs_v53/methods/channels_readHistory.md index d76919ff..cf5c1529 100644 --- a/old_docs/API_docs_v53/methods/channels_readHistory.md +++ b/old_docs/API_docs_v53/methods/channels_readHistory.md @@ -25,7 +25,7 @@ Mark channel/supergroup history as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.readHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_reportSpam.md b/old_docs/API_docs_v53/methods/channels_reportSpam.md index 48022662..b0e99eb1 100644 --- a/old_docs/API_docs_v53/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v53/methods/channels_reportSpam.md @@ -26,7 +26,7 @@ Report a message in a supergroup/channel for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.reportSpam({channel=InputChannel, user_id=InputUser, id={int}, }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_toggleInvites.md b/old_docs/API_docs_v53/methods/channels_toggleInvites.md index d0023b70..bed6ba15 100644 --- a/old_docs/API_docs_v53/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v53/methods/channels_toggleInvites.md @@ -25,7 +25,7 @@ Allow or disallow any user to invite users to this channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleInvites({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_toggleSignatures.md b/old_docs/API_docs_v53/methods/channels_toggleSignatures.md index 337e8627..c9fe18cc 100644 --- a/old_docs/API_docs_v53/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v53/methods/channels_toggleSignatures.md @@ -25,7 +25,7 @@ Toggle channel signatures ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleSignatures({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md index c79c5904..9d2cc058 100644 --- a/old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md @@ -26,7 +26,7 @@ Set the pinned message of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = channels.updatePinnedMessage({silent=Bool, channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v53/methods/channels_updateUsername.md b/old_docs/API_docs_v53/methods/channels_updateUsername.md index 2e07e123..c0df8c7c 100644 --- a/old_docs/API_docs_v53/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v53/methods/channels_updateUsername.md @@ -25,7 +25,7 @@ Update the username of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.updateUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/contacts_block.md b/old_docs/API_docs_v53/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v53/methods/contacts_block.md +++ b/old_docs/API_docs_v53/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v53/methods/contacts_deleteContact.md b/old_docs/API_docs_v53/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v53/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v53/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v53/methods/contacts_deleteContacts.md b/old_docs/API_docs_v53/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v53/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v53/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v53/methods/contacts_exportCard.md b/old_docs/API_docs_v53/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v53/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v53/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v53/methods/contacts_getBlocked.md b/old_docs/API_docs_v53/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v53/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v53/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v53/methods/contacts_getContacts.md b/old_docs/API_docs_v53/methods/contacts_getContacts.md index ccf0f99d..dfa407f2 100644 --- a/old_docs/API_docs_v53/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v53/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/contacts_getStatuses.md b/old_docs/API_docs_v53/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v53/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v53/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v53/methods/contacts_getTopPeers.md b/old_docs/API_docs_v53/methods/contacts_getTopPeers.md index 1d3f7b21..f92611a2 100644 --- a/old_docs/API_docs_v53/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v53/methods/contacts_getTopPeers.md @@ -31,7 +31,7 @@ Get most used chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v53/methods/contacts_importCard.md b/old_docs/API_docs_v53/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v53/methods/contacts_importCard.md +++ b/old_docs/API_docs_v53/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v53/methods/contacts_importContacts.md b/old_docs/API_docs_v53/methods/contacts_importContacts.md index d0404dd2..f1b17e2c 100644 --- a/old_docs/API_docs_v53/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v53/methods/contacts_importContacts.md @@ -25,7 +25,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ replace - Json encoded Bool Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md index 96ae48ac..94a07f54 100644 --- a/old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md @@ -25,7 +25,7 @@ Reset top peer rating for a certain category/peer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = contacts.resetTopPeerRating({category=TopPeerCategory, peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v53/methods/contacts_search.md b/old_docs/API_docs_v53/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v53/methods/contacts_search.md +++ b/old_docs/API_docs_v53/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v53/methods/contacts_unblock.md b/old_docs/API_docs_v53/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v53/methods/contacts_unblock.md +++ b/old_docs/API_docs_v53/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v53/methods/help_getAppChangelog.md b/old_docs/API_docs_v53/methods/help_getAppChangelog.md index 3bdd09e2..ce717f03 100644 --- a/old_docs/API_docs_v53/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v53/methods/help_getAppChangelog.md @@ -19,7 +19,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_AppChangelog = help.getAppChangelog({}) ``` diff --git a/old_docs/API_docs_v53/methods/help_getAppUpdate.md b/old_docs/API_docs_v53/methods/help_getAppUpdate.md index 4ddc0e4d..541b5972 100644 --- a/old_docs/API_docs_v53/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v53/methods/help_getAppUpdate.md @@ -19,7 +19,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v53/methods/help_getConfig.md b/old_docs/API_docs_v53/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v53/methods/help_getConfig.md +++ b/old_docs/API_docs_v53/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v53/methods/help_getInviteText.md b/old_docs/API_docs_v53/methods/help_getInviteText.md index 1510e64f..f05ac4ac 100644 --- a/old_docs/API_docs_v53/methods/help_getInviteText.md +++ b/old_docs/API_docs_v53/methods/help_getInviteText.md @@ -19,7 +19,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v53/methods/help_getNearestDc.md b/old_docs/API_docs_v53/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v53/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v53/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v53/methods/help_getSupport.md b/old_docs/API_docs_v53/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v53/methods/help_getSupport.md +++ b/old_docs/API_docs_v53/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v53/methods/help_getTermsOfService.md b/old_docs/API_docs_v53/methods/help_getTermsOfService.md index bf421bf6..95d51e60 100644 --- a/old_docs/API_docs_v53/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v53/methods/help_getTermsOfService.md @@ -19,7 +19,7 @@ Get terms of service ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v53/methods/help_saveAppLog.md b/old_docs/API_docs_v53/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v53/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v53/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v53/methods/initConnection.md b/old_docs/API_docs_v53/methods/initConnection.md index 58cdb067..e34794f8 100644 --- a/old_docs/API_docs_v53/methods/initConnection.md +++ b/old_docs/API_docs_v53/methods/initConnection.md @@ -29,7 +29,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v53/methods/invokeAfterMsg.md b/old_docs/API_docs_v53/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v53/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v53/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v53/methods/invokeAfterMsgs.md b/old_docs/API_docs_v53/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v53/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v53/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v53/methods/invokeWithLayer.md b/old_docs/API_docs_v53/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v53/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v53/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v53/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v53/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/old_docs/API_docs_v53/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v53/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_addChatUser.md b/old_docs/API_docs_v53/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v53/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v53/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_checkChatInvite.md b/old_docs/API_docs_v53/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/old_docs/API_docs_v53/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v53/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_createChat.md b/old_docs/API_docs_v53/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v53/methods/messages_createChat.md +++ b/old_docs/API_docs_v53/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_deleteChatUser.md b/old_docs/API_docs_v53/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v53/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v53/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_deleteHistory.md b/old_docs/API_docs_v53/methods/messages_deleteHistory.md index 866ba216..33d1ca52 100644 --- a/old_docs/API_docs_v53/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v53/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_deleteMessages.md b/old_docs/API_docs_v53/methods/messages_deleteMessages.md index 2aa9d7d1..24152bec 100644 --- a/old_docs/API_docs_v53/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v53/methods/messages_deleteMessages.md @@ -24,7 +24,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_editChatAdmin.md b/old_docs/API_docs_v53/methods/messages_editChatAdmin.md index a2dad97f..f883b50e 100644 --- a/old_docs/API_docs_v53/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v53/methods/messages_editChatAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ is_admin - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.editChatAdmin({chat_id=InputPeer, user_id=InputUser, is_admin=Bool, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_editChatPhoto.md b/old_docs/API_docs_v53/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v53/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v53/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_editChatTitle.md b/old_docs/API_docs_v53/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v53/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v53/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md index c669c8d7..6c04ab6f 100644 --- a/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md @@ -29,7 +29,7 @@ Edit a sent inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -66,7 +66,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.editInlineBotMessage({no_webpage=Bool, id=InputBotInlineMessageID, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_editMessage.md b/old_docs/API_docs_v53/methods/messages_editMessage.md index 7af0cfd9..db5cc876 100644 --- a/old_docs/API_docs_v53/methods/messages_editMessage.md +++ b/old_docs/API_docs_v53/methods/messages_editMessage.md @@ -30,7 +30,7 @@ Edit a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -67,7 +67,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.editMessage({no_webpage=Bool, peer=InputPeer, id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_exportChatInvite.md b/old_docs/API_docs_v53/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/old_docs/API_docs_v53/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v53/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_forwardMessage.md b/old_docs/API_docs_v53/methods/messages_forwardMessage.md index 586670b8..d9c0453f 100644 --- a/old_docs/API_docs_v53/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v53/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_forwardMessages.md b/old_docs/API_docs_v53/methods/messages_forwardMessages.md index e2487c6c..8d9746ff 100644 --- a/old_docs/API_docs_v53/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v53/methods/messages_forwardMessages.md @@ -28,7 +28,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ to_peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({silent=Bool, background=Bool, from_peer=InputPeer, id={int}, to_peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_getAllDrafts.md b/old_docs/API_docs_v53/methods/messages_getAllDrafts.md index 31aa8176..7300e01a 100644 --- a/old_docs/API_docs_v53/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v53/methods/messages_getAllDrafts.md @@ -19,7 +19,7 @@ Get all message drafts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Updates = messages.getAllDrafts({}) ``` diff --git a/old_docs/API_docs_v53/methods/messages_getAllStickers.md b/old_docs/API_docs_v53/methods/messages_getAllStickers.md index 966af122..c25a823b 100644 --- a/old_docs/API_docs_v53/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v53/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md index 4f9c8c05..13f68775 100644 --- a/old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md @@ -26,7 +26,7 @@ Get the callback answer of a bot (after clicking a button) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ data - Json encoded bytes Or, if you're into Lua: -``` +```lua messages_BotCallbackAnswer = messages.getBotCallbackAnswer({peer=InputPeer, msg_id=int, data='bytes', }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_getChats.md b/old_docs/API_docs_v53/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v53/methods/messages_getChats.md +++ b/old_docs/API_docs_v53/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_getDialogs.md b/old_docs/API_docs_v53/methods/messages_getDialogs.md index 557cb7d9..2919a482 100644 --- a/old_docs/API_docs_v53/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v53/methods/messages_getDialogs.md @@ -27,7 +27,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v53/methods/messages_getDocumentByHash.md index 5b6f6f21..00f0a558 100644 --- a/old_docs/API_docs_v53/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v53/methods/messages_getDocumentByHash.md @@ -26,7 +26,7 @@ Get document by SHA256 hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ mime_type - Json encoded string Or, if you're into Lua: -``` +```lua Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_getHistory.md b/old_docs/API_docs_v53/methods/messages_getHistory.md index 76d20b70..23f2d6e9 100644 --- a/old_docs/API_docs_v53/methods/messages_getHistory.md +++ b/old_docs/API_docs_v53/methods/messages_getHistory.md @@ -30,7 +30,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v53/methods/messages_getInlineBotResults.md index 03b5d845..73f2deb2 100644 --- a/old_docs/API_docs_v53/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v53/methods/messages_getInlineBotResults.md @@ -28,7 +28,7 @@ Call inline bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ offset - Json encoded string Or, if you're into Lua: -``` +```lua messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_getMessageEditData.md b/old_docs/API_docs_v53/methods/messages_getMessageEditData.md index 2c44a1dc..77e2c030 100644 --- a/old_docs/API_docs_v53/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v53/methods/messages_getMessageEditData.md @@ -25,7 +25,7 @@ Check if about to edit a message or a media caption ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_getMessages.md b/old_docs/API_docs_v53/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v53/methods/messages_getMessages.md +++ b/old_docs/API_docs_v53/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_getMessagesViews.md b/old_docs/API_docs_v53/methods/messages_getMessagesViews.md index 57a99054..b2b6110e 100644 --- a/old_docs/API_docs_v53/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v53/methods/messages_getMessagesViews.md @@ -26,7 +26,7 @@ Get and increase message views ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ increment - Json encoded Bool Or, if you're into Lua: -``` +```lua Vector_of_int = messages.getMessagesViews({peer=InputPeer, id={int}, increment=Bool, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v53/methods/messages_getPeerDialogs.md index ca746b3b..a34873df 100644 --- a/old_docs/API_docs_v53/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v53/methods/messages_getPeerDialogs.md @@ -24,7 +24,7 @@ Get dialog info of peers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peers - Json encoded array of InputPeer Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_getPeerSettings.md b/old_docs/API_docs_v53/methods/messages_getPeerSettings.md index 92d4697a..e2b3ec4f 100644 --- a/old_docs/API_docs_v53/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v53/methods/messages_getPeerSettings.md @@ -24,7 +24,7 @@ Get the settings of apeer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua PeerSettings = messages.getPeerSettings({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_getSavedGifs.md b/old_docs/API_docs_v53/methods/messages_getSavedGifs.md index cafba4e1..1a879907 100644 --- a/old_docs/API_docs_v53/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v53/methods/messages_getSavedGifs.md @@ -24,7 +24,7 @@ Get saved gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_getStickerSet.md b/old_docs/API_docs_v53/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/old_docs/API_docs_v53/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v53/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_getStickers.md b/old_docs/API_docs_v53/methods/messages_getStickers.md index b1d3bd83..f4ca9972 100644 --- a/old_docs/API_docs_v53/methods/messages_getStickers.md +++ b/old_docs/API_docs_v53/methods/messages_getStickers.md @@ -25,7 +25,7 @@ Get stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v53/methods/messages_getWebPagePreview.md index 8475c8f5..4838be94 100644 --- a/old_docs/API_docs_v53/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v53/methods/messages_getWebPagePreview.md @@ -24,7 +24,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_hideReportSpam.md b/old_docs/API_docs_v53/methods/messages_hideReportSpam.md index 17a7f8ef..1c0d72c5 100644 --- a/old_docs/API_docs_v53/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v53/methods/messages_hideReportSpam.md @@ -24,7 +24,7 @@ Hide report spam popup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.hideReportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_importChatInvite.md b/old_docs/API_docs_v53/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/old_docs/API_docs_v53/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v53/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_installStickerSet.md b/old_docs/API_docs_v53/methods/messages_installStickerSet.md index 1cd832e5..41be11e1 100644 --- a/old_docs/API_docs_v53/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v53/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ disabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.installStickerSet({stickerset=InputStickerSet, disabled=Bool, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_migrateChat.md b/old_docs/API_docs_v53/methods/messages_migrateChat.md index df91f510..e789ff7d 100644 --- a/old_docs/API_docs_v53/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v53/methods/messages_migrateChat.md @@ -24,7 +24,7 @@ Convert chat to supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.migrateChat({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_readHistory.md b/old_docs/API_docs_v53/methods/messages_readHistory.md index 48d7fb45..4a2188d8 100644 --- a/old_docs/API_docs_v53/methods/messages_readHistory.md +++ b/old_docs/API_docs_v53/methods/messages_readHistory.md @@ -25,7 +25,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_readMessageContents.md b/old_docs/API_docs_v53/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v53/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v53/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_receivedMessages.md b/old_docs/API_docs_v53/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/old_docs/API_docs_v53/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v53/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md index 8fb0d3da..372d870e 100644 --- a/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md @@ -24,7 +24,7 @@ Reorder sticker sets ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ order - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.reorderStickerSets({order={long}, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_reportSpam.md b/old_docs/API_docs_v53/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/old_docs/API_docs_v53/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v53/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_saveDraft.md b/old_docs/API_docs_v53/methods/messages_saveDraft.md index ede72c41..14e69f93 100644 --- a/old_docs/API_docs_v53/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v53/methods/messages_saveDraft.md @@ -29,7 +29,7 @@ Save a message draft ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -57,7 +57,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.saveDraft({no_webpage=Bool, reply_to_msg_id=int, peer=InputPeer, message='string', entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_saveGif.md b/old_docs/API_docs_v53/methods/messages_saveGif.md index adae6d86..dfa956ab 100644 --- a/old_docs/API_docs_v53/methods/messages_saveGif.md +++ b/old_docs/API_docs_v53/methods/messages_saveGif.md @@ -25,7 +25,7 @@ Save a GIF ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveGif({id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_search.md b/old_docs/API_docs_v53/methods/messages_search.md index 4c373c29..b4549f38 100644 --- a/old_docs/API_docs_v53/methods/messages_search.md +++ b/old_docs/API_docs_v53/methods/messages_search.md @@ -31,7 +31,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_searchGifs.md b/old_docs/API_docs_v53/methods/messages_searchGifs.md index 1ef77d23..a12cdd21 100644 --- a/old_docs/API_docs_v53/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v53/methods/messages_searchGifs.md @@ -25,7 +25,7 @@ Search gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_searchGlobal.md b/old_docs/API_docs_v53/methods/messages_searchGlobal.md index 4d05bf0d..1fb73592 100644 --- a/old_docs/API_docs_v53/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v53/methods/messages_searchGlobal.md @@ -28,7 +28,7 @@ Global message search ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_sendBroadcast.md b/old_docs/API_docs_v53/methods/messages_sendBroadcast.md index 11f43d4c..5813ba9c 100644 --- a/old_docs/API_docs_v53/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v53/methods/messages_sendBroadcast.md @@ -26,7 +26,7 @@ Send a message to all users in the chat list ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua Updates = messages.sendBroadcast({contacts={InputUser}, message='string', media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_sendEncrypted.md b/old_docs/API_docs_v53/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v53/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v53/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v53/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v53/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v53/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md index 8de674c6..37fae63a 100644 --- a/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md @@ -30,7 +30,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ id - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.sendInlineBotResult({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_sendMedia.md b/old_docs/API_docs_v53/methods/messages_sendMedia.md index 2290e52e..7c4e0dcf 100644 --- a/old_docs/API_docs_v53/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v53/methods/messages_sendMedia.md @@ -30,7 +30,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, media=InputMedia, reply_markup=ReplyMarkup, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_sendMessage.md b/old_docs/API_docs_v53/methods/messages_sendMessage.md index 77790562..9cdc74eb 100644 --- a/old_docs/API_docs_v53/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v53/methods/messages_sendMessage.md @@ -33,7 +33,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMessage({no_webpage=Bool, silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md index 39b03385..969e5343 100644 --- a/old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md @@ -26,7 +26,7 @@ Bots only: set the callback answer (after a button was clicked) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v53/methods/messages_setInlineBotResults.md index 443a028e..e1ebe4e3 100644 --- a/old_docs/API_docs_v53/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v53/methods/messages_setInlineBotResults.md @@ -30,7 +30,7 @@ Bots only: set the results of an inline query ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: -``` +```lua Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset='string', switch_pm=InlineBotSwitchPM, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_setTyping.md b/old_docs/API_docs_v53/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v53/methods/messages_setTyping.md +++ b/old_docs/API_docs_v53/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_startBot.md b/old_docs/API_docs_v53/methods/messages_startBot.md index 506957a7..71f82822 100644 --- a/old_docs/API_docs_v53/methods/messages_startBot.md +++ b/old_docs/API_docs_v53/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md index 0f1e56fa..56438277 100644 --- a/old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md @@ -25,7 +25,7 @@ Enable all users are admins in normal groups (not supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = messages.toggleChatAdmins({chat_id=InputPeer, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v53/methods/photos_deletePhotos.md b/old_docs/API_docs_v53/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v53/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v53/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v53/methods/photos_getUserPhotos.md b/old_docs/API_docs_v53/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/old_docs/API_docs_v53/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v53/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md index 706f0a01..7341e4e7 100644 --- a/old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md @@ -25,7 +25,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md index 99064210..1debfc82 100644 --- a/old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md @@ -27,7 +27,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v53/methods/users_getUsers.md b/old_docs/API_docs_v53/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v53/methods/users_getUsers.md +++ b/old_docs/API_docs_v53/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v53/types/Chat.md b/old_docs/API_docs_v53/types/Chat.md index cd83aacb..58654e6e 100644 --- a/old_docs/API_docs_v53/types/Chat.md +++ b/old_docs/API_docs_v53/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v53/types/InputChannel.md b/old_docs/API_docs_v53/types/InputChannel.md index 3882099d..6dc802fc 100644 --- a/old_docs/API_docs_v53/types/InputChannel.md +++ b/old_docs/API_docs_v53/types/InputChannel.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputChannel = '@username'; // Username $InputChannel = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v53/types/InputEncryptedChat.md b/old_docs/API_docs_v53/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v53/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v53/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v53/types/InputEncryptedFile.md b/old_docs/API_docs_v53/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v53/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v53/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v53/types/InputFile.md b/old_docs/API_docs_v53/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v53/types/InputFile.md +++ b/old_docs/API_docs_v53/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v53/types/InputNotifyPeer.md b/old_docs/API_docs_v53/types/InputNotifyPeer.md index ffc1f0cf..f9d0a662 100644 --- a/old_docs/API_docs_v53/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v53/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v53/types/InputPeer.md b/old_docs/API_docs_v53/types/InputPeer.md index 2076c00b..2649db1a 100644 --- a/old_docs/API_docs_v53/types/InputPeer.md +++ b/old_docs/API_docs_v53/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v53/types/InputUser.md b/old_docs/API_docs_v53/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/old_docs/API_docs_v53/types/InputUser.md +++ b/old_docs/API_docs_v53/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v53/types/KeyboardButton.md b/old_docs/API_docs_v53/types/KeyboardButton.md index 324867ee..fcdfc69f 100644 --- a/old_docs/API_docs_v53/types/KeyboardButton.md +++ b/old_docs/API_docs_v53/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/old_docs/API_docs_v53/types/NotifyPeer.md b/old_docs/API_docs_v53/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v53/types/NotifyPeer.md +++ b/old_docs/API_docs_v53/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v53/types/Peer.md b/old_docs/API_docs_v53/types/Peer.md index ebb98e91..0ab7fdcc 100644 --- a/old_docs/API_docs_v53/types/Peer.md +++ b/old_docs/API_docs_v53/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v53/types/User.md b/old_docs/API_docs_v53/types/User.md index b145a3f8..5385caa4 100644 --- a/old_docs/API_docs_v53/types/User.md +++ b/old_docs/API_docs_v53/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v55/constructors/accountDaysTTL.md b/old_docs/API_docs_v55/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v55/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v55/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v55/constructors/account_authorizations.md b/old_docs/API_docs_v55/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v55/constructors/account_authorizations.md +++ b/old_docs/API_docs_v55/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v55/constructors/account_noPassword.md b/old_docs/API_docs_v55/constructors/account_noPassword.md index 81a483d6..63a4af6d 100644 --- a/old_docs/API_docs_v55/constructors/account_noPassword.md +++ b/old_docs/API_docs_v55/constructors/account_noPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -33,10 +33,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'emai ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/account_password.md b/old_docs/API_docs_v55/constructors/account_password.md index 9a8b31c6..5c4c334b 100644 --- a/old_docs/API_docs_v55/constructors/account_password.md +++ b/old_docs/API_docs_v55/constructors/account_password.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` @@ -36,10 +36,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v55/constructors/account_passwordInputSettings.md index f474e0c7..b5838f0a 100644 --- a/old_docs/API_docs_v55/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v55/constructors/account_passwordInputSettings.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v55/constructors/account_passwordSettings.md b/old_docs/API_docs_v55/constructors/account_passwordSettings.md index 27d14f59..04fc8621 100644 --- a/old_docs/API_docs_v55/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v55/constructors/account_passwordSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v55/constructors/account_privacyRules.md b/old_docs/API_docs_v55/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v55/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v55/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v55/constructors/auth_authorization.md b/old_docs/API_docs_v55/constructors/auth_authorization.md index c8133016..b858e501 100644 --- a/old_docs/API_docs_v55/constructors/auth_authorization.md +++ b/old_docs/API_docs_v55/constructors/auth_authorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v55/constructors/auth_checkedPhone.md b/old_docs/API_docs_v55/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v55/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v55/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v55/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v55/constructors/auth_codeTypeCall.md index 6a4f28d1..788a2c37 100644 --- a/old_docs/API_docs_v55/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v55/constructors/auth_codeTypeCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeCall={_='auth.codeTypeCall'} ``` diff --git a/old_docs/API_docs_v55/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v55/constructors/auth_codeTypeFlashCall.md index 2851bf4e..abb65fcf 100644 --- a/old_docs/API_docs_v55/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v55/constructors/auth_codeTypeFlashCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} ``` diff --git a/old_docs/API_docs_v55/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v55/constructors/auth_codeTypeSms.md index 04b78a3d..34b42c95 100644 --- a/old_docs/API_docs_v55/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v55/constructors/auth_codeTypeSms.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeSms={_='auth.codeTypeSms'} ``` diff --git a/old_docs/API_docs_v55/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v55/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v55/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v55/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v55/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v55/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v55/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v55/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v55/constructors/auth_sentCode.md b/old_docs/API_docs_v55/constructors/auth_sentCode.md index 0226e79e..2b3f2017 100644 --- a/old_docs/API_docs_v55/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v55/constructors/auth_sentCode.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; ``` @@ -36,10 +36,9 @@ $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} ``` diff --git a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeApp.md index eb4f4530..eba1784a 100644 --- a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeApp.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeCall.md index b72a7550..5948ce63 100644 --- a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeFlashCall.md index 2c59cad5..bcc7acf6 100644 --- a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeFlashCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeSms.md index db6858ea..3073333f 100644 --- a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeSms.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v55/constructors/authorization.md b/old_docs/API_docs_v55/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v55/constructors/authorization.md +++ b/old_docs/API_docs_v55/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v55/constructors/botCommand.md b/old_docs/API_docs_v55/constructors/botCommand.md index 8569358d..fcb65461 100644 --- a/old_docs/API_docs_v55/constructors/botCommand.md +++ b/old_docs/API_docs_v55/constructors/botCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v55/constructors/botInfo.md b/old_docs/API_docs_v55/constructors/botInfo.md index 507f9f8c..ad88f390 100644 --- a/old_docs/API_docs_v55/constructors/botInfo.md +++ b/old_docs/API_docs_v55/constructors/botInfo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v55/constructors/botInlineMediaResult.md b/old_docs/API_docs_v55/constructors/botInlineMediaResult.md index 43454784..0131af98 100644 --- a/old_docs/API_docs_v55/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v55/constructors/botInlineMediaResult.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` @@ -38,10 +38,9 @@ $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} ``` diff --git a/old_docs/API_docs_v55/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v55/constructors/botInlineMessageMediaAuto.md index 71557e0c..89ef07e4 100644 --- a/old_docs/API_docs_v55/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v55/constructors/botInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v55/constructors/botInlineMessageMediaContact.md b/old_docs/API_docs_v55/constructors/botInlineMessageMediaContact.md index c3f25947..771472fa 100644 --- a/old_docs/API_docs_v55/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v55/constructors/botInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v55/constructors/botInlineMessageMediaGeo.md b/old_docs/API_docs_v55/constructors/botInlineMessageMediaGeo.md index c87e0dfe..24bf8b8d 100644 --- a/old_docs/API_docs_v55/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v55/constructors/botInlineMessageMediaGeo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v55/constructors/botInlineMessageMediaVenue.md b/old_docs/API_docs_v55/constructors/botInlineMessageMediaVenue.md index 4795ba75..8108a37c 100644 --- a/old_docs/API_docs_v55/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v55/constructors/botInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v55/constructors/botInlineMessageText.md b/old_docs/API_docs_v55/constructors/botInlineMessageText.md index 4a274d28..b3fa92ed 100644 --- a/old_docs/API_docs_v55/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v55/constructors/botInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v55/constructors/botInlineResult.md b/old_docs/API_docs_v55/constructors/botInlineResult.md index c7abbd71..8b6ead75 100644 --- a/old_docs/API_docs_v55/constructors/botInlineResult.md +++ b/old_docs/API_docs_v55/constructors/botInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` @@ -43,10 +43,9 @@ $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_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v55/constructors/channel.md b/old_docs/API_docs_v55/constructors/channel.md index 489f65c7..98c32d4b 100644 --- a/old_docs/API_docs_v55/constructors/channel.md +++ b/old_docs/API_docs_v55/constructors/channel.md @@ -40,7 +40,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => 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']; ``` @@ -51,10 +51,9 @@ $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=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'} ``` diff --git a/old_docs/API_docs_v55/constructors/channelForbidden.md b/old_docs/API_docs_v55/constructors/channelForbidden.md index 27a78b5c..7d083e83 100644 --- a/old_docs/API_docs_v55/constructors/channelForbidden.md +++ b/old_docs/API_docs_v55/constructors/channelForbidden.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` @@ -36,10 +36,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v55/constructors/channelFull.md b/old_docs/API_docs_v55/constructors/channelFull.md index c947a32e..671149f5 100644 --- a/old_docs/API_docs_v55/constructors/channelFull.md +++ b/old_docs/API_docs_v55/constructors/channelFull.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_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]; ``` @@ -48,10 +48,9 @@ $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, id=int, about='string', participants_count=int, admins_count=int, kicked_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} ``` diff --git a/old_docs/API_docs_v55/constructors/channelMessagesFilter.md b/old_docs/API_docs_v55/constructors/channelMessagesFilter.md index b19d3151..1b953ba3 100644 --- a/old_docs/API_docs_v55/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v55/constructors/channelMessagesFilter.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v55/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v55/constructors/channelMessagesFilterEmpty.md index 350e50de..a446b896 100644 --- a/old_docs/API_docs_v55/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v55/constructors/channelMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/channelParticipant.md b/old_docs/API_docs_v55/constructors/channelParticipant.md index c7de5400..dbcb792b 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipant.md +++ b/old_docs/API_docs_v55/constructors/channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v55/constructors/channelParticipantCreator.md b/old_docs/API_docs_v55/constructors/channelParticipantCreator.md index 86cafe0a..e999fb9c 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantCreator={_='channelParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/channelParticipantEditor.md b/old_docs/API_docs_v55/constructors/channelParticipantEditor.md index 37ae4bb0..7c7e4dc9 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantEditor.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v55/constructors/channelParticipantKicked.md b/old_docs/API_docs_v55/constructors/channelParticipantKicked.md index ccc454be..6bcc2e0f 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantKicked.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int} ``` diff --git a/old_docs/API_docs_v55/constructors/channelParticipantModerator.md b/old_docs/API_docs_v55/constructors/channelParticipantModerator.md index 90b4ab52..49c68acd 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantModerator.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v55/constructors/channelParticipantSelf.md b/old_docs/API_docs_v55/constructors/channelParticipantSelf.md index 83864972..4b5949ac 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantSelf.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v55/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v55/constructors/channelParticipantsAdmins.md index c86cb9a4..4b0c30d4 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantsAdmins.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` @@ -27,10 +27,9 @@ $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v55/constructors/channelParticipantsBots.md b/old_docs/API_docs_v55/constructors/channelParticipantsBots.md index 30875f94..66e510c7 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantsBots.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` @@ -27,10 +27,9 @@ $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v55/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v55/constructors/channelParticipantsKicked.md index 7f026ceb..38cf128e 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantsKicked.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` @@ -27,10 +27,9 @@ $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v55/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v55/constructors/channelParticipantsRecent.md index e4cb6466..51e57069 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantsRecent.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` @@ -27,10 +27,9 @@ $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v55/constructors/channelRoleEditor.md b/old_docs/API_docs_v55/constructors/channelRoleEditor.md index 86d953a9..1e472d2f 100644 --- a/old_docs/API_docs_v55/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v55/constructors/channelRoleEditor.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` @@ -27,10 +27,9 @@ $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v55/constructors/channelRoleEmpty.md b/old_docs/API_docs_v55/constructors/channelRoleEmpty.md index a50bb310..85d1c3fb 100644 --- a/old_docs/API_docs_v55/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v55/constructors/channelRoleEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` @@ -27,10 +27,9 @@ $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/channelRoleModerator.md b/old_docs/API_docs_v55/constructors/channelRoleModerator.md index 781f60ad..f242ff5c 100644 --- a/old_docs/API_docs_v55/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v55/constructors/channelRoleModerator.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` @@ -27,10 +27,9 @@ $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleModerator={_='channelRoleModerator'} ``` diff --git a/old_docs/API_docs_v55/constructors/channels_channelParticipant.md b/old_docs/API_docs_v55/constructors/channels_channelParticipant.md index bdf27b08..107502c5 100644 --- a/old_docs/API_docs_v55/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v55/constructors/channels_channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v55/constructors/channels_channelParticipants.md b/old_docs/API_docs_v55/constructors/channels_channelParticipants.md index 1b76b1e0..0402423f 100644 --- a/old_docs/API_docs_v55/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v55/constructors/channels_channelParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v55/constructors/chat.md b/old_docs/API_docs_v55/constructors/chat.md index 5ae1811d..b6f24f3e 100644 --- a/old_docs/API_docs_v55/constructors/chat.md +++ b/old_docs/API_docs_v55/constructors/chat.md @@ -33,7 +33,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -44,10 +44,9 @@ $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} ``` diff --git a/old_docs/API_docs_v55/constructors/chatEmpty.md b/old_docs/API_docs_v55/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v55/constructors/chatEmpty.md +++ b/old_docs/API_docs_v55/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/chatForbidden.md b/old_docs/API_docs_v55/constructors/chatForbidden.md index de5bb302..61c45660 100644 --- a/old_docs/API_docs_v55/constructors/chatForbidden.md +++ b/old_docs/API_docs_v55/constructors/chatForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v55/constructors/chatFull.md b/old_docs/API_docs_v55/constructors/chatFull.md index 6e138596..2a5f67f6 100644 --- a/old_docs/API_docs_v55/constructors/chatFull.md +++ b/old_docs/API_docs_v55/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v55/constructors/chatInvite.md b/old_docs/API_docs_v55/constructors/chatInvite.md index c0f14de6..54027d67 100644 --- a/old_docs/API_docs_v55/constructors/chatInvite.md +++ b/old_docs/API_docs_v55/constructors/chatInvite.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User, User]]; ``` @@ -39,10 +39,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v55/constructors/chatInviteAlready.md b/old_docs/API_docs_v55/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/old_docs/API_docs_v55/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v55/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/old_docs/API_docs_v55/constructors/chatInviteEmpty.md b/old_docs/API_docs_v55/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/old_docs/API_docs_v55/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v55/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/chatInviteExported.md b/old_docs/API_docs_v55/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/old_docs/API_docs_v55/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v55/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/chatParticipant.md b/old_docs/API_docs_v55/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v55/constructors/chatParticipant.md +++ b/old_docs/API_docs_v55/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v55/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v55/constructors/chatParticipantAdmin.md index 62aee9a4..63a38575 100644 --- a/old_docs/API_docs_v55/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v55/constructors/chatParticipantAdmin.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v55/constructors/chatParticipantCreator.md b/old_docs/API_docs_v55/constructors/chatParticipantCreator.md index 0fb7b6ef..75b9c4d4 100644 --- a/old_docs/API_docs_v55/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v55/constructors/chatParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantCreator={_='chatParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/chatParticipants.md b/old_docs/API_docs_v55/constructors/chatParticipants.md index 38af2ca5..ae254290 100644 --- a/old_docs/API_docs_v55/constructors/chatParticipants.md +++ b/old_docs/API_docs_v55/constructors/chatParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v55/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v55/constructors/chatParticipantsForbidden.md index 2ecdfe10..639b30ee 100644 --- a/old_docs/API_docs_v55/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v55/constructors/chatParticipantsForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v55/constructors/chatPhoto.md b/old_docs/API_docs_v55/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v55/constructors/chatPhoto.md +++ b/old_docs/API_docs_v55/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v55/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v55/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v55/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v55/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/config.md b/old_docs/API_docs_v55/constructors/config.md index 7762b7af..7de39902 100644 --- a/old_docs/API_docs_v55/constructors/config.md +++ b/old_docs/API_docs_v55/constructors/config.md @@ -43,7 +43,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'tmp_sessions' => int, 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -54,10 +54,9 @@ $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, tmp_sessions=int, disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v55/constructors/contact.md b/old_docs/API_docs_v55/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v55/constructors/contact.md +++ b/old_docs/API_docs_v55/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v55/constructors/contactBlocked.md b/old_docs/API_docs_v55/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v55/constructors/contactBlocked.md +++ b/old_docs/API_docs_v55/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v55/constructors/contactLinkContact.md b/old_docs/API_docs_v55/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v55/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v55/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v55/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v55/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v55/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v55/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v55/constructors/contactLinkNone.md b/old_docs/API_docs_v55/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v55/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v55/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v55/constructors/contactLinkUnknown.md b/old_docs/API_docs_v55/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v55/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v55/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v55/constructors/contactStatus.md b/old_docs/API_docs_v55/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v55/constructors/contactStatus.md +++ b/old_docs/API_docs_v55/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v55/constructors/contacts_blocked.md b/old_docs/API_docs_v55/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v55/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v55/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v55/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v55/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v55/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v55/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v55/constructors/contacts_contacts.md b/old_docs/API_docs_v55/constructors/contacts_contacts.md index 34dae91a..ea16b38a 100644 --- a/old_docs/API_docs_v55/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v55/constructors/contacts_contacts.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} ``` diff --git a/old_docs/API_docs_v55/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v55/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v55/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v55/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v55/constructors/contacts_found.md b/old_docs/API_docs_v55/constructors/contacts_found.md index 7e0e458c..624fa475 100644 --- a/old_docs/API_docs_v55/constructors/contacts_found.md +++ b/old_docs/API_docs_v55/constructors/contacts_found.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v55/constructors/contacts_importedContacts.md b/old_docs/API_docs_v55/constructors/contacts_importedContacts.md index 7bf9c1bf..8b9012bb 100644 --- a/old_docs/API_docs_v55/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v55/constructors/contacts_importedContacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v55/constructors/contacts_link.md b/old_docs/API_docs_v55/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v55/constructors/contacts_link.md +++ b/old_docs/API_docs_v55/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v55/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v55/constructors/contacts_resolvedPeer.md index add29235..4aa323dd 100644 --- a/old_docs/API_docs_v55/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v55/constructors/contacts_resolvedPeer.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v55/constructors/contacts_topPeers.md b/old_docs/API_docs_v55/constructors/contacts_topPeers.md index 8777bff2..e4728594 100644 --- a/old_docs/API_docs_v55/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v55/constructors/contacts_topPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCatego ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v55/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v55/constructors/contacts_topPeersNotModified.md index 3aa2236a..7ec0114a 100644 --- a/old_docs/API_docs_v55/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v55/constructors/contacts_topPeersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeersNotModified={_='contacts.topPeersNotModified'} ``` diff --git a/old_docs/API_docs_v55/constructors/dcOption.md b/old_docs/API_docs_v55/constructors/dcOption.md index 3fd6f51f..c4e1a91f 100644 --- a/old_docs/API_docs_v55/constructors/dcOption.md +++ b/old_docs/API_docs_v55/constructors/dcOption.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` @@ -37,10 +37,9 @@ $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, id=int, ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v55/constructors/dialog.md b/old_docs/API_docs_v55/constructors/dialog.md index 225b0a90..2b6dc80c 100644 --- a/old_docs/API_docs_v55/constructors/dialog.md +++ b/old_docs/API_docs_v55/constructors/dialog.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage]; ``` @@ -39,10 +39,9 @@ $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_ma ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings, pts=int, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v55/constructors/disabledFeature.md b/old_docs/API_docs_v55/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v55/constructors/disabledFeature.md +++ b/old_docs/API_docs_v55/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/document.md b/old_docs/API_docs_v55/constructors/document.md index 1a0f1fc1..58c44a23 100644 --- a/old_docs/API_docs_v55/constructors/document.md +++ b/old_docs/API_docs_v55/constructors/document.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -40,10 +40,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, version=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v55/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v55/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v55/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v55/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v55/constructors/documentAttributeAudio.md b/old_docs/API_docs_v55/constructors/documentAttributeAudio.md index 0dc5decc..f427a05c 100644 --- a/old_docs/API_docs_v55/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v55/constructors/documentAttributeAudio.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` @@ -36,10 +36,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'du ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title='string', performer='string', waveform='bytes'} ``` diff --git a/old_docs/API_docs_v55/constructors/documentAttributeFilename.md b/old_docs/API_docs_v55/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v55/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v55/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v55/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v55/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v55/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v55/constructors/documentAttributeSticker.md b/old_docs/API_docs_v55/constructors/documentAttributeSticker.md index d44d94cd..397679ef 100644 --- a/old_docs/API_docs_v55/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v55/constructors/documentAttributeSticker.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet]; ``` @@ -33,10 +33,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', alt='string', stickerset=InputStickerSet} ``` diff --git a/old_docs/API_docs_v55/constructors/documentAttributeVideo.md b/old_docs/API_docs_v55/constructors/documentAttributeVideo.md index 0902c118..cc7ffced 100644 --- a/old_docs/API_docs_v55/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v55/constructors/documentAttributeVideo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -34,10 +34,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v55/constructors/documentEmpty.md b/old_docs/API_docs_v55/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v55/constructors/documentEmpty.md +++ b/old_docs/API_docs_v55/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v55/constructors/draftMessage.md b/old_docs/API_docs_v55/constructors/draftMessage.md index 370ffaef..ecec69a1 100644 --- a/old_docs/API_docs_v55/constructors/draftMessage.md +++ b/old_docs/API_docs_v55/constructors/draftMessage.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'date' => int]; ``` @@ -36,10 +36,9 @@ $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message='string', entities={MessageEntity}, date=int} ``` diff --git a/old_docs/API_docs_v55/constructors/draftMessageEmpty.md b/old_docs/API_docs_v55/constructors/draftMessageEmpty.md index 15b2aa67..65902a71 100644 --- a/old_docs/API_docs_v55/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v55/constructors/draftMessageEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` @@ -27,10 +27,9 @@ $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessageEmpty={_='draftMessageEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/encryptedChat.md b/old_docs/API_docs_v55/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v55/constructors/encryptedChat.md +++ b/old_docs/API_docs_v55/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v55/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v55/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v55/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v55/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v55/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v55/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v55/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/encryptedChatRequested.md b/old_docs/API_docs_v55/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v55/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v55/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v55/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v55/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v55/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v55/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/encryptedFile.md b/old_docs/API_docs_v55/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v55/constructors/encryptedFile.md +++ b/old_docs/API_docs_v55/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v55/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v55/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v55/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v55/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/encryptedMessage.md b/old_docs/API_docs_v55/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v55/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v55/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v55/constructors/encryptedMessageService.md b/old_docs/API_docs_v55/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v55/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v55/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v55/constructors/error.md b/old_docs/API_docs_v55/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v55/constructors/error.md +++ b/old_docs/API_docs_v55/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/exportedMessageLink.md b/old_docs/API_docs_v55/constructors/exportedMessageLink.md index 423c9fa3..9db8d71a 100644 --- a/old_docs/API_docs_v55/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v55/constructors/exportedMessageLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua exportedMessageLink={_='exportedMessageLink', link='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/fileLocation.md b/old_docs/API_docs_v55/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v55/constructors/fileLocation.md +++ b/old_docs/API_docs_v55/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v55/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v55/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v55/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v55/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v55/constructors/foundGif.md b/old_docs/API_docs_v55/constructors/foundGif.md index d8ee3695..c2f0ce33 100644 --- a/old_docs/API_docs_v55/constructors/foundGif.md +++ b/old_docs/API_docs_v55/constructors/foundGif.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` @@ -37,10 +37,9 @@ $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'con ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGif={_='foundGif', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int} ``` diff --git a/old_docs/API_docs_v55/constructors/foundGifCached.md b/old_docs/API_docs_v55/constructors/foundGifCached.md index e4a1a552..03e67917 100644 --- a/old_docs/API_docs_v55/constructors/foundGifCached.md +++ b/old_docs/API_docs_v55/constructors/foundGifCached.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -34,10 +34,9 @@ $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGifCached={_='foundGifCached', url='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v55/constructors/geoPoint.md b/old_docs/API_docs_v55/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v55/constructors/geoPoint.md +++ b/old_docs/API_docs_v55/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v55/constructors/geoPointEmpty.md b/old_docs/API_docs_v55/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v55/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v55/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/help_appChangelog.md b/old_docs/API_docs_v55/constructors/help_appChangelog.md index 5b7b353a..d30f8acd 100644 --- a/old_docs/API_docs_v55/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v55/constructors/help_appChangelog.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelog={_='help.appChangelog', text='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v55/constructors/help_appChangelogEmpty.md index 0f0827c3..e20017b7 100644 --- a/old_docs/API_docs_v55/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v55/constructors/help_appChangelogEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` @@ -27,10 +27,9 @@ $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelogEmpty={_='help.appChangelogEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/help_appUpdate.md b/old_docs/API_docs_v55/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v55/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v55/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/help_inviteText.md b/old_docs/API_docs_v55/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v55/constructors/help_inviteText.md +++ b/old_docs/API_docs_v55/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/help_noAppUpdate.md b/old_docs/API_docs_v55/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v55/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v55/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v55/constructors/help_support.md b/old_docs/API_docs_v55/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v55/constructors/help_support.md +++ b/old_docs/API_docs_v55/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v55/constructors/help_termsOfService.md b/old_docs/API_docs_v55/constructors/help_termsOfService.md index 8e558bed..ec7a8121 100644 --- a/old_docs/API_docs_v55/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v55/constructors/help_termsOfService.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_termsOfService={_='help.termsOfService', text='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/importedContact.md b/old_docs/API_docs_v55/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v55/constructors/importedContact.md +++ b/old_docs/API_docs_v55/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v55/constructors/inlineBotSwitchPM.md b/old_docs/API_docs_v55/constructors/inlineBotSwitchPM.md index 0dfd4714..b4fb8185 100644 --- a/old_docs/API_docs_v55/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v55/constructors/inlineBotSwitchPM.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` @@ -33,10 +33,9 @@ $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_par ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inlineBotSwitchPM={_='inlineBotSwitchPM', text='string', start_param='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputAppEvent.md b/old_docs/API_docs_v55/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v55/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v55/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputBotInlineMessageID.md b/old_docs/API_docs_v55/constructors/inputBotInlineMessageID.md index 91c7586d..aecbb733 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineMessageID.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaAuto.md index 28d93836..17e2a1cb 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'cap ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaContact.md b/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaContact.md index 5b78709f..25dd9029 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaGeo.md b/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaGeo.md index 39365847..935dba16 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaGeo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaVenue.md b/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaVenue.md index 7dbc6a6c..56ec0745 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'g ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v55/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v55/constructors/inputBotInlineMessageText.md index e6a0bbb7..acae47bc 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v55/constructors/inputBotInlineResult.md b/old_docs/API_docs_v55/constructors/inputBotInlineResult.md index 668af514..34148d70 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` @@ -43,10 +43,9 @@ $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v55/constructors/inputBotInlineResultDocument.md b/old_docs/API_docs_v55/constructors/inputBotInlineResultDocument.md index ad13df76..9d5f1eb6 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineResultDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` @@ -37,10 +37,9 @@ $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultDocument={_='inputBotInlineResultDocument', id='string', type='string', title='string', description='string', document=InputDocument, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v55/constructors/inputBotInlineResultPhoto.md b/old_docs/API_docs_v55/constructors/inputBotInlineResultPhoto.md index 43f00813..271bb02e 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineResultPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` @@ -35,10 +35,9 @@ $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id='string', type='string', photo=InputPhoto, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v55/constructors/inputChannel.md b/old_docs/API_docs_v55/constructors/inputChannel.md index b5cb3566..34ed10ca 100644 --- a/old_docs/API_docs_v55/constructors/inputChannel.md +++ b/old_docs/API_docs_v55/constructors/inputChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannel={_='inputChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v55/constructors/inputChannelEmpty.md b/old_docs/API_docs_v55/constructors/inputChannelEmpty.md index f7e18434..bd53602b 100644 --- a/old_docs/API_docs_v55/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputChannelEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` @@ -27,10 +27,9 @@ $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputChatPhoto.md b/old_docs/API_docs_v55/constructors/inputChatPhoto.md index 5affda9a..7ad8a3f7 100644 --- a/old_docs/API_docs_v55/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v55/constructors/inputChatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputP ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v55/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v55/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v55/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v55/constructors/inputChatUploadedPhoto.md index a22405b2..ed0624da 100644 --- a/old_docs/API_docs_v55/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v55/constructors/inputChatUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop]; ``` @@ -33,10 +33,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, crop=InputPhotoCrop} ``` diff --git a/old_docs/API_docs_v55/constructors/inputDocument.md b/old_docs/API_docs_v55/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v55/constructors/inputDocument.md +++ b/old_docs/API_docs_v55/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v55/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v55/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v55/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v55/constructors/inputDocumentFileLocation.md index df556f40..94ab0038 100644 --- a/old_docs/API_docs_v55/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v55/constructors/inputDocumentFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int]; ``` @@ -34,10 +34,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, version=int} ``` diff --git a/old_docs/API_docs_v55/constructors/inputEncryptedChat.md b/old_docs/API_docs_v55/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v55/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v55/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v55/constructors/inputEncryptedFile.md b/old_docs/API_docs_v55/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v55/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v55/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v55/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v55/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v55/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v55/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v55/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v55/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v55/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v55/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v55/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v55/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v55/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v55/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v55/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v55/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v55/constructors/inputFile.md b/old_docs/API_docs_v55/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v55/constructors/inputFile.md +++ b/old_docs/API_docs_v55/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputFileBig.md b/old_docs/API_docs_v55/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v55/constructors/inputFileBig.md +++ b/old_docs/API_docs_v55/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputFileLocation.md b/old_docs/API_docs_v55/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v55/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v55/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v55/constructors/inputGeoPoint.md b/old_docs/API_docs_v55/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v55/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v55/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v55/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v55/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v55/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMediaContact.md b/old_docs/API_docs_v55/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v55/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMediaDocument.md b/old_docs/API_docs_v55/constructors/inputMediaDocument.md index 8c961036..9436d5e4 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v55/constructors/inputMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'capt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMediaEmpty.md b/old_docs/API_docs_v55/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v55/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v55/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v55/constructors/inputMediaGifExternal.md index cf68972a..14153a43 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v55/constructors/inputMediaGifExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGifExternal={_='inputMediaGifExternal', url='string', q='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMediaPhoto.md b/old_docs/API_docs_v55/constructors/inputMediaPhoto.md index 0be7f6fe..71f4ded5 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v55/constructors/inputMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v55/constructors/inputMediaUploadedDocument.md index e70c2a9c..d3887568 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v55/constructors/inputMediaUploadedDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string']; ``` @@ -35,10 +35,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v55/constructors/inputMediaUploadedPhoto.md index 499857ce..ad2a8680 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v55/constructors/inputMediaUploadedPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v55/constructors/inputMediaUploadedThumbDocument.md index 7a6c823e..f5a601a7 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v55/constructors/inputMediaUploadedThumbDocument.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMediaVenue.md b/old_docs/API_docs_v55/constructors/inputMediaVenue.md index 3e7ee3a1..b2171fbc 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v55/constructors/inputMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMessageEntityMentionName.md b/old_docs/API_docs_v55/constructors/inputMessageEntityMentionName.md index 92d5c8d9..19a0b4e3 100644 --- a/old_docs/API_docs_v55/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v55/constructors/inputMessageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser]; ``` @@ -34,10 +34,9 @@ $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessageEntityMentionName={_='inputMessageEntityMentionName', offset=int, length=int, user_id=InputUser} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterChatPhotos.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterChatPhotos.md index a02425b1..b72281f3 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterChatPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterGif.md index 94698ecd..a3a51104 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterMusic.md index ac6373c2..b2ed1044 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterMusic.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterVoice.md index 026a91be..be3af22a 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputNotifyAll.md b/old_docs/API_docs_v55/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v55/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v55/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputNotifyChats.md b/old_docs/API_docs_v55/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v55/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v55/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputNotifyPeer.md b/old_docs/API_docs_v55/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v55/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v55/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v55/constructors/inputNotifyUsers.md b/old_docs/API_docs_v55/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v55/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v55/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPeerChannel.md b/old_docs/API_docs_v55/constructors/inputPeerChannel.md index 8b84fe20..14c2f105 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v55/constructors/inputPeerChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPeerChat.md b/old_docs/API_docs_v55/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v55/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPeerEmpty.md b/old_docs/API_docs_v55/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v55/constructors/inputPeerNotifySettings.md index 6b281f53..cd18b39e 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v55/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPeerSelf.md b/old_docs/API_docs_v55/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v55/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPeerUser.md b/old_docs/API_docs_v55/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v55/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPhoneContact.md b/old_docs/API_docs_v55/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v55/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v55/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPhoto.md b/old_docs/API_docs_v55/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v55/constructors/inputPhoto.md +++ b/old_docs/API_docs_v55/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPhotoCrop.md b/old_docs/API_docs_v55/constructors/inputPhotoCrop.md index b35bf42f..e90029a9 100644 --- a/old_docs/API_docs_v55/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v55/constructors/inputPhotoCrop.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double]; ``` @@ -34,10 +34,9 @@ $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v55/constructors/inputPhotoCropAuto.md index 6c2f121d..37414b14 100644 --- a/old_docs/API_docs_v55/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v55/constructors/inputPhotoCropAuto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` @@ -27,10 +27,9 @@ $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoCropAuto={_='inputPhotoCropAuto'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v55/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v55/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v55/constructors/inputPrivacyKeyChatInvite.md index 9c55265f..d96148d4 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v55/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v55/constructors/inputReportReasonOther.md b/old_docs/API_docs_v55/constructors/inputReportReasonOther.md index 361582bd..4dbffa18 100644 --- a/old_docs/API_docs_v55/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v55/constructors/inputReportReasonOther.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonOther={_='inputReportReasonOther', text='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v55/constructors/inputReportReasonPornography.md index c18c71d3..5c80f096 100644 --- a/old_docs/API_docs_v55/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v55/constructors/inputReportReasonPornography.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` @@ -27,10 +27,9 @@ $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v55/constructors/inputReportReasonSpam.md index 19ed6687..75d59861 100644 --- a/old_docs/API_docs_v55/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v55/constructors/inputReportReasonSpam.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` @@ -27,10 +27,9 @@ $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v55/constructors/inputReportReasonViolence.md index 10fbce47..28d27e85 100644 --- a/old_docs/API_docs_v55/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v55/constructors/inputReportReasonViolence.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` @@ -27,10 +27,9 @@ $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v55/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/old_docs/API_docs_v55/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputStickerSetID.md b/old_docs/API_docs_v55/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/old_docs/API_docs_v55/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v55/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v55/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v55/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/old_docs/API_docs_v55/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v55/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputUser.md b/old_docs/API_docs_v55/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/old_docs/API_docs_v55/constructors/inputUser.md +++ b/old_docs/API_docs_v55/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v55/constructors/inputUserEmpty.md b/old_docs/API_docs_v55/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v55/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/inputUserSelf.md b/old_docs/API_docs_v55/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v55/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v55/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v55/constructors/keyboardButton.md b/old_docs/API_docs_v55/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/old_docs/API_docs_v55/constructors/keyboardButton.md +++ b/old_docs/API_docs_v55/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/keyboardButtonCallback.md b/old_docs/API_docs_v55/constructors/keyboardButtonCallback.md index 63e87aac..c8f86f50 100644 --- a/old_docs/API_docs_v55/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v55/constructors/keyboardButtonCallback.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` @@ -33,10 +33,9 @@ $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonCallback={_='keyboardButtonCallback', text='string', data='bytes'} ``` diff --git a/old_docs/API_docs_v55/constructors/keyboardButtonRequestGeoLocation.md b/old_docs/API_docs_v55/constructors/keyboardButtonRequestGeoLocation.md index fc422d90..63d4a82f 100644 --- a/old_docs/API_docs_v55/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v55/constructors/keyboardButtonRequestGeoLocation.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/keyboardButtonRequestPhone.md b/old_docs/API_docs_v55/constructors/keyboardButtonRequestPhone.md index a1719e24..ba58979f 100644 --- a/old_docs/API_docs_v55/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v55/constructors/keyboardButtonRequestPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/keyboardButtonRow.md b/old_docs/API_docs_v55/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/old_docs/API_docs_v55/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v55/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/old_docs/API_docs_v55/constructors/keyboardButtonSwitchInline.md b/old_docs/API_docs_v55/constructors/keyboardButtonSwitchInline.md index e682eec2..4c35e84b 100644 --- a/old_docs/API_docs_v55/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v55/constructors/keyboardButtonSwitchInline.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'text' => 'string', 'query' => 'string']; ``` @@ -33,10 +33,9 @@ $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'text' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', text='string', query='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/keyboardButtonUrl.md b/old_docs/API_docs_v55/constructors/keyboardButtonUrl.md index 709d4fa9..56b86f1c 100644 --- a/old_docs/API_docs_v55/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v55/constructors/keyboardButtonUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` @@ -33,10 +33,9 @@ $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonUrl={_='keyboardButtonUrl', text='string', url='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/message.md b/old_docs/API_docs_v55/constructors/message.md index 9b54331e..b3ce8110 100644 --- a/old_docs/API_docs_v55/constructors/message.md +++ b/old_docs/API_docs_v55/constructors/message.md @@ -38,7 +38,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'views' => int, 'edit_date' => int]; ``` @@ -49,10 +49,9 @@ $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int} ``` diff --git a/old_docs/API_docs_v55/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v55/constructors/messageActionChannelCreate.md index b1750d73..2600ab63 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v55/constructors/messageActionChannelCreate.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v55/constructors/messageActionChannelMigrateFrom.md index add136dc..1fdcf3f4 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v55/constructors/messageActionChannelMigrateFrom.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 't ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v55/constructors/messageActionChatAddUser.md index 9c7de7f8..283365cd 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', users={int}} ``` diff --git a/old_docs/API_docs_v55/constructors/messageActionChatCreate.md b/old_docs/API_docs_v55/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v55/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v55/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v55/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v55/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v55/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v55/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v55/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v55/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v55/constructors/messageActionChatMigrateTo.md index 21d2cb22..8ace1091 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatMigrateTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/messageActionEmpty.md b/old_docs/API_docs_v55/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v55/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v55/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/messageActionHistoryClear.md b/old_docs/API_docs_v55/constructors/messageActionHistoryClear.md index 8b8dcc9d..90875cf6 100644 --- a/old_docs/API_docs_v55/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v55/constructors/messageActionHistoryClear.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` @@ -27,10 +27,9 @@ $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionHistoryClear={_='messageActionHistoryClear'} ``` diff --git a/old_docs/API_docs_v55/constructors/messageActionPinMessage.md b/old_docs/API_docs_v55/constructors/messageActionPinMessage.md index ffa41746..be763787 100644 --- a/old_docs/API_docs_v55/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v55/constructors/messageActionPinMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` @@ -27,10 +27,9 @@ $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/old_docs/API_docs_v55/constructors/messageEmpty.md b/old_docs/API_docs_v55/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v55/constructors/messageEmpty.md +++ b/old_docs/API_docs_v55/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/messageEntityBold.md b/old_docs/API_docs_v55/constructors/messageEntityBold.md index 950699fb..90f74ad5 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v55/constructors/messageEntityBold.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v55/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v55/constructors/messageEntityBotCommand.md index 8be471d3..9fb8f6a6 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v55/constructors/messageEntityBotCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v55/constructors/messageEntityCode.md b/old_docs/API_docs_v55/constructors/messageEntityCode.md index 7c701844..d236e57e 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v55/constructors/messageEntityCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v55/constructors/messageEntityEmail.md b/old_docs/API_docs_v55/constructors/messageEntityEmail.md index 35a968c7..74e910f3 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v55/constructors/messageEntityEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v55/constructors/messageEntityHashtag.md b/old_docs/API_docs_v55/constructors/messageEntityHashtag.md index 6b124e73..77e29387 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v55/constructors/messageEntityHashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v55/constructors/messageEntityItalic.md b/old_docs/API_docs_v55/constructors/messageEntityItalic.md index 25f73428..5975bae2 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v55/constructors/messageEntityItalic.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v55/constructors/messageEntityMention.md b/old_docs/API_docs_v55/constructors/messageEntityMention.md index 9eb4d266..1a21cb10 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v55/constructors/messageEntityMention.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v55/constructors/messageEntityMentionName.md b/old_docs/API_docs_v55/constructors/messageEntityMentionName.md index b546570b..0fe142c5 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v55/constructors/messageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int]; ``` @@ -34,10 +34,9 @@ $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/messageEntityPre.md b/old_docs/API_docs_v55/constructors/messageEntityPre.md index abfc9136..13b165fe 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v55/constructors/messageEntityPre.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPre={_='messageEntityPre', offset=int, length=int, language='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v55/constructors/messageEntityTextUrl.md index 91f6d36c..b6d82843 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v55/constructors/messageEntityTextUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/messageEntityUnknown.md b/old_docs/API_docs_v55/constructors/messageEntityUnknown.md index 69ca8a1b..4c434fd7 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v55/constructors/messageEntityUnknown.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v55/constructors/messageEntityUrl.md b/old_docs/API_docs_v55/constructors/messageEntityUrl.md index 377c3dda..2cf334a5 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v55/constructors/messageEntityUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v55/constructors/messageFwdHeader.md b/old_docs/API_docs_v55/constructors/messageFwdHeader.md index b55da4c5..999c62ad 100644 --- a/old_docs/API_docs_v55/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v55/constructors/messageFwdHeader.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int]; ``` @@ -35,10 +35,9 @@ $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int} ``` diff --git a/old_docs/API_docs_v55/constructors/messageMediaContact.md b/old_docs/API_docs_v55/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v55/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/messageMediaDocument.md b/old_docs/API_docs_v55/constructors/messageMediaDocument.md index 1f584a82..44199179 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v55/constructors/messageMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document, caption='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/messageMediaEmpty.md b/old_docs/API_docs_v55/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v55/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/messageMediaGeo.md b/old_docs/API_docs_v55/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v55/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v55/constructors/messageMediaPhoto.md b/old_docs/API_docs_v55/constructors/messageMediaPhoto.md index 47579066..7350efce 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v55/constructors/messageMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v55/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v55/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v55/constructors/messageMediaVenue.md b/old_docs/API_docs_v55/constructors/messageMediaVenue.md index 2db2d25d..2ef2b27f 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v55/constructors/messageMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/messageMediaWebPage.md b/old_docs/API_docs_v55/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v55/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v55/constructors/messageRange.md b/old_docs/API_docs_v55/constructors/messageRange.md index 40c3f81a..527e8646 100644 --- a/old_docs/API_docs_v55/constructors/messageRange.md +++ b/old_docs/API_docs_v55/constructors/messageRange.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageRange={_='messageRange', min_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/messageService.md b/old_docs/API_docs_v55/constructors/messageService.md index 8f47e32f..f9946e72 100644 --- a/old_docs/API_docs_v55/constructors/messageService.md +++ b/old_docs/API_docs_v55/constructors/messageService.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction]; ``` @@ -42,10 +42,9 @@ $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_affectedHistory.md b/old_docs/API_docs_v55/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v55/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v55/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_affectedMessages.md b/old_docs/API_docs_v55/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v55/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v55/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_allStickers.md b/old_docs/API_docs_v55/constructors/messages_allStickers.md index 2a7d1313..45a66ddf 100644 --- a/old_docs/API_docs_v55/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v55/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v55/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v55/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v55/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_archivedStickers.md b/old_docs/API_docs_v55/constructors/messages_archivedStickers.md index 458c74b9..639d174b 100644 --- a/old_docs/API_docs_v55/constructors/messages_archivedStickers.md +++ b/old_docs/API_docs_v55/constructors/messages_archivedStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -33,10 +33,9 @@ $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v55/constructors/messages_botCallbackAnswer.md index 276825a2..5ee61bed 100644 --- a/old_docs/API_docs_v55/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v55/constructors/messages_botCallbackAnswer.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'message' => 'string', 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, message='string', url='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_botResults.md b/old_docs/API_docs_v55/constructors/messages_botResults.md index b26aa39e..5b97a820 100644 --- a/old_docs/API_docs_v55/constructors/messages_botResults.md +++ b/old_docs/API_docs_v55/constructors/messages_botResults.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult]]; ``` @@ -36,10 +36,9 @@ $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_channelMessages.md b/old_docs/API_docs_v55/constructors/messages_channelMessages.md index 43f4cdc6..0da0608d 100644 --- a/old_docs/API_docs_v55/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v55/constructors/messages_channelMessages.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'c ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_chatFull.md b/old_docs/API_docs_v55/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v55/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v55/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_chats.md b/old_docs/API_docs_v55/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v55/constructors/messages_chats.md +++ b/old_docs/API_docs_v55/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_dhConfig.md b/old_docs/API_docs_v55/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v55/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v55/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v55/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v55/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v55/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_dialogs.md b/old_docs/API_docs_v55/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v55/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v55/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v55/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v55/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v55/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_featuredStickers.md b/old_docs/API_docs_v55/constructors/messages_featuredStickers.md index 0ec8be8b..f40ec583 100644 --- a/old_docs/API_docs_v55/constructors/messages_featuredStickers.md +++ b/old_docs/API_docs_v55/constructors/messages_featuredStickers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; ``` @@ -34,10 +34,9 @@ $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v55/constructors/messages_featuredStickersNotModified.md index 87d2e6c7..3457ff96 100644 --- a/old_docs/API_docs_v55/constructors/messages_featuredStickersNotModified.md +++ b/old_docs/API_docs_v55/constructors/messages_featuredStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotMod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_foundGifs.md b/old_docs/API_docs_v55/constructors/messages_foundGifs.md index f86a9fed..4d513264 100644 --- a/old_docs/API_docs_v55/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v55/constructors/messages_foundGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; ``` @@ -33,10 +33,9 @@ $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'resul ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_messageEditData.md b/old_docs/API_docs_v55/constructors/messages_messageEditData.md index aee6e179..fe0f3ab3 100644 --- a/old_docs/API_docs_v55/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v55/constructors/messages_messageEditData.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` @@ -32,10 +32,9 @@ $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messageEditData={_='messages.messageEditData', caption=Bool} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_messages.md b/old_docs/API_docs_v55/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v55/constructors/messages_messages.md +++ b/old_docs/API_docs_v55/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_messagesSlice.md b/old_docs/API_docs_v55/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v55/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v55/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_peerDialogs.md b/old_docs/API_docs_v55/constructors/messages_peerDialogs.md index 93601b21..60aa48e6 100644 --- a/old_docs/API_docs_v55/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v55/constructors/messages_peerDialogs.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -36,10 +36,9 @@ $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Di ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_recentStickers.md b/old_docs/API_docs_v55/constructors/messages_recentStickers.md index b2ea1fa7..47a5c591 100644 --- a/old_docs/API_docs_v55/constructors/messages_recentStickers.md +++ b/old_docs/API_docs_v55/constructors/messages_recentStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v55/constructors/messages_recentStickersNotModified.md index 9bf964da..c3c4f654 100644 --- a/old_docs/API_docs_v55/constructors/messages_recentStickersNotModified.md +++ b/old_docs/API_docs_v55/constructors/messages_recentStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModifie ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickersNotModified={_='messages.recentStickersNotModified'} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_savedGifs.md b/old_docs/API_docs_v55/constructors/messages_savedGifs.md index 4a254ab5..ae7e595f 100644 --- a/old_docs/API_docs_v55/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v55/constructors/messages_savedGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Do ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v55/constructors/messages_savedGifsNotModified.md index 65c17d0c..ef0db669 100644 --- a/old_docs/API_docs_v55/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v55/constructors/messages_savedGifsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` @@ -27,10 +27,9 @@ $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifsNotModified={_='messages.savedGifsNotModified'} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v55/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v55/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v55/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v55/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v55/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v55/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_stickerSet.md b/old_docs/API_docs_v55/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/old_docs/API_docs_v55/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v55/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultArchive.md index 2f66cfa0..f43e11c0 100644 --- a/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultArchive.md +++ b/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultArchive.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -32,10 +32,9 @@ $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultSuccess.md index ef5752a2..bb6b00f3 100644 --- a/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultSuccess.md +++ b/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultSuccess.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; ``` @@ -27,10 +27,9 @@ $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_stickers.md b/old_docs/API_docs_v55/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v55/constructors/messages_stickers.md +++ b/old_docs/API_docs_v55/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v55/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v55/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v55/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v55/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v55/constructors/nearestDc.md b/old_docs/API_docs_v55/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v55/constructors/nearestDc.md +++ b/old_docs/API_docs_v55/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v55/constructors/notifyAll.md b/old_docs/API_docs_v55/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v55/constructors/notifyAll.md +++ b/old_docs/API_docs_v55/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v55/constructors/notifyChats.md b/old_docs/API_docs_v55/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v55/constructors/notifyChats.md +++ b/old_docs/API_docs_v55/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v55/constructors/notifyPeer.md b/old_docs/API_docs_v55/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v55/constructors/notifyPeer.md +++ b/old_docs/API_docs_v55/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v55/constructors/notifyUsers.md b/old_docs/API_docs_v55/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v55/constructors/notifyUsers.md +++ b/old_docs/API_docs_v55/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v55/constructors/peerChannel.md b/old_docs/API_docs_v55/constructors/peerChannel.md index f30e3f41..360d5c42 100644 --- a/old_docs/API_docs_v55/constructors/peerChannel.md +++ b/old_docs/API_docs_v55/constructors/peerChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/peerChat.md b/old_docs/API_docs_v55/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v55/constructors/peerChat.md +++ b/old_docs/API_docs_v55/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v55/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v55/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v55/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v55/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v55/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v55/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v55/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/peerNotifySettings.md b/old_docs/API_docs_v55/constructors/peerNotifySettings.md index f011beb7..2007e4ee 100644 --- a/old_docs/API_docs_v55/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v55/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'si ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v55/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v55/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v55/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/peerSettings.md b/old_docs/API_docs_v55/constructors/peerSettings.md index 8f74bb50..2468fee4 100644 --- a/old_docs/API_docs_v55/constructors/peerSettings.md +++ b/old_docs/API_docs_v55/constructors/peerSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` @@ -32,10 +32,9 @@ $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerSettings={_='peerSettings', report_spam=Bool} ``` diff --git a/old_docs/API_docs_v55/constructors/peerUser.md b/old_docs/API_docs_v55/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v55/constructors/peerUser.md +++ b/old_docs/API_docs_v55/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/photo.md b/old_docs/API_docs_v55/constructors/photo.md index 7055e7a9..982122b9 100644 --- a/old_docs/API_docs_v55/constructors/photo.md +++ b/old_docs/API_docs_v55/constructors/photo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -35,10 +35,9 @@ $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v55/constructors/photoCachedSize.md b/old_docs/API_docs_v55/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v55/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v55/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v55/constructors/photoEmpty.md b/old_docs/API_docs_v55/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v55/constructors/photoEmpty.md +++ b/old_docs/API_docs_v55/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v55/constructors/photoSize.md b/old_docs/API_docs_v55/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v55/constructors/photoSize.md +++ b/old_docs/API_docs_v55/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v55/constructors/photoSizeEmpty.md b/old_docs/API_docs_v55/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v55/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v55/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/photos_photo.md b/old_docs/API_docs_v55/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v55/constructors/photos_photo.md +++ b/old_docs/API_docs_v55/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v55/constructors/photos_photos.md b/old_docs/API_docs_v55/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v55/constructors/photos_photos.md +++ b/old_docs/API_docs_v55/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v55/constructors/photos_photosSlice.md b/old_docs/API_docs_v55/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v55/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v55/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v55/constructors/privacyKeyChatInvite.md b/old_docs/API_docs_v55/constructors/privacyKeyChatInvite.md index cc6e39b6..44826e55 100644 --- a/old_docs/API_docs_v55/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v55/constructors/privacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v55/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v55/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v55/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v55/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v55/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v55/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v55/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v55/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v55/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v55/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v55/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v55/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v55/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v55/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v55/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v55/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v55/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v55/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v55/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v55/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v55/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v55/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v55/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v55/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v55/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v55/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v55/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v55/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v55/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v55/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/old_docs/API_docs_v55/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v55/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/replyInlineMarkup.md b/old_docs/API_docs_v55/constructors/replyInlineMarkup.md index 6d353569..6e481165 100644 --- a/old_docs/API_docs_v55/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v55/constructors/replyInlineMarkup.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -32,10 +32,9 @@ $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v55/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v55/constructors/replyKeyboardForceReply.md index 56e255c1..3f7fae8c 100644 --- a/old_docs/API_docs_v55/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v55/constructors/replyKeyboardForceReply.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` @@ -33,10 +33,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool} ``` diff --git a/old_docs/API_docs_v55/constructors/replyKeyboardHide.md b/old_docs/API_docs_v55/constructors/replyKeyboardHide.md index 7251db49..30e9f399 100644 --- a/old_docs/API_docs_v55/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v55/constructors/replyKeyboardHide.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` @@ -32,10 +32,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide', selective=Bool} ``` diff --git a/old_docs/API_docs_v55/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v55/constructors/replyKeyboardMarkup.md index 87a55463..80f3f654 100644 --- a/old_docs/API_docs_v55/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v55/constructors/replyKeyboardMarkup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -35,10 +35,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v55/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v55/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v55/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v55/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v55/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v55/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v55/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v55/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v55/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v55/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v55/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v55/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v55/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v55/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/old_docs/API_docs_v55/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v55/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/old_docs/API_docs_v55/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v55/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/old_docs/API_docs_v55/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v55/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/old_docs/API_docs_v55/constructors/stickerPack.md b/old_docs/API_docs_v55/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v55/constructors/stickerPack.md +++ b/old_docs/API_docs_v55/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v55/constructors/stickerSet.md b/old_docs/API_docs_v55/constructors/stickerSet.md index fd979208..a829fea0 100644 --- a/old_docs/API_docs_v55/constructors/stickerSet.md +++ b/old_docs/API_docs_v55/constructors/stickerSet.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -40,10 +40,9 @@ $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'of ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', installed=Bool, archived=Bool, official=Bool, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/old_docs/API_docs_v55/constructors/stickerSetCovered.md b/old_docs/API_docs_v55/constructors/stickerSetCovered.md index cc1c806e..127b821f 100644 --- a/old_docs/API_docs_v55/constructors/stickerSetCovered.md +++ b/old_docs/API_docs_v55/constructors/stickerSetCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document]; ``` @@ -33,10 +33,9 @@ $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetCovered={_='stickerSetCovered', set=StickerSet, cover=Document} ``` diff --git a/old_docs/API_docs_v55/constructors/storage_fileGif.md b/old_docs/API_docs_v55/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v55/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v55/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v55/constructors/storage_fileJpeg.md b/old_docs/API_docs_v55/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v55/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v55/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v55/constructors/storage_fileMov.md b/old_docs/API_docs_v55/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v55/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v55/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v55/constructors/storage_fileMp3.md b/old_docs/API_docs_v55/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v55/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v55/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v55/constructors/storage_fileMp4.md b/old_docs/API_docs_v55/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v55/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v55/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v55/constructors/storage_filePartial.md b/old_docs/API_docs_v55/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v55/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v55/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v55/constructors/storage_filePdf.md b/old_docs/API_docs_v55/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v55/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v55/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v55/constructors/storage_filePng.md b/old_docs/API_docs_v55/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v55/constructors/storage_filePng.md +++ b/old_docs/API_docs_v55/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v55/constructors/storage_fileUnknown.md b/old_docs/API_docs_v55/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v55/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v55/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v55/constructors/storage_fileWebp.md b/old_docs/API_docs_v55/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v55/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v55/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v55/constructors/topPeer.md b/old_docs/API_docs_v55/constructors/topPeer.md index aa49751b..fff00b7d 100644 --- a/old_docs/API_docs_v55/constructors/topPeer.md +++ b/old_docs/API_docs_v55/constructors/topPeer.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` @@ -33,10 +33,9 @@ $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeer={_='topPeer', peer=Peer, rating=double} ``` diff --git a/old_docs/API_docs_v55/constructors/topPeerCategoryBotsInline.md b/old_docs/API_docs_v55/constructors/topPeerCategoryBotsInline.md index 1d57e310..3f7906e2 100644 --- a/old_docs/API_docs_v55/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v55/constructors/topPeerCategoryBotsInline.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsInline={_='topPeerCategoryBotsInline'} ``` diff --git a/old_docs/API_docs_v55/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v55/constructors/topPeerCategoryBotsPM.md index f6207626..78f54b44 100644 --- a/old_docs/API_docs_v55/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v55/constructors/topPeerCategoryBotsPM.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsPM={_='topPeerCategoryBotsPM'} ``` diff --git a/old_docs/API_docs_v55/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v55/constructors/topPeerCategoryChannels.md index 8f0e1fcb..02947d85 100644 --- a/old_docs/API_docs_v55/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v55/constructors/topPeerCategoryChannels.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryChannels={_='topPeerCategoryChannels'} ``` diff --git a/old_docs/API_docs_v55/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v55/constructors/topPeerCategoryCorrespondents.md index 9435610d..c0362f78 100644 --- a/old_docs/API_docs_v55/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v55/constructors/topPeerCategoryCorrespondents.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents'} ``` diff --git a/old_docs/API_docs_v55/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v55/constructors/topPeerCategoryGroups.md index 3b6859df..dddb951c 100644 --- a/old_docs/API_docs_v55/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v55/constructors/topPeerCategoryGroups.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryGroups={_='topPeerCategoryGroups'} ``` diff --git a/old_docs/API_docs_v55/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v55/constructors/topPeerCategoryPeers.md index 886ab6f9..36d071f6 100644 --- a/old_docs/API_docs_v55/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v55/constructors/topPeerCategoryPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer, TopPeer]]; ``` @@ -34,10 +34,9 @@ $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}} ``` diff --git a/old_docs/API_docs_v55/constructors/true.md b/old_docs/API_docs_v55/constructors/true.md index 2e27ecbf..4863f16b 100644 --- a/old_docs/API_docs_v55/constructors/true.md +++ b/old_docs/API_docs_v55/constructors/true.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $true = ['_' => 'true']; ``` @@ -27,10 +27,9 @@ $true = ['_' => 'true']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua true={_='true'} ``` diff --git a/old_docs/API_docs_v55/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v55/constructors/updateBotCallbackQuery.md index 0f9065c3..ad441db6 100644 --- a/old_docs/API_docs_v55/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v55/constructors/updateBotCallbackQuery.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'data' => 'bytes']; ``` @@ -36,10 +36,9 @@ $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, data='bytes'} ``` diff --git a/old_docs/API_docs_v55/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v55/constructors/updateBotInlineQuery.md index 1cc45358..ed15d35f 100644 --- a/old_docs/API_docs_v55/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v55/constructors/updateBotInlineQuery.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` @@ -36,10 +36,9 @@ $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query='string', geo=GeoPoint, offset='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/updateBotInlineSend.md b/old_docs/API_docs_v55/constructors/updateBotInlineSend.md index fe6c01d3..dda18420 100644 --- a/old_docs/API_docs_v55/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v55/constructors/updateBotInlineSend.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` @@ -36,10 +36,9 @@ $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineSend={_='updateBotInlineSend', user_id=int, query='string', geo=GeoPoint, id='string', msg_id=InputBotInlineMessageID} ``` diff --git a/old_docs/API_docs_v55/constructors/updateChannel.md b/old_docs/API_docs_v55/constructors/updateChannel.md index e615920a..fb876328 100644 --- a/old_docs/API_docs_v55/constructors/updateChannel.md +++ b/old_docs/API_docs_v55/constructors/updateChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannel={_='updateChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v55/constructors/updateChannelMessageViews.md index 19e0b648..d62f055a 100644 --- a/old_docs/API_docs_v55/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v55/constructors/updateChannelMessageViews.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` @@ -34,10 +34,9 @@ $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateChannelPinnedMessage.md b/old_docs/API_docs_v55/constructors/updateChannelPinnedMessage.md index c6e66353..0d767fb8 100644 --- a/old_docs/API_docs_v55/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v55/constructors/updateChannelPinnedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateChannelTooLong.md b/old_docs/API_docs_v55/constructors/updateChannelTooLong.md index e42904d0..179a43dd 100644 --- a/old_docs/API_docs_v55/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v55/constructors/updateChannelTooLong.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateChatAdmins.md b/old_docs/API_docs_v55/constructors/updateChatAdmins.md index 87ffd626..aac09762 100644 --- a/old_docs/API_docs_v55/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v55/constructors/updateChatAdmins.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v55/constructors/updateChatParticipantAdd.md index ea5157ad..fe76dc62 100644 --- a/old_docs/API_docs_v55/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v55/constructors/updateChatParticipantAdd.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` @@ -36,10 +36,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v55/constructors/updateChatParticipantAdmin.md index b1022850..d262b2e6 100644 --- a/old_docs/API_docs_v55/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v55/constructors/updateChatParticipantAdmin.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v55/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v55/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v55/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateChatParticipants.md b/old_docs/API_docs_v55/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v55/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v55/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v55/constructors/updateChatUserTyping.md b/old_docs/API_docs_v55/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v55/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v55/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v55/constructors/updateContactLink.md b/old_docs/API_docs_v55/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v55/constructors/updateContactLink.md +++ b/old_docs/API_docs_v55/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v55/constructors/updateContactRegistered.md b/old_docs/API_docs_v55/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v55/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v55/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateDcOptions.md b/old_docs/API_docs_v55/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v55/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v55/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v55/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v55/constructors/updateDeleteChannelMessages.md index 0f84f3f7..8fb10b65 100644 --- a/old_docs/API_docs_v55/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v55/constructors/updateDeleteChannelMessages.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateDeleteMessages.md b/old_docs/API_docs_v55/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v55/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v55/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateDraftMessage.md b/old_docs/API_docs_v55/constructors/updateDraftMessage.md index 7e759a4f..1bf7c2a4 100644 --- a/old_docs/API_docs_v55/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v55/constructors/updateDraftMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage]; ``` @@ -33,10 +33,9 @@ $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => D ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v55/constructors/updateEditChannelMessage.md b/old_docs/API_docs_v55/constructors/updateEditChannelMessage.md index 959c433a..485afae1 100644 --- a/old_docs/API_docs_v55/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v55/constructors/updateEditChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateEditMessage.md b/old_docs/API_docs_v55/constructors/updateEditMessage.md index f9f820e8..9f986f86 100644 --- a/old_docs/API_docs_v55/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v55/constructors/updateEditMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v55/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v55/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v55/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v55/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v55/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v55/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateEncryption.md b/old_docs/API_docs_v55/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v55/constructors/updateEncryption.md +++ b/old_docs/API_docs_v55/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateInlineBotCallbackQuery.md b/old_docs/API_docs_v55/constructors/updateInlineBotCallbackQuery.md index 54347e7d..dfe1ef69 100644 --- a/old_docs/API_docs_v55/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v55/constructors/updateInlineBotCallbackQuery.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'data' => 'bytes']; ``` @@ -35,10 +35,9 @@ $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, data='bytes'} ``` diff --git a/old_docs/API_docs_v55/constructors/updateMessageID.md b/old_docs/API_docs_v55/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v55/constructors/updateMessageID.md +++ b/old_docs/API_docs_v55/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateNewAuthorization.md b/old_docs/API_docs_v55/constructors/updateNewAuthorization.md index c7a95f80..ce1d0815 100644 --- a/old_docs/API_docs_v55/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v55/constructors/updateNewAuthorization.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` @@ -35,10 +35,9 @@ $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device='string', location='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v55/constructors/updateNewChannelMessage.md index 59dbc820..9fa1c7ec 100644 --- a/old_docs/API_docs_v55/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v55/constructors/updateNewChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Messa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v55/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v55/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v55/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateNewMessage.md b/old_docs/API_docs_v55/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v55/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v55/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateNewStickerSet.md b/old_docs/API_docs_v55/constructors/updateNewStickerSet.md index c36d4617..5ba327ea 100644 --- a/old_docs/API_docs_v55/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v55/constructors/updateNewStickerSet.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` @@ -32,10 +32,9 @@ $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_S ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} ``` diff --git a/old_docs/API_docs_v55/constructors/updateNotifySettings.md b/old_docs/API_docs_v55/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v55/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v55/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v55/constructors/updatePrivacy.md b/old_docs/API_docs_v55/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v55/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v55/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v55/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v55/constructors/updateReadChannelInbox.md index be964e20..c8c26acb 100644 --- a/old_docs/API_docs_v55/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v55/constructors/updateReadChannelInbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateReadChannelOutbox.md b/old_docs/API_docs_v55/constructors/updateReadChannelOutbox.md index c725d108..664108d1 100644 --- a/old_docs/API_docs_v55/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v55/constructors/updateReadChannelOutbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelOutbox={_='updateReadChannelOutbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateReadFeaturedStickers.md b/old_docs/API_docs_v55/constructors/updateReadFeaturedStickers.md index ea46d41f..af7fd3d7 100644 --- a/old_docs/API_docs_v55/constructors/updateReadFeaturedStickers.md +++ b/old_docs/API_docs_v55/constructors/updateReadFeaturedStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` @@ -27,10 +27,9 @@ $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadFeaturedStickers={_='updateReadFeaturedStickers'} ``` diff --git a/old_docs/API_docs_v55/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v55/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v55/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v55/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v55/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v55/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v55/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v55/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/old_docs/API_docs_v55/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v55/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateRecentStickers.md b/old_docs/API_docs_v55/constructors/updateRecentStickers.md index cb15d01f..6f9acb77 100644 --- a/old_docs/API_docs_v55/constructors/updateRecentStickers.md +++ b/old_docs/API_docs_v55/constructors/updateRecentStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` @@ -27,10 +27,9 @@ $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateRecentStickers={_='updateRecentStickers'} ``` diff --git a/old_docs/API_docs_v55/constructors/updateSavedGifs.md b/old_docs/API_docs_v55/constructors/updateSavedGifs.md index dd17f321..ea5619fc 100644 --- a/old_docs/API_docs_v55/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v55/constructors/updateSavedGifs.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` @@ -27,10 +27,9 @@ $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v55/constructors/updateServiceNotification.md b/old_docs/API_docs_v55/constructors/updateServiceNotification.md index 979fe7bd..ddcf7eb5 100644 --- a/old_docs/API_docs_v55/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v55/constructors/updateServiceNotification.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` @@ -35,10 +35,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'str ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', type='string', message='string', media=MessageMedia, popup=Bool} ``` diff --git a/old_docs/API_docs_v55/constructors/updateShort.md b/old_docs/API_docs_v55/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v55/constructors/updateShort.md +++ b/old_docs/API_docs_v55/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updateShortChatMessage.md b/old_docs/API_docs_v55/constructors/updateShortChatMessage.md index d62e0729..cbeb4739 100644 --- a/old_docs/API_docs_v55/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v55/constructors/updateShortChatMessage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -46,10 +46,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'ment ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v55/constructors/updateShortMessage.md b/old_docs/API_docs_v55/constructors/updateShortMessage.md index d4effcb8..a8348773 100644 --- a/old_docs/API_docs_v55/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v55/constructors/updateShortMessage.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -45,10 +45,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v55/constructors/updateShortSentMessage.md b/old_docs/API_docs_v55/constructors/updateShortSentMessage.md index fd7035c3..2a318e56 100644 --- a/old_docs/API_docs_v55/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v55/constructors/updateShortSentMessage.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -38,10 +38,9 @@ $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v55/constructors/updateStickerSets.md b/old_docs/API_docs_v55/constructors/updateStickerSets.md index 4f045d67..e4cc23a0 100644 --- a/old_docs/API_docs_v55/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v55/constructors/updateStickerSets.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSets = ['_' => 'updateStickerSets']; ``` @@ -27,10 +27,9 @@ $updateStickerSets = ['_' => 'updateStickerSets']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v55/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v55/constructors/updateStickerSetsOrder.md index ff94265f..d47c939f 100644 --- a/old_docs/API_docs_v55/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v55/constructors/updateStickerSetsOrder.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long, long]]; ``` @@ -32,10 +32,9 @@ $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long, lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSetsOrder={_='updateStickerSetsOrder', order={long}} ``` diff --git a/old_docs/API_docs_v55/constructors/updateUserBlocked.md b/old_docs/API_docs_v55/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v55/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v55/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v55/constructors/updateUserName.md b/old_docs/API_docs_v55/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v55/constructors/updateUserName.md +++ b/old_docs/API_docs_v55/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/updateUserPhone.md b/old_docs/API_docs_v55/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v55/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v55/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/updateUserPhoto.md b/old_docs/API_docs_v55/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v55/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v55/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v55/constructors/updateUserStatus.md b/old_docs/API_docs_v55/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v55/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v55/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v55/constructors/updateUserTyping.md b/old_docs/API_docs_v55/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v55/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v55/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v55/constructors/updateWebPage.md b/old_docs/API_docs_v55/constructors/updateWebPage.md index 9f468619..932d8ff2 100644 --- a/old_docs/API_docs_v55/constructors/updateWebPage.md +++ b/old_docs/API_docs_v55/constructors/updateWebPage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updates.md b/old_docs/API_docs_v55/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v55/constructors/updates.md +++ b/old_docs/API_docs_v55/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updatesCombined.md b/old_docs/API_docs_v55/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v55/constructors/updatesCombined.md +++ b/old_docs/API_docs_v55/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updatesTooLong.md b/old_docs/API_docs_v55/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v55/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v55/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v55/constructors/updates_channelDifference.md b/old_docs/API_docs_v55/constructors/updates_channelDifference.md index 21b618c2..df1dafd6 100644 --- a/old_docs/API_docs_v55/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v55/constructors/updates_channelDifference.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v55/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v55/constructors/updates_channelDifferenceEmpty.md index a2e49340..a5be0377 100644 --- a/old_docs/API_docs_v55/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v55/constructors/updates_channelDifferenceEmpty.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'fin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v55/constructors/updates_channelDifferenceTooLong.md index 0debd690..8f7e8b2f 100644 --- a/old_docs/API_docs_v55/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v55/constructors/updates_channelDifferenceTooLong.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -41,10 +41,9 @@ $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v55/constructors/updates_difference.md b/old_docs/API_docs_v55/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v55/constructors/updates_difference.md +++ b/old_docs/API_docs_v55/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v55/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v55/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v55/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v55/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v55/constructors/updates_differenceSlice.md b/old_docs/API_docs_v55/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v55/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v55/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v55/constructors/updates_state.md b/old_docs/API_docs_v55/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v55/constructors/updates_state.md +++ b/old_docs/API_docs_v55/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v55/constructors/upload_file.md b/old_docs/API_docs_v55/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v55/constructors/upload_file.md +++ b/old_docs/API_docs_v55/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v55/constructors/user.md b/old_docs/API_docs_v55/constructors/user.md index a7cdf2b3..f21f6324 100644 --- a/old_docs/API_docs_v55/constructors/user.md +++ b/old_docs/API_docs_v55/constructors/user.md @@ -42,7 +42,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => 'string', 'bot_inline_placeholder' => 'string']; ``` @@ -53,10 +53,9 @@ $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, min=Bool, bot_inline_geo=Bool, id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason='string', bot_inline_placeholder='string'} ``` diff --git a/old_docs/API_docs_v55/constructors/userEmpty.md b/old_docs/API_docs_v55/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v55/constructors/userEmpty.md +++ b/old_docs/API_docs_v55/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v55/constructors/userFull.md b/old_docs/API_docs_v55/constructors/userFull.md index 8feba00d..5d694997 100644 --- a/old_docs/API_docs_v55/constructors/userFull.md +++ b/old_docs/API_docs_v55/constructors/userFull.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo]; ``` @@ -38,10 +38,9 @@ $userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', blocked=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v55/constructors/userProfilePhoto.md b/old_docs/API_docs_v55/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v55/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v55/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v55/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v55/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v55/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v55/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/userStatusEmpty.md b/old_docs/API_docs_v55/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v55/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v55/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v55/constructors/userStatusLastMonth.md b/old_docs/API_docs_v55/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v55/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v55/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v55/constructors/userStatusLastWeek.md b/old_docs/API_docs_v55/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v55/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v55/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v55/constructors/userStatusOffline.md b/old_docs/API_docs_v55/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v55/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v55/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v55/constructors/userStatusOnline.md b/old_docs/API_docs_v55/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v55/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v55/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v55/constructors/userStatusRecently.md b/old_docs/API_docs_v55/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v55/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v55/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v55/constructors/vector.md b/old_docs/API_docs_v55/constructors/vector.md index c9e27763..d8ea6f1f 100644 --- a/old_docs/API_docs_v55/constructors/vector.md +++ b/old_docs/API_docs_v55/constructors/vector.md @@ -18,7 +18,7 @@ Array ### Example: -``` +```php $vector = ['_' => 'vector']; ``` @@ -29,10 +29,9 @@ $vector = ['_' => 'vector']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua vector={_='vector'} ``` diff --git a/old_docs/API_docs_v55/constructors/wallPaper.md b/old_docs/API_docs_v55/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v55/constructors/wallPaper.md +++ b/old_docs/API_docs_v55/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v55/constructors/wallPaperSolid.md b/old_docs/API_docs_v55/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v55/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v55/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v55/constructors/webPage.md b/old_docs/API_docs_v55/constructors/webPage.md index 1023918f..fe5271f3 100644 --- a/old_docs/API_docs_v55/constructors/webPage.md +++ b/old_docs/API_docs_v55/constructors/webPage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document]; ``` @@ -46,10 +46,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document} ``` diff --git a/old_docs/API_docs_v55/constructors/webPageEmpty.md b/old_docs/API_docs_v55/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v55/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v55/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v55/constructors/webPagePending.md b/old_docs/API_docs_v55/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v55/constructors/webPagePending.md +++ b/old_docs/API_docs_v55/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v55/methods/account_changePhone.md b/old_docs/API_docs_v55/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v55/methods/account_changePhone.md +++ b/old_docs/API_docs_v55/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/account_checkUsername.md b/old_docs/API_docs_v55/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v55/methods/account_checkUsername.md +++ b/old_docs/API_docs_v55/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/account_confirmPhone.md b/old_docs/API_docs_v55/methods/account_confirmPhone.md index a42b69b7..214f54e3 100644 --- a/old_docs/API_docs_v55/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v55/methods/account_confirmPhone.md @@ -25,7 +25,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.confirmPhone({phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/account_deleteAccount.md b/old_docs/API_docs_v55/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v55/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v55/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/account_getAccountTTL.md b/old_docs/API_docs_v55/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v55/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v55/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v55/methods/account_getAuthorizations.md b/old_docs/API_docs_v55/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v55/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v55/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v55/methods/account_getNotifySettings.md b/old_docs/API_docs_v55/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v55/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v55/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v55/methods/account_getPassword.md b/old_docs/API_docs_v55/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v55/methods/account_getPassword.md +++ b/old_docs/API_docs_v55/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v55/methods/account_getPasswordSettings.md b/old_docs/API_docs_v55/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v55/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v55/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v55/methods/account_getPrivacy.md b/old_docs/API_docs_v55/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v55/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v55/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v55/methods/account_getWallPapers.md b/old_docs/API_docs_v55/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v55/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v55/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v55/methods/account_registerDevice.md b/old_docs/API_docs_v55/methods/account_registerDevice.md index 25549dab..ed1fced0 100644 --- a/old_docs/API_docs_v55/methods/account_registerDevice.md +++ b/old_docs/API_docs_v55/methods/account_registerDevice.md @@ -25,7 +25,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/account_reportPeer.md b/old_docs/API_docs_v55/methods/account_reportPeer.md index d8c49851..673b48bf 100644 --- a/old_docs/API_docs_v55/methods/account_reportPeer.md +++ b/old_docs/API_docs_v55/methods/account_reportPeer.md @@ -25,7 +25,7 @@ Report for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reason - Json encoded ReportReason Or, if you're into Lua: -``` +```lua Bool = account.reportPeer({peer=InputPeer, reason=ReportReason, }) ``` diff --git a/old_docs/API_docs_v55/methods/account_resetAuthorization.md b/old_docs/API_docs_v55/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v55/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v55/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v55/methods/account_resetNotifySettings.md b/old_docs/API_docs_v55/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v55/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v55/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md index 33a001b9..123a5880 100644 --- a/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md @@ -26,7 +26,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md index a70ad5a3..5c2612c2 100644 --- a/old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md @@ -26,7 +26,7 @@ Send confirmation phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v55/methods/account_setAccountTTL.md b/old_docs/API_docs_v55/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v55/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v55/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v55/methods/account_setPrivacy.md b/old_docs/API_docs_v55/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v55/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v55/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v55/methods/account_unregisterDevice.md b/old_docs/API_docs_v55/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v55/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v55/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v55/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v55/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v55/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/account_updateNotifySettings.md b/old_docs/API_docs_v55/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v55/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v55/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v55/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v55/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v55/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v55/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v55/methods/account_updateProfile.md b/old_docs/API_docs_v55/methods/account_updateProfile.md index f415381f..f54515e5 100644 --- a/old_docs/API_docs_v55/methods/account_updateProfile.md +++ b/old_docs/API_docs_v55/methods/account_updateProfile.md @@ -26,7 +26,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', about='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/account_updateStatus.md b/old_docs/API_docs_v55/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v55/methods/account_updateStatus.md +++ b/old_docs/API_docs_v55/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v55/methods/account_updateUsername.md b/old_docs/API_docs_v55/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v55/methods/account_updateUsername.md +++ b/old_docs/API_docs_v55/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/auth_cancelCode.md b/old_docs/API_docs_v55/methods/auth_cancelCode.md index 0b53954c..352c88e9 100644 --- a/old_docs/API_docs_v55/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v55/methods/auth_cancelCode.md @@ -25,7 +25,7 @@ Invalidate sent phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/auth_checkPhone.md b/old_docs/API_docs_v55/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v55/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v55/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/auth_recoverPassword.md b/old_docs/API_docs_v55/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v55/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v55/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v55/methods/auth_resendCode.md b/old_docs/API_docs_v55/methods/auth_resendCode.md index 28350d37..4ce58975 100644 --- a/old_docs/API_docs_v55/methods/auth_resendCode.md +++ b/old_docs/API_docs_v55/methods/auth_resendCode.md @@ -25,7 +25,7 @@ Resend the SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v55/methods/auth_sendInvites.md b/old_docs/API_docs_v55/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v55/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v55/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_checkUsername.md b/old_docs/API_docs_v55/methods/channels_checkUsername.md index d287b3ca..573bf8f0 100644 --- a/old_docs/API_docs_v55/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v55/methods/channels_checkUsername.md @@ -25,7 +25,7 @@ Check if this username is free and can be assigned to a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.checkUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_createChannel.md b/old_docs/API_docs_v55/methods/channels_createChannel.md index 356f473a..1821c864 100644 --- a/old_docs/API_docs_v55/methods/channels_createChannel.md +++ b/old_docs/API_docs_v55/methods/channels_createChannel.md @@ -27,7 +27,7 @@ Create channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title='string', about='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_deleteChannel.md b/old_docs/API_docs_v55/methods/channels_deleteChannel.md index b55d91b8..a79ccb9f 100644 --- a/old_docs/API_docs_v55/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v55/methods/channels_deleteChannel.md @@ -24,7 +24,7 @@ Delete a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.deleteChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_deleteMessages.md b/old_docs/API_docs_v55/methods/channels_deleteMessages.md index 03625c94..8cd7ebb3 100644 --- a/old_docs/API_docs_v55/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v55/methods/channels_deleteMessages.md @@ -25,7 +25,7 @@ Delete channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v55/methods/channels_deleteUserHistory.md index 204a8786..78baa90f 100644 --- a/old_docs/API_docs_v55/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v55/methods/channels_deleteUserHistory.md @@ -25,7 +25,7 @@ Delete all messages of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_editAbout.md b/old_docs/API_docs_v55/methods/channels_editAbout.md index fd861133..549d7ea5 100644 --- a/old_docs/API_docs_v55/methods/channels_editAbout.md +++ b/old_docs/API_docs_v55/methods/channels_editAbout.md @@ -25,7 +25,7 @@ Edit the about text of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.editAbout({channel=InputChannel, about='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_editAdmin.md b/old_docs/API_docs_v55/methods/channels_editAdmin.md index bc0793fe..b41561e0 100644 --- a/old_docs/API_docs_v55/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v55/methods/channels_editAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ role - Json encoded ChannelParticipantRole Or, if you're into Lua: -``` +```lua Updates = channels.editAdmin({channel=InputChannel, user_id=InputUser, role=ChannelParticipantRole, }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_editPhoto.md b/old_docs/API_docs_v55/methods/channels_editPhoto.md index ccbaed65..7013c6e2 100644 --- a/old_docs/API_docs_v55/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v55/methods/channels_editPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = channels.editPhoto({channel=InputChannel, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_editTitle.md b/old_docs/API_docs_v55/methods/channels_editTitle.md index ffd868ba..a9c8c50f 100644 --- a/old_docs/API_docs_v55/methods/channels_editTitle.md +++ b/old_docs/API_docs_v55/methods/channels_editTitle.md @@ -25,7 +25,7 @@ Edit the title of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.editTitle({channel=InputChannel, title='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_exportInvite.md b/old_docs/API_docs_v55/methods/channels_exportInvite.md index 0b4b5c31..5a92097a 100644 --- a/old_docs/API_docs_v55/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v55/methods/channels_exportInvite.md @@ -24,7 +24,7 @@ Export the invite link of a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua ExportedChatInvite = channels.exportInvite({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_exportMessageLink.md b/old_docs/API_docs_v55/methods/channels_exportMessageLink.md index f42068f4..a2e2cc10 100644 --- a/old_docs/API_docs_v55/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v55/methods/channels_exportMessageLink.md @@ -25,7 +25,7 @@ Get the link of a message in a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua ExportedMessageLink = channels.exportMessageLink({channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_getChannels.md b/old_docs/API_docs_v55/methods/channels_getChannels.md index 71edac7b..a146be1e 100644 --- a/old_docs/API_docs_v55/methods/channels_getChannels.md +++ b/old_docs/API_docs_v55/methods/channels_getChannels.md @@ -24,7 +24,7 @@ Get info about multiple channels/supergroups ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputChannel Or, if you're into Lua: -``` +```lua messages_Chats = channels.getChannels({id={InputChannel}, }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_getMessages.md b/old_docs/API_docs_v55/methods/channels_getMessages.md index 217757eb..208cbcc4 100644 --- a/old_docs/API_docs_v55/methods/channels_getMessages.md +++ b/old_docs/API_docs_v55/methods/channels_getMessages.md @@ -25,7 +25,7 @@ Get channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_getParticipant.md b/old_docs/API_docs_v55/methods/channels_getParticipant.md index a641d213..9cf80799 100644 --- a/old_docs/API_docs_v55/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v55/methods/channels_getParticipant.md @@ -25,7 +25,7 @@ Get info about a certain channel/supergroup participant ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_getParticipants.md b/old_docs/API_docs_v55/methods/channels_getParticipants.md index c2f0cdcd..3d4dfa13 100644 --- a/old_docs/API_docs_v55/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v55/methods/channels_getParticipants.md @@ -27,7 +27,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_inviteToChannel.md b/old_docs/API_docs_v55/methods/channels_inviteToChannel.md index 0a350cc8..998e3895 100644 --- a/old_docs/API_docs_v55/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v55/methods/channels_inviteToChannel.md @@ -25,7 +25,7 @@ Add users to channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ users - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Updates = channels.inviteToChannel({channel=InputChannel, users={InputUser}, }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_joinChannel.md b/old_docs/API_docs_v55/methods/channels_joinChannel.md index aae2bc1c..3c6a3b94 100644 --- a/old_docs/API_docs_v55/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v55/methods/channels_joinChannel.md @@ -24,7 +24,7 @@ Join a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.joinChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_kickFromChannel.md b/old_docs/API_docs_v55/methods/channels_kickFromChannel.md index c51cea7c..7586bdf6 100644 --- a/old_docs/API_docs_v55/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v55/methods/channels_kickFromChannel.md @@ -26,7 +26,7 @@ Kick user from channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ kicked - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.kickFromChannel({channel=InputChannel, user_id=InputUser, kicked=Bool, }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_leaveChannel.md b/old_docs/API_docs_v55/methods/channels_leaveChannel.md index 4e6701fe..0934089f 100644 --- a/old_docs/API_docs_v55/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v55/methods/channels_leaveChannel.md @@ -24,7 +24,7 @@ Leave a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.leaveChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_readHistory.md b/old_docs/API_docs_v55/methods/channels_readHistory.md index d76919ff..cf5c1529 100644 --- a/old_docs/API_docs_v55/methods/channels_readHistory.md +++ b/old_docs/API_docs_v55/methods/channels_readHistory.md @@ -25,7 +25,7 @@ Mark channel/supergroup history as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.readHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_reportSpam.md b/old_docs/API_docs_v55/methods/channels_reportSpam.md index 48022662..b0e99eb1 100644 --- a/old_docs/API_docs_v55/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v55/methods/channels_reportSpam.md @@ -26,7 +26,7 @@ Report a message in a supergroup/channel for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.reportSpam({channel=InputChannel, user_id=InputUser, id={int}, }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_toggleInvites.md b/old_docs/API_docs_v55/methods/channels_toggleInvites.md index d0023b70..bed6ba15 100644 --- a/old_docs/API_docs_v55/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v55/methods/channels_toggleInvites.md @@ -25,7 +25,7 @@ Allow or disallow any user to invite users to this channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleInvites({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_toggleSignatures.md b/old_docs/API_docs_v55/methods/channels_toggleSignatures.md index 337e8627..c9fe18cc 100644 --- a/old_docs/API_docs_v55/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v55/methods/channels_toggleSignatures.md @@ -25,7 +25,7 @@ Toggle channel signatures ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleSignatures({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md index c79c5904..9d2cc058 100644 --- a/old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md @@ -26,7 +26,7 @@ Set the pinned message of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = channels.updatePinnedMessage({silent=Bool, channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/channels_updateUsername.md b/old_docs/API_docs_v55/methods/channels_updateUsername.md index 2e07e123..c0df8c7c 100644 --- a/old_docs/API_docs_v55/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v55/methods/channels_updateUsername.md @@ -25,7 +25,7 @@ Update the username of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.updateUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/contacts_block.md b/old_docs/API_docs_v55/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v55/methods/contacts_block.md +++ b/old_docs/API_docs_v55/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v55/methods/contacts_deleteContact.md b/old_docs/API_docs_v55/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v55/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v55/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v55/methods/contacts_deleteContacts.md b/old_docs/API_docs_v55/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v55/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v55/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v55/methods/contacts_exportCard.md b/old_docs/API_docs_v55/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v55/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v55/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v55/methods/contacts_getBlocked.md b/old_docs/API_docs_v55/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v55/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v55/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/contacts_getContacts.md b/old_docs/API_docs_v55/methods/contacts_getContacts.md index ccf0f99d..dfa407f2 100644 --- a/old_docs/API_docs_v55/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v55/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/contacts_getStatuses.md b/old_docs/API_docs_v55/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v55/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v55/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v55/methods/contacts_getTopPeers.md b/old_docs/API_docs_v55/methods/contacts_getTopPeers.md index 1d3f7b21..f92611a2 100644 --- a/old_docs/API_docs_v55/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v55/methods/contacts_getTopPeers.md @@ -31,7 +31,7 @@ Get most used chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v55/methods/contacts_importCard.md b/old_docs/API_docs_v55/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v55/methods/contacts_importCard.md +++ b/old_docs/API_docs_v55/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v55/methods/contacts_importContacts.md b/old_docs/API_docs_v55/methods/contacts_importContacts.md index d0404dd2..f1b17e2c 100644 --- a/old_docs/API_docs_v55/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v55/methods/contacts_importContacts.md @@ -25,7 +25,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ replace - Json encoded Bool Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md index 96ae48ac..94a07f54 100644 --- a/old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md @@ -25,7 +25,7 @@ Reset top peer rating for a certain category/peer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = contacts.resetTopPeerRating({category=TopPeerCategory, peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v55/methods/contacts_search.md b/old_docs/API_docs_v55/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v55/methods/contacts_search.md +++ b/old_docs/API_docs_v55/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/contacts_unblock.md b/old_docs/API_docs_v55/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v55/methods/contacts_unblock.md +++ b/old_docs/API_docs_v55/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v55/methods/help_getAppChangelog.md b/old_docs/API_docs_v55/methods/help_getAppChangelog.md index 3bdd09e2..ce717f03 100644 --- a/old_docs/API_docs_v55/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v55/methods/help_getAppChangelog.md @@ -19,7 +19,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_AppChangelog = help.getAppChangelog({}) ``` diff --git a/old_docs/API_docs_v55/methods/help_getAppUpdate.md b/old_docs/API_docs_v55/methods/help_getAppUpdate.md index 4ddc0e4d..541b5972 100644 --- a/old_docs/API_docs_v55/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v55/methods/help_getAppUpdate.md @@ -19,7 +19,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v55/methods/help_getConfig.md b/old_docs/API_docs_v55/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v55/methods/help_getConfig.md +++ b/old_docs/API_docs_v55/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v55/methods/help_getInviteText.md b/old_docs/API_docs_v55/methods/help_getInviteText.md index 1510e64f..f05ac4ac 100644 --- a/old_docs/API_docs_v55/methods/help_getInviteText.md +++ b/old_docs/API_docs_v55/methods/help_getInviteText.md @@ -19,7 +19,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v55/methods/help_getNearestDc.md b/old_docs/API_docs_v55/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v55/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v55/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v55/methods/help_getSupport.md b/old_docs/API_docs_v55/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v55/methods/help_getSupport.md +++ b/old_docs/API_docs_v55/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v55/methods/help_getTermsOfService.md b/old_docs/API_docs_v55/methods/help_getTermsOfService.md index bf421bf6..95d51e60 100644 --- a/old_docs/API_docs_v55/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v55/methods/help_getTermsOfService.md @@ -19,7 +19,7 @@ Get terms of service ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v55/methods/help_saveAppLog.md b/old_docs/API_docs_v55/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v55/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v55/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v55/methods/initConnection.md b/old_docs/API_docs_v55/methods/initConnection.md index 58cdb067..e34794f8 100644 --- a/old_docs/API_docs_v55/methods/initConnection.md +++ b/old_docs/API_docs_v55/methods/initConnection.md @@ -29,7 +29,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v55/methods/invokeAfterMsg.md b/old_docs/API_docs_v55/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v55/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v55/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v55/methods/invokeAfterMsgs.md b/old_docs/API_docs_v55/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v55/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v55/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v55/methods/invokeWithLayer.md b/old_docs/API_docs_v55/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v55/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v55/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v55/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v55/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/old_docs/API_docs_v55/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v55/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_addChatUser.md b/old_docs/API_docs_v55/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v55/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v55/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_checkChatInvite.md b/old_docs/API_docs_v55/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/old_docs/API_docs_v55/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v55/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v55/methods/messages_clearRecentStickers.md index edcffe3e..d313c367 100644 --- a/old_docs/API_docs_v55/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v55/methods/messages_clearRecentStickers.md @@ -19,7 +19,7 @@ Clear all recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = messages.clearRecentStickers({}) ``` diff --git a/old_docs/API_docs_v55/methods/messages_createChat.md b/old_docs/API_docs_v55/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v55/methods/messages_createChat.md +++ b/old_docs/API_docs_v55/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_deleteChatUser.md b/old_docs/API_docs_v55/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v55/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v55/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_deleteHistory.md b/old_docs/API_docs_v55/methods/messages_deleteHistory.md index 866ba216..33d1ca52 100644 --- a/old_docs/API_docs_v55/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v55/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_deleteMessages.md b/old_docs/API_docs_v55/methods/messages_deleteMessages.md index 2aa9d7d1..24152bec 100644 --- a/old_docs/API_docs_v55/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v55/methods/messages_deleteMessages.md @@ -24,7 +24,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_editChatAdmin.md b/old_docs/API_docs_v55/methods/messages_editChatAdmin.md index a2dad97f..f883b50e 100644 --- a/old_docs/API_docs_v55/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v55/methods/messages_editChatAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ is_admin - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.editChatAdmin({chat_id=InputPeer, user_id=InputUser, is_admin=Bool, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_editChatPhoto.md b/old_docs/API_docs_v55/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v55/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v55/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_editChatTitle.md b/old_docs/API_docs_v55/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v55/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v55/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md index c669c8d7..6c04ab6f 100644 --- a/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md @@ -29,7 +29,7 @@ Edit a sent inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -66,7 +66,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.editInlineBotMessage({no_webpage=Bool, id=InputBotInlineMessageID, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_editMessage.md b/old_docs/API_docs_v55/methods/messages_editMessage.md index 7af0cfd9..db5cc876 100644 --- a/old_docs/API_docs_v55/methods/messages_editMessage.md +++ b/old_docs/API_docs_v55/methods/messages_editMessage.md @@ -30,7 +30,7 @@ Edit a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -67,7 +67,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.editMessage({no_webpage=Bool, peer=InputPeer, id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_exportChatInvite.md b/old_docs/API_docs_v55/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/old_docs/API_docs_v55/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v55/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_forwardMessage.md b/old_docs/API_docs_v55/methods/messages_forwardMessage.md index 586670b8..d9c0453f 100644 --- a/old_docs/API_docs_v55/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v55/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_forwardMessages.md b/old_docs/API_docs_v55/methods/messages_forwardMessages.md index e2487c6c..8d9746ff 100644 --- a/old_docs/API_docs_v55/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v55/methods/messages_forwardMessages.md @@ -28,7 +28,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ to_peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({silent=Bool, background=Bool, from_peer=InputPeer, id={int}, to_peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_getAllDrafts.md b/old_docs/API_docs_v55/methods/messages_getAllDrafts.md index 31aa8176..7300e01a 100644 --- a/old_docs/API_docs_v55/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v55/methods/messages_getAllDrafts.md @@ -19,7 +19,7 @@ Get all message drafts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Updates = messages.getAllDrafts({}) ``` diff --git a/old_docs/API_docs_v55/methods/messages_getAllStickers.md b/old_docs/API_docs_v55/methods/messages_getAllStickers.md index 966af122..c25a823b 100644 --- a/old_docs/API_docs_v55/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v55/methods/messages_getArchivedStickers.md index f602ec0f..5c9a0a3e 100644 --- a/old_docs/API_docs_v55/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getArchivedStickers.md @@ -25,7 +25,7 @@ Get all archived stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_ArchivedStickers = messages.getArchivedStickers({offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md index 4f9c8c05..13f68775 100644 --- a/old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md @@ -26,7 +26,7 @@ Get the callback answer of a bot (after clicking a button) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ data - Json encoded bytes Or, if you're into Lua: -``` +```lua messages_BotCallbackAnswer = messages.getBotCallbackAnswer({peer=InputPeer, msg_id=int, data='bytes', }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_getChats.md b/old_docs/API_docs_v55/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v55/methods/messages_getChats.md +++ b/old_docs/API_docs_v55/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_getDialogs.md b/old_docs/API_docs_v55/methods/messages_getDialogs.md index 557cb7d9..2919a482 100644 --- a/old_docs/API_docs_v55/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v55/methods/messages_getDialogs.md @@ -27,7 +27,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v55/methods/messages_getDocumentByHash.md index 5b6f6f21..00f0a558 100644 --- a/old_docs/API_docs_v55/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v55/methods/messages_getDocumentByHash.md @@ -26,7 +26,7 @@ Get document by SHA256 hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ mime_type - Json encoded string Or, if you're into Lua: -``` +```lua Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md index a837377b..c257621e 100644 --- a/old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md @@ -24,7 +24,7 @@ Get featured stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_getHistory.md b/old_docs/API_docs_v55/methods/messages_getHistory.md index 76d20b70..23f2d6e9 100644 --- a/old_docs/API_docs_v55/methods/messages_getHistory.md +++ b/old_docs/API_docs_v55/methods/messages_getHistory.md @@ -30,7 +30,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v55/methods/messages_getInlineBotResults.md index 03b5d845..73f2deb2 100644 --- a/old_docs/API_docs_v55/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v55/methods/messages_getInlineBotResults.md @@ -28,7 +28,7 @@ Call inline bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ offset - Json encoded string Or, if you're into Lua: -``` +```lua messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_getMessageEditData.md b/old_docs/API_docs_v55/methods/messages_getMessageEditData.md index 2c44a1dc..77e2c030 100644 --- a/old_docs/API_docs_v55/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v55/methods/messages_getMessageEditData.md @@ -25,7 +25,7 @@ Check if about to edit a message or a media caption ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_getMessages.md b/old_docs/API_docs_v55/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v55/methods/messages_getMessages.md +++ b/old_docs/API_docs_v55/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_getMessagesViews.md b/old_docs/API_docs_v55/methods/messages_getMessagesViews.md index 57a99054..b2b6110e 100644 --- a/old_docs/API_docs_v55/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v55/methods/messages_getMessagesViews.md @@ -26,7 +26,7 @@ Get and increase message views ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ increment - Json encoded Bool Or, if you're into Lua: -``` +```lua Vector_of_int = messages.getMessagesViews({peer=InputPeer, id={int}, increment=Bool, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v55/methods/messages_getPeerDialogs.md index ca746b3b..a34873df 100644 --- a/old_docs/API_docs_v55/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v55/methods/messages_getPeerDialogs.md @@ -24,7 +24,7 @@ Get dialog info of peers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peers - Json encoded array of InputPeer Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_getPeerSettings.md b/old_docs/API_docs_v55/methods/messages_getPeerSettings.md index 92d4697a..e2b3ec4f 100644 --- a/old_docs/API_docs_v55/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v55/methods/messages_getPeerSettings.md @@ -24,7 +24,7 @@ Get the settings of apeer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua PeerSettings = messages.getPeerSettings({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_getRecentStickers.md b/old_docs/API_docs_v55/methods/messages_getRecentStickers.md index d0e93c59..8476cc5d 100644 --- a/old_docs/API_docs_v55/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getRecentStickers.md @@ -24,7 +24,7 @@ Get recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_RecentStickers = messages.getRecentStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_getSavedGifs.md b/old_docs/API_docs_v55/methods/messages_getSavedGifs.md index cafba4e1..1a879907 100644 --- a/old_docs/API_docs_v55/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v55/methods/messages_getSavedGifs.md @@ -24,7 +24,7 @@ Get saved gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_getStickerSet.md b/old_docs/API_docs_v55/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/old_docs/API_docs_v55/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v55/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_getStickers.md b/old_docs/API_docs_v55/methods/messages_getStickers.md index b1d3bd83..f4ca9972 100644 --- a/old_docs/API_docs_v55/methods/messages_getStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getStickers.md @@ -25,7 +25,7 @@ Get stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_getUnusedStickers.md b/old_docs/API_docs_v55/methods/messages_getUnusedStickers.md index 19b28b88..4902f59e 100644 --- a/old_docs/API_docs_v55/methods/messages_getUnusedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getUnusedStickers.md @@ -24,7 +24,7 @@ Get unused stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_StickerSetCovered = messages.getUnusedStickers({limit=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v55/methods/messages_getWebPagePreview.md index 8475c8f5..4838be94 100644 --- a/old_docs/API_docs_v55/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v55/methods/messages_getWebPagePreview.md @@ -24,7 +24,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_hideReportSpam.md b/old_docs/API_docs_v55/methods/messages_hideReportSpam.md index 17a7f8ef..1c0d72c5 100644 --- a/old_docs/API_docs_v55/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v55/methods/messages_hideReportSpam.md @@ -24,7 +24,7 @@ Hide report spam popup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.hideReportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_importChatInvite.md b/old_docs/API_docs_v55/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/old_docs/API_docs_v55/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v55/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_installStickerSet.md b/old_docs/API_docs_v55/methods/messages_installStickerSet.md index 88131136..6bdb9390 100644 --- a/old_docs/API_docs_v55/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v55/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ archived - Json encoded Bool Or, if you're into Lua: -``` +```lua messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_migrateChat.md b/old_docs/API_docs_v55/methods/messages_migrateChat.md index df91f510..e789ff7d 100644 --- a/old_docs/API_docs_v55/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v55/methods/messages_migrateChat.md @@ -24,7 +24,7 @@ Convert chat to supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.migrateChat({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md index ade92ba8..b910a004 100644 --- a/old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md @@ -19,7 +19,7 @@ Mark new featured stickers as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = messages.readFeaturedStickers({}) ``` diff --git a/old_docs/API_docs_v55/methods/messages_readHistory.md b/old_docs/API_docs_v55/methods/messages_readHistory.md index 48d7fb45..4a2188d8 100644 --- a/old_docs/API_docs_v55/methods/messages_readHistory.md +++ b/old_docs/API_docs_v55/methods/messages_readHistory.md @@ -25,7 +25,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_readMessageContents.md b/old_docs/API_docs_v55/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v55/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v55/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_receivedMessages.md b/old_docs/API_docs_v55/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/old_docs/API_docs_v55/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v55/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md index 8fb0d3da..372d870e 100644 --- a/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md @@ -24,7 +24,7 @@ Reorder sticker sets ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ order - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.reorderStickerSets({order={long}, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_reportSpam.md b/old_docs/API_docs_v55/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/old_docs/API_docs_v55/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v55/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_saveDraft.md b/old_docs/API_docs_v55/methods/messages_saveDraft.md index ede72c41..14e69f93 100644 --- a/old_docs/API_docs_v55/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v55/methods/messages_saveDraft.md @@ -29,7 +29,7 @@ Save a message draft ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -57,7 +57,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.saveDraft({no_webpage=Bool, reply_to_msg_id=int, peer=InputPeer, message='string', entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_saveGif.md b/old_docs/API_docs_v55/methods/messages_saveGif.md index adae6d86..dfa956ab 100644 --- a/old_docs/API_docs_v55/methods/messages_saveGif.md +++ b/old_docs/API_docs_v55/methods/messages_saveGif.md @@ -25,7 +25,7 @@ Save a GIF ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveGif({id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v55/methods/messages_saveRecentSticker.md index a071571e..ebcf49b8 100644 --- a/old_docs/API_docs_v55/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v55/methods/messages_saveRecentSticker.md @@ -25,7 +25,7 @@ Add a sticker to recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveRecentSticker({id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_search.md b/old_docs/API_docs_v55/methods/messages_search.md index 4c373c29..b4549f38 100644 --- a/old_docs/API_docs_v55/methods/messages_search.md +++ b/old_docs/API_docs_v55/methods/messages_search.md @@ -31,7 +31,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_searchGifs.md b/old_docs/API_docs_v55/methods/messages_searchGifs.md index 1ef77d23..a12cdd21 100644 --- a/old_docs/API_docs_v55/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v55/methods/messages_searchGifs.md @@ -25,7 +25,7 @@ Search gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_searchGlobal.md b/old_docs/API_docs_v55/methods/messages_searchGlobal.md index 4d05bf0d..1fb73592 100644 --- a/old_docs/API_docs_v55/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v55/methods/messages_searchGlobal.md @@ -28,7 +28,7 @@ Global message search ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_sendBroadcast.md b/old_docs/API_docs_v55/methods/messages_sendBroadcast.md index 11f43d4c..5813ba9c 100644 --- a/old_docs/API_docs_v55/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v55/methods/messages_sendBroadcast.md @@ -26,7 +26,7 @@ Send a message to all users in the chat list ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua Updates = messages.sendBroadcast({contacts={InputUser}, message='string', media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_sendEncrypted.md b/old_docs/API_docs_v55/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v55/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v55/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v55/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v55/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v55/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md index 8de674c6..37fae63a 100644 --- a/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md @@ -30,7 +30,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ id - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.sendInlineBotResult({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_sendMedia.md b/old_docs/API_docs_v55/methods/messages_sendMedia.md index 2290e52e..7c4e0dcf 100644 --- a/old_docs/API_docs_v55/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v55/methods/messages_sendMedia.md @@ -30,7 +30,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, media=InputMedia, reply_markup=ReplyMarkup, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_sendMessage.md b/old_docs/API_docs_v55/methods/messages_sendMessage.md index 77790562..9cdc74eb 100644 --- a/old_docs/API_docs_v55/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v55/methods/messages_sendMessage.md @@ -33,7 +33,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMessage({no_webpage=Bool, silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md index e75a6d4c..9968cbe4 100644 --- a/old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md @@ -27,7 +27,7 @@ Bots only: set the callback answer (after a button was clicked) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ url - Json encoded string Or, if you're into Lua: -``` +```lua Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message='string', url='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v55/methods/messages_setInlineBotResults.md index 443a028e..e1ebe4e3 100644 --- a/old_docs/API_docs_v55/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v55/methods/messages_setInlineBotResults.md @@ -30,7 +30,7 @@ Bots only: set the results of an inline query ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: -``` +```lua Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset='string', switch_pm=InlineBotSwitchPM, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_setTyping.md b/old_docs/API_docs_v55/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v55/methods/messages_setTyping.md +++ b/old_docs/API_docs_v55/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_startBot.md b/old_docs/API_docs_v55/methods/messages_startBot.md index 506957a7..71f82822 100644 --- a/old_docs/API_docs_v55/methods/messages_startBot.md +++ b/old_docs/API_docs_v55/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md index 0f1e56fa..56438277 100644 --- a/old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md @@ -25,7 +25,7 @@ Enable all users are admins in normal groups (not supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = messages.toggleChatAdmins({chat_id=InputPeer, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v55/methods/photos_deletePhotos.md b/old_docs/API_docs_v55/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v55/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v55/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v55/methods/photos_getUserPhotos.md b/old_docs/API_docs_v55/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/old_docs/API_docs_v55/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v55/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md index 706f0a01..7341e4e7 100644 --- a/old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md @@ -25,7 +25,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md index 99064210..1debfc82 100644 --- a/old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md @@ -27,7 +27,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ crop - Json encoded InputPhotoCrop Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` diff --git a/old_docs/API_docs_v55/methods/users_getUsers.md b/old_docs/API_docs_v55/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v55/methods/users_getUsers.md +++ b/old_docs/API_docs_v55/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v55/types/Chat.md b/old_docs/API_docs_v55/types/Chat.md index cd83aacb..58654e6e 100644 --- a/old_docs/API_docs_v55/types/Chat.md +++ b/old_docs/API_docs_v55/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v55/types/InputChannel.md b/old_docs/API_docs_v55/types/InputChannel.md index 3882099d..6dc802fc 100644 --- a/old_docs/API_docs_v55/types/InputChannel.md +++ b/old_docs/API_docs_v55/types/InputChannel.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputChannel = '@username'; // Username $InputChannel = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v55/types/InputEncryptedChat.md b/old_docs/API_docs_v55/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v55/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v55/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v55/types/InputEncryptedFile.md b/old_docs/API_docs_v55/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v55/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v55/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v55/types/InputFile.md b/old_docs/API_docs_v55/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v55/types/InputFile.md +++ b/old_docs/API_docs_v55/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v55/types/InputNotifyPeer.md b/old_docs/API_docs_v55/types/InputNotifyPeer.md index ffc1f0cf..f9d0a662 100644 --- a/old_docs/API_docs_v55/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v55/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v55/types/InputPeer.md b/old_docs/API_docs_v55/types/InputPeer.md index 2076c00b..2649db1a 100644 --- a/old_docs/API_docs_v55/types/InputPeer.md +++ b/old_docs/API_docs_v55/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v55/types/InputUser.md b/old_docs/API_docs_v55/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/old_docs/API_docs_v55/types/InputUser.md +++ b/old_docs/API_docs_v55/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v55/types/KeyboardButton.md b/old_docs/API_docs_v55/types/KeyboardButton.md index 324867ee..fcdfc69f 100644 --- a/old_docs/API_docs_v55/types/KeyboardButton.md +++ b/old_docs/API_docs_v55/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/old_docs/API_docs_v55/types/NotifyPeer.md b/old_docs/API_docs_v55/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v55/types/NotifyPeer.md +++ b/old_docs/API_docs_v55/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v55/types/Peer.md b/old_docs/API_docs_v55/types/Peer.md index ebb98e91..0ab7fdcc 100644 --- a/old_docs/API_docs_v55/types/Peer.md +++ b/old_docs/API_docs_v55/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v55/types/User.md b/old_docs/API_docs_v55/types/User.md index b145a3f8..5385caa4 100644 --- a/old_docs/API_docs_v55/types/User.md +++ b/old_docs/API_docs_v55/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v57/constructors/accountDaysTTL.md b/old_docs/API_docs_v57/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v57/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v57/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v57/constructors/account_authorizations.md b/old_docs/API_docs_v57/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v57/constructors/account_authorizations.md +++ b/old_docs/API_docs_v57/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v57/constructors/account_noPassword.md b/old_docs/API_docs_v57/constructors/account_noPassword.md index 81a483d6..63a4af6d 100644 --- a/old_docs/API_docs_v57/constructors/account_noPassword.md +++ b/old_docs/API_docs_v57/constructors/account_noPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -33,10 +33,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'emai ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/account_password.md b/old_docs/API_docs_v57/constructors/account_password.md index 9a8b31c6..5c4c334b 100644 --- a/old_docs/API_docs_v57/constructors/account_password.md +++ b/old_docs/API_docs_v57/constructors/account_password.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` @@ -36,10 +36,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v57/constructors/account_passwordInputSettings.md index f474e0c7..b5838f0a 100644 --- a/old_docs/API_docs_v57/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v57/constructors/account_passwordInputSettings.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v57/constructors/account_passwordSettings.md b/old_docs/API_docs_v57/constructors/account_passwordSettings.md index 27d14f59..04fc8621 100644 --- a/old_docs/API_docs_v57/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v57/constructors/account_passwordSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v57/constructors/account_privacyRules.md b/old_docs/API_docs_v57/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v57/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v57/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v57/constructors/auth_authorization.md b/old_docs/API_docs_v57/constructors/auth_authorization.md index c8133016..b858e501 100644 --- a/old_docs/API_docs_v57/constructors/auth_authorization.md +++ b/old_docs/API_docs_v57/constructors/auth_authorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v57/constructors/auth_checkedPhone.md b/old_docs/API_docs_v57/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v57/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v57/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v57/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v57/constructors/auth_codeTypeCall.md index 6a4f28d1..788a2c37 100644 --- a/old_docs/API_docs_v57/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v57/constructors/auth_codeTypeCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeCall={_='auth.codeTypeCall'} ``` diff --git a/old_docs/API_docs_v57/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v57/constructors/auth_codeTypeFlashCall.md index 2851bf4e..abb65fcf 100644 --- a/old_docs/API_docs_v57/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v57/constructors/auth_codeTypeFlashCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} ``` diff --git a/old_docs/API_docs_v57/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v57/constructors/auth_codeTypeSms.md index 04b78a3d..34b42c95 100644 --- a/old_docs/API_docs_v57/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v57/constructors/auth_codeTypeSms.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeSms={_='auth.codeTypeSms'} ``` diff --git a/old_docs/API_docs_v57/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v57/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v57/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v57/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v57/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v57/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v57/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v57/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v57/constructors/auth_sentCode.md b/old_docs/API_docs_v57/constructors/auth_sentCode.md index 0226e79e..2b3f2017 100644 --- a/old_docs/API_docs_v57/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v57/constructors/auth_sentCode.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; ``` @@ -36,10 +36,9 @@ $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} ``` diff --git a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeApp.md index eb4f4530..eba1784a 100644 --- a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeApp.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeCall.md index b72a7550..5948ce63 100644 --- a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeFlashCall.md index 2c59cad5..bcc7acf6 100644 --- a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeFlashCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeSms.md index db6858ea..3073333f 100644 --- a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeSms.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v57/constructors/authorization.md b/old_docs/API_docs_v57/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v57/constructors/authorization.md +++ b/old_docs/API_docs_v57/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v57/constructors/botCommand.md b/old_docs/API_docs_v57/constructors/botCommand.md index 8569358d..fcb65461 100644 --- a/old_docs/API_docs_v57/constructors/botCommand.md +++ b/old_docs/API_docs_v57/constructors/botCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v57/constructors/botInfo.md b/old_docs/API_docs_v57/constructors/botInfo.md index 507f9f8c..ad88f390 100644 --- a/old_docs/API_docs_v57/constructors/botInfo.md +++ b/old_docs/API_docs_v57/constructors/botInfo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v57/constructors/botInlineMediaResult.md b/old_docs/API_docs_v57/constructors/botInlineMediaResult.md index 43454784..0131af98 100644 --- a/old_docs/API_docs_v57/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v57/constructors/botInlineMediaResult.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` @@ -38,10 +38,9 @@ $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} ``` diff --git a/old_docs/API_docs_v57/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v57/constructors/botInlineMessageMediaAuto.md index 71557e0c..89ef07e4 100644 --- a/old_docs/API_docs_v57/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v57/constructors/botInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v57/constructors/botInlineMessageMediaContact.md b/old_docs/API_docs_v57/constructors/botInlineMessageMediaContact.md index c3f25947..771472fa 100644 --- a/old_docs/API_docs_v57/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v57/constructors/botInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v57/constructors/botInlineMessageMediaGeo.md b/old_docs/API_docs_v57/constructors/botInlineMessageMediaGeo.md index c87e0dfe..24bf8b8d 100644 --- a/old_docs/API_docs_v57/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v57/constructors/botInlineMessageMediaGeo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v57/constructors/botInlineMessageMediaVenue.md b/old_docs/API_docs_v57/constructors/botInlineMessageMediaVenue.md index 4795ba75..8108a37c 100644 --- a/old_docs/API_docs_v57/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v57/constructors/botInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v57/constructors/botInlineMessageText.md b/old_docs/API_docs_v57/constructors/botInlineMessageText.md index 4a274d28..b3fa92ed 100644 --- a/old_docs/API_docs_v57/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v57/constructors/botInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v57/constructors/botInlineResult.md b/old_docs/API_docs_v57/constructors/botInlineResult.md index c7abbd71..8b6ead75 100644 --- a/old_docs/API_docs_v57/constructors/botInlineResult.md +++ b/old_docs/API_docs_v57/constructors/botInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` @@ -43,10 +43,9 @@ $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_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v57/constructors/channel.md b/old_docs/API_docs_v57/constructors/channel.md index 489f65c7..98c32d4b 100644 --- a/old_docs/API_docs_v57/constructors/channel.md +++ b/old_docs/API_docs_v57/constructors/channel.md @@ -40,7 +40,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => 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']; ``` @@ -51,10 +51,9 @@ $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=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'} ``` diff --git a/old_docs/API_docs_v57/constructors/channelForbidden.md b/old_docs/API_docs_v57/constructors/channelForbidden.md index 27a78b5c..7d083e83 100644 --- a/old_docs/API_docs_v57/constructors/channelForbidden.md +++ b/old_docs/API_docs_v57/constructors/channelForbidden.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` @@ -36,10 +36,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v57/constructors/channelFull.md b/old_docs/API_docs_v57/constructors/channelFull.md index c947a32e..671149f5 100644 --- a/old_docs/API_docs_v57/constructors/channelFull.md +++ b/old_docs/API_docs_v57/constructors/channelFull.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_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]; ``` @@ -48,10 +48,9 @@ $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, id=int, about='string', participants_count=int, admins_count=int, kicked_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} ``` diff --git a/old_docs/API_docs_v57/constructors/channelMessagesFilter.md b/old_docs/API_docs_v57/constructors/channelMessagesFilter.md index b19d3151..1b953ba3 100644 --- a/old_docs/API_docs_v57/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v57/constructors/channelMessagesFilter.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v57/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v57/constructors/channelMessagesFilterEmpty.md index 350e50de..a446b896 100644 --- a/old_docs/API_docs_v57/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v57/constructors/channelMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/channelParticipant.md b/old_docs/API_docs_v57/constructors/channelParticipant.md index c7de5400..dbcb792b 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipant.md +++ b/old_docs/API_docs_v57/constructors/channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v57/constructors/channelParticipantCreator.md b/old_docs/API_docs_v57/constructors/channelParticipantCreator.md index 86cafe0a..e999fb9c 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantCreator={_='channelParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/channelParticipantEditor.md b/old_docs/API_docs_v57/constructors/channelParticipantEditor.md index 37ae4bb0..7c7e4dc9 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantEditor.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v57/constructors/channelParticipantKicked.md b/old_docs/API_docs_v57/constructors/channelParticipantKicked.md index ccc454be..6bcc2e0f 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantKicked.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int} ``` diff --git a/old_docs/API_docs_v57/constructors/channelParticipantModerator.md b/old_docs/API_docs_v57/constructors/channelParticipantModerator.md index 90b4ab52..49c68acd 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantModerator.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v57/constructors/channelParticipantSelf.md b/old_docs/API_docs_v57/constructors/channelParticipantSelf.md index 83864972..4b5949ac 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantSelf.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v57/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v57/constructors/channelParticipantsAdmins.md index c86cb9a4..4b0c30d4 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantsAdmins.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` @@ -27,10 +27,9 @@ $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v57/constructors/channelParticipantsBots.md b/old_docs/API_docs_v57/constructors/channelParticipantsBots.md index 30875f94..66e510c7 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantsBots.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` @@ -27,10 +27,9 @@ $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v57/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v57/constructors/channelParticipantsKicked.md index 7f026ceb..38cf128e 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantsKicked.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` @@ -27,10 +27,9 @@ $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v57/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v57/constructors/channelParticipantsRecent.md index e4cb6466..51e57069 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantsRecent.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` @@ -27,10 +27,9 @@ $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v57/constructors/channelRoleEditor.md b/old_docs/API_docs_v57/constructors/channelRoleEditor.md index 86d953a9..1e472d2f 100644 --- a/old_docs/API_docs_v57/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v57/constructors/channelRoleEditor.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` @@ -27,10 +27,9 @@ $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v57/constructors/channelRoleEmpty.md b/old_docs/API_docs_v57/constructors/channelRoleEmpty.md index a50bb310..85d1c3fb 100644 --- a/old_docs/API_docs_v57/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v57/constructors/channelRoleEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` @@ -27,10 +27,9 @@ $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/channelRoleModerator.md b/old_docs/API_docs_v57/constructors/channelRoleModerator.md index 781f60ad..f242ff5c 100644 --- a/old_docs/API_docs_v57/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v57/constructors/channelRoleModerator.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` @@ -27,10 +27,9 @@ $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleModerator={_='channelRoleModerator'} ``` diff --git a/old_docs/API_docs_v57/constructors/channels_channelParticipant.md b/old_docs/API_docs_v57/constructors/channels_channelParticipant.md index bdf27b08..107502c5 100644 --- a/old_docs/API_docs_v57/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v57/constructors/channels_channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v57/constructors/channels_channelParticipants.md b/old_docs/API_docs_v57/constructors/channels_channelParticipants.md index 1b76b1e0..0402423f 100644 --- a/old_docs/API_docs_v57/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v57/constructors/channels_channelParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v57/constructors/chat.md b/old_docs/API_docs_v57/constructors/chat.md index 5ae1811d..b6f24f3e 100644 --- a/old_docs/API_docs_v57/constructors/chat.md +++ b/old_docs/API_docs_v57/constructors/chat.md @@ -33,7 +33,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -44,10 +44,9 @@ $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} ``` diff --git a/old_docs/API_docs_v57/constructors/chatEmpty.md b/old_docs/API_docs_v57/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v57/constructors/chatEmpty.md +++ b/old_docs/API_docs_v57/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/chatForbidden.md b/old_docs/API_docs_v57/constructors/chatForbidden.md index de5bb302..61c45660 100644 --- a/old_docs/API_docs_v57/constructors/chatForbidden.md +++ b/old_docs/API_docs_v57/constructors/chatForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v57/constructors/chatFull.md b/old_docs/API_docs_v57/constructors/chatFull.md index 6e138596..2a5f67f6 100644 --- a/old_docs/API_docs_v57/constructors/chatFull.md +++ b/old_docs/API_docs_v57/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v57/constructors/chatInvite.md b/old_docs/API_docs_v57/constructors/chatInvite.md index c0f14de6..54027d67 100644 --- a/old_docs/API_docs_v57/constructors/chatInvite.md +++ b/old_docs/API_docs_v57/constructors/chatInvite.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User, User]]; ``` @@ -39,10 +39,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v57/constructors/chatInviteAlready.md b/old_docs/API_docs_v57/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/old_docs/API_docs_v57/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v57/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/old_docs/API_docs_v57/constructors/chatInviteEmpty.md b/old_docs/API_docs_v57/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/old_docs/API_docs_v57/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v57/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/chatInviteExported.md b/old_docs/API_docs_v57/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/old_docs/API_docs_v57/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v57/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/chatParticipant.md b/old_docs/API_docs_v57/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v57/constructors/chatParticipant.md +++ b/old_docs/API_docs_v57/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v57/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v57/constructors/chatParticipantAdmin.md index 62aee9a4..63a38575 100644 --- a/old_docs/API_docs_v57/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v57/constructors/chatParticipantAdmin.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v57/constructors/chatParticipantCreator.md b/old_docs/API_docs_v57/constructors/chatParticipantCreator.md index 0fb7b6ef..75b9c4d4 100644 --- a/old_docs/API_docs_v57/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v57/constructors/chatParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantCreator={_='chatParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/chatParticipants.md b/old_docs/API_docs_v57/constructors/chatParticipants.md index 38af2ca5..ae254290 100644 --- a/old_docs/API_docs_v57/constructors/chatParticipants.md +++ b/old_docs/API_docs_v57/constructors/chatParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v57/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v57/constructors/chatParticipantsForbidden.md index 2ecdfe10..639b30ee 100644 --- a/old_docs/API_docs_v57/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v57/constructors/chatParticipantsForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v57/constructors/chatPhoto.md b/old_docs/API_docs_v57/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v57/constructors/chatPhoto.md +++ b/old_docs/API_docs_v57/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v57/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v57/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v57/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v57/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/config.md b/old_docs/API_docs_v57/constructors/config.md index 7762b7af..7de39902 100644 --- a/old_docs/API_docs_v57/constructors/config.md +++ b/old_docs/API_docs_v57/constructors/config.md @@ -43,7 +43,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'tmp_sessions' => int, 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -54,10 +54,9 @@ $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, tmp_sessions=int, disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v57/constructors/contact.md b/old_docs/API_docs_v57/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v57/constructors/contact.md +++ b/old_docs/API_docs_v57/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v57/constructors/contactBlocked.md b/old_docs/API_docs_v57/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v57/constructors/contactBlocked.md +++ b/old_docs/API_docs_v57/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v57/constructors/contactLinkContact.md b/old_docs/API_docs_v57/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v57/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v57/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v57/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v57/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v57/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v57/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v57/constructors/contactLinkNone.md b/old_docs/API_docs_v57/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v57/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v57/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v57/constructors/contactLinkUnknown.md b/old_docs/API_docs_v57/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v57/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v57/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v57/constructors/contactStatus.md b/old_docs/API_docs_v57/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v57/constructors/contactStatus.md +++ b/old_docs/API_docs_v57/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v57/constructors/contacts_blocked.md b/old_docs/API_docs_v57/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v57/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v57/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v57/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v57/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v57/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v57/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v57/constructors/contacts_contacts.md b/old_docs/API_docs_v57/constructors/contacts_contacts.md index 34dae91a..ea16b38a 100644 --- a/old_docs/API_docs_v57/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v57/constructors/contacts_contacts.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} ``` diff --git a/old_docs/API_docs_v57/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v57/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v57/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v57/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v57/constructors/contacts_found.md b/old_docs/API_docs_v57/constructors/contacts_found.md index 7e0e458c..624fa475 100644 --- a/old_docs/API_docs_v57/constructors/contacts_found.md +++ b/old_docs/API_docs_v57/constructors/contacts_found.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v57/constructors/contacts_importedContacts.md b/old_docs/API_docs_v57/constructors/contacts_importedContacts.md index 7bf9c1bf..8b9012bb 100644 --- a/old_docs/API_docs_v57/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v57/constructors/contacts_importedContacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v57/constructors/contacts_link.md b/old_docs/API_docs_v57/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v57/constructors/contacts_link.md +++ b/old_docs/API_docs_v57/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v57/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v57/constructors/contacts_resolvedPeer.md index add29235..4aa323dd 100644 --- a/old_docs/API_docs_v57/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v57/constructors/contacts_resolvedPeer.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v57/constructors/contacts_topPeers.md b/old_docs/API_docs_v57/constructors/contacts_topPeers.md index 8777bff2..e4728594 100644 --- a/old_docs/API_docs_v57/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v57/constructors/contacts_topPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCatego ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v57/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v57/constructors/contacts_topPeersNotModified.md index 3aa2236a..7ec0114a 100644 --- a/old_docs/API_docs_v57/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v57/constructors/contacts_topPeersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeersNotModified={_='contacts.topPeersNotModified'} ``` diff --git a/old_docs/API_docs_v57/constructors/dcOption.md b/old_docs/API_docs_v57/constructors/dcOption.md index 3fd6f51f..c4e1a91f 100644 --- a/old_docs/API_docs_v57/constructors/dcOption.md +++ b/old_docs/API_docs_v57/constructors/dcOption.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` @@ -37,10 +37,9 @@ $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, id=int, ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v57/constructors/dialog.md b/old_docs/API_docs_v57/constructors/dialog.md index 225b0a90..2b6dc80c 100644 --- a/old_docs/API_docs_v57/constructors/dialog.md +++ b/old_docs/API_docs_v57/constructors/dialog.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage]; ``` @@ -39,10 +39,9 @@ $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_ma ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', peer=Peer, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings, pts=int, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v57/constructors/disabledFeature.md b/old_docs/API_docs_v57/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v57/constructors/disabledFeature.md +++ b/old_docs/API_docs_v57/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/document.md b/old_docs/API_docs_v57/constructors/document.md index 1a0f1fc1..58c44a23 100644 --- a/old_docs/API_docs_v57/constructors/document.md +++ b/old_docs/API_docs_v57/constructors/document.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -40,10 +40,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, version=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v57/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v57/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v57/constructors/documentAttributeAudio.md b/old_docs/API_docs_v57/constructors/documentAttributeAudio.md index 0dc5decc..f427a05c 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeAudio.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` @@ -36,10 +36,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'du ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title='string', performer='string', waveform='bytes'} ``` diff --git a/old_docs/API_docs_v57/constructors/documentAttributeFilename.md b/old_docs/API_docs_v57/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/documentAttributeHasStickers.md b/old_docs/API_docs_v57/constructors/documentAttributeHasStickers.md index fff783df..90c58e35 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeHasStickers.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeHasStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` @@ -27,10 +27,9 @@ $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeHasStickers={_='documentAttributeHasStickers'} ``` diff --git a/old_docs/API_docs_v57/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v57/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v57/constructors/documentAttributeSticker.md b/old_docs/API_docs_v57/constructors/documentAttributeSticker.md index ba5243fb..b200f7f0 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeSticker.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => 'string', 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords]; ``` @@ -35,10 +35,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', mask=Bool, alt='string', stickerset=InputStickerSet, mask_coords=MaskCoords} ``` diff --git a/old_docs/API_docs_v57/constructors/documentAttributeVideo.md b/old_docs/API_docs_v57/constructors/documentAttributeVideo.md index 0902c118..cc7ffced 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeVideo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -34,10 +34,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v57/constructors/documentEmpty.md b/old_docs/API_docs_v57/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v57/constructors/documentEmpty.md +++ b/old_docs/API_docs_v57/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v57/constructors/draftMessage.md b/old_docs/API_docs_v57/constructors/draftMessage.md index 370ffaef..ecec69a1 100644 --- a/old_docs/API_docs_v57/constructors/draftMessage.md +++ b/old_docs/API_docs_v57/constructors/draftMessage.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'date' => int]; ``` @@ -36,10 +36,9 @@ $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message='string', entities={MessageEntity}, date=int} ``` diff --git a/old_docs/API_docs_v57/constructors/draftMessageEmpty.md b/old_docs/API_docs_v57/constructors/draftMessageEmpty.md index 15b2aa67..65902a71 100644 --- a/old_docs/API_docs_v57/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v57/constructors/draftMessageEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` @@ -27,10 +27,9 @@ $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessageEmpty={_='draftMessageEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/encryptedChat.md b/old_docs/API_docs_v57/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v57/constructors/encryptedChat.md +++ b/old_docs/API_docs_v57/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v57/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v57/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v57/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v57/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v57/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v57/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v57/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/encryptedChatRequested.md b/old_docs/API_docs_v57/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v57/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v57/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v57/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v57/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v57/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v57/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/encryptedFile.md b/old_docs/API_docs_v57/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v57/constructors/encryptedFile.md +++ b/old_docs/API_docs_v57/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v57/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v57/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v57/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v57/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/encryptedMessage.md b/old_docs/API_docs_v57/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v57/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v57/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v57/constructors/encryptedMessageService.md b/old_docs/API_docs_v57/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v57/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v57/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v57/constructors/error.md b/old_docs/API_docs_v57/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v57/constructors/error.md +++ b/old_docs/API_docs_v57/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/exportedMessageLink.md b/old_docs/API_docs_v57/constructors/exportedMessageLink.md index 423c9fa3..9db8d71a 100644 --- a/old_docs/API_docs_v57/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v57/constructors/exportedMessageLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua exportedMessageLink={_='exportedMessageLink', link='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/fileLocation.md b/old_docs/API_docs_v57/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v57/constructors/fileLocation.md +++ b/old_docs/API_docs_v57/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v57/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v57/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v57/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v57/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v57/constructors/foundGif.md b/old_docs/API_docs_v57/constructors/foundGif.md index d8ee3695..c2f0ce33 100644 --- a/old_docs/API_docs_v57/constructors/foundGif.md +++ b/old_docs/API_docs_v57/constructors/foundGif.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` @@ -37,10 +37,9 @@ $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'con ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGif={_='foundGif', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int} ``` diff --git a/old_docs/API_docs_v57/constructors/foundGifCached.md b/old_docs/API_docs_v57/constructors/foundGifCached.md index e4a1a552..03e67917 100644 --- a/old_docs/API_docs_v57/constructors/foundGifCached.md +++ b/old_docs/API_docs_v57/constructors/foundGifCached.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -34,10 +34,9 @@ $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGifCached={_='foundGifCached', url='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v57/constructors/game.md b/old_docs/API_docs_v57/constructors/game.md index 790fbeeb..088ca95e 100644 --- a/old_docs/API_docs_v57/constructors/game.md +++ b/old_docs/API_docs_v57/constructors/game.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -38,10 +38,9 @@ $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua game={_='game', id=long, access_hash=long, short_name='string', title='string', description='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v57/constructors/geoPoint.md b/old_docs/API_docs_v57/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v57/constructors/geoPoint.md +++ b/old_docs/API_docs_v57/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v57/constructors/geoPointEmpty.md b/old_docs/API_docs_v57/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v57/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v57/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/help_appChangelog.md b/old_docs/API_docs_v57/constructors/help_appChangelog.md index 5b7b353a..d30f8acd 100644 --- a/old_docs/API_docs_v57/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v57/constructors/help_appChangelog.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelog={_='help.appChangelog', text='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v57/constructors/help_appChangelogEmpty.md index 0f0827c3..e20017b7 100644 --- a/old_docs/API_docs_v57/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v57/constructors/help_appChangelogEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` @@ -27,10 +27,9 @@ $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelogEmpty={_='help.appChangelogEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/help_appUpdate.md b/old_docs/API_docs_v57/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v57/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v57/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/help_inviteText.md b/old_docs/API_docs_v57/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v57/constructors/help_inviteText.md +++ b/old_docs/API_docs_v57/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/help_noAppUpdate.md b/old_docs/API_docs_v57/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v57/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v57/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v57/constructors/help_support.md b/old_docs/API_docs_v57/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v57/constructors/help_support.md +++ b/old_docs/API_docs_v57/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v57/constructors/help_termsOfService.md b/old_docs/API_docs_v57/constructors/help_termsOfService.md index 8e558bed..ec7a8121 100644 --- a/old_docs/API_docs_v57/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v57/constructors/help_termsOfService.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_termsOfService={_='help.termsOfService', text='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/highScore.md b/old_docs/API_docs_v57/constructors/highScore.md index 63a8ab05..265c0487 100644 --- a/old_docs/API_docs_v57/constructors/highScore.md +++ b/old_docs/API_docs_v57/constructors/highScore.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int]; ``` @@ -34,10 +34,9 @@ $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua highScore={_='highScore', pos=int, user_id=int, score=int} ``` diff --git a/old_docs/API_docs_v57/constructors/importedContact.md b/old_docs/API_docs_v57/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v57/constructors/importedContact.md +++ b/old_docs/API_docs_v57/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v57/constructors/inlineBotSwitchPM.md b/old_docs/API_docs_v57/constructors/inlineBotSwitchPM.md index 0dfd4714..b4fb8185 100644 --- a/old_docs/API_docs_v57/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v57/constructors/inlineBotSwitchPM.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` @@ -33,10 +33,9 @@ $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_par ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inlineBotSwitchPM={_='inlineBotSwitchPM', text='string', start_param='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputAppEvent.md b/old_docs/API_docs_v57/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v57/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v57/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineMessageGame.md b/old_docs/API_docs_v57/constructors/inputBotInlineMessageGame.md index 8e59cd54..66c8997b 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineMessageGame.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineMessageGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup]; ``` @@ -32,10 +32,9 @@ $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageGame={_='inputBotInlineMessageGame', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineMessageID.md b/old_docs/API_docs_v57/constructors/inputBotInlineMessageID.md index 91c7586d..aecbb733 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineMessageID.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaAuto.md index 28d93836..17e2a1cb 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'cap ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaContact.md b/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaContact.md index 5b78709f..25dd9029 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaGeo.md b/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaGeo.md index 39365847..935dba16 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaGeo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaVenue.md b/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaVenue.md index 7dbc6a6c..56ec0745 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'g ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v57/constructors/inputBotInlineMessageText.md index e6a0bbb7..acae47bc 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineResult.md b/old_docs/API_docs_v57/constructors/inputBotInlineResult.md index 668af514..34148d70 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` @@ -43,10 +43,9 @@ $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineResultDocument.md b/old_docs/API_docs_v57/constructors/inputBotInlineResultDocument.md index ad13df76..9d5f1eb6 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineResultDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` @@ -37,10 +37,9 @@ $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultDocument={_='inputBotInlineResultDocument', id='string', type='string', title='string', description='string', document=InputDocument, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineResultGame.md b/old_docs/API_docs_v57/constructors/inputBotInlineResultGame.md index 5967bea6..b7821035 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineResultGame.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineResultGame.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string', 'short_name' => 'string', 'send_message' => InputBotInlineMessage]; ``` @@ -34,10 +34,9 @@ $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultGame={_='inputBotInlineResultGame', id='string', short_name='string', send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineResultPhoto.md b/old_docs/API_docs_v57/constructors/inputBotInlineResultPhoto.md index 43f00813..271bb02e 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineResultPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` @@ -35,10 +35,9 @@ $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id='string', type='string', photo=InputPhoto, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v57/constructors/inputChannel.md b/old_docs/API_docs_v57/constructors/inputChannel.md index b5cb3566..34ed10ca 100644 --- a/old_docs/API_docs_v57/constructors/inputChannel.md +++ b/old_docs/API_docs_v57/constructors/inputChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannel={_='inputChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v57/constructors/inputChannelEmpty.md b/old_docs/API_docs_v57/constructors/inputChannelEmpty.md index f7e18434..bd53602b 100644 --- a/old_docs/API_docs_v57/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputChannelEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` @@ -27,10 +27,9 @@ $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputChatPhoto.md b/old_docs/API_docs_v57/constructors/inputChatPhoto.md index 636d6f68..cbae66d1 100644 --- a/old_docs/API_docs_v57/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v57/constructors/inputChatPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v57/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v57/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v57/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v57/constructors/inputChatUploadedPhoto.md index 840ed815..8b5535ab 100644 --- a/old_docs/API_docs_v57/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v57/constructors/inputChatUploadedPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile]; ``` @@ -32,10 +32,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile} ``` diff --git a/old_docs/API_docs_v57/constructors/inputDocument.md b/old_docs/API_docs_v57/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v57/constructors/inputDocument.md +++ b/old_docs/API_docs_v57/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v57/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v57/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v57/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v57/constructors/inputDocumentFileLocation.md index df556f40..94ab0038 100644 --- a/old_docs/API_docs_v57/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v57/constructors/inputDocumentFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int]; ``` @@ -34,10 +34,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, version=int} ``` diff --git a/old_docs/API_docs_v57/constructors/inputEncryptedChat.md b/old_docs/API_docs_v57/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v57/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v57/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v57/constructors/inputEncryptedFile.md b/old_docs/API_docs_v57/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v57/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v57/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v57/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v57/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v57/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v57/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v57/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v57/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v57/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v57/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v57/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v57/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v57/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v57/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v57/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v57/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v57/constructors/inputFile.md b/old_docs/API_docs_v57/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v57/constructors/inputFile.md +++ b/old_docs/API_docs_v57/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputFileBig.md b/old_docs/API_docs_v57/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v57/constructors/inputFileBig.md +++ b/old_docs/API_docs_v57/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputFileLocation.md b/old_docs/API_docs_v57/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v57/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v57/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v57/constructors/inputGameID.md b/old_docs/API_docs_v57/constructors/inputGameID.md index 1fff2dd1..fba24333 100644 --- a/old_docs/API_docs_v57/constructors/inputGameID.md +++ b/old_docs/API_docs_v57/constructors/inputGameID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameID={_='inputGameID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v57/constructors/inputGameShortName.md b/old_docs/API_docs_v57/constructors/inputGameShortName.md index 742b5ae5..031e3f4c 100644 --- a/old_docs/API_docs_v57/constructors/inputGameShortName.md +++ b/old_docs/API_docs_v57/constructors/inputGameShortName.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => 'string']; ``` @@ -33,10 +33,9 @@ $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'shor ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameShortName={_='inputGameShortName', bot_id=InputUser, short_name='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputGeoPoint.md b/old_docs/API_docs_v57/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v57/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v57/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v57/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v57/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v57/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMediaContact.md b/old_docs/API_docs_v57/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v57/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMediaDocument.md b/old_docs/API_docs_v57/constructors/inputMediaDocument.md index 8c961036..9436d5e4 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v57/constructors/inputMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'capt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMediaDocumentExternal.md b/old_docs/API_docs_v57/constructors/inputMediaDocumentExternal.md index e6537807..35a560a0 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaDocumentExternal.md +++ b/old_docs/API_docs_v57/constructors/inputMediaDocumentExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'string', 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocumentExternal={_='inputMediaDocumentExternal', url='string', caption='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMediaEmpty.md b/old_docs/API_docs_v57/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMediaGame.md b/old_docs/API_docs_v57/constructors/inputMediaGame.md index 883e5672..c4cc2cfc 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaGame.md +++ b/old_docs/API_docs_v57/constructors/inputMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` @@ -32,10 +32,9 @@ $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGame={_='inputMediaGame', id=InputGame} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v57/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v57/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v57/constructors/inputMediaGifExternal.md index cf68972a..14153a43 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v57/constructors/inputMediaGifExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGifExternal={_='inputMediaGifExternal', url='string', q='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMediaPhoto.md b/old_docs/API_docs_v57/constructors/inputMediaPhoto.md index 0be7f6fe..71f4ded5 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v57/constructors/inputMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMediaPhotoExternal.md b/old_docs/API_docs_v57/constructors/inputMediaPhotoExternal.md index fe057842..8725b488 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaPhotoExternal.md +++ b/old_docs/API_docs_v57/constructors/inputMediaPhotoExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhotoExternal={_='inputMediaPhotoExternal', url='string', caption='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v57/constructors/inputMediaUploadedDocument.md index 0368b9c9..7767c58b 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v57/constructors/inputMediaUploadedDocument.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument, InputDocument]]; ``` @@ -36,10 +36,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string', stickers={InputDocument}} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v57/constructors/inputMediaUploadedPhoto.md index 52fd2410..784bbceb 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v57/constructors/inputMediaUploadedPhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string', 'stickers' => [InputDocument, InputDocument]]; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption='string', stickers={InputDocument}} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v57/constructors/inputMediaUploadedThumbDocument.md index 181d7f39..2340901f 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v57/constructors/inputMediaUploadedThumbDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument, InputDocument]]; ``` @@ -37,10 +37,9 @@ $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string', stickers={InputDocument}} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMediaVenue.md b/old_docs/API_docs_v57/constructors/inputMediaVenue.md index 3e7ee3a1..b2171fbc 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v57/constructors/inputMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMessageEntityMentionName.md b/old_docs/API_docs_v57/constructors/inputMessageEntityMentionName.md index 92d5c8d9..19a0b4e3 100644 --- a/old_docs/API_docs_v57/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v57/constructors/inputMessageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser]; ``` @@ -34,10 +34,9 @@ $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessageEntityMentionName={_='inputMessageEntityMentionName', offset=int, length=int, user_id=InputUser} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterChatPhotos.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterChatPhotos.md index a02425b1..b72281f3 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterChatPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterGif.md index 94698ecd..a3a51104 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterMusic.md index ac6373c2..b2ed1044 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterMusic.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterVoice.md index 026a91be..be3af22a 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputNotifyAll.md b/old_docs/API_docs_v57/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v57/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v57/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputNotifyChats.md b/old_docs/API_docs_v57/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v57/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v57/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputNotifyPeer.md b/old_docs/API_docs_v57/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v57/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v57/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v57/constructors/inputNotifyUsers.md b/old_docs/API_docs_v57/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v57/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v57/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPeerChannel.md b/old_docs/API_docs_v57/constructors/inputPeerChannel.md index 8b84fe20..14c2f105 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v57/constructors/inputPeerChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPeerChat.md b/old_docs/API_docs_v57/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v57/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPeerEmpty.md b/old_docs/API_docs_v57/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v57/constructors/inputPeerNotifySettings.md index 6b281f53..cd18b39e 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v57/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPeerSelf.md b/old_docs/API_docs_v57/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v57/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPeerUser.md b/old_docs/API_docs_v57/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v57/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPhoneContact.md b/old_docs/API_docs_v57/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v57/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v57/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPhoto.md b/old_docs/API_docs_v57/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v57/constructors/inputPhoto.md +++ b/old_docs/API_docs_v57/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v57/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v57/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v57/constructors/inputPrivacyKeyChatInvite.md index 9c55265f..d96148d4 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v57/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v57/constructors/inputReportReasonOther.md b/old_docs/API_docs_v57/constructors/inputReportReasonOther.md index 361582bd..4dbffa18 100644 --- a/old_docs/API_docs_v57/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v57/constructors/inputReportReasonOther.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonOther={_='inputReportReasonOther', text='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v57/constructors/inputReportReasonPornography.md index c18c71d3..5c80f096 100644 --- a/old_docs/API_docs_v57/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v57/constructors/inputReportReasonPornography.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` @@ -27,10 +27,9 @@ $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v57/constructors/inputReportReasonSpam.md index 19ed6687..75d59861 100644 --- a/old_docs/API_docs_v57/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v57/constructors/inputReportReasonSpam.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` @@ -27,10 +27,9 @@ $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v57/constructors/inputReportReasonViolence.md index 10fbce47..28d27e85 100644 --- a/old_docs/API_docs_v57/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v57/constructors/inputReportReasonViolence.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` @@ -27,10 +27,9 @@ $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v57/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/old_docs/API_docs_v57/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputStickerSetID.md b/old_docs/API_docs_v57/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/old_docs/API_docs_v57/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v57/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v57/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v57/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/old_docs/API_docs_v57/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v57/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputStickeredMediaDocument.md b/old_docs/API_docs_v57/constructors/inputStickeredMediaDocument.md index c6def51c..72da7b39 100644 --- a/old_docs/API_docs_v57/constructors/inputStickeredMediaDocument.md +++ b/old_docs/API_docs_v57/constructors/inputStickeredMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaDocument={_='inputStickeredMediaDocument', id=InputDocument} ``` diff --git a/old_docs/API_docs_v57/constructors/inputStickeredMediaPhoto.md b/old_docs/API_docs_v57/constructors/inputStickeredMediaPhoto.md index f424c329..d79cd390 100644 --- a/old_docs/API_docs_v57/constructors/inputStickeredMediaPhoto.md +++ b/old_docs/API_docs_v57/constructors/inputStickeredMediaPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaPhoto={_='inputStickeredMediaPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v57/constructors/inputUser.md b/old_docs/API_docs_v57/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/old_docs/API_docs_v57/constructors/inputUser.md +++ b/old_docs/API_docs_v57/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v57/constructors/inputUserEmpty.md b/old_docs/API_docs_v57/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v57/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/inputUserSelf.md b/old_docs/API_docs_v57/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v57/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v57/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v57/constructors/keyboardButton.md b/old_docs/API_docs_v57/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButton.md +++ b/old_docs/API_docs_v57/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/keyboardButtonCallback.md b/old_docs/API_docs_v57/constructors/keyboardButtonCallback.md index 63e87aac..c8f86f50 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v57/constructors/keyboardButtonCallback.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` @@ -33,10 +33,9 @@ $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonCallback={_='keyboardButtonCallback', text='string', data='bytes'} ``` diff --git a/old_docs/API_docs_v57/constructors/keyboardButtonGame.md b/old_docs/API_docs_v57/constructors/keyboardButtonGame.md index 08110141..05a565a3 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButtonGame.md +++ b/old_docs/API_docs_v57/constructors/keyboardButtonGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonGame={_='keyboardButtonGame', text='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/keyboardButtonRequestGeoLocation.md b/old_docs/API_docs_v57/constructors/keyboardButtonRequestGeoLocation.md index fc422d90..63d4a82f 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v57/constructors/keyboardButtonRequestGeoLocation.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/keyboardButtonRequestPhone.md b/old_docs/API_docs_v57/constructors/keyboardButtonRequestPhone.md index a1719e24..ba58979f 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v57/constructors/keyboardButtonRequestPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/keyboardButtonRow.md b/old_docs/API_docs_v57/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v57/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/old_docs/API_docs_v57/constructors/keyboardButtonSwitchInline.md b/old_docs/API_docs_v57/constructors/keyboardButtonSwitchInline.md index 463c473c..52dc897a 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v57/constructors/keyboardButtonSwitchInline.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => 'string', 'query' => 'string']; ``` @@ -34,10 +34,9 @@ $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=Bool, text='string', query='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/keyboardButtonUrl.md b/old_docs/API_docs_v57/constructors/keyboardButtonUrl.md index 709d4fa9..56b86f1c 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v57/constructors/keyboardButtonUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` @@ -33,10 +33,9 @@ $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonUrl={_='keyboardButtonUrl', text='string', url='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/maskCoords.md b/old_docs/API_docs_v57/constructors/maskCoords.md index 21b9ad78..2d393f3a 100644 --- a/old_docs/API_docs_v57/constructors/maskCoords.md +++ b/old_docs/API_docs_v57/constructors/maskCoords.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double]; ``` @@ -35,10 +35,9 @@ $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'z ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua maskCoords={_='maskCoords', n=int, x=double, y=double, zoom=double} ``` diff --git a/old_docs/API_docs_v57/constructors/message.md b/old_docs/API_docs_v57/constructors/message.md index 9b54331e..b3ce8110 100644 --- a/old_docs/API_docs_v57/constructors/message.md +++ b/old_docs/API_docs_v57/constructors/message.md @@ -38,7 +38,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'views' => int, 'edit_date' => int]; ``` @@ -49,10 +49,9 @@ $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v57/constructors/messageActionChannelCreate.md index b1750d73..2600ab63 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v57/constructors/messageActionChannelCreate.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v57/constructors/messageActionChannelMigrateFrom.md index add136dc..1fdcf3f4 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v57/constructors/messageActionChannelMigrateFrom.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 't ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v57/constructors/messageActionChatAddUser.md index 9c7de7f8..283365cd 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', users={int}} ``` diff --git a/old_docs/API_docs_v57/constructors/messageActionChatCreate.md b/old_docs/API_docs_v57/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v57/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v57/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v57/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v57/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v57/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v57/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v57/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v57/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v57/constructors/messageActionChatMigrateTo.md index 21d2cb22..8ace1091 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatMigrateTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messageActionEmpty.md b/old_docs/API_docs_v57/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v57/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v57/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/messageActionGameScore.md b/old_docs/API_docs_v57/constructors/messageActionGameScore.md index 7a459a3d..c0086b66 100644 --- a/old_docs/API_docs_v57/constructors/messageActionGameScore.md +++ b/old_docs/API_docs_v57/constructors/messageActionGameScore.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int]; ``` @@ -33,10 +33,9 @@ $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionGameScore={_='messageActionGameScore', game_id=long, score=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messageActionHistoryClear.md b/old_docs/API_docs_v57/constructors/messageActionHistoryClear.md index 8b8dcc9d..90875cf6 100644 --- a/old_docs/API_docs_v57/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v57/constructors/messageActionHistoryClear.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` @@ -27,10 +27,9 @@ $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionHistoryClear={_='messageActionHistoryClear'} ``` diff --git a/old_docs/API_docs_v57/constructors/messageActionPinMessage.md b/old_docs/API_docs_v57/constructors/messageActionPinMessage.md index ffa41746..be763787 100644 --- a/old_docs/API_docs_v57/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v57/constructors/messageActionPinMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` @@ -27,10 +27,9 @@ $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/old_docs/API_docs_v57/constructors/messageEmpty.md b/old_docs/API_docs_v57/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v57/constructors/messageEmpty.md +++ b/old_docs/API_docs_v57/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messageEntityBold.md b/old_docs/API_docs_v57/constructors/messageEntityBold.md index 950699fb..90f74ad5 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v57/constructors/messageEntityBold.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v57/constructors/messageEntityBotCommand.md index 8be471d3..9fb8f6a6 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v57/constructors/messageEntityBotCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messageEntityCode.md b/old_docs/API_docs_v57/constructors/messageEntityCode.md index 7c701844..d236e57e 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v57/constructors/messageEntityCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messageEntityEmail.md b/old_docs/API_docs_v57/constructors/messageEntityEmail.md index 35a968c7..74e910f3 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v57/constructors/messageEntityEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messageEntityHashtag.md b/old_docs/API_docs_v57/constructors/messageEntityHashtag.md index 6b124e73..77e29387 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v57/constructors/messageEntityHashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messageEntityItalic.md b/old_docs/API_docs_v57/constructors/messageEntityItalic.md index 25f73428..5975bae2 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v57/constructors/messageEntityItalic.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messageEntityMention.md b/old_docs/API_docs_v57/constructors/messageEntityMention.md index 9eb4d266..1a21cb10 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v57/constructors/messageEntityMention.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messageEntityMentionName.md b/old_docs/API_docs_v57/constructors/messageEntityMentionName.md index b546570b..0fe142c5 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v57/constructors/messageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int]; ``` @@ -34,10 +34,9 @@ $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messageEntityPre.md b/old_docs/API_docs_v57/constructors/messageEntityPre.md index abfc9136..13b165fe 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v57/constructors/messageEntityPre.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPre={_='messageEntityPre', offset=int, length=int, language='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v57/constructors/messageEntityTextUrl.md index 91f6d36c..b6d82843 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v57/constructors/messageEntityTextUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/messageEntityUnknown.md b/old_docs/API_docs_v57/constructors/messageEntityUnknown.md index 69ca8a1b..4c434fd7 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v57/constructors/messageEntityUnknown.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messageEntityUrl.md b/old_docs/API_docs_v57/constructors/messageEntityUrl.md index 377c3dda..2cf334a5 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v57/constructors/messageEntityUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messageFwdHeader.md b/old_docs/API_docs_v57/constructors/messageFwdHeader.md index b55da4c5..999c62ad 100644 --- a/old_docs/API_docs_v57/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v57/constructors/messageFwdHeader.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int]; ``` @@ -35,10 +35,9 @@ $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messageMediaContact.md b/old_docs/API_docs_v57/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v57/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messageMediaDocument.md b/old_docs/API_docs_v57/constructors/messageMediaDocument.md index 1f584a82..44199179 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v57/constructors/messageMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document, caption='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/messageMediaEmpty.md b/old_docs/API_docs_v57/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v57/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/messageMediaGame.md b/old_docs/API_docs_v57/constructors/messageMediaGame.md index e97b2bd1..980dbbcc 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaGame.md +++ b/old_docs/API_docs_v57/constructors/messageMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` @@ -32,10 +32,9 @@ $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGame={_='messageMediaGame', game=Game} ``` diff --git a/old_docs/API_docs_v57/constructors/messageMediaGeo.md b/old_docs/API_docs_v57/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v57/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v57/constructors/messageMediaPhoto.md b/old_docs/API_docs_v57/constructors/messageMediaPhoto.md index 47579066..7350efce 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v57/constructors/messageMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v57/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v57/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v57/constructors/messageMediaVenue.md b/old_docs/API_docs_v57/constructors/messageMediaVenue.md index 2db2d25d..2ef2b27f 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v57/constructors/messageMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/messageMediaWebPage.md b/old_docs/API_docs_v57/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v57/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v57/constructors/messageRange.md b/old_docs/API_docs_v57/constructors/messageRange.md index 40c3f81a..527e8646 100644 --- a/old_docs/API_docs_v57/constructors/messageRange.md +++ b/old_docs/API_docs_v57/constructors/messageRange.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageRange={_='messageRange', min_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messageService.md b/old_docs/API_docs_v57/constructors/messageService.md index 8f47e32f..f9946e72 100644 --- a/old_docs/API_docs_v57/constructors/messageService.md +++ b/old_docs/API_docs_v57/constructors/messageService.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction]; ``` @@ -42,10 +42,9 @@ $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_affectedHistory.md b/old_docs/API_docs_v57/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v57/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v57/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_affectedMessages.md b/old_docs/API_docs_v57/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v57/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v57/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_allStickers.md b/old_docs/API_docs_v57/constructors/messages_allStickers.md index 2a7d1313..45a66ddf 100644 --- a/old_docs/API_docs_v57/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v57/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v57/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v57/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v57/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_archivedStickers.md b/old_docs/API_docs_v57/constructors/messages_archivedStickers.md index 458c74b9..639d174b 100644 --- a/old_docs/API_docs_v57/constructors/messages_archivedStickers.md +++ b/old_docs/API_docs_v57/constructors/messages_archivedStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -33,10 +33,9 @@ $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v57/constructors/messages_botCallbackAnswer.md index d70dea44..76cadf97 100644 --- a/old_docs/API_docs_v57/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v57/constructors/messages_botCallbackAnswer.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string']; ``` @@ -35,10 +35,9 @@ $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_botResults.md b/old_docs/API_docs_v57/constructors/messages_botResults.md index b26aa39e..5b97a820 100644 --- a/old_docs/API_docs_v57/constructors/messages_botResults.md +++ b/old_docs/API_docs_v57/constructors/messages_botResults.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult]]; ``` @@ -36,10 +36,9 @@ $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_channelMessages.md b/old_docs/API_docs_v57/constructors/messages_channelMessages.md index 43f4cdc6..0da0608d 100644 --- a/old_docs/API_docs_v57/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v57/constructors/messages_channelMessages.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'c ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_chatFull.md b/old_docs/API_docs_v57/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v57/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v57/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_chats.md b/old_docs/API_docs_v57/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v57/constructors/messages_chats.md +++ b/old_docs/API_docs_v57/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_dhConfig.md b/old_docs/API_docs_v57/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v57/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v57/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v57/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v57/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v57/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_dialogs.md b/old_docs/API_docs_v57/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v57/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v57/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v57/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v57/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v57/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_featuredStickers.md b/old_docs/API_docs_v57/constructors/messages_featuredStickers.md index 0ec8be8b..f40ec583 100644 --- a/old_docs/API_docs_v57/constructors/messages_featuredStickers.md +++ b/old_docs/API_docs_v57/constructors/messages_featuredStickers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; ``` @@ -34,10 +34,9 @@ $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v57/constructors/messages_featuredStickersNotModified.md index 87d2e6c7..3457ff96 100644 --- a/old_docs/API_docs_v57/constructors/messages_featuredStickersNotModified.md +++ b/old_docs/API_docs_v57/constructors/messages_featuredStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotMod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_foundGifs.md b/old_docs/API_docs_v57/constructors/messages_foundGifs.md index f86a9fed..4d513264 100644 --- a/old_docs/API_docs_v57/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v57/constructors/messages_foundGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; ``` @@ -33,10 +33,9 @@ $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'resul ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_highScores.md b/old_docs/API_docs_v57/constructors/messages_highScores.md index 1af58a14..08692c07 100644 --- a/old_docs/API_docs_v57/constructors/messages_highScores.md +++ b/old_docs/API_docs_v57/constructors/messages_highScores.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, Hi ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_messageEditData.md b/old_docs/API_docs_v57/constructors/messages_messageEditData.md index aee6e179..fe0f3ab3 100644 --- a/old_docs/API_docs_v57/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v57/constructors/messages_messageEditData.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` @@ -32,10 +32,9 @@ $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messageEditData={_='messages.messageEditData', caption=Bool} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_messages.md b/old_docs/API_docs_v57/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v57/constructors/messages_messages.md +++ b/old_docs/API_docs_v57/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_messagesSlice.md b/old_docs/API_docs_v57/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v57/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v57/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_peerDialogs.md b/old_docs/API_docs_v57/constructors/messages_peerDialogs.md index 93601b21..60aa48e6 100644 --- a/old_docs/API_docs_v57/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v57/constructors/messages_peerDialogs.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -36,10 +36,9 @@ $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Di ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_recentStickers.md b/old_docs/API_docs_v57/constructors/messages_recentStickers.md index b2ea1fa7..47a5c591 100644 --- a/old_docs/API_docs_v57/constructors/messages_recentStickers.md +++ b/old_docs/API_docs_v57/constructors/messages_recentStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v57/constructors/messages_recentStickersNotModified.md index 9bf964da..c3c4f654 100644 --- a/old_docs/API_docs_v57/constructors/messages_recentStickersNotModified.md +++ b/old_docs/API_docs_v57/constructors/messages_recentStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModifie ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickersNotModified={_='messages.recentStickersNotModified'} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_savedGifs.md b/old_docs/API_docs_v57/constructors/messages_savedGifs.md index 4a254ab5..ae7e595f 100644 --- a/old_docs/API_docs_v57/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v57/constructors/messages_savedGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Do ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v57/constructors/messages_savedGifsNotModified.md index 65c17d0c..ef0db669 100644 --- a/old_docs/API_docs_v57/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v57/constructors/messages_savedGifsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` @@ -27,10 +27,9 @@ $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifsNotModified={_='messages.savedGifsNotModified'} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v57/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v57/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v57/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v57/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v57/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v57/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_stickerSet.md b/old_docs/API_docs_v57/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/old_docs/API_docs_v57/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v57/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultArchive.md index 2f66cfa0..f43e11c0 100644 --- a/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultArchive.md +++ b/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultArchive.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -32,10 +32,9 @@ $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultSuccess.md index ef5752a2..bb6b00f3 100644 --- a/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultSuccess.md +++ b/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultSuccess.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; ``` @@ -27,10 +27,9 @@ $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_stickers.md b/old_docs/API_docs_v57/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v57/constructors/messages_stickers.md +++ b/old_docs/API_docs_v57/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v57/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v57/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v57/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v57/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v57/constructors/nearestDc.md b/old_docs/API_docs_v57/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v57/constructors/nearestDc.md +++ b/old_docs/API_docs_v57/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v57/constructors/notifyAll.md b/old_docs/API_docs_v57/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v57/constructors/notifyAll.md +++ b/old_docs/API_docs_v57/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v57/constructors/notifyChats.md b/old_docs/API_docs_v57/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v57/constructors/notifyChats.md +++ b/old_docs/API_docs_v57/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v57/constructors/notifyPeer.md b/old_docs/API_docs_v57/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v57/constructors/notifyPeer.md +++ b/old_docs/API_docs_v57/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v57/constructors/notifyUsers.md b/old_docs/API_docs_v57/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v57/constructors/notifyUsers.md +++ b/old_docs/API_docs_v57/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v57/constructors/peerChannel.md b/old_docs/API_docs_v57/constructors/peerChannel.md index f30e3f41..360d5c42 100644 --- a/old_docs/API_docs_v57/constructors/peerChannel.md +++ b/old_docs/API_docs_v57/constructors/peerChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/peerChat.md b/old_docs/API_docs_v57/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v57/constructors/peerChat.md +++ b/old_docs/API_docs_v57/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v57/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v57/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v57/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v57/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v57/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v57/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v57/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/peerNotifySettings.md b/old_docs/API_docs_v57/constructors/peerNotifySettings.md index f011beb7..2007e4ee 100644 --- a/old_docs/API_docs_v57/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v57/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'si ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v57/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v57/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v57/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/peerSettings.md b/old_docs/API_docs_v57/constructors/peerSettings.md index 8f74bb50..2468fee4 100644 --- a/old_docs/API_docs_v57/constructors/peerSettings.md +++ b/old_docs/API_docs_v57/constructors/peerSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` @@ -32,10 +32,9 @@ $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerSettings={_='peerSettings', report_spam=Bool} ``` diff --git a/old_docs/API_docs_v57/constructors/peerUser.md b/old_docs/API_docs_v57/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v57/constructors/peerUser.md +++ b/old_docs/API_docs_v57/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/photo.md b/old_docs/API_docs_v57/constructors/photo.md index 0cad6364..980980f4 100644 --- a/old_docs/API_docs_v57/constructors/photo.md +++ b/old_docs/API_docs_v57/constructors/photo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -36,10 +36,9 @@ $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', has_stickers=Bool, id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v57/constructors/photoCachedSize.md b/old_docs/API_docs_v57/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v57/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v57/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v57/constructors/photoEmpty.md b/old_docs/API_docs_v57/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v57/constructors/photoEmpty.md +++ b/old_docs/API_docs_v57/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v57/constructors/photoSize.md b/old_docs/API_docs_v57/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v57/constructors/photoSize.md +++ b/old_docs/API_docs_v57/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v57/constructors/photoSizeEmpty.md b/old_docs/API_docs_v57/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v57/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v57/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/photos_photo.md b/old_docs/API_docs_v57/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v57/constructors/photos_photo.md +++ b/old_docs/API_docs_v57/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v57/constructors/photos_photos.md b/old_docs/API_docs_v57/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v57/constructors/photos_photos.md +++ b/old_docs/API_docs_v57/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v57/constructors/photos_photosSlice.md b/old_docs/API_docs_v57/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v57/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v57/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v57/constructors/privacyKeyChatInvite.md b/old_docs/API_docs_v57/constructors/privacyKeyChatInvite.md index cc6e39b6..44826e55 100644 --- a/old_docs/API_docs_v57/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v57/constructors/privacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v57/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v57/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v57/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v57/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v57/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v57/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v57/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v57/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v57/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v57/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v57/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v57/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v57/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v57/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v57/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v57/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v57/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v57/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v57/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v57/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v57/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v57/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v57/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v57/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v57/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v57/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v57/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v57/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v57/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v57/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/old_docs/API_docs_v57/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v57/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/replyInlineMarkup.md b/old_docs/API_docs_v57/constructors/replyInlineMarkup.md index 6d353569..6e481165 100644 --- a/old_docs/API_docs_v57/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v57/constructors/replyInlineMarkup.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -32,10 +32,9 @@ $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v57/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v57/constructors/replyKeyboardForceReply.md index 56e255c1..3f7fae8c 100644 --- a/old_docs/API_docs_v57/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v57/constructors/replyKeyboardForceReply.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` @@ -33,10 +33,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool} ``` diff --git a/old_docs/API_docs_v57/constructors/replyKeyboardHide.md b/old_docs/API_docs_v57/constructors/replyKeyboardHide.md index 7251db49..30e9f399 100644 --- a/old_docs/API_docs_v57/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v57/constructors/replyKeyboardHide.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` @@ -32,10 +32,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide', selective=Bool} ``` diff --git a/old_docs/API_docs_v57/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v57/constructors/replyKeyboardMarkup.md index 87a55463..80f3f654 100644 --- a/old_docs/API_docs_v57/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v57/constructors/replyKeyboardMarkup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -35,10 +35,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v57/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v57/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v57/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v57/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v57/constructors/sendMessageGamePlayAction.md b/old_docs/API_docs_v57/constructors/sendMessageGamePlayAction.md index 8238ea55..0c395c75 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageGamePlayAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageGamePlayAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGamePlayAction={_='sendMessageGamePlayAction'} ``` diff --git a/old_docs/API_docs_v57/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v57/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v57/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v57/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v57/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v57/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v57/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v57/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v57/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v57/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/old_docs/API_docs_v57/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v57/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/old_docs/API_docs_v57/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v57/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/old_docs/API_docs_v57/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v57/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/old_docs/API_docs_v57/constructors/stickerPack.md b/old_docs/API_docs_v57/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v57/constructors/stickerPack.md +++ b/old_docs/API_docs_v57/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v57/constructors/stickerSet.md b/old_docs/API_docs_v57/constructors/stickerSet.md index afa3b21f..059e4ae7 100644 --- a/old_docs/API_docs_v57/constructors/stickerSet.md +++ b/old_docs/API_docs_v57/constructors/stickerSet.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -41,10 +41,9 @@ $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'of ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', installed=Bool, archived=Bool, official=Bool, masks=Bool, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/old_docs/API_docs_v57/constructors/stickerSetCovered.md b/old_docs/API_docs_v57/constructors/stickerSetCovered.md index cc1c806e..127b821f 100644 --- a/old_docs/API_docs_v57/constructors/stickerSetCovered.md +++ b/old_docs/API_docs_v57/constructors/stickerSetCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document]; ``` @@ -33,10 +33,9 @@ $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetCovered={_='stickerSetCovered', set=StickerSet, cover=Document} ``` diff --git a/old_docs/API_docs_v57/constructors/stickerSetMultiCovered.md b/old_docs/API_docs_v57/constructors/stickerSetMultiCovered.md index 74d10e38..9fc0ad35 100644 --- a/old_docs/API_docs_v57/constructors/stickerSetMultiCovered.md +++ b/old_docs/API_docs_v57/constructors/stickerSetMultiCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetMultiCovered={_='stickerSetMultiCovered', set=StickerSet, covers={Document}} ``` diff --git a/old_docs/API_docs_v57/constructors/storage_fileGif.md b/old_docs/API_docs_v57/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v57/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v57/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v57/constructors/storage_fileJpeg.md b/old_docs/API_docs_v57/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v57/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v57/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v57/constructors/storage_fileMov.md b/old_docs/API_docs_v57/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v57/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v57/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v57/constructors/storage_fileMp3.md b/old_docs/API_docs_v57/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v57/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v57/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v57/constructors/storage_fileMp4.md b/old_docs/API_docs_v57/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v57/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v57/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v57/constructors/storage_filePartial.md b/old_docs/API_docs_v57/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v57/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v57/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v57/constructors/storage_filePdf.md b/old_docs/API_docs_v57/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v57/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v57/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v57/constructors/storage_filePng.md b/old_docs/API_docs_v57/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v57/constructors/storage_filePng.md +++ b/old_docs/API_docs_v57/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v57/constructors/storage_fileUnknown.md b/old_docs/API_docs_v57/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v57/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v57/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v57/constructors/storage_fileWebp.md b/old_docs/API_docs_v57/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v57/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v57/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v57/constructors/topPeer.md b/old_docs/API_docs_v57/constructors/topPeer.md index aa49751b..fff00b7d 100644 --- a/old_docs/API_docs_v57/constructors/topPeer.md +++ b/old_docs/API_docs_v57/constructors/topPeer.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` @@ -33,10 +33,9 @@ $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeer={_='topPeer', peer=Peer, rating=double} ``` diff --git a/old_docs/API_docs_v57/constructors/topPeerCategoryBotsInline.md b/old_docs/API_docs_v57/constructors/topPeerCategoryBotsInline.md index 1d57e310..3f7906e2 100644 --- a/old_docs/API_docs_v57/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v57/constructors/topPeerCategoryBotsInline.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsInline={_='topPeerCategoryBotsInline'} ``` diff --git a/old_docs/API_docs_v57/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v57/constructors/topPeerCategoryBotsPM.md index f6207626..78f54b44 100644 --- a/old_docs/API_docs_v57/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v57/constructors/topPeerCategoryBotsPM.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsPM={_='topPeerCategoryBotsPM'} ``` diff --git a/old_docs/API_docs_v57/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v57/constructors/topPeerCategoryChannels.md index 8f0e1fcb..02947d85 100644 --- a/old_docs/API_docs_v57/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v57/constructors/topPeerCategoryChannels.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryChannels={_='topPeerCategoryChannels'} ``` diff --git a/old_docs/API_docs_v57/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v57/constructors/topPeerCategoryCorrespondents.md index 9435610d..c0362f78 100644 --- a/old_docs/API_docs_v57/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v57/constructors/topPeerCategoryCorrespondents.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents'} ``` diff --git a/old_docs/API_docs_v57/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v57/constructors/topPeerCategoryGroups.md index 3b6859df..dddb951c 100644 --- a/old_docs/API_docs_v57/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v57/constructors/topPeerCategoryGroups.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryGroups={_='topPeerCategoryGroups'} ``` diff --git a/old_docs/API_docs_v57/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v57/constructors/topPeerCategoryPeers.md index 886ab6f9..36d071f6 100644 --- a/old_docs/API_docs_v57/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v57/constructors/topPeerCategoryPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer, TopPeer]]; ``` @@ -34,10 +34,9 @@ $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}} ``` diff --git a/old_docs/API_docs_v57/constructors/true.md b/old_docs/API_docs_v57/constructors/true.md index 2e27ecbf..4863f16b 100644 --- a/old_docs/API_docs_v57/constructors/true.md +++ b/old_docs/API_docs_v57/constructors/true.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $true = ['_' => 'true']; ``` @@ -27,10 +27,9 @@ $true = ['_' => 'true']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua true={_='true'} ``` diff --git a/old_docs/API_docs_v57/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v57/constructors/updateBotCallbackQuery.md index 2216e362..389295a0 100644 --- a/old_docs/API_docs_v57/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v57/constructors/updateBotCallbackQuery.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -38,10 +38,9 @@ $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v57/constructors/updateBotInlineQuery.md index 1cc45358..ed15d35f 100644 --- a/old_docs/API_docs_v57/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v57/constructors/updateBotInlineQuery.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` @@ -36,10 +36,9 @@ $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query='string', geo=GeoPoint, offset='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/updateBotInlineSend.md b/old_docs/API_docs_v57/constructors/updateBotInlineSend.md index fe6c01d3..dda18420 100644 --- a/old_docs/API_docs_v57/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v57/constructors/updateBotInlineSend.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` @@ -36,10 +36,9 @@ $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineSend={_='updateBotInlineSend', user_id=int, query='string', geo=GeoPoint, id='string', msg_id=InputBotInlineMessageID} ``` diff --git a/old_docs/API_docs_v57/constructors/updateChannel.md b/old_docs/API_docs_v57/constructors/updateChannel.md index e615920a..fb876328 100644 --- a/old_docs/API_docs_v57/constructors/updateChannel.md +++ b/old_docs/API_docs_v57/constructors/updateChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannel={_='updateChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v57/constructors/updateChannelMessageViews.md index 19e0b648..d62f055a 100644 --- a/old_docs/API_docs_v57/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v57/constructors/updateChannelMessageViews.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` @@ -34,10 +34,9 @@ $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateChannelPinnedMessage.md b/old_docs/API_docs_v57/constructors/updateChannelPinnedMessage.md index c6e66353..0d767fb8 100644 --- a/old_docs/API_docs_v57/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v57/constructors/updateChannelPinnedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateChannelTooLong.md b/old_docs/API_docs_v57/constructors/updateChannelTooLong.md index e42904d0..179a43dd 100644 --- a/old_docs/API_docs_v57/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v57/constructors/updateChannelTooLong.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateChatAdmins.md b/old_docs/API_docs_v57/constructors/updateChatAdmins.md index 87ffd626..aac09762 100644 --- a/old_docs/API_docs_v57/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v57/constructors/updateChatAdmins.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v57/constructors/updateChatParticipantAdd.md index ea5157ad..fe76dc62 100644 --- a/old_docs/API_docs_v57/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v57/constructors/updateChatParticipantAdd.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` @@ -36,10 +36,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v57/constructors/updateChatParticipantAdmin.md index b1022850..d262b2e6 100644 --- a/old_docs/API_docs_v57/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v57/constructors/updateChatParticipantAdmin.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v57/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v57/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v57/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateChatParticipants.md b/old_docs/API_docs_v57/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v57/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v57/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v57/constructors/updateChatUserTyping.md b/old_docs/API_docs_v57/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v57/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v57/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v57/constructors/updateConfig.md b/old_docs/API_docs_v57/constructors/updateConfig.md index 6f25cf11..6d67156d 100644 --- a/old_docs/API_docs_v57/constructors/updateConfig.md +++ b/old_docs/API_docs_v57/constructors/updateConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateConfig = ['_' => 'updateConfig']; ``` @@ -27,10 +27,9 @@ $updateConfig = ['_' => 'updateConfig']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateConfig={_='updateConfig'} ``` diff --git a/old_docs/API_docs_v57/constructors/updateContactLink.md b/old_docs/API_docs_v57/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v57/constructors/updateContactLink.md +++ b/old_docs/API_docs_v57/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v57/constructors/updateContactRegistered.md b/old_docs/API_docs_v57/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v57/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v57/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateDcOptions.md b/old_docs/API_docs_v57/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v57/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v57/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v57/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v57/constructors/updateDeleteChannelMessages.md index 0f84f3f7..8fb10b65 100644 --- a/old_docs/API_docs_v57/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v57/constructors/updateDeleteChannelMessages.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateDeleteMessages.md b/old_docs/API_docs_v57/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v57/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v57/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateDraftMessage.md b/old_docs/API_docs_v57/constructors/updateDraftMessage.md index 7e759a4f..1bf7c2a4 100644 --- a/old_docs/API_docs_v57/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v57/constructors/updateDraftMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage]; ``` @@ -33,10 +33,9 @@ $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => D ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v57/constructors/updateEditChannelMessage.md b/old_docs/API_docs_v57/constructors/updateEditChannelMessage.md index 959c433a..485afae1 100644 --- a/old_docs/API_docs_v57/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v57/constructors/updateEditChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateEditMessage.md b/old_docs/API_docs_v57/constructors/updateEditMessage.md index f9f820e8..9f986f86 100644 --- a/old_docs/API_docs_v57/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v57/constructors/updateEditMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v57/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v57/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v57/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v57/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v57/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v57/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateEncryption.md b/old_docs/API_docs_v57/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v57/constructors/updateEncryption.md +++ b/old_docs/API_docs_v57/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateInlineBotCallbackQuery.md b/old_docs/API_docs_v57/constructors/updateInlineBotCallbackQuery.md index b1b40479..fb112694 100644 --- a/old_docs/API_docs_v57/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v57/constructors/updateInlineBotCallbackQuery.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -37,10 +37,9 @@ $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/updateMessageID.md b/old_docs/API_docs_v57/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v57/constructors/updateMessageID.md +++ b/old_docs/API_docs_v57/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateNewAuthorization.md b/old_docs/API_docs_v57/constructors/updateNewAuthorization.md index c7a95f80..ce1d0815 100644 --- a/old_docs/API_docs_v57/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v57/constructors/updateNewAuthorization.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => 'string', 'location' => 'string']; ``` @@ -35,10 +35,9 @@ $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewAuthorization={_='updateNewAuthorization', auth_key_id=long, date=int, device='string', location='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v57/constructors/updateNewChannelMessage.md index 59dbc820..9fa1c7ec 100644 --- a/old_docs/API_docs_v57/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v57/constructors/updateNewChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Messa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v57/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v57/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v57/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateNewMessage.md b/old_docs/API_docs_v57/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v57/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v57/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateNewStickerSet.md b/old_docs/API_docs_v57/constructors/updateNewStickerSet.md index c36d4617..5ba327ea 100644 --- a/old_docs/API_docs_v57/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v57/constructors/updateNewStickerSet.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` @@ -32,10 +32,9 @@ $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_S ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} ``` diff --git a/old_docs/API_docs_v57/constructors/updateNotifySettings.md b/old_docs/API_docs_v57/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v57/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v57/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v57/constructors/updatePrivacy.md b/old_docs/API_docs_v57/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v57/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v57/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v57/constructors/updatePtsChanged.md b/old_docs/API_docs_v57/constructors/updatePtsChanged.md index 76b49a1f..dac1d461 100644 --- a/old_docs/API_docs_v57/constructors/updatePtsChanged.md +++ b/old_docs/API_docs_v57/constructors/updatePtsChanged.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` @@ -27,10 +27,9 @@ $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePtsChanged={_='updatePtsChanged'} ``` diff --git a/old_docs/API_docs_v57/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v57/constructors/updateReadChannelInbox.md index be964e20..c8c26acb 100644 --- a/old_docs/API_docs_v57/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v57/constructors/updateReadChannelInbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateReadChannelOutbox.md b/old_docs/API_docs_v57/constructors/updateReadChannelOutbox.md index c725d108..664108d1 100644 --- a/old_docs/API_docs_v57/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v57/constructors/updateReadChannelOutbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelOutbox={_='updateReadChannelOutbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateReadFeaturedStickers.md b/old_docs/API_docs_v57/constructors/updateReadFeaturedStickers.md index ea46d41f..af7fd3d7 100644 --- a/old_docs/API_docs_v57/constructors/updateReadFeaturedStickers.md +++ b/old_docs/API_docs_v57/constructors/updateReadFeaturedStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` @@ -27,10 +27,9 @@ $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadFeaturedStickers={_='updateReadFeaturedStickers'} ``` diff --git a/old_docs/API_docs_v57/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v57/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v57/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v57/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v57/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v57/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v57/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v57/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/old_docs/API_docs_v57/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v57/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateRecentStickers.md b/old_docs/API_docs_v57/constructors/updateRecentStickers.md index cb15d01f..6f9acb77 100644 --- a/old_docs/API_docs_v57/constructors/updateRecentStickers.md +++ b/old_docs/API_docs_v57/constructors/updateRecentStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` @@ -27,10 +27,9 @@ $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateRecentStickers={_='updateRecentStickers'} ``` diff --git a/old_docs/API_docs_v57/constructors/updateSavedGifs.md b/old_docs/API_docs_v57/constructors/updateSavedGifs.md index dd17f321..ea5619fc 100644 --- a/old_docs/API_docs_v57/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v57/constructors/updateSavedGifs.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` @@ -27,10 +27,9 @@ $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v57/constructors/updateServiceNotification.md b/old_docs/API_docs_v57/constructors/updateServiceNotification.md index 979fe7bd..ddcf7eb5 100644 --- a/old_docs/API_docs_v57/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v57/constructors/updateServiceNotification.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool]; ``` @@ -35,10 +35,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'str ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', type='string', message='string', media=MessageMedia, popup=Bool} ``` diff --git a/old_docs/API_docs_v57/constructors/updateShort.md b/old_docs/API_docs_v57/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v57/constructors/updateShort.md +++ b/old_docs/API_docs_v57/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updateShortChatMessage.md b/old_docs/API_docs_v57/constructors/updateShortChatMessage.md index d62e0729..cbeb4739 100644 --- a/old_docs/API_docs_v57/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v57/constructors/updateShortChatMessage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -46,10 +46,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'ment ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v57/constructors/updateShortMessage.md b/old_docs/API_docs_v57/constructors/updateShortMessage.md index d4effcb8..a8348773 100644 --- a/old_docs/API_docs_v57/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v57/constructors/updateShortMessage.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -45,10 +45,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v57/constructors/updateShortSentMessage.md b/old_docs/API_docs_v57/constructors/updateShortSentMessage.md index fd7035c3..2a318e56 100644 --- a/old_docs/API_docs_v57/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v57/constructors/updateShortSentMessage.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -38,10 +38,9 @@ $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v57/constructors/updateStickerSets.md b/old_docs/API_docs_v57/constructors/updateStickerSets.md index 4f045d67..e4cc23a0 100644 --- a/old_docs/API_docs_v57/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v57/constructors/updateStickerSets.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSets = ['_' => 'updateStickerSets']; ``` @@ -27,10 +27,9 @@ $updateStickerSets = ['_' => 'updateStickerSets']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v57/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v57/constructors/updateStickerSetsOrder.md index e36470ad..74405f69 100644 --- a/old_docs/API_docs_v57/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v57/constructors/updateStickerSetsOrder.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long, long]]; ``` @@ -33,10 +33,9 @@ $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'or ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSetsOrder={_='updateStickerSetsOrder', masks=Bool, order={long}} ``` diff --git a/old_docs/API_docs_v57/constructors/updateUserBlocked.md b/old_docs/API_docs_v57/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v57/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v57/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v57/constructors/updateUserName.md b/old_docs/API_docs_v57/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v57/constructors/updateUserName.md +++ b/old_docs/API_docs_v57/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/updateUserPhone.md b/old_docs/API_docs_v57/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v57/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v57/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/updateUserPhoto.md b/old_docs/API_docs_v57/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v57/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v57/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v57/constructors/updateUserStatus.md b/old_docs/API_docs_v57/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v57/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v57/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v57/constructors/updateUserTyping.md b/old_docs/API_docs_v57/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v57/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v57/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v57/constructors/updateWebPage.md b/old_docs/API_docs_v57/constructors/updateWebPage.md index 9f468619..932d8ff2 100644 --- a/old_docs/API_docs_v57/constructors/updateWebPage.md +++ b/old_docs/API_docs_v57/constructors/updateWebPage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updates.md b/old_docs/API_docs_v57/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v57/constructors/updates.md +++ b/old_docs/API_docs_v57/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updatesCombined.md b/old_docs/API_docs_v57/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v57/constructors/updatesCombined.md +++ b/old_docs/API_docs_v57/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updatesTooLong.md b/old_docs/API_docs_v57/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v57/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v57/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v57/constructors/updates_channelDifference.md b/old_docs/API_docs_v57/constructors/updates_channelDifference.md index 21b618c2..df1dafd6 100644 --- a/old_docs/API_docs_v57/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v57/constructors/updates_channelDifference.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v57/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v57/constructors/updates_channelDifferenceEmpty.md index a2e49340..a5be0377 100644 --- a/old_docs/API_docs_v57/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v57/constructors/updates_channelDifferenceEmpty.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'fin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v57/constructors/updates_channelDifferenceTooLong.md index 0debd690..8f7e8b2f 100644 --- a/old_docs/API_docs_v57/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v57/constructors/updates_channelDifferenceTooLong.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -41,10 +41,9 @@ $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v57/constructors/updates_difference.md b/old_docs/API_docs_v57/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v57/constructors/updates_difference.md +++ b/old_docs/API_docs_v57/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v57/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v57/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v57/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v57/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v57/constructors/updates_differenceSlice.md b/old_docs/API_docs_v57/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v57/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v57/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v57/constructors/updates_state.md b/old_docs/API_docs_v57/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v57/constructors/updates_state.md +++ b/old_docs/API_docs_v57/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v57/constructors/upload_file.md b/old_docs/API_docs_v57/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v57/constructors/upload_file.md +++ b/old_docs/API_docs_v57/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v57/constructors/user.md b/old_docs/API_docs_v57/constructors/user.md index a7cdf2b3..f21f6324 100644 --- a/old_docs/API_docs_v57/constructors/user.md +++ b/old_docs/API_docs_v57/constructors/user.md @@ -42,7 +42,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => 'string', 'bot_inline_placeholder' => 'string']; ``` @@ -53,10 +53,9 @@ $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, min=Bool, bot_inline_geo=Bool, id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason='string', bot_inline_placeholder='string'} ``` diff --git a/old_docs/API_docs_v57/constructors/userEmpty.md b/old_docs/API_docs_v57/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v57/constructors/userEmpty.md +++ b/old_docs/API_docs_v57/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v57/constructors/userFull.md b/old_docs/API_docs_v57/constructors/userFull.md index 8feba00d..5d694997 100644 --- a/old_docs/API_docs_v57/constructors/userFull.md +++ b/old_docs/API_docs_v57/constructors/userFull.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo]; ``` @@ -38,10 +38,9 @@ $userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', blocked=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v57/constructors/userProfilePhoto.md b/old_docs/API_docs_v57/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v57/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v57/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v57/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v57/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v57/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v57/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/userStatusEmpty.md b/old_docs/API_docs_v57/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v57/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v57/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v57/constructors/userStatusLastMonth.md b/old_docs/API_docs_v57/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v57/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v57/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v57/constructors/userStatusLastWeek.md b/old_docs/API_docs_v57/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v57/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v57/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v57/constructors/userStatusOffline.md b/old_docs/API_docs_v57/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v57/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v57/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v57/constructors/userStatusOnline.md b/old_docs/API_docs_v57/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v57/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v57/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v57/constructors/userStatusRecently.md b/old_docs/API_docs_v57/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v57/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v57/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v57/constructors/vector.md b/old_docs/API_docs_v57/constructors/vector.md index c9e27763..d8ea6f1f 100644 --- a/old_docs/API_docs_v57/constructors/vector.md +++ b/old_docs/API_docs_v57/constructors/vector.md @@ -18,7 +18,7 @@ Array ### Example: -``` +```php $vector = ['_' => 'vector']; ``` @@ -29,10 +29,9 @@ $vector = ['_' => 'vector']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua vector={_='vector'} ``` diff --git a/old_docs/API_docs_v57/constructors/wallPaper.md b/old_docs/API_docs_v57/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v57/constructors/wallPaper.md +++ b/old_docs/API_docs_v57/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v57/constructors/wallPaperSolid.md b/old_docs/API_docs_v57/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v57/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v57/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v57/constructors/webPage.md b/old_docs/API_docs_v57/constructors/webPage.md index 1023918f..fe5271f3 100644 --- a/old_docs/API_docs_v57/constructors/webPage.md +++ b/old_docs/API_docs_v57/constructors/webPage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document]; ``` @@ -46,10 +46,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document} ``` diff --git a/old_docs/API_docs_v57/constructors/webPageEmpty.md b/old_docs/API_docs_v57/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v57/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v57/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v57/constructors/webPagePending.md b/old_docs/API_docs_v57/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v57/constructors/webPagePending.md +++ b/old_docs/API_docs_v57/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v57/methods/account_changePhone.md b/old_docs/API_docs_v57/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v57/methods/account_changePhone.md +++ b/old_docs/API_docs_v57/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/account_checkUsername.md b/old_docs/API_docs_v57/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v57/methods/account_checkUsername.md +++ b/old_docs/API_docs_v57/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/account_confirmPhone.md b/old_docs/API_docs_v57/methods/account_confirmPhone.md index a42b69b7..214f54e3 100644 --- a/old_docs/API_docs_v57/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v57/methods/account_confirmPhone.md @@ -25,7 +25,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.confirmPhone({phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/account_deleteAccount.md b/old_docs/API_docs_v57/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v57/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v57/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/account_getAccountTTL.md b/old_docs/API_docs_v57/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v57/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v57/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v57/methods/account_getAuthorizations.md b/old_docs/API_docs_v57/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v57/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v57/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v57/methods/account_getNotifySettings.md b/old_docs/API_docs_v57/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v57/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v57/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v57/methods/account_getPassword.md b/old_docs/API_docs_v57/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v57/methods/account_getPassword.md +++ b/old_docs/API_docs_v57/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v57/methods/account_getPasswordSettings.md b/old_docs/API_docs_v57/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v57/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v57/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v57/methods/account_getPrivacy.md b/old_docs/API_docs_v57/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v57/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v57/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v57/methods/account_getWallPapers.md b/old_docs/API_docs_v57/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v57/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v57/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v57/methods/account_registerDevice.md b/old_docs/API_docs_v57/methods/account_registerDevice.md index 25549dab..ed1fced0 100644 --- a/old_docs/API_docs_v57/methods/account_registerDevice.md +++ b/old_docs/API_docs_v57/methods/account_registerDevice.md @@ -25,7 +25,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/account_reportPeer.md b/old_docs/API_docs_v57/methods/account_reportPeer.md index d8c49851..673b48bf 100644 --- a/old_docs/API_docs_v57/methods/account_reportPeer.md +++ b/old_docs/API_docs_v57/methods/account_reportPeer.md @@ -25,7 +25,7 @@ Report for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reason - Json encoded ReportReason Or, if you're into Lua: -``` +```lua Bool = account.reportPeer({peer=InputPeer, reason=ReportReason, }) ``` diff --git a/old_docs/API_docs_v57/methods/account_resetAuthorization.md b/old_docs/API_docs_v57/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v57/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v57/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v57/methods/account_resetNotifySettings.md b/old_docs/API_docs_v57/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v57/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v57/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md index 33a001b9..123a5880 100644 --- a/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md @@ -26,7 +26,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md index a70ad5a3..5c2612c2 100644 --- a/old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md @@ -26,7 +26,7 @@ Send confirmation phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v57/methods/account_setAccountTTL.md b/old_docs/API_docs_v57/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v57/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v57/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v57/methods/account_setPrivacy.md b/old_docs/API_docs_v57/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v57/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v57/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v57/methods/account_unregisterDevice.md b/old_docs/API_docs_v57/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v57/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v57/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v57/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v57/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v57/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/account_updateNotifySettings.md b/old_docs/API_docs_v57/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v57/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v57/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v57/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v57/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v57/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v57/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v57/methods/account_updateProfile.md b/old_docs/API_docs_v57/methods/account_updateProfile.md index f415381f..f54515e5 100644 --- a/old_docs/API_docs_v57/methods/account_updateProfile.md +++ b/old_docs/API_docs_v57/methods/account_updateProfile.md @@ -26,7 +26,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', about='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/account_updateStatus.md b/old_docs/API_docs_v57/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v57/methods/account_updateStatus.md +++ b/old_docs/API_docs_v57/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v57/methods/account_updateUsername.md b/old_docs/API_docs_v57/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v57/methods/account_updateUsername.md +++ b/old_docs/API_docs_v57/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/auth_cancelCode.md b/old_docs/API_docs_v57/methods/auth_cancelCode.md index 0b53954c..352c88e9 100644 --- a/old_docs/API_docs_v57/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v57/methods/auth_cancelCode.md @@ -25,7 +25,7 @@ Invalidate sent phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/auth_checkPhone.md b/old_docs/API_docs_v57/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v57/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v57/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md index 26d63e12..64ce7528 100644 --- a/old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md @@ -24,7 +24,7 @@ Delete all temporary authorization keys except the ones provided ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ except_auth_keys - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = auth.dropTempAuthKeys({except_auth_keys={long}, }) ``` diff --git a/old_docs/API_docs_v57/methods/auth_recoverPassword.md b/old_docs/API_docs_v57/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v57/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v57/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v57/methods/auth_resendCode.md b/old_docs/API_docs_v57/methods/auth_resendCode.md index 28350d37..4ce58975 100644 --- a/old_docs/API_docs_v57/methods/auth_resendCode.md +++ b/old_docs/API_docs_v57/methods/auth_resendCode.md @@ -25,7 +25,7 @@ Resend the SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v57/methods/auth_sendInvites.md b/old_docs/API_docs_v57/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v57/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v57/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_checkUsername.md b/old_docs/API_docs_v57/methods/channels_checkUsername.md index d287b3ca..573bf8f0 100644 --- a/old_docs/API_docs_v57/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v57/methods/channels_checkUsername.md @@ -25,7 +25,7 @@ Check if this username is free and can be assigned to a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.checkUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_createChannel.md b/old_docs/API_docs_v57/methods/channels_createChannel.md index 356f473a..1821c864 100644 --- a/old_docs/API_docs_v57/methods/channels_createChannel.md +++ b/old_docs/API_docs_v57/methods/channels_createChannel.md @@ -27,7 +27,7 @@ Create channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title='string', about='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_deleteChannel.md b/old_docs/API_docs_v57/methods/channels_deleteChannel.md index b55d91b8..a79ccb9f 100644 --- a/old_docs/API_docs_v57/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v57/methods/channels_deleteChannel.md @@ -24,7 +24,7 @@ Delete a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.deleteChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_deleteMessages.md b/old_docs/API_docs_v57/methods/channels_deleteMessages.md index 03625c94..8cd7ebb3 100644 --- a/old_docs/API_docs_v57/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v57/methods/channels_deleteMessages.md @@ -25,7 +25,7 @@ Delete channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v57/methods/channels_deleteUserHistory.md index 204a8786..78baa90f 100644 --- a/old_docs/API_docs_v57/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v57/methods/channels_deleteUserHistory.md @@ -25,7 +25,7 @@ Delete all messages of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_editAbout.md b/old_docs/API_docs_v57/methods/channels_editAbout.md index fd861133..549d7ea5 100644 --- a/old_docs/API_docs_v57/methods/channels_editAbout.md +++ b/old_docs/API_docs_v57/methods/channels_editAbout.md @@ -25,7 +25,7 @@ Edit the about text of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.editAbout({channel=InputChannel, about='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_editAdmin.md b/old_docs/API_docs_v57/methods/channels_editAdmin.md index bc0793fe..b41561e0 100644 --- a/old_docs/API_docs_v57/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v57/methods/channels_editAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ role - Json encoded ChannelParticipantRole Or, if you're into Lua: -``` +```lua Updates = channels.editAdmin({channel=InputChannel, user_id=InputUser, role=ChannelParticipantRole, }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_editPhoto.md b/old_docs/API_docs_v57/methods/channels_editPhoto.md index ccbaed65..7013c6e2 100644 --- a/old_docs/API_docs_v57/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v57/methods/channels_editPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = channels.editPhoto({channel=InputChannel, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_editTitle.md b/old_docs/API_docs_v57/methods/channels_editTitle.md index ffd868ba..a9c8c50f 100644 --- a/old_docs/API_docs_v57/methods/channels_editTitle.md +++ b/old_docs/API_docs_v57/methods/channels_editTitle.md @@ -25,7 +25,7 @@ Edit the title of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.editTitle({channel=InputChannel, title='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_exportInvite.md b/old_docs/API_docs_v57/methods/channels_exportInvite.md index 0b4b5c31..5a92097a 100644 --- a/old_docs/API_docs_v57/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v57/methods/channels_exportInvite.md @@ -24,7 +24,7 @@ Export the invite link of a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua ExportedChatInvite = channels.exportInvite({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_exportMessageLink.md b/old_docs/API_docs_v57/methods/channels_exportMessageLink.md index f42068f4..a2e2cc10 100644 --- a/old_docs/API_docs_v57/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v57/methods/channels_exportMessageLink.md @@ -25,7 +25,7 @@ Get the link of a message in a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua ExportedMessageLink = channels.exportMessageLink({channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v57/methods/channels_getAdminedPublicChannels.md index 67ee8bd4..dc2c29ed 100644 --- a/old_docs/API_docs_v57/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v57/methods/channels_getAdminedPublicChannels.md @@ -19,7 +19,7 @@ Get all supergroups/channels where you're admin ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v57/methods/channels_getChannels.md b/old_docs/API_docs_v57/methods/channels_getChannels.md index 71edac7b..a146be1e 100644 --- a/old_docs/API_docs_v57/methods/channels_getChannels.md +++ b/old_docs/API_docs_v57/methods/channels_getChannels.md @@ -24,7 +24,7 @@ Get info about multiple channels/supergroups ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputChannel Or, if you're into Lua: -``` +```lua messages_Chats = channels.getChannels({id={InputChannel}, }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_getMessages.md b/old_docs/API_docs_v57/methods/channels_getMessages.md index 217757eb..208cbcc4 100644 --- a/old_docs/API_docs_v57/methods/channels_getMessages.md +++ b/old_docs/API_docs_v57/methods/channels_getMessages.md @@ -25,7 +25,7 @@ Get channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_getParticipant.md b/old_docs/API_docs_v57/methods/channels_getParticipant.md index a641d213..9cf80799 100644 --- a/old_docs/API_docs_v57/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v57/methods/channels_getParticipant.md @@ -25,7 +25,7 @@ Get info about a certain channel/supergroup participant ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_getParticipants.md b/old_docs/API_docs_v57/methods/channels_getParticipants.md index c2f0cdcd..3d4dfa13 100644 --- a/old_docs/API_docs_v57/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v57/methods/channels_getParticipants.md @@ -27,7 +27,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_inviteToChannel.md b/old_docs/API_docs_v57/methods/channels_inviteToChannel.md index 0a350cc8..998e3895 100644 --- a/old_docs/API_docs_v57/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v57/methods/channels_inviteToChannel.md @@ -25,7 +25,7 @@ Add users to channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ users - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Updates = channels.inviteToChannel({channel=InputChannel, users={InputUser}, }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_joinChannel.md b/old_docs/API_docs_v57/methods/channels_joinChannel.md index aae2bc1c..3c6a3b94 100644 --- a/old_docs/API_docs_v57/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v57/methods/channels_joinChannel.md @@ -24,7 +24,7 @@ Join a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.joinChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_kickFromChannel.md b/old_docs/API_docs_v57/methods/channels_kickFromChannel.md index c51cea7c..7586bdf6 100644 --- a/old_docs/API_docs_v57/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v57/methods/channels_kickFromChannel.md @@ -26,7 +26,7 @@ Kick user from channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ kicked - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.kickFromChannel({channel=InputChannel, user_id=InputUser, kicked=Bool, }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_leaveChannel.md b/old_docs/API_docs_v57/methods/channels_leaveChannel.md index 4e6701fe..0934089f 100644 --- a/old_docs/API_docs_v57/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v57/methods/channels_leaveChannel.md @@ -24,7 +24,7 @@ Leave a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.leaveChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_readHistory.md b/old_docs/API_docs_v57/methods/channels_readHistory.md index d76919ff..cf5c1529 100644 --- a/old_docs/API_docs_v57/methods/channels_readHistory.md +++ b/old_docs/API_docs_v57/methods/channels_readHistory.md @@ -25,7 +25,7 @@ Mark channel/supergroup history as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.readHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_reportSpam.md b/old_docs/API_docs_v57/methods/channels_reportSpam.md index 48022662..b0e99eb1 100644 --- a/old_docs/API_docs_v57/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v57/methods/channels_reportSpam.md @@ -26,7 +26,7 @@ Report a message in a supergroup/channel for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.reportSpam({channel=InputChannel, user_id=InputUser, id={int}, }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_toggleInvites.md b/old_docs/API_docs_v57/methods/channels_toggleInvites.md index d0023b70..bed6ba15 100644 --- a/old_docs/API_docs_v57/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v57/methods/channels_toggleInvites.md @@ -25,7 +25,7 @@ Allow or disallow any user to invite users to this channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleInvites({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_toggleSignatures.md b/old_docs/API_docs_v57/methods/channels_toggleSignatures.md index 337e8627..c9fe18cc 100644 --- a/old_docs/API_docs_v57/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v57/methods/channels_toggleSignatures.md @@ -25,7 +25,7 @@ Toggle channel signatures ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleSignatures({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md index c79c5904..9d2cc058 100644 --- a/old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md @@ -26,7 +26,7 @@ Set the pinned message of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = channels.updatePinnedMessage({silent=Bool, channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/channels_updateUsername.md b/old_docs/API_docs_v57/methods/channels_updateUsername.md index 2e07e123..c0df8c7c 100644 --- a/old_docs/API_docs_v57/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v57/methods/channels_updateUsername.md @@ -25,7 +25,7 @@ Update the username of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.updateUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/contacts_block.md b/old_docs/API_docs_v57/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v57/methods/contacts_block.md +++ b/old_docs/API_docs_v57/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v57/methods/contacts_deleteContact.md b/old_docs/API_docs_v57/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v57/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v57/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v57/methods/contacts_deleteContacts.md b/old_docs/API_docs_v57/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v57/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v57/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v57/methods/contacts_exportCard.md b/old_docs/API_docs_v57/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v57/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v57/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v57/methods/contacts_getBlocked.md b/old_docs/API_docs_v57/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v57/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v57/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/contacts_getContacts.md b/old_docs/API_docs_v57/methods/contacts_getContacts.md index ccf0f99d..dfa407f2 100644 --- a/old_docs/API_docs_v57/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v57/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/contacts_getStatuses.md b/old_docs/API_docs_v57/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v57/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v57/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v57/methods/contacts_getTopPeers.md b/old_docs/API_docs_v57/methods/contacts_getTopPeers.md index 1d3f7b21..f92611a2 100644 --- a/old_docs/API_docs_v57/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v57/methods/contacts_getTopPeers.md @@ -31,7 +31,7 @@ Get most used chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v57/methods/contacts_importCard.md b/old_docs/API_docs_v57/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v57/methods/contacts_importCard.md +++ b/old_docs/API_docs_v57/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v57/methods/contacts_importContacts.md b/old_docs/API_docs_v57/methods/contacts_importContacts.md index d0404dd2..f1b17e2c 100644 --- a/old_docs/API_docs_v57/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v57/methods/contacts_importContacts.md @@ -25,7 +25,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ replace - Json encoded Bool Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md index 96ae48ac..94a07f54 100644 --- a/old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md @@ -25,7 +25,7 @@ Reset top peer rating for a certain category/peer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = contacts.resetTopPeerRating({category=TopPeerCategory, peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v57/methods/contacts_search.md b/old_docs/API_docs_v57/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v57/methods/contacts_search.md +++ b/old_docs/API_docs_v57/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/contacts_unblock.md b/old_docs/API_docs_v57/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v57/methods/contacts_unblock.md +++ b/old_docs/API_docs_v57/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v57/methods/help_getAppChangelog.md b/old_docs/API_docs_v57/methods/help_getAppChangelog.md index 3bdd09e2..ce717f03 100644 --- a/old_docs/API_docs_v57/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v57/methods/help_getAppChangelog.md @@ -19,7 +19,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_AppChangelog = help.getAppChangelog({}) ``` diff --git a/old_docs/API_docs_v57/methods/help_getAppUpdate.md b/old_docs/API_docs_v57/methods/help_getAppUpdate.md index 4ddc0e4d..541b5972 100644 --- a/old_docs/API_docs_v57/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v57/methods/help_getAppUpdate.md @@ -19,7 +19,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v57/methods/help_getConfig.md b/old_docs/API_docs_v57/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v57/methods/help_getConfig.md +++ b/old_docs/API_docs_v57/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v57/methods/help_getInviteText.md b/old_docs/API_docs_v57/methods/help_getInviteText.md index 1510e64f..f05ac4ac 100644 --- a/old_docs/API_docs_v57/methods/help_getInviteText.md +++ b/old_docs/API_docs_v57/methods/help_getInviteText.md @@ -19,7 +19,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v57/methods/help_getNearestDc.md b/old_docs/API_docs_v57/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v57/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v57/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v57/methods/help_getSupport.md b/old_docs/API_docs_v57/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v57/methods/help_getSupport.md +++ b/old_docs/API_docs_v57/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v57/methods/help_getTermsOfService.md b/old_docs/API_docs_v57/methods/help_getTermsOfService.md index bf421bf6..95d51e60 100644 --- a/old_docs/API_docs_v57/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v57/methods/help_getTermsOfService.md @@ -19,7 +19,7 @@ Get terms of service ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v57/methods/help_saveAppLog.md b/old_docs/API_docs_v57/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v57/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v57/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v57/methods/initConnection.md b/old_docs/API_docs_v57/methods/initConnection.md index 58cdb067..e34794f8 100644 --- a/old_docs/API_docs_v57/methods/initConnection.md +++ b/old_docs/API_docs_v57/methods/initConnection.md @@ -29,7 +29,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v57/methods/invokeAfterMsg.md b/old_docs/API_docs_v57/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v57/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v57/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v57/methods/invokeAfterMsgs.md b/old_docs/API_docs_v57/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v57/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v57/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v57/methods/invokeWithLayer.md b/old_docs/API_docs_v57/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v57/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v57/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v57/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v57/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/old_docs/API_docs_v57/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v57/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_addChatUser.md b/old_docs/API_docs_v57/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v57/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v57/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_checkChatInvite.md b/old_docs/API_docs_v57/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/old_docs/API_docs_v57/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v57/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v57/methods/messages_clearRecentStickers.md index 56634143..53e1fa4f 100644 --- a/old_docs/API_docs_v57/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v57/methods/messages_clearRecentStickers.md @@ -24,7 +24,7 @@ Clear all recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ attached - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.clearRecentStickers({attached=Bool, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_createChat.md b/old_docs/API_docs_v57/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v57/methods/messages_createChat.md +++ b/old_docs/API_docs_v57/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_deleteChatUser.md b/old_docs/API_docs_v57/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v57/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v57/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_deleteHistory.md b/old_docs/API_docs_v57/methods/messages_deleteHistory.md index 866ba216..33d1ca52 100644 --- a/old_docs/API_docs_v57/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v57/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_deleteMessages.md b/old_docs/API_docs_v57/methods/messages_deleteMessages.md index 2aa9d7d1..24152bec 100644 --- a/old_docs/API_docs_v57/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v57/methods/messages_deleteMessages.md @@ -24,7 +24,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_editChatAdmin.md b/old_docs/API_docs_v57/methods/messages_editChatAdmin.md index a2dad97f..f883b50e 100644 --- a/old_docs/API_docs_v57/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v57/methods/messages_editChatAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ is_admin - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.editChatAdmin({chat_id=InputPeer, user_id=InputUser, is_admin=Bool, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_editChatPhoto.md b/old_docs/API_docs_v57/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v57/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v57/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_editChatTitle.md b/old_docs/API_docs_v57/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v57/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v57/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md index c669c8d7..6c04ab6f 100644 --- a/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md @@ -29,7 +29,7 @@ Edit a sent inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -66,7 +66,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.editInlineBotMessage({no_webpage=Bool, id=InputBotInlineMessageID, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_editMessage.md b/old_docs/API_docs_v57/methods/messages_editMessage.md index 7af0cfd9..db5cc876 100644 --- a/old_docs/API_docs_v57/methods/messages_editMessage.md +++ b/old_docs/API_docs_v57/methods/messages_editMessage.md @@ -30,7 +30,7 @@ Edit a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -67,7 +67,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.editMessage({no_webpage=Bool, peer=InputPeer, id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_exportChatInvite.md b/old_docs/API_docs_v57/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/old_docs/API_docs_v57/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v57/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_forwardMessage.md b/old_docs/API_docs_v57/methods/messages_forwardMessage.md index 586670b8..d9c0453f 100644 --- a/old_docs/API_docs_v57/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v57/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_forwardMessages.md b/old_docs/API_docs_v57/methods/messages_forwardMessages.md index 99815a44..caf61d66 100644 --- a/old_docs/API_docs_v57/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v57/methods/messages_forwardMessages.md @@ -29,7 +29,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ to_peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({silent=Bool, background=Bool, with_my_score=Bool, from_peer=InputPeer, id={int}, to_peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getAllDrafts.md b/old_docs/API_docs_v57/methods/messages_getAllDrafts.md index 31aa8176..7300e01a 100644 --- a/old_docs/API_docs_v57/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v57/methods/messages_getAllDrafts.md @@ -19,7 +19,7 @@ Get all message drafts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Updates = messages.getAllDrafts({}) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getAllStickers.md b/old_docs/API_docs_v57/methods/messages_getAllStickers.md index 966af122..c25a823b 100644 --- a/old_docs/API_docs_v57/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v57/methods/messages_getArchivedStickers.md index e98ab6ec..ef79ee6e 100644 --- a/old_docs/API_docs_v57/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getArchivedStickers.md @@ -26,7 +26,7 @@ Get all archived stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v57/methods/messages_getAttachedStickers.md index 0e221a84..9ada6655 100644 --- a/old_docs/API_docs_v57/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getAttachedStickers.md @@ -24,7 +24,7 @@ Get stickers attachable to images ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ media - Json encoded InputStickeredMedia Or, if you're into Lua: -``` +```lua Vector_of_StickerSetCovered = messages.getAttachedStickers({media=InputStickeredMedia, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md index ffcd8a2e..b4f1d02f 100644 --- a/old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md @@ -27,7 +27,7 @@ Get the callback answer of a bot (after clicking a button) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ data - Json encoded bytes Or, if you're into Lua: -``` +```lua messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getChats.md b/old_docs/API_docs_v57/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v57/methods/messages_getChats.md +++ b/old_docs/API_docs_v57/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getDialogs.md b/old_docs/API_docs_v57/methods/messages_getDialogs.md index 557cb7d9..2919a482 100644 --- a/old_docs/API_docs_v57/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v57/methods/messages_getDialogs.md @@ -27,7 +27,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v57/methods/messages_getDocumentByHash.md index 5b6f6f21..00f0a558 100644 --- a/old_docs/API_docs_v57/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v57/methods/messages_getDocumentByHash.md @@ -26,7 +26,7 @@ Get document by SHA256 hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ mime_type - Json encoded string Or, if you're into Lua: -``` +```lua Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md index a837377b..c257621e 100644 --- a/old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md @@ -24,7 +24,7 @@ Get featured stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getGameHighScores.md b/old_docs/API_docs_v57/methods/messages_getGameHighScores.md index f7837998..a97fb1ff 100644 --- a/old_docs/API_docs_v57/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v57/methods/messages_getGameHighScores.md @@ -26,7 +26,7 @@ Get high scores of a game ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getHistory.md b/old_docs/API_docs_v57/methods/messages_getHistory.md index 76d20b70..23f2d6e9 100644 --- a/old_docs/API_docs_v57/methods/messages_getHistory.md +++ b/old_docs/API_docs_v57/methods/messages_getHistory.md @@ -30,7 +30,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v57/methods/messages_getInlineBotResults.md index 03b5d845..73f2deb2 100644 --- a/old_docs/API_docs_v57/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v57/methods/messages_getInlineBotResults.md @@ -28,7 +28,7 @@ Call inline bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ offset - Json encoded string Or, if you're into Lua: -``` +```lua messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v57/methods/messages_getInlineGameHighScores.md index e8be8e81..046c1cfb 100644 --- a/old_docs/API_docs_v57/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v57/methods/messages_getInlineGameHighScores.md @@ -25,7 +25,7 @@ Get high scores of a game sent in an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getMaskStickers.md b/old_docs/API_docs_v57/methods/messages_getMaskStickers.md index 55c4edea..06fd153e 100644 --- a/old_docs/API_docs_v57/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getMaskStickers.md @@ -24,7 +24,7 @@ Get masks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getMessageEditData.md b/old_docs/API_docs_v57/methods/messages_getMessageEditData.md index 2c44a1dc..77e2c030 100644 --- a/old_docs/API_docs_v57/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v57/methods/messages_getMessageEditData.md @@ -25,7 +25,7 @@ Check if about to edit a message or a media caption ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getMessages.md b/old_docs/API_docs_v57/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v57/methods/messages_getMessages.md +++ b/old_docs/API_docs_v57/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getMessagesViews.md b/old_docs/API_docs_v57/methods/messages_getMessagesViews.md index 57a99054..b2b6110e 100644 --- a/old_docs/API_docs_v57/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v57/methods/messages_getMessagesViews.md @@ -26,7 +26,7 @@ Get and increase message views ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ increment - Json encoded Bool Or, if you're into Lua: -``` +```lua Vector_of_int = messages.getMessagesViews({peer=InputPeer, id={int}, increment=Bool, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v57/methods/messages_getPeerDialogs.md index ca746b3b..a34873df 100644 --- a/old_docs/API_docs_v57/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v57/methods/messages_getPeerDialogs.md @@ -24,7 +24,7 @@ Get dialog info of peers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peers - Json encoded array of InputPeer Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getPeerSettings.md b/old_docs/API_docs_v57/methods/messages_getPeerSettings.md index 92d4697a..e2b3ec4f 100644 --- a/old_docs/API_docs_v57/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v57/methods/messages_getPeerSettings.md @@ -24,7 +24,7 @@ Get the settings of apeer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua PeerSettings = messages.getPeerSettings({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getRecentStickers.md b/old_docs/API_docs_v57/methods/messages_getRecentStickers.md index d89272fd..939fd036 100644 --- a/old_docs/API_docs_v57/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getRecentStickers.md @@ -25,7 +25,7 @@ Get recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getSavedGifs.md b/old_docs/API_docs_v57/methods/messages_getSavedGifs.md index cafba4e1..1a879907 100644 --- a/old_docs/API_docs_v57/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v57/methods/messages_getSavedGifs.md @@ -24,7 +24,7 @@ Get saved gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getStickerSet.md b/old_docs/API_docs_v57/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/old_docs/API_docs_v57/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v57/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v57/methods/messages_getWebPagePreview.md index 8475c8f5..4838be94 100644 --- a/old_docs/API_docs_v57/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v57/methods/messages_getWebPagePreview.md @@ -24,7 +24,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_hideReportSpam.md b/old_docs/API_docs_v57/methods/messages_hideReportSpam.md index 17a7f8ef..1c0d72c5 100644 --- a/old_docs/API_docs_v57/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v57/methods/messages_hideReportSpam.md @@ -24,7 +24,7 @@ Hide report spam popup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.hideReportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_importChatInvite.md b/old_docs/API_docs_v57/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/old_docs/API_docs_v57/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v57/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_installStickerSet.md b/old_docs/API_docs_v57/methods/messages_installStickerSet.md index 88131136..6bdb9390 100644 --- a/old_docs/API_docs_v57/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v57/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ archived - Json encoded Bool Or, if you're into Lua: -``` +```lua messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_migrateChat.md b/old_docs/API_docs_v57/methods/messages_migrateChat.md index df91f510..e789ff7d 100644 --- a/old_docs/API_docs_v57/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v57/methods/messages_migrateChat.md @@ -24,7 +24,7 @@ Convert chat to supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.migrateChat({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md index 2c34ac0f..9fef6621 100644 --- a/old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md @@ -24,7 +24,7 @@ Mark new featured stickers as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.readFeaturedStickers({id={long}, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_readHistory.md b/old_docs/API_docs_v57/methods/messages_readHistory.md index 48d7fb45..4a2188d8 100644 --- a/old_docs/API_docs_v57/methods/messages_readHistory.md +++ b/old_docs/API_docs_v57/methods/messages_readHistory.md @@ -25,7 +25,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_readMessageContents.md b/old_docs/API_docs_v57/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v57/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v57/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_receivedMessages.md b/old_docs/API_docs_v57/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/old_docs/API_docs_v57/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v57/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md index c1c35ef6..cd73daa0 100644 --- a/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md @@ -25,7 +25,7 @@ Reorder sticker sets ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.reorderStickerSets({masks=Bool, order={long}, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_reportSpam.md b/old_docs/API_docs_v57/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/old_docs/API_docs_v57/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v57/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_saveDraft.md b/old_docs/API_docs_v57/methods/messages_saveDraft.md index ede72c41..14e69f93 100644 --- a/old_docs/API_docs_v57/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v57/methods/messages_saveDraft.md @@ -29,7 +29,7 @@ Save a message draft ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -57,7 +57,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.saveDraft({no_webpage=Bool, reply_to_msg_id=int, peer=InputPeer, message='string', entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_saveGif.md b/old_docs/API_docs_v57/methods/messages_saveGif.md index adae6d86..dfa956ab 100644 --- a/old_docs/API_docs_v57/methods/messages_saveGif.md +++ b/old_docs/API_docs_v57/methods/messages_saveGif.md @@ -25,7 +25,7 @@ Save a GIF ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveGif({id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v57/methods/messages_saveRecentSticker.md index 9cd06ea1..1abf524f 100644 --- a/old_docs/API_docs_v57/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v57/methods/messages_saveRecentSticker.md @@ -26,7 +26,7 @@ Add a sticker to recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveRecentSticker({attached=Bool, id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_search.md b/old_docs/API_docs_v57/methods/messages_search.md index 4c373c29..b4549f38 100644 --- a/old_docs/API_docs_v57/methods/messages_search.md +++ b/old_docs/API_docs_v57/methods/messages_search.md @@ -31,7 +31,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_searchGifs.md b/old_docs/API_docs_v57/methods/messages_searchGifs.md index 1ef77d23..a12cdd21 100644 --- a/old_docs/API_docs_v57/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v57/methods/messages_searchGifs.md @@ -25,7 +25,7 @@ Search gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_searchGlobal.md b/old_docs/API_docs_v57/methods/messages_searchGlobal.md index 4d05bf0d..1fb73592 100644 --- a/old_docs/API_docs_v57/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v57/methods/messages_searchGlobal.md @@ -28,7 +28,7 @@ Global message search ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_sendEncrypted.md b/old_docs/API_docs_v57/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v57/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v57/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v57/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v57/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v57/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md index 8de674c6..37fae63a 100644 --- a/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md @@ -30,7 +30,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ id - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.sendInlineBotResult({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_sendMedia.md b/old_docs/API_docs_v57/methods/messages_sendMedia.md index 2290e52e..7c4e0dcf 100644 --- a/old_docs/API_docs_v57/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v57/methods/messages_sendMedia.md @@ -30,7 +30,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, media=InputMedia, reply_markup=ReplyMarkup, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_sendMessage.md b/old_docs/API_docs_v57/methods/messages_sendMessage.md index 77790562..9cdc74eb 100644 --- a/old_docs/API_docs_v57/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v57/methods/messages_sendMessage.md @@ -33,7 +33,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMessage({no_webpage=Bool, silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md index e75a6d4c..9968cbe4 100644 --- a/old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md @@ -27,7 +27,7 @@ Bots only: set the callback answer (after a button was clicked) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ url - Json encoded string Or, if you're into Lua: -``` +```lua Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message='string', url='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_setGameScore.md b/old_docs/API_docs_v57/methods/messages_setGameScore.md index 0164a532..bb333082 100644 --- a/old_docs/API_docs_v57/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v57/methods/messages_setGameScore.md @@ -28,7 +28,7 @@ Set the game score ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.setGameScore({edit_message=Bool, peer=InputPeer, id=int, user_id=InputUser, score=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v57/methods/messages_setInlineBotResults.md index 443a028e..e1ebe4e3 100644 --- a/old_docs/API_docs_v57/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v57/methods/messages_setInlineBotResults.md @@ -30,7 +30,7 @@ Bots only: set the results of an inline query ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: -``` +```lua Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset='string', switch_pm=InlineBotSwitchPM, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v57/methods/messages_setInlineGameScore.md index 66fd1acd..f2c10946 100644 --- a/old_docs/API_docs_v57/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v57/methods/messages_setInlineGameScore.md @@ -27,7 +27,7 @@ Set the game score of an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setInlineGameScore({edit_message=Bool, id=InputBotInlineMessageID, user_id=InputUser, score=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_setTyping.md b/old_docs/API_docs_v57/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v57/methods/messages_setTyping.md +++ b/old_docs/API_docs_v57/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_startBot.md b/old_docs/API_docs_v57/methods/messages_startBot.md index 506957a7..71f82822 100644 --- a/old_docs/API_docs_v57/methods/messages_startBot.md +++ b/old_docs/API_docs_v57/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md index 0f1e56fa..56438277 100644 --- a/old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md @@ -25,7 +25,7 @@ Enable all users are admins in normal groups (not supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = messages.toggleChatAdmins({chat_id=InputPeer, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v57/methods/photos_deletePhotos.md b/old_docs/API_docs_v57/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v57/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v57/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v57/methods/photos_getUserPhotos.md b/old_docs/API_docs_v57/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/old_docs/API_docs_v57/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v57/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md index 8eb42e5d..26ab417e 100644 --- a/old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md @@ -24,7 +24,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputPhoto Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, }) ``` diff --git a/old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md index 9b838b89..8d047d9a 100644 --- a/old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ file - Json encoded InputFile Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` diff --git a/old_docs/API_docs_v57/methods/users_getUsers.md b/old_docs/API_docs_v57/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v57/methods/users_getUsers.md +++ b/old_docs/API_docs_v57/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v57/types/Chat.md b/old_docs/API_docs_v57/types/Chat.md index cd83aacb..58654e6e 100644 --- a/old_docs/API_docs_v57/types/Chat.md +++ b/old_docs/API_docs_v57/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v57/types/InputChannel.md b/old_docs/API_docs_v57/types/InputChannel.md index 3882099d..6dc802fc 100644 --- a/old_docs/API_docs_v57/types/InputChannel.md +++ b/old_docs/API_docs_v57/types/InputChannel.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputChannel = '@username'; // Username $InputChannel = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v57/types/InputEncryptedChat.md b/old_docs/API_docs_v57/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v57/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v57/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v57/types/InputEncryptedFile.md b/old_docs/API_docs_v57/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v57/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v57/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v57/types/InputFile.md b/old_docs/API_docs_v57/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v57/types/InputFile.md +++ b/old_docs/API_docs_v57/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v57/types/InputNotifyPeer.md b/old_docs/API_docs_v57/types/InputNotifyPeer.md index ffc1f0cf..f9d0a662 100644 --- a/old_docs/API_docs_v57/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v57/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v57/types/InputPeer.md b/old_docs/API_docs_v57/types/InputPeer.md index 2076c00b..2649db1a 100644 --- a/old_docs/API_docs_v57/types/InputPeer.md +++ b/old_docs/API_docs_v57/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v57/types/InputUser.md b/old_docs/API_docs_v57/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/old_docs/API_docs_v57/types/InputUser.md +++ b/old_docs/API_docs_v57/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v57/types/KeyboardButton.md b/old_docs/API_docs_v57/types/KeyboardButton.md index a3d7dedc..00d79fb7 100644 --- a/old_docs/API_docs_v57/types/KeyboardButton.md +++ b/old_docs/API_docs_v57/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/old_docs/API_docs_v57/types/NotifyPeer.md b/old_docs/API_docs_v57/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v57/types/NotifyPeer.md +++ b/old_docs/API_docs_v57/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v57/types/Peer.md b/old_docs/API_docs_v57/types/Peer.md index ebb98e91..0ab7fdcc 100644 --- a/old_docs/API_docs_v57/types/Peer.md +++ b/old_docs/API_docs_v57/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v57/types/User.md b/old_docs/API_docs_v57/types/User.md index b145a3f8..5385caa4 100644 --- a/old_docs/API_docs_v57/types/User.md +++ b/old_docs/API_docs_v57/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v62/constructors/accountDaysTTL.md b/old_docs/API_docs_v62/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v62/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v62/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v62/constructors/account_authorizations.md b/old_docs/API_docs_v62/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v62/constructors/account_authorizations.md +++ b/old_docs/API_docs_v62/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v62/constructors/account_noPassword.md b/old_docs/API_docs_v62/constructors/account_noPassword.md index 81a483d6..63a4af6d 100644 --- a/old_docs/API_docs_v62/constructors/account_noPassword.md +++ b/old_docs/API_docs_v62/constructors/account_noPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -33,10 +33,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'emai ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/account_password.md b/old_docs/API_docs_v62/constructors/account_password.md index 9a8b31c6..5c4c334b 100644 --- a/old_docs/API_docs_v62/constructors/account_password.md +++ b/old_docs/API_docs_v62/constructors/account_password.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` @@ -36,10 +36,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v62/constructors/account_passwordInputSettings.md index f474e0c7..b5838f0a 100644 --- a/old_docs/API_docs_v62/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v62/constructors/account_passwordInputSettings.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v62/constructors/account_passwordSettings.md b/old_docs/API_docs_v62/constructors/account_passwordSettings.md index 27d14f59..04fc8621 100644 --- a/old_docs/API_docs_v62/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v62/constructors/account_passwordSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v62/constructors/account_privacyRules.md b/old_docs/API_docs_v62/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v62/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v62/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v62/constructors/auth_authorization.md b/old_docs/API_docs_v62/constructors/auth_authorization.md index c8133016..b858e501 100644 --- a/old_docs/API_docs_v62/constructors/auth_authorization.md +++ b/old_docs/API_docs_v62/constructors/auth_authorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v62/constructors/auth_checkedPhone.md b/old_docs/API_docs_v62/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v62/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v62/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v62/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v62/constructors/auth_codeTypeCall.md index 6a4f28d1..788a2c37 100644 --- a/old_docs/API_docs_v62/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v62/constructors/auth_codeTypeCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeCall={_='auth.codeTypeCall'} ``` diff --git a/old_docs/API_docs_v62/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v62/constructors/auth_codeTypeFlashCall.md index 2851bf4e..abb65fcf 100644 --- a/old_docs/API_docs_v62/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v62/constructors/auth_codeTypeFlashCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} ``` diff --git a/old_docs/API_docs_v62/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v62/constructors/auth_codeTypeSms.md index 04b78a3d..34b42c95 100644 --- a/old_docs/API_docs_v62/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v62/constructors/auth_codeTypeSms.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeSms={_='auth.codeTypeSms'} ``` diff --git a/old_docs/API_docs_v62/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v62/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v62/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v62/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v62/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v62/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v62/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v62/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v62/constructors/auth_sentCode.md b/old_docs/API_docs_v62/constructors/auth_sentCode.md index 0226e79e..2b3f2017 100644 --- a/old_docs/API_docs_v62/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v62/constructors/auth_sentCode.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; ``` @@ -36,10 +36,9 @@ $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} ``` diff --git a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeApp.md index eb4f4530..eba1784a 100644 --- a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeApp.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeCall.md index b72a7550..5948ce63 100644 --- a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeFlashCall.md index 2c59cad5..bcc7acf6 100644 --- a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeFlashCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeSms.md index db6858ea..3073333f 100644 --- a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeSms.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v62/constructors/authorization.md b/old_docs/API_docs_v62/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v62/constructors/authorization.md +++ b/old_docs/API_docs_v62/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v62/constructors/botCommand.md b/old_docs/API_docs_v62/constructors/botCommand.md index 8569358d..fcb65461 100644 --- a/old_docs/API_docs_v62/constructors/botCommand.md +++ b/old_docs/API_docs_v62/constructors/botCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v62/constructors/botInfo.md b/old_docs/API_docs_v62/constructors/botInfo.md index 507f9f8c..ad88f390 100644 --- a/old_docs/API_docs_v62/constructors/botInfo.md +++ b/old_docs/API_docs_v62/constructors/botInfo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v62/constructors/botInlineMediaResult.md b/old_docs/API_docs_v62/constructors/botInlineMediaResult.md index 43454784..0131af98 100644 --- a/old_docs/API_docs_v62/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v62/constructors/botInlineMediaResult.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` @@ -38,10 +38,9 @@ $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} ``` diff --git a/old_docs/API_docs_v62/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v62/constructors/botInlineMessageMediaAuto.md index 71557e0c..89ef07e4 100644 --- a/old_docs/API_docs_v62/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v62/constructors/botInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v62/constructors/botInlineMessageMediaContact.md b/old_docs/API_docs_v62/constructors/botInlineMessageMediaContact.md index c3f25947..771472fa 100644 --- a/old_docs/API_docs_v62/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v62/constructors/botInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v62/constructors/botInlineMessageMediaGeo.md b/old_docs/API_docs_v62/constructors/botInlineMessageMediaGeo.md index c87e0dfe..24bf8b8d 100644 --- a/old_docs/API_docs_v62/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v62/constructors/botInlineMessageMediaGeo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v62/constructors/botInlineMessageMediaVenue.md b/old_docs/API_docs_v62/constructors/botInlineMessageMediaVenue.md index 4795ba75..8108a37c 100644 --- a/old_docs/API_docs_v62/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v62/constructors/botInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v62/constructors/botInlineMessageText.md b/old_docs/API_docs_v62/constructors/botInlineMessageText.md index 4a274d28..b3fa92ed 100644 --- a/old_docs/API_docs_v62/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v62/constructors/botInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v62/constructors/botInlineResult.md b/old_docs/API_docs_v62/constructors/botInlineResult.md index c7abbd71..8b6ead75 100644 --- a/old_docs/API_docs_v62/constructors/botInlineResult.md +++ b/old_docs/API_docs_v62/constructors/botInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` @@ -43,10 +43,9 @@ $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_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v62/constructors/channel.md b/old_docs/API_docs_v62/constructors/channel.md index 489f65c7..98c32d4b 100644 --- a/old_docs/API_docs_v62/constructors/channel.md +++ b/old_docs/API_docs_v62/constructors/channel.md @@ -40,7 +40,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => 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']; ``` @@ -51,10 +51,9 @@ $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=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'} ``` diff --git a/old_docs/API_docs_v62/constructors/channelForbidden.md b/old_docs/API_docs_v62/constructors/channelForbidden.md index 27a78b5c..7d083e83 100644 --- a/old_docs/API_docs_v62/constructors/channelForbidden.md +++ b/old_docs/API_docs_v62/constructors/channelForbidden.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` @@ -36,10 +36,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v62/constructors/channelFull.md b/old_docs/API_docs_v62/constructors/channelFull.md index c947a32e..671149f5 100644 --- a/old_docs/API_docs_v62/constructors/channelFull.md +++ b/old_docs/API_docs_v62/constructors/channelFull.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_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]; ``` @@ -48,10 +48,9 @@ $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, id=int, about='string', participants_count=int, admins_count=int, kicked_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} ``` diff --git a/old_docs/API_docs_v62/constructors/channelMessagesFilter.md b/old_docs/API_docs_v62/constructors/channelMessagesFilter.md index b19d3151..1b953ba3 100644 --- a/old_docs/API_docs_v62/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v62/constructors/channelMessagesFilter.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v62/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v62/constructors/channelMessagesFilterEmpty.md index 350e50de..a446b896 100644 --- a/old_docs/API_docs_v62/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v62/constructors/channelMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/channelParticipant.md b/old_docs/API_docs_v62/constructors/channelParticipant.md index c7de5400..dbcb792b 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipant.md +++ b/old_docs/API_docs_v62/constructors/channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v62/constructors/channelParticipantCreator.md b/old_docs/API_docs_v62/constructors/channelParticipantCreator.md index 86cafe0a..e999fb9c 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantCreator={_='channelParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/channelParticipantEditor.md b/old_docs/API_docs_v62/constructors/channelParticipantEditor.md index 37ae4bb0..7c7e4dc9 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantEditor.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v62/constructors/channelParticipantKicked.md b/old_docs/API_docs_v62/constructors/channelParticipantKicked.md index ccc454be..6bcc2e0f 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantKicked.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int} ``` diff --git a/old_docs/API_docs_v62/constructors/channelParticipantModerator.md b/old_docs/API_docs_v62/constructors/channelParticipantModerator.md index 90b4ab52..49c68acd 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantModerator.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v62/constructors/channelParticipantSelf.md b/old_docs/API_docs_v62/constructors/channelParticipantSelf.md index 83864972..4b5949ac 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantSelf.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v62/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v62/constructors/channelParticipantsAdmins.md index c86cb9a4..4b0c30d4 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantsAdmins.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` @@ -27,10 +27,9 @@ $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v62/constructors/channelParticipantsBots.md b/old_docs/API_docs_v62/constructors/channelParticipantsBots.md index 30875f94..66e510c7 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantsBots.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` @@ -27,10 +27,9 @@ $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v62/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v62/constructors/channelParticipantsKicked.md index 7f026ceb..38cf128e 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantsKicked.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` @@ -27,10 +27,9 @@ $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v62/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v62/constructors/channelParticipantsRecent.md index e4cb6466..51e57069 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantsRecent.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` @@ -27,10 +27,9 @@ $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v62/constructors/channelRoleEditor.md b/old_docs/API_docs_v62/constructors/channelRoleEditor.md index 86d953a9..1e472d2f 100644 --- a/old_docs/API_docs_v62/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v62/constructors/channelRoleEditor.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` @@ -27,10 +27,9 @@ $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v62/constructors/channelRoleEmpty.md b/old_docs/API_docs_v62/constructors/channelRoleEmpty.md index a50bb310..85d1c3fb 100644 --- a/old_docs/API_docs_v62/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v62/constructors/channelRoleEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` @@ -27,10 +27,9 @@ $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/channelRoleModerator.md b/old_docs/API_docs_v62/constructors/channelRoleModerator.md index 781f60ad..f242ff5c 100644 --- a/old_docs/API_docs_v62/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v62/constructors/channelRoleModerator.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` @@ -27,10 +27,9 @@ $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleModerator={_='channelRoleModerator'} ``` diff --git a/old_docs/API_docs_v62/constructors/channels_channelParticipant.md b/old_docs/API_docs_v62/constructors/channels_channelParticipant.md index bdf27b08..107502c5 100644 --- a/old_docs/API_docs_v62/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v62/constructors/channels_channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v62/constructors/channels_channelParticipants.md b/old_docs/API_docs_v62/constructors/channels_channelParticipants.md index 1b76b1e0..0402423f 100644 --- a/old_docs/API_docs_v62/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v62/constructors/channels_channelParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v62/constructors/chat.md b/old_docs/API_docs_v62/constructors/chat.md index 5ae1811d..b6f24f3e 100644 --- a/old_docs/API_docs_v62/constructors/chat.md +++ b/old_docs/API_docs_v62/constructors/chat.md @@ -33,7 +33,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -44,10 +44,9 @@ $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} ``` diff --git a/old_docs/API_docs_v62/constructors/chatEmpty.md b/old_docs/API_docs_v62/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v62/constructors/chatEmpty.md +++ b/old_docs/API_docs_v62/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/chatForbidden.md b/old_docs/API_docs_v62/constructors/chatForbidden.md index de5bb302..61c45660 100644 --- a/old_docs/API_docs_v62/constructors/chatForbidden.md +++ b/old_docs/API_docs_v62/constructors/chatForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v62/constructors/chatFull.md b/old_docs/API_docs_v62/constructors/chatFull.md index 6e138596..2a5f67f6 100644 --- a/old_docs/API_docs_v62/constructors/chatFull.md +++ b/old_docs/API_docs_v62/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v62/constructors/chatInvite.md b/old_docs/API_docs_v62/constructors/chatInvite.md index c0f14de6..54027d67 100644 --- a/old_docs/API_docs_v62/constructors/chatInvite.md +++ b/old_docs/API_docs_v62/constructors/chatInvite.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User, User]]; ``` @@ -39,10 +39,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v62/constructors/chatInviteAlready.md b/old_docs/API_docs_v62/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/old_docs/API_docs_v62/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v62/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/old_docs/API_docs_v62/constructors/chatInviteEmpty.md b/old_docs/API_docs_v62/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/old_docs/API_docs_v62/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v62/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/chatInviteExported.md b/old_docs/API_docs_v62/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/old_docs/API_docs_v62/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v62/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/chatParticipant.md b/old_docs/API_docs_v62/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v62/constructors/chatParticipant.md +++ b/old_docs/API_docs_v62/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v62/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v62/constructors/chatParticipantAdmin.md index 62aee9a4..63a38575 100644 --- a/old_docs/API_docs_v62/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v62/constructors/chatParticipantAdmin.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v62/constructors/chatParticipantCreator.md b/old_docs/API_docs_v62/constructors/chatParticipantCreator.md index 0fb7b6ef..75b9c4d4 100644 --- a/old_docs/API_docs_v62/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v62/constructors/chatParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantCreator={_='chatParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/chatParticipants.md b/old_docs/API_docs_v62/constructors/chatParticipants.md index 38af2ca5..ae254290 100644 --- a/old_docs/API_docs_v62/constructors/chatParticipants.md +++ b/old_docs/API_docs_v62/constructors/chatParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v62/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v62/constructors/chatParticipantsForbidden.md index 2ecdfe10..639b30ee 100644 --- a/old_docs/API_docs_v62/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v62/constructors/chatParticipantsForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v62/constructors/chatPhoto.md b/old_docs/API_docs_v62/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v62/constructors/chatPhoto.md +++ b/old_docs/API_docs_v62/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v62/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v62/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v62/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v62/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/config.md b/old_docs/API_docs_v62/constructors/config.md index 2f7f7b81..9f68e966 100644 --- a/old_docs/API_docs_v62/constructors/config.md +++ b/old_docs/API_docs_v62/constructors/config.md @@ -49,7 +49,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, '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, 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -60,10 +60,9 @@ $config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'date' => int, 'expire ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', phonecalls_enabled=Bool, date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, tmp_sessions=int, pinned_dialogs_count_max=int, call_receive_timeout_ms=int, call_ring_timeout_ms=int, call_connect_timeout_ms=int, call_packet_timeout_ms=int, disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v62/constructors/contact.md b/old_docs/API_docs_v62/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v62/constructors/contact.md +++ b/old_docs/API_docs_v62/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v62/constructors/contactBlocked.md b/old_docs/API_docs_v62/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v62/constructors/contactBlocked.md +++ b/old_docs/API_docs_v62/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v62/constructors/contactLinkContact.md b/old_docs/API_docs_v62/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v62/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v62/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v62/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v62/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v62/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v62/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v62/constructors/contactLinkNone.md b/old_docs/API_docs_v62/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v62/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v62/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v62/constructors/contactLinkUnknown.md b/old_docs/API_docs_v62/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v62/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v62/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v62/constructors/contactStatus.md b/old_docs/API_docs_v62/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v62/constructors/contactStatus.md +++ b/old_docs/API_docs_v62/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v62/constructors/contacts_blocked.md b/old_docs/API_docs_v62/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v62/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v62/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v62/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v62/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v62/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v62/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v62/constructors/contacts_contacts.md b/old_docs/API_docs_v62/constructors/contacts_contacts.md index 34dae91a..ea16b38a 100644 --- a/old_docs/API_docs_v62/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v62/constructors/contacts_contacts.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} ``` diff --git a/old_docs/API_docs_v62/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v62/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v62/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v62/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v62/constructors/contacts_found.md b/old_docs/API_docs_v62/constructors/contacts_found.md index 7e0e458c..624fa475 100644 --- a/old_docs/API_docs_v62/constructors/contacts_found.md +++ b/old_docs/API_docs_v62/constructors/contacts_found.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v62/constructors/contacts_importedContacts.md b/old_docs/API_docs_v62/constructors/contacts_importedContacts.md index 7bf9c1bf..8b9012bb 100644 --- a/old_docs/API_docs_v62/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v62/constructors/contacts_importedContacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v62/constructors/contacts_link.md b/old_docs/API_docs_v62/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v62/constructors/contacts_link.md +++ b/old_docs/API_docs_v62/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v62/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v62/constructors/contacts_resolvedPeer.md index add29235..4aa323dd 100644 --- a/old_docs/API_docs_v62/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v62/constructors/contacts_resolvedPeer.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v62/constructors/contacts_topPeers.md b/old_docs/API_docs_v62/constructors/contacts_topPeers.md index 8777bff2..e4728594 100644 --- a/old_docs/API_docs_v62/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v62/constructors/contacts_topPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCatego ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v62/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v62/constructors/contacts_topPeersNotModified.md index 3aa2236a..7ec0114a 100644 --- a/old_docs/API_docs_v62/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v62/constructors/contacts_topPeersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeersNotModified={_='contacts.topPeersNotModified'} ``` diff --git a/old_docs/API_docs_v62/constructors/dcOption.md b/old_docs/API_docs_v62/constructors/dcOption.md index 3fd6f51f..c4e1a91f 100644 --- a/old_docs/API_docs_v62/constructors/dcOption.md +++ b/old_docs/API_docs_v62/constructors/dcOption.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` @@ -37,10 +37,9 @@ $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, id=int, ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v62/constructors/destroy_auth_key_fail.md b/old_docs/API_docs_v62/constructors/destroy_auth_key_fail.md index 08f2aa59..4beb933f 100644 --- a/old_docs/API_docs_v62/constructors/destroy_auth_key_fail.md +++ b/old_docs/API_docs_v62/constructors/destroy_auth_key_fail.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail']; ``` @@ -27,10 +27,9 @@ $destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_auth_key_fail={_='destroy_auth_key_fail'} ``` diff --git a/old_docs/API_docs_v62/constructors/destroy_auth_key_none.md b/old_docs/API_docs_v62/constructors/destroy_auth_key_none.md index 1656ed53..301bbf37 100644 --- a/old_docs/API_docs_v62/constructors/destroy_auth_key_none.md +++ b/old_docs/API_docs_v62/constructors/destroy_auth_key_none.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_auth_key_none = ['_' => 'destroy_auth_key_none']; ``` @@ -27,10 +27,9 @@ $destroy_auth_key_none = ['_' => 'destroy_auth_key_none']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_auth_key_none={_='destroy_auth_key_none'} ``` diff --git a/old_docs/API_docs_v62/constructors/destroy_auth_key_ok.md b/old_docs/API_docs_v62/constructors/destroy_auth_key_ok.md index 944521fb..19f56968 100644 --- a/old_docs/API_docs_v62/constructors/destroy_auth_key_ok.md +++ b/old_docs/API_docs_v62/constructors/destroy_auth_key_ok.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok']; ``` @@ -27,10 +27,9 @@ $destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_auth_key_ok={_='destroy_auth_key_ok'} ``` diff --git a/old_docs/API_docs_v62/constructors/dialog.md b/old_docs/API_docs_v62/constructors/dialog.md index 64680ec2..b65961c2 100644 --- a/old_docs/API_docs_v62/constructors/dialog.md +++ b/old_docs/API_docs_v62/constructors/dialog.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'pinned' => Bool, 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage]; ``` @@ -40,10 +40,9 @@ $dialog = ['_' => 'dialog', 'pinned' => Bool, 'peer' => Peer, 'top_message' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', pinned=Bool, peer=Peer, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings, pts=int, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v62/constructors/disabledFeature.md b/old_docs/API_docs_v62/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v62/constructors/disabledFeature.md +++ b/old_docs/API_docs_v62/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/document.md b/old_docs/API_docs_v62/constructors/document.md index 1a0f1fc1..58c44a23 100644 --- a/old_docs/API_docs_v62/constructors/document.md +++ b/old_docs/API_docs_v62/constructors/document.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -40,10 +40,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, version=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v62/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v62/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v62/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v62/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v62/constructors/documentAttributeAudio.md b/old_docs/API_docs_v62/constructors/documentAttributeAudio.md index 0dc5decc..f427a05c 100644 --- a/old_docs/API_docs_v62/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v62/constructors/documentAttributeAudio.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` @@ -36,10 +36,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'du ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title='string', performer='string', waveform='bytes'} ``` diff --git a/old_docs/API_docs_v62/constructors/documentAttributeFilename.md b/old_docs/API_docs_v62/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v62/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v62/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/documentAttributeHasStickers.md b/old_docs/API_docs_v62/constructors/documentAttributeHasStickers.md index fff783df..90c58e35 100644 --- a/old_docs/API_docs_v62/constructors/documentAttributeHasStickers.md +++ b/old_docs/API_docs_v62/constructors/documentAttributeHasStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` @@ -27,10 +27,9 @@ $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeHasStickers={_='documentAttributeHasStickers'} ``` diff --git a/old_docs/API_docs_v62/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v62/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v62/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v62/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v62/constructors/documentAttributeSticker.md b/old_docs/API_docs_v62/constructors/documentAttributeSticker.md index ba5243fb..b200f7f0 100644 --- a/old_docs/API_docs_v62/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v62/constructors/documentAttributeSticker.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => 'string', 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords]; ``` @@ -35,10 +35,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', mask=Bool, alt='string', stickerset=InputStickerSet, mask_coords=MaskCoords} ``` diff --git a/old_docs/API_docs_v62/constructors/documentAttributeVideo.md b/old_docs/API_docs_v62/constructors/documentAttributeVideo.md index 0902c118..cc7ffced 100644 --- a/old_docs/API_docs_v62/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v62/constructors/documentAttributeVideo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -34,10 +34,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v62/constructors/documentEmpty.md b/old_docs/API_docs_v62/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v62/constructors/documentEmpty.md +++ b/old_docs/API_docs_v62/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v62/constructors/draftMessage.md b/old_docs/API_docs_v62/constructors/draftMessage.md index 370ffaef..ecec69a1 100644 --- a/old_docs/API_docs_v62/constructors/draftMessage.md +++ b/old_docs/API_docs_v62/constructors/draftMessage.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'date' => int]; ``` @@ -36,10 +36,9 @@ $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message='string', entities={MessageEntity}, date=int} ``` diff --git a/old_docs/API_docs_v62/constructors/draftMessageEmpty.md b/old_docs/API_docs_v62/constructors/draftMessageEmpty.md index 15b2aa67..65902a71 100644 --- a/old_docs/API_docs_v62/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v62/constructors/draftMessageEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` @@ -27,10 +27,9 @@ $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessageEmpty={_='draftMessageEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/encryptedChat.md b/old_docs/API_docs_v62/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v62/constructors/encryptedChat.md +++ b/old_docs/API_docs_v62/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v62/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v62/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v62/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v62/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v62/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v62/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v62/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/encryptedChatRequested.md b/old_docs/API_docs_v62/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v62/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v62/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v62/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v62/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v62/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v62/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/encryptedFile.md b/old_docs/API_docs_v62/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v62/constructors/encryptedFile.md +++ b/old_docs/API_docs_v62/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v62/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v62/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v62/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v62/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/encryptedMessage.md b/old_docs/API_docs_v62/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v62/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v62/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v62/constructors/encryptedMessageService.md b/old_docs/API_docs_v62/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v62/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v62/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v62/constructors/error.md b/old_docs/API_docs_v62/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v62/constructors/error.md +++ b/old_docs/API_docs_v62/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/exportedMessageLink.md b/old_docs/API_docs_v62/constructors/exportedMessageLink.md index 423c9fa3..9db8d71a 100644 --- a/old_docs/API_docs_v62/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v62/constructors/exportedMessageLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua exportedMessageLink={_='exportedMessageLink', link='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/fileLocation.md b/old_docs/API_docs_v62/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v62/constructors/fileLocation.md +++ b/old_docs/API_docs_v62/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v62/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v62/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v62/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v62/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v62/constructors/foundGif.md b/old_docs/API_docs_v62/constructors/foundGif.md index d8ee3695..c2f0ce33 100644 --- a/old_docs/API_docs_v62/constructors/foundGif.md +++ b/old_docs/API_docs_v62/constructors/foundGif.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` @@ -37,10 +37,9 @@ $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'con ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGif={_='foundGif', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int} ``` diff --git a/old_docs/API_docs_v62/constructors/foundGifCached.md b/old_docs/API_docs_v62/constructors/foundGifCached.md index e4a1a552..03e67917 100644 --- a/old_docs/API_docs_v62/constructors/foundGifCached.md +++ b/old_docs/API_docs_v62/constructors/foundGifCached.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -34,10 +34,9 @@ $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGifCached={_='foundGifCached', url='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v62/constructors/game.md b/old_docs/API_docs_v62/constructors/game.md index 790fbeeb..088ca95e 100644 --- a/old_docs/API_docs_v62/constructors/game.md +++ b/old_docs/API_docs_v62/constructors/game.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -38,10 +38,9 @@ $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua game={_='game', id=long, access_hash=long, short_name='string', title='string', description='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v62/constructors/geoPoint.md b/old_docs/API_docs_v62/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v62/constructors/geoPoint.md +++ b/old_docs/API_docs_v62/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v62/constructors/geoPointEmpty.md b/old_docs/API_docs_v62/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v62/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v62/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/help_appChangelog.md b/old_docs/API_docs_v62/constructors/help_appChangelog.md index cad4395e..60538314 100644 --- a/old_docs/API_docs_v62/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v62/constructors/help_appChangelog.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelog = ['_' => 'help.appChangelog', 'message' => 'string', 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -34,10 +34,9 @@ $help_appChangelog = ['_' => 'help.appChangelog', 'message' => 'string', 'media' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelog={_='help.appChangelog', message='string', media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v62/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v62/constructors/help_appChangelogEmpty.md index 0f0827c3..e20017b7 100644 --- a/old_docs/API_docs_v62/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v62/constructors/help_appChangelogEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` @@ -27,10 +27,9 @@ $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appChangelogEmpty={_='help.appChangelogEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/help_appUpdate.md b/old_docs/API_docs_v62/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v62/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v62/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/help_inviteText.md b/old_docs/API_docs_v62/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v62/constructors/help_inviteText.md +++ b/old_docs/API_docs_v62/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/help_noAppUpdate.md b/old_docs/API_docs_v62/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v62/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v62/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v62/constructors/help_support.md b/old_docs/API_docs_v62/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v62/constructors/help_support.md +++ b/old_docs/API_docs_v62/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v62/constructors/help_termsOfService.md b/old_docs/API_docs_v62/constructors/help_termsOfService.md index 8e558bed..ec7a8121 100644 --- a/old_docs/API_docs_v62/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v62/constructors/help_termsOfService.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_termsOfService={_='help.termsOfService', text='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/highScore.md b/old_docs/API_docs_v62/constructors/highScore.md index 63a8ab05..265c0487 100644 --- a/old_docs/API_docs_v62/constructors/highScore.md +++ b/old_docs/API_docs_v62/constructors/highScore.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int]; ``` @@ -34,10 +34,9 @@ $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua highScore={_='highScore', pos=int, user_id=int, score=int} ``` diff --git a/old_docs/API_docs_v62/constructors/importedContact.md b/old_docs/API_docs_v62/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v62/constructors/importedContact.md +++ b/old_docs/API_docs_v62/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v62/constructors/inlineBotSwitchPM.md b/old_docs/API_docs_v62/constructors/inlineBotSwitchPM.md index 0dfd4714..b4fb8185 100644 --- a/old_docs/API_docs_v62/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v62/constructors/inlineBotSwitchPM.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` @@ -33,10 +33,9 @@ $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_par ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inlineBotSwitchPM={_='inlineBotSwitchPM', text='string', start_param='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputAppEvent.md b/old_docs/API_docs_v62/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v62/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v62/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineMessageGame.md b/old_docs/API_docs_v62/constructors/inputBotInlineMessageGame.md index 8e59cd54..66c8997b 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineMessageGame.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineMessageGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup]; ``` @@ -32,10 +32,9 @@ $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageGame={_='inputBotInlineMessageGame', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineMessageID.md b/old_docs/API_docs_v62/constructors/inputBotInlineMessageID.md index 91c7586d..aecbb733 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineMessageID.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaAuto.md index 28d93836..17e2a1cb 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'cap ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaContact.md b/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaContact.md index 5b78709f..25dd9029 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaGeo.md b/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaGeo.md index 39365847..935dba16 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaGeo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaVenue.md b/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaVenue.md index 7dbc6a6c..56ec0745 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'g ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v62/constructors/inputBotInlineMessageText.md index e6a0bbb7..acae47bc 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineResult.md b/old_docs/API_docs_v62/constructors/inputBotInlineResult.md index 668af514..34148d70 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` @@ -43,10 +43,9 @@ $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineResultDocument.md b/old_docs/API_docs_v62/constructors/inputBotInlineResultDocument.md index ad13df76..9d5f1eb6 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineResultDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` @@ -37,10 +37,9 @@ $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultDocument={_='inputBotInlineResultDocument', id='string', type='string', title='string', description='string', document=InputDocument, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineResultGame.md b/old_docs/API_docs_v62/constructors/inputBotInlineResultGame.md index 5967bea6..b7821035 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineResultGame.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineResultGame.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string', 'short_name' => 'string', 'send_message' => InputBotInlineMessage]; ``` @@ -34,10 +34,9 @@ $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultGame={_='inputBotInlineResultGame', id='string', short_name='string', send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineResultPhoto.md b/old_docs/API_docs_v62/constructors/inputBotInlineResultPhoto.md index 43f00813..271bb02e 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineResultPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` @@ -35,10 +35,9 @@ $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id='string', type='string', photo=InputPhoto, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v62/constructors/inputChannel.md b/old_docs/API_docs_v62/constructors/inputChannel.md index b5cb3566..34ed10ca 100644 --- a/old_docs/API_docs_v62/constructors/inputChannel.md +++ b/old_docs/API_docs_v62/constructors/inputChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannel={_='inputChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v62/constructors/inputChannelEmpty.md b/old_docs/API_docs_v62/constructors/inputChannelEmpty.md index f7e18434..bd53602b 100644 --- a/old_docs/API_docs_v62/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputChannelEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` @@ -27,10 +27,9 @@ $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputChatPhoto.md b/old_docs/API_docs_v62/constructors/inputChatPhoto.md index 636d6f68..cbae66d1 100644 --- a/old_docs/API_docs_v62/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v62/constructors/inputChatPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v62/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v62/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v62/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v62/constructors/inputChatUploadedPhoto.md index 840ed815..8b5535ab 100644 --- a/old_docs/API_docs_v62/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v62/constructors/inputChatUploadedPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile]; ``` @@ -32,10 +32,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile} ``` diff --git a/old_docs/API_docs_v62/constructors/inputDocument.md b/old_docs/API_docs_v62/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v62/constructors/inputDocument.md +++ b/old_docs/API_docs_v62/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v62/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v62/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v62/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v62/constructors/inputDocumentFileLocation.md index df556f40..94ab0038 100644 --- a/old_docs/API_docs_v62/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v62/constructors/inputDocumentFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int]; ``` @@ -34,10 +34,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, version=int} ``` diff --git a/old_docs/API_docs_v62/constructors/inputEncryptedChat.md b/old_docs/API_docs_v62/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v62/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v62/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v62/constructors/inputEncryptedFile.md b/old_docs/API_docs_v62/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v62/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v62/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v62/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v62/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v62/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v62/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v62/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v62/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v62/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v62/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v62/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v62/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v62/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v62/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v62/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v62/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v62/constructors/inputFile.md b/old_docs/API_docs_v62/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v62/constructors/inputFile.md +++ b/old_docs/API_docs_v62/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputFileBig.md b/old_docs/API_docs_v62/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v62/constructors/inputFileBig.md +++ b/old_docs/API_docs_v62/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputFileLocation.md b/old_docs/API_docs_v62/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v62/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v62/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v62/constructors/inputGameID.md b/old_docs/API_docs_v62/constructors/inputGameID.md index 1fff2dd1..fba24333 100644 --- a/old_docs/API_docs_v62/constructors/inputGameID.md +++ b/old_docs/API_docs_v62/constructors/inputGameID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameID={_='inputGameID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v62/constructors/inputGameShortName.md b/old_docs/API_docs_v62/constructors/inputGameShortName.md index 742b5ae5..031e3f4c 100644 --- a/old_docs/API_docs_v62/constructors/inputGameShortName.md +++ b/old_docs/API_docs_v62/constructors/inputGameShortName.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => 'string']; ``` @@ -33,10 +33,9 @@ $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'shor ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameShortName={_='inputGameShortName', bot_id=InputUser, short_name='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputGeoPoint.md b/old_docs/API_docs_v62/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v62/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v62/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v62/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v62/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v62/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMediaContact.md b/old_docs/API_docs_v62/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v62/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMediaDocument.md b/old_docs/API_docs_v62/constructors/inputMediaDocument.md index 8c961036..9436d5e4 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v62/constructors/inputMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'capt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMediaDocumentExternal.md b/old_docs/API_docs_v62/constructors/inputMediaDocumentExternal.md index e6537807..35a560a0 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaDocumentExternal.md +++ b/old_docs/API_docs_v62/constructors/inputMediaDocumentExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'string', 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocumentExternal={_='inputMediaDocumentExternal', url='string', caption='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMediaEmpty.md b/old_docs/API_docs_v62/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMediaGame.md b/old_docs/API_docs_v62/constructors/inputMediaGame.md index 883e5672..c4cc2cfc 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaGame.md +++ b/old_docs/API_docs_v62/constructors/inputMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` @@ -32,10 +32,9 @@ $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGame={_='inputMediaGame', id=InputGame} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v62/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v62/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v62/constructors/inputMediaGifExternal.md index cf68972a..14153a43 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v62/constructors/inputMediaGifExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGifExternal={_='inputMediaGifExternal', url='string', q='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMediaPhoto.md b/old_docs/API_docs_v62/constructors/inputMediaPhoto.md index 0be7f6fe..71f4ded5 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v62/constructors/inputMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMediaPhotoExternal.md b/old_docs/API_docs_v62/constructors/inputMediaPhotoExternal.md index fe057842..8725b488 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaPhotoExternal.md +++ b/old_docs/API_docs_v62/constructors/inputMediaPhotoExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhotoExternal={_='inputMediaPhotoExternal', url='string', caption='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v62/constructors/inputMediaUploadedDocument.md index 0368b9c9..7767c58b 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v62/constructors/inputMediaUploadedDocument.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument, InputDocument]]; ``` @@ -36,10 +36,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string', stickers={InputDocument}} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v62/constructors/inputMediaUploadedPhoto.md index 52fd2410..784bbceb 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v62/constructors/inputMediaUploadedPhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string', 'stickers' => [InputDocument, InputDocument]]; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption='string', stickers={InputDocument}} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v62/constructors/inputMediaUploadedThumbDocument.md index 181d7f39..2340901f 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v62/constructors/inputMediaUploadedThumbDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument, InputDocument]]; ``` @@ -37,10 +37,9 @@ $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string', stickers={InputDocument}} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMediaVenue.md b/old_docs/API_docs_v62/constructors/inputMediaVenue.md index 3e7ee3a1..b2171fbc 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v62/constructors/inputMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessageEntityMentionName.md b/old_docs/API_docs_v62/constructors/inputMessageEntityMentionName.md index 92d5c8d9..19a0b4e3 100644 --- a/old_docs/API_docs_v62/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v62/constructors/inputMessageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser]; ``` @@ -34,10 +34,9 @@ $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessageEntityMentionName={_='inputMessageEntityMentionName', offset=int, length=int, user_id=InputUser} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterChatPhotos.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterChatPhotos.md index a02425b1..b72281f3 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterChatPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterGif.md index 94698ecd..a3a51104 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterMusic.md index ac6373c2..b2ed1044 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterMusic.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhoneCalls.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhoneCalls.md index 8fe8537a..0cb60836 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhoneCalls.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhoneCalls.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool]; ``` @@ -32,10 +32,9 @@ $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'misse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhoneCalls={_='inputMessagesFilterPhoneCalls', missed=Bool} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterVoice.md index 026a91be..be3af22a 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputNotifyAll.md b/old_docs/API_docs_v62/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v62/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v62/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputNotifyChats.md b/old_docs/API_docs_v62/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v62/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v62/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputNotifyPeer.md b/old_docs/API_docs_v62/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v62/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v62/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v62/constructors/inputNotifyUsers.md b/old_docs/API_docs_v62/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v62/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v62/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPeerChannel.md b/old_docs/API_docs_v62/constructors/inputPeerChannel.md index 8b84fe20..14c2f105 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v62/constructors/inputPeerChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPeerChat.md b/old_docs/API_docs_v62/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v62/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPeerEmpty.md b/old_docs/API_docs_v62/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v62/constructors/inputPeerNotifySettings.md index 6b281f53..cd18b39e 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v62/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPeerSelf.md b/old_docs/API_docs_v62/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v62/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPeerUser.md b/old_docs/API_docs_v62/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v62/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPhoneCall.md b/old_docs/API_docs_v62/constructors/inputPhoneCall.md index 60cdf8ca..68abe88d 100644 --- a/old_docs/API_docs_v62/constructors/inputPhoneCall.md +++ b/old_docs/API_docs_v62/constructors/inputPhoneCall.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneCall={_='inputPhoneCall', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPhoneContact.md b/old_docs/API_docs_v62/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v62/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v62/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPhoto.md b/old_docs/API_docs_v62/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v62/constructors/inputPhoto.md +++ b/old_docs/API_docs_v62/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v62/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v62/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v62/constructors/inputPrivacyKeyChatInvite.md index 9c55265f..d96148d4 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyKeyPhoneCall.md b/old_docs/API_docs_v62/constructors/inputPrivacyKeyPhoneCall.md index b16316be..510ff979 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyKeyPhoneCall.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyKeyPhoneCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyPhoneCall={_='inputPrivacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v62/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v62/constructors/inputReportReasonOther.md b/old_docs/API_docs_v62/constructors/inputReportReasonOther.md index 361582bd..4dbffa18 100644 --- a/old_docs/API_docs_v62/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v62/constructors/inputReportReasonOther.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonOther={_='inputReportReasonOther', text='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v62/constructors/inputReportReasonPornography.md index c18c71d3..5c80f096 100644 --- a/old_docs/API_docs_v62/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v62/constructors/inputReportReasonPornography.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` @@ -27,10 +27,9 @@ $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v62/constructors/inputReportReasonSpam.md index 19ed6687..75d59861 100644 --- a/old_docs/API_docs_v62/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v62/constructors/inputReportReasonSpam.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` @@ -27,10 +27,9 @@ $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v62/constructors/inputReportReasonViolence.md index 10fbce47..28d27e85 100644 --- a/old_docs/API_docs_v62/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v62/constructors/inputReportReasonViolence.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` @@ -27,10 +27,9 @@ $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v62/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/old_docs/API_docs_v62/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputStickerSetID.md b/old_docs/API_docs_v62/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/old_docs/API_docs_v62/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v62/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v62/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v62/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/old_docs/API_docs_v62/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v62/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputStickeredMediaDocument.md b/old_docs/API_docs_v62/constructors/inputStickeredMediaDocument.md index c6def51c..72da7b39 100644 --- a/old_docs/API_docs_v62/constructors/inputStickeredMediaDocument.md +++ b/old_docs/API_docs_v62/constructors/inputStickeredMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaDocument={_='inputStickeredMediaDocument', id=InputDocument} ``` diff --git a/old_docs/API_docs_v62/constructors/inputStickeredMediaPhoto.md b/old_docs/API_docs_v62/constructors/inputStickeredMediaPhoto.md index f424c329..d79cd390 100644 --- a/old_docs/API_docs_v62/constructors/inputStickeredMediaPhoto.md +++ b/old_docs/API_docs_v62/constructors/inputStickeredMediaPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaPhoto={_='inputStickeredMediaPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v62/constructors/inputUser.md b/old_docs/API_docs_v62/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/old_docs/API_docs_v62/constructors/inputUser.md +++ b/old_docs/API_docs_v62/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v62/constructors/inputUserEmpty.md b/old_docs/API_docs_v62/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v62/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/inputUserSelf.md b/old_docs/API_docs_v62/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v62/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v62/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v62/constructors/keyboardButton.md b/old_docs/API_docs_v62/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButton.md +++ b/old_docs/API_docs_v62/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/keyboardButtonCallback.md b/old_docs/API_docs_v62/constructors/keyboardButtonCallback.md index 63e87aac..c8f86f50 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v62/constructors/keyboardButtonCallback.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` @@ -33,10 +33,9 @@ $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonCallback={_='keyboardButtonCallback', text='string', data='bytes'} ``` diff --git a/old_docs/API_docs_v62/constructors/keyboardButtonGame.md b/old_docs/API_docs_v62/constructors/keyboardButtonGame.md index 08110141..05a565a3 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButtonGame.md +++ b/old_docs/API_docs_v62/constructors/keyboardButtonGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonGame={_='keyboardButtonGame', text='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/keyboardButtonRequestGeoLocation.md b/old_docs/API_docs_v62/constructors/keyboardButtonRequestGeoLocation.md index fc422d90..63d4a82f 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v62/constructors/keyboardButtonRequestGeoLocation.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/keyboardButtonRequestPhone.md b/old_docs/API_docs_v62/constructors/keyboardButtonRequestPhone.md index a1719e24..ba58979f 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v62/constructors/keyboardButtonRequestPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/keyboardButtonRow.md b/old_docs/API_docs_v62/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v62/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/old_docs/API_docs_v62/constructors/keyboardButtonSwitchInline.md b/old_docs/API_docs_v62/constructors/keyboardButtonSwitchInline.md index 463c473c..52dc897a 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v62/constructors/keyboardButtonSwitchInline.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => 'string', 'query' => 'string']; ``` @@ -34,10 +34,9 @@ $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=Bool, text='string', query='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/keyboardButtonUrl.md b/old_docs/API_docs_v62/constructors/keyboardButtonUrl.md index 709d4fa9..56b86f1c 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v62/constructors/keyboardButtonUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` @@ -33,10 +33,9 @@ $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonUrl={_='keyboardButtonUrl', text='string', url='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/maskCoords.md b/old_docs/API_docs_v62/constructors/maskCoords.md index 21b9ad78..2d393f3a 100644 --- a/old_docs/API_docs_v62/constructors/maskCoords.md +++ b/old_docs/API_docs_v62/constructors/maskCoords.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double]; ``` @@ -35,10 +35,9 @@ $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'z ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua maskCoords={_='maskCoords', n=int, x=double, y=double, zoom=double} ``` diff --git a/old_docs/API_docs_v62/constructors/message.md b/old_docs/API_docs_v62/constructors/message.md index 9b54331e..b3ce8110 100644 --- a/old_docs/API_docs_v62/constructors/message.md +++ b/old_docs/API_docs_v62/constructors/message.md @@ -38,7 +38,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'views' => int, 'edit_date' => int]; ``` @@ -49,10 +49,9 @@ $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v62/constructors/messageActionChannelCreate.md index b1750d73..2600ab63 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v62/constructors/messageActionChannelCreate.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v62/constructors/messageActionChannelMigrateFrom.md index add136dc..1fdcf3f4 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v62/constructors/messageActionChannelMigrateFrom.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 't ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v62/constructors/messageActionChatAddUser.md index 9c7de7f8..283365cd 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', users={int}} ``` diff --git a/old_docs/API_docs_v62/constructors/messageActionChatCreate.md b/old_docs/API_docs_v62/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v62/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v62/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v62/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v62/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v62/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v62/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v62/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v62/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v62/constructors/messageActionChatMigrateTo.md index 21d2cb22..8ace1091 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatMigrateTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messageActionEmpty.md b/old_docs/API_docs_v62/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v62/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v62/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/messageActionGameScore.md b/old_docs/API_docs_v62/constructors/messageActionGameScore.md index 7a459a3d..c0086b66 100644 --- a/old_docs/API_docs_v62/constructors/messageActionGameScore.md +++ b/old_docs/API_docs_v62/constructors/messageActionGameScore.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int]; ``` @@ -33,10 +33,9 @@ $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionGameScore={_='messageActionGameScore', game_id=long, score=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messageActionHistoryClear.md b/old_docs/API_docs_v62/constructors/messageActionHistoryClear.md index 8b8dcc9d..90875cf6 100644 --- a/old_docs/API_docs_v62/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v62/constructors/messageActionHistoryClear.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` @@ -27,10 +27,9 @@ $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionHistoryClear={_='messageActionHistoryClear'} ``` diff --git a/old_docs/API_docs_v62/constructors/messageActionPhoneCall.md b/old_docs/API_docs_v62/constructors/messageActionPhoneCall.md index f2f3eb4f..18a6c687 100644 --- a/old_docs/API_docs_v62/constructors/messageActionPhoneCall.md +++ b/old_docs/API_docs_v62/constructors/messageActionPhoneCall.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` @@ -34,10 +34,9 @@ $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPhoneCall={_='messageActionPhoneCall', call_id=long, reason=PhoneCallDiscardReason, duration=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messageActionPinMessage.md b/old_docs/API_docs_v62/constructors/messageActionPinMessage.md index ffa41746..be763787 100644 --- a/old_docs/API_docs_v62/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v62/constructors/messageActionPinMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` @@ -27,10 +27,9 @@ $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/old_docs/API_docs_v62/constructors/messageEmpty.md b/old_docs/API_docs_v62/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v62/constructors/messageEmpty.md +++ b/old_docs/API_docs_v62/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messageEntityBold.md b/old_docs/API_docs_v62/constructors/messageEntityBold.md index 950699fb..90f74ad5 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v62/constructors/messageEntityBold.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v62/constructors/messageEntityBotCommand.md index 8be471d3..9fb8f6a6 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v62/constructors/messageEntityBotCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messageEntityCode.md b/old_docs/API_docs_v62/constructors/messageEntityCode.md index 7c701844..d236e57e 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v62/constructors/messageEntityCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messageEntityEmail.md b/old_docs/API_docs_v62/constructors/messageEntityEmail.md index 35a968c7..74e910f3 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v62/constructors/messageEntityEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messageEntityHashtag.md b/old_docs/API_docs_v62/constructors/messageEntityHashtag.md index 6b124e73..77e29387 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v62/constructors/messageEntityHashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messageEntityItalic.md b/old_docs/API_docs_v62/constructors/messageEntityItalic.md index 25f73428..5975bae2 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v62/constructors/messageEntityItalic.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messageEntityMention.md b/old_docs/API_docs_v62/constructors/messageEntityMention.md index 9eb4d266..1a21cb10 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v62/constructors/messageEntityMention.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messageEntityMentionName.md b/old_docs/API_docs_v62/constructors/messageEntityMentionName.md index b546570b..0fe142c5 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v62/constructors/messageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int]; ``` @@ -34,10 +34,9 @@ $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messageEntityPre.md b/old_docs/API_docs_v62/constructors/messageEntityPre.md index abfc9136..13b165fe 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v62/constructors/messageEntityPre.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPre={_='messageEntityPre', offset=int, length=int, language='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v62/constructors/messageEntityTextUrl.md index 91f6d36c..b6d82843 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v62/constructors/messageEntityTextUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/messageEntityUnknown.md b/old_docs/API_docs_v62/constructors/messageEntityUnknown.md index 69ca8a1b..4c434fd7 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v62/constructors/messageEntityUnknown.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messageEntityUrl.md b/old_docs/API_docs_v62/constructors/messageEntityUrl.md index 377c3dda..2cf334a5 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v62/constructors/messageEntityUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messageFwdHeader.md b/old_docs/API_docs_v62/constructors/messageFwdHeader.md index b55da4c5..999c62ad 100644 --- a/old_docs/API_docs_v62/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v62/constructors/messageFwdHeader.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int]; ``` @@ -35,10 +35,9 @@ $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messageMediaContact.md b/old_docs/API_docs_v62/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v62/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messageMediaDocument.md b/old_docs/API_docs_v62/constructors/messageMediaDocument.md index 1f584a82..44199179 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v62/constructors/messageMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document, caption='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/messageMediaEmpty.md b/old_docs/API_docs_v62/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v62/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/messageMediaGame.md b/old_docs/API_docs_v62/constructors/messageMediaGame.md index e97b2bd1..980dbbcc 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaGame.md +++ b/old_docs/API_docs_v62/constructors/messageMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` @@ -32,10 +32,9 @@ $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGame={_='messageMediaGame', game=Game} ``` diff --git a/old_docs/API_docs_v62/constructors/messageMediaGeo.md b/old_docs/API_docs_v62/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v62/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v62/constructors/messageMediaPhoto.md b/old_docs/API_docs_v62/constructors/messageMediaPhoto.md index 47579066..7350efce 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v62/constructors/messageMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v62/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v62/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v62/constructors/messageMediaVenue.md b/old_docs/API_docs_v62/constructors/messageMediaVenue.md index 2db2d25d..2ef2b27f 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v62/constructors/messageMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/messageMediaWebPage.md b/old_docs/API_docs_v62/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v62/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v62/constructors/messageRange.md b/old_docs/API_docs_v62/constructors/messageRange.md index 40c3f81a..527e8646 100644 --- a/old_docs/API_docs_v62/constructors/messageRange.md +++ b/old_docs/API_docs_v62/constructors/messageRange.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageRange={_='messageRange', min_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messageService.md b/old_docs/API_docs_v62/constructors/messageService.md index 8f47e32f..f9946e72 100644 --- a/old_docs/API_docs_v62/constructors/messageService.md +++ b/old_docs/API_docs_v62/constructors/messageService.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction]; ``` @@ -42,10 +42,9 @@ $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_affectedHistory.md b/old_docs/API_docs_v62/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v62/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v62/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_affectedMessages.md b/old_docs/API_docs_v62/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v62/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v62/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_allStickers.md b/old_docs/API_docs_v62/constructors/messages_allStickers.md index 2a7d1313..45a66ddf 100644 --- a/old_docs/API_docs_v62/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v62/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v62/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v62/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v62/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_archivedStickers.md b/old_docs/API_docs_v62/constructors/messages_archivedStickers.md index 458c74b9..639d174b 100644 --- a/old_docs/API_docs_v62/constructors/messages_archivedStickers.md +++ b/old_docs/API_docs_v62/constructors/messages_archivedStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -33,10 +33,9 @@ $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v62/constructors/messages_botCallbackAnswer.md index 90095d01..41b90b45 100644 --- a/old_docs/API_docs_v62/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v62/constructors/messages_botCallbackAnswer.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; ``` @@ -36,10 +36,9 @@ $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_botResults.md b/old_docs/API_docs_v62/constructors/messages_botResults.md index bec3e32a..cb2b295c 100644 --- a/old_docs/API_docs_v62/constructors/messages_botResults.md +++ b/old_docs/API_docs_v62/constructors/messages_botResults.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int]; ``` @@ -37,10 +37,9 @@ $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_channelMessages.md b/old_docs/API_docs_v62/constructors/messages_channelMessages.md index 43f4cdc6..0da0608d 100644 --- a/old_docs/API_docs_v62/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v62/constructors/messages_channelMessages.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'c ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_chatFull.md b/old_docs/API_docs_v62/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v62/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v62/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_chats.md b/old_docs/API_docs_v62/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v62/constructors/messages_chats.md +++ b/old_docs/API_docs_v62/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_chatsSlice.md b/old_docs/API_docs_v62/constructors/messages_chatsSlice.md index 83905f64..d6a204d4 100644 --- a/old_docs/API_docs_v62/constructors/messages_chatsSlice.md +++ b/old_docs/API_docs_v62/constructors/messages_chatsSlice.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; ``` @@ -33,10 +33,9 @@ $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_dhConfig.md b/old_docs/API_docs_v62/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v62/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v62/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v62/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v62/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v62/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_dialogs.md b/old_docs/API_docs_v62/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v62/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v62/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v62/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v62/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v62/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_featuredStickers.md b/old_docs/API_docs_v62/constructors/messages_featuredStickers.md index 0ec8be8b..f40ec583 100644 --- a/old_docs/API_docs_v62/constructors/messages_featuredStickers.md +++ b/old_docs/API_docs_v62/constructors/messages_featuredStickers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; ``` @@ -34,10 +34,9 @@ $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v62/constructors/messages_featuredStickersNotModified.md index 87d2e6c7..3457ff96 100644 --- a/old_docs/API_docs_v62/constructors/messages_featuredStickersNotModified.md +++ b/old_docs/API_docs_v62/constructors/messages_featuredStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotMod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_foundGifs.md b/old_docs/API_docs_v62/constructors/messages_foundGifs.md index f86a9fed..4d513264 100644 --- a/old_docs/API_docs_v62/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v62/constructors/messages_foundGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; ``` @@ -33,10 +33,9 @@ $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'resul ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_highScores.md b/old_docs/API_docs_v62/constructors/messages_highScores.md index 1af58a14..08692c07 100644 --- a/old_docs/API_docs_v62/constructors/messages_highScores.md +++ b/old_docs/API_docs_v62/constructors/messages_highScores.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, Hi ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_messageEditData.md b/old_docs/API_docs_v62/constructors/messages_messageEditData.md index aee6e179..fe0f3ab3 100644 --- a/old_docs/API_docs_v62/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v62/constructors/messages_messageEditData.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` @@ -32,10 +32,9 @@ $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messageEditData={_='messages.messageEditData', caption=Bool} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_messages.md b/old_docs/API_docs_v62/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v62/constructors/messages_messages.md +++ b/old_docs/API_docs_v62/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_messagesSlice.md b/old_docs/API_docs_v62/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v62/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v62/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_peerDialogs.md b/old_docs/API_docs_v62/constructors/messages_peerDialogs.md index 93601b21..60aa48e6 100644 --- a/old_docs/API_docs_v62/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v62/constructors/messages_peerDialogs.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -36,10 +36,9 @@ $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Di ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_recentStickers.md b/old_docs/API_docs_v62/constructors/messages_recentStickers.md index b2ea1fa7..47a5c591 100644 --- a/old_docs/API_docs_v62/constructors/messages_recentStickers.md +++ b/old_docs/API_docs_v62/constructors/messages_recentStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v62/constructors/messages_recentStickersNotModified.md index 9bf964da..c3c4f654 100644 --- a/old_docs/API_docs_v62/constructors/messages_recentStickersNotModified.md +++ b/old_docs/API_docs_v62/constructors/messages_recentStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModifie ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickersNotModified={_='messages.recentStickersNotModified'} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_savedGifs.md b/old_docs/API_docs_v62/constructors/messages_savedGifs.md index 4a254ab5..ae7e595f 100644 --- a/old_docs/API_docs_v62/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v62/constructors/messages_savedGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Do ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v62/constructors/messages_savedGifsNotModified.md index 65c17d0c..ef0db669 100644 --- a/old_docs/API_docs_v62/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v62/constructors/messages_savedGifsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` @@ -27,10 +27,9 @@ $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifsNotModified={_='messages.savedGifsNotModified'} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v62/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v62/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v62/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v62/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v62/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v62/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_stickerSet.md b/old_docs/API_docs_v62/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/old_docs/API_docs_v62/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v62/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultArchive.md index 2f66cfa0..f43e11c0 100644 --- a/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultArchive.md +++ b/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultArchive.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -32,10 +32,9 @@ $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultSuccess.md index ef5752a2..bb6b00f3 100644 --- a/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultSuccess.md +++ b/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultSuccess.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; ``` @@ -27,10 +27,9 @@ $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_stickers.md b/old_docs/API_docs_v62/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v62/constructors/messages_stickers.md +++ b/old_docs/API_docs_v62/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v62/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v62/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v62/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v62/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v62/constructors/nearestDc.md b/old_docs/API_docs_v62/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v62/constructors/nearestDc.md +++ b/old_docs/API_docs_v62/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v62/constructors/notifyAll.md b/old_docs/API_docs_v62/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v62/constructors/notifyAll.md +++ b/old_docs/API_docs_v62/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v62/constructors/notifyChats.md b/old_docs/API_docs_v62/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v62/constructors/notifyChats.md +++ b/old_docs/API_docs_v62/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v62/constructors/notifyPeer.md b/old_docs/API_docs_v62/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v62/constructors/notifyPeer.md +++ b/old_docs/API_docs_v62/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v62/constructors/notifyUsers.md b/old_docs/API_docs_v62/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v62/constructors/notifyUsers.md +++ b/old_docs/API_docs_v62/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockAnchor.md b/old_docs/API_docs_v62/constructors/pageBlockAnchor.md index af7f7c2b..5a5757fb 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockAnchor.md +++ b/old_docs/API_docs_v62/constructors/pageBlockAnchor.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` @@ -32,10 +32,9 @@ $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAnchor={_='pageBlockAnchor', name='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockAuthorDate.md b/old_docs/API_docs_v62/constructors/pageBlockAuthorDate.md index 4f746156..03daab4b 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockAuthorDate.md +++ b/old_docs/API_docs_v62/constructors/pageBlockAuthorDate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int]; ``` @@ -33,10 +33,9 @@ $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'pub ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAuthorDate={_='pageBlockAuthorDate', author=RichText, published_date=int} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockBlockquote.md b/old_docs/API_docs_v62/constructors/pageBlockBlockquote.md index f78ad5bd..c34f378d 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockBlockquote.md +++ b/old_docs/API_docs_v62/constructors/pageBlockBlockquote.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'capti ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockBlockquote={_='pageBlockBlockquote', text=RichText, caption=RichText} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockCollage.md b/old_docs/API_docs_v62/constructors/pageBlockCollage.md index 45bdee72..beaf8ba2 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockCollage.md +++ b/old_docs/API_docs_v62/constructors/pageBlockCollage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock, PageBlock ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockCollage={_='pageBlockCollage', items={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockCover.md b/old_docs/API_docs_v62/constructors/pageBlockCover.md index 8e8db49e..8c96a1af 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockCover.md +++ b/old_docs/API_docs_v62/constructors/pageBlockCover.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` @@ -32,10 +32,9 @@ $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockCover={_='pageBlockCover', cover=PageBlock} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockDivider.md b/old_docs/API_docs_v62/constructors/pageBlockDivider.md index 5f444cce..ee3e75b7 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockDivider.md +++ b/old_docs/API_docs_v62/constructors/pageBlockDivider.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockDivider = ['_' => 'pageBlockDivider']; ``` @@ -27,10 +27,9 @@ $pageBlockDivider = ['_' => 'pageBlockDivider']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockDivider={_='pageBlockDivider'} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockEmbed.md b/old_docs/API_docs_v62/constructors/pageBlockEmbed.md index 3e508369..9c72b889 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockEmbed.md +++ b/old_docs/API_docs_v62/constructors/pageBlockEmbed.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => 'string', 'html' => 'string', 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText]; ``` @@ -39,10 +39,9 @@ $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolli ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockEmbed={_='pageBlockEmbed', full_width=Bool, allow_scrolling=Bool, url='string', html='string', poster_photo_id=long, w=int, h=int, caption=RichText} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockEmbedPost.md b/old_docs/API_docs_v62/constructors/pageBlockEmbedPost.md index 24c622e6..684952c1 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockEmbedPost.md +++ b/old_docs/API_docs_v62/constructors/pageBlockEmbedPost.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_id' => long, 'author_photo_id' => long, 'author' => 'string', 'date' => int, 'blocks' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -38,10 +38,9 @@ $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockEmbedPost={_='pageBlockEmbedPost', url='string', webpage_id=long, author_photo_id=long, author='string', date=int, blocks={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockFooter.md b/old_docs/API_docs_v62/constructors/pageBlockFooter.md index 3caeb971..e467eb94 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockFooter.md +++ b/old_docs/API_docs_v62/constructors/pageBlockFooter.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockFooter={_='pageBlockFooter', text=RichText} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockHeader.md b/old_docs/API_docs_v62/constructors/pageBlockHeader.md index 950037d0..761196e1 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockHeader.md +++ b/old_docs/API_docs_v62/constructors/pageBlockHeader.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockHeader={_='pageBlockHeader', text=RichText} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockList.md b/old_docs/API_docs_v62/constructors/pageBlockList.md index 37371b18..f841cf2f 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockList.md +++ b/old_docs/API_docs_v62/constructors/pageBlockList.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText, RichText]]; ``` @@ -33,10 +33,9 @@ $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichTex ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockList={_='pageBlockList', ordered=Bool, items={RichText}} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockParagraph.md b/old_docs/API_docs_v62/constructors/pageBlockParagraph.md index 6b22950e..897a7870 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockParagraph.md +++ b/old_docs/API_docs_v62/constructors/pageBlockParagraph.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockParagraph={_='pageBlockParagraph', text=RichText} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockPhoto.md b/old_docs/API_docs_v62/constructors/pageBlockPhoto.md index e80e16f4..470dbc15 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockPhoto.md +++ b/old_docs/API_docs_v62/constructors/pageBlockPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => Ric ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPhoto={_='pageBlockPhoto', photo_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockPreformatted.md b/old_docs/API_docs_v62/constructors/pageBlockPreformatted.md index 49cb8b08..bd505a25 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockPreformatted.md +++ b/old_docs/API_docs_v62/constructors/pageBlockPreformatted.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => 'string']; ``` @@ -33,10 +33,9 @@ $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPreformatted={_='pageBlockPreformatted', text=RichText, language='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockPullquote.md b/old_docs/API_docs_v62/constructors/pageBlockPullquote.md index d73389da..744215e3 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockPullquote.md +++ b/old_docs/API_docs_v62/constructors/pageBlockPullquote.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPullquote={_='pageBlockPullquote', text=RichText, caption=RichText} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockSlideshow.md b/old_docs/API_docs_v62/constructors/pageBlockSlideshow.md index d855e4d8..4a827931 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockSlideshow.md +++ b/old_docs/API_docs_v62/constructors/pageBlockSlideshow.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock, PageB ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSlideshow={_='pageBlockSlideshow', items={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockSubheader.md b/old_docs/API_docs_v62/constructors/pageBlockSubheader.md index 6b6a332e..094c5d2e 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockSubheader.md +++ b/old_docs/API_docs_v62/constructors/pageBlockSubheader.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSubheader={_='pageBlockSubheader', text=RichText} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockSubtitle.md b/old_docs/API_docs_v62/constructors/pageBlockSubtitle.md index 017112c2..6ad657c0 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockSubtitle.md +++ b/old_docs/API_docs_v62/constructors/pageBlockSubtitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSubtitle={_='pageBlockSubtitle', text=RichText} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockTitle.md b/old_docs/API_docs_v62/constructors/pageBlockTitle.md index 9dfe94d2..5c6d228b 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockTitle.md +++ b/old_docs/API_docs_v62/constructors/pageBlockTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockTitle={_='pageBlockTitle', text=RichText} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockUnsupported.md b/old_docs/API_docs_v62/constructors/pageBlockUnsupported.md index 8d127c6d..a0895079 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockUnsupported.md +++ b/old_docs/API_docs_v62/constructors/pageBlockUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` @@ -27,10 +27,9 @@ $pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockUnsupported={_='pageBlockUnsupported'} ``` diff --git a/old_docs/API_docs_v62/constructors/pageBlockVideo.md b/old_docs/API_docs_v62/constructors/pageBlockVideo.md index 03a04d1b..27c2ed6f 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockVideo.md +++ b/old_docs/API_docs_v62/constructors/pageBlockVideo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText]; ``` @@ -35,10 +35,9 @@ $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockVideo={_='pageBlockVideo', autoplay=Bool, loop=Bool, video_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v62/constructors/pageFull.md b/old_docs/API_docs_v62/constructors/pageFull.md index cf613031..b1b5b0ac 100644 --- a/old_docs/API_docs_v62/constructors/pageFull.md +++ b/old_docs/API_docs_v62/constructors/pageFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'videos' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock, PageBlock], 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageFull={_='pageFull', blocks={PageBlock}, photos={Photo}, videos={Document}} ``` diff --git a/old_docs/API_docs_v62/constructors/pagePart.md b/old_docs/API_docs_v62/constructors/pagePart.md index e0ae2901..d3abceb5 100644 --- a/old_docs/API_docs_v62/constructors/pagePart.md +++ b/old_docs/API_docs_v62/constructors/pagePart.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'videos' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock, PageBlock], 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pagePart={_='pagePart', blocks={PageBlock}, photos={Photo}, videos={Document}} ``` diff --git a/old_docs/API_docs_v62/constructors/peerChannel.md b/old_docs/API_docs_v62/constructors/peerChannel.md index f30e3f41..360d5c42 100644 --- a/old_docs/API_docs_v62/constructors/peerChannel.md +++ b/old_docs/API_docs_v62/constructors/peerChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/peerChat.md b/old_docs/API_docs_v62/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v62/constructors/peerChat.md +++ b/old_docs/API_docs_v62/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v62/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v62/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v62/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v62/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v62/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v62/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v62/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/peerNotifySettings.md b/old_docs/API_docs_v62/constructors/peerNotifySettings.md index f011beb7..2007e4ee 100644 --- a/old_docs/API_docs_v62/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v62/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'si ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v62/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v62/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v62/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/peerSettings.md b/old_docs/API_docs_v62/constructors/peerSettings.md index 8f74bb50..2468fee4 100644 --- a/old_docs/API_docs_v62/constructors/peerSettings.md +++ b/old_docs/API_docs_v62/constructors/peerSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` @@ -32,10 +32,9 @@ $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerSettings={_='peerSettings', report_spam=Bool} ``` diff --git a/old_docs/API_docs_v62/constructors/peerUser.md b/old_docs/API_docs_v62/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v62/constructors/peerUser.md +++ b/old_docs/API_docs_v62/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/phoneCall.md b/old_docs/API_docs_v62/constructors/phoneCall.md index 8104b557..b233076d 100644 --- a/old_docs/API_docs_v62/constructors/phoneCall.md +++ b/old_docs/API_docs_v62/constructors/phoneCall.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, 'connection' => PhoneConnection, 'alternative_connections' => [PhoneConnection, PhoneConnection], 'start_date' => int]; ``` @@ -42,10 +42,9 @@ $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCall={_='phoneCall', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, connection=PhoneConnection, alternative_connections={PhoneConnection}, start_date=int} ``` diff --git a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonBusy.md b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonBusy.md index 10d47acd..8912371f 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonBusy.md +++ b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonBusy.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonBusy={_='phoneCallDiscardReasonBusy'} ``` diff --git a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonDisconnect.md b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonDisconnect.md index b059c909..3a77aced 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonDisconnect.md +++ b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonDisconnect.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonDisconnect={_='phoneCallDiscardReasonDisconnect'} ``` diff --git a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonHangup.md b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonHangup.md index 8e6e311c..cac342da 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonHangup.md +++ b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonHangup.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonHangup={_='phoneCallDiscardReasonHangup'} ``` diff --git a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonMissed.md b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonMissed.md index b8199e88..e10648eb 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonMissed.md +++ b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonMissed.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonMissed={_='phoneCallDiscardReasonMissed'} ``` diff --git a/old_docs/API_docs_v62/constructors/phoneCallDiscarded.md b/old_docs/API_docs_v62/constructors/phoneCallDiscarded.md index e62e62fe..e2eca050 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallDiscarded.md +++ b/old_docs/API_docs_v62/constructors/phoneCallDiscarded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` @@ -34,10 +34,9 @@ $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'id' => long, 'reason' => Ph ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscarded={_='phoneCallDiscarded', id=long, reason=PhoneCallDiscardReason, duration=int} ``` diff --git a/old_docs/API_docs_v62/constructors/phoneCallEmpty.md b/old_docs/API_docs_v62/constructors/phoneCallEmpty.md index cfb8125b..a51f3ea2 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallEmpty.md +++ b/old_docs/API_docs_v62/constructors/phoneCallEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallEmpty={_='phoneCallEmpty', id=long} ``` diff --git a/old_docs/API_docs_v62/constructors/phoneCallProtocol.md b/old_docs/API_docs_v62/constructors/phoneCallProtocol.md index 9f0e2eed..01574fa2 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallProtocol.md +++ b/old_docs/API_docs_v62/constructors/phoneCallProtocol.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int]; ``` @@ -35,10 +35,9 @@ $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflec ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallProtocol={_='phoneCallProtocol', udp_p2p=Bool, udp_reflector=Bool, min_layer=int, max_layer=int} ``` diff --git a/old_docs/API_docs_v62/constructors/phoneCallRequested.md b/old_docs/API_docs_v62/constructors/phoneCallRequested.md index 3929d327..cc281a0b 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallRequested.md +++ b/old_docs/API_docs_v62/constructors/phoneCallRequested.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` @@ -38,10 +38,9 @@ $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallRequested={_='phoneCallRequested', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes', protocol=PhoneCallProtocol} ``` diff --git a/old_docs/API_docs_v62/constructors/phoneCallWaiting.md b/old_docs/API_docs_v62/constructors/phoneCallWaiting.md index 8dcf8e30..9d9658c8 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallWaiting.md +++ b/old_docs/API_docs_v62/constructors/phoneCallWaiting.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int]; ``` @@ -38,10 +38,9 @@ $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallWaiting={_='phoneCallWaiting', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, protocol=PhoneCallProtocol, receive_date=int} ``` diff --git a/old_docs/API_docs_v62/constructors/phoneConnection.md b/old_docs/API_docs_v62/constructors/phoneConnection.md index b117e12f..562975aa 100644 --- a/old_docs/API_docs_v62/constructors/phoneConnection.md +++ b/old_docs/API_docs_v62/constructors/phoneConnection.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'ipv6' => 'string', 'port' => int, 'peer_tag' => 'bytes']; ``` @@ -36,10 +36,9 @@ $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneConnection={_='phoneConnection', id=long, ip='string', ipv6='string', port=int, peer_tag='bytes'} ``` diff --git a/old_docs/API_docs_v62/constructors/phone_phoneCall.md b/old_docs/API_docs_v62/constructors/phone_phoneCall.md index 00c21143..58912b3f 100644 --- a/old_docs/API_docs_v62/constructors/phone_phoneCall.md +++ b/old_docs/API_docs_v62/constructors/phone_phoneCall.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} ``` diff --git a/old_docs/API_docs_v62/constructors/photo.md b/old_docs/API_docs_v62/constructors/photo.md index 0cad6364..980980f4 100644 --- a/old_docs/API_docs_v62/constructors/photo.md +++ b/old_docs/API_docs_v62/constructors/photo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -36,10 +36,9 @@ $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', has_stickers=Bool, id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v62/constructors/photoCachedSize.md b/old_docs/API_docs_v62/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v62/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v62/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v62/constructors/photoEmpty.md b/old_docs/API_docs_v62/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v62/constructors/photoEmpty.md +++ b/old_docs/API_docs_v62/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v62/constructors/photoSize.md b/old_docs/API_docs_v62/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v62/constructors/photoSize.md +++ b/old_docs/API_docs_v62/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v62/constructors/photoSizeEmpty.md b/old_docs/API_docs_v62/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v62/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v62/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/photos_photo.md b/old_docs/API_docs_v62/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v62/constructors/photos_photo.md +++ b/old_docs/API_docs_v62/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v62/constructors/photos_photos.md b/old_docs/API_docs_v62/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v62/constructors/photos_photos.md +++ b/old_docs/API_docs_v62/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v62/constructors/photos_photosSlice.md b/old_docs/API_docs_v62/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v62/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v62/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v62/constructors/privacyKeyChatInvite.md b/old_docs/API_docs_v62/constructors/privacyKeyChatInvite.md index cc6e39b6..44826e55 100644 --- a/old_docs/API_docs_v62/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v62/constructors/privacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v62/constructors/privacyKeyPhoneCall.md b/old_docs/API_docs_v62/constructors/privacyKeyPhoneCall.md index 2fe6db7d..fc38f6a4 100644 --- a/old_docs/API_docs_v62/constructors/privacyKeyPhoneCall.md +++ b/old_docs/API_docs_v62/constructors/privacyKeyPhoneCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` @@ -27,10 +27,9 @@ $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyPhoneCall={_='privacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v62/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v62/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v62/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v62/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v62/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v62/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v62/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v62/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v62/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v62/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v62/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v62/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v62/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v62/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v62/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v62/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v62/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v62/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v62/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v62/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v62/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v62/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v62/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v62/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v62/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v62/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v62/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v62/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v62/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v62/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/old_docs/API_docs_v62/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v62/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/replyInlineMarkup.md b/old_docs/API_docs_v62/constructors/replyInlineMarkup.md index 6d353569..6e481165 100644 --- a/old_docs/API_docs_v62/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v62/constructors/replyInlineMarkup.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -32,10 +32,9 @@ $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v62/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v62/constructors/replyKeyboardForceReply.md index 56e255c1..3f7fae8c 100644 --- a/old_docs/API_docs_v62/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v62/constructors/replyKeyboardForceReply.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` @@ -33,10 +33,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool} ``` diff --git a/old_docs/API_docs_v62/constructors/replyKeyboardHide.md b/old_docs/API_docs_v62/constructors/replyKeyboardHide.md index 7251db49..30e9f399 100644 --- a/old_docs/API_docs_v62/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v62/constructors/replyKeyboardHide.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` @@ -32,10 +32,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide', selective=Bool} ``` diff --git a/old_docs/API_docs_v62/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v62/constructors/replyKeyboardMarkup.md index 87a55463..80f3f654 100644 --- a/old_docs/API_docs_v62/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v62/constructors/replyKeyboardMarkup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -35,10 +35,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v62/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v62/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v62/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v62/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v62/constructors/sendMessageGamePlayAction.md b/old_docs/API_docs_v62/constructors/sendMessageGamePlayAction.md index 8238ea55..0c395c75 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageGamePlayAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageGamePlayAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGamePlayAction={_='sendMessageGamePlayAction'} ``` diff --git a/old_docs/API_docs_v62/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v62/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v62/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v62/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v62/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v62/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v62/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v62/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v62/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v62/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/old_docs/API_docs_v62/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v62/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/old_docs/API_docs_v62/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v62/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/old_docs/API_docs_v62/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v62/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/old_docs/API_docs_v62/constructors/stickerPack.md b/old_docs/API_docs_v62/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v62/constructors/stickerPack.md +++ b/old_docs/API_docs_v62/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v62/constructors/stickerSet.md b/old_docs/API_docs_v62/constructors/stickerSet.md index afa3b21f..059e4ae7 100644 --- a/old_docs/API_docs_v62/constructors/stickerSet.md +++ b/old_docs/API_docs_v62/constructors/stickerSet.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -41,10 +41,9 @@ $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'of ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', installed=Bool, archived=Bool, official=Bool, masks=Bool, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/old_docs/API_docs_v62/constructors/stickerSetCovered.md b/old_docs/API_docs_v62/constructors/stickerSetCovered.md index cc1c806e..127b821f 100644 --- a/old_docs/API_docs_v62/constructors/stickerSetCovered.md +++ b/old_docs/API_docs_v62/constructors/stickerSetCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document]; ``` @@ -33,10 +33,9 @@ $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetCovered={_='stickerSetCovered', set=StickerSet, cover=Document} ``` diff --git a/old_docs/API_docs_v62/constructors/stickerSetMultiCovered.md b/old_docs/API_docs_v62/constructors/stickerSetMultiCovered.md index 74d10e38..9fc0ad35 100644 --- a/old_docs/API_docs_v62/constructors/stickerSetMultiCovered.md +++ b/old_docs/API_docs_v62/constructors/stickerSetMultiCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetMultiCovered={_='stickerSetMultiCovered', set=StickerSet, covers={Document}} ``` diff --git a/old_docs/API_docs_v62/constructors/storage_fileGif.md b/old_docs/API_docs_v62/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v62/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v62/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v62/constructors/storage_fileJpeg.md b/old_docs/API_docs_v62/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v62/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v62/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v62/constructors/storage_fileMov.md b/old_docs/API_docs_v62/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v62/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v62/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v62/constructors/storage_fileMp3.md b/old_docs/API_docs_v62/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v62/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v62/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v62/constructors/storage_fileMp4.md b/old_docs/API_docs_v62/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v62/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v62/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v62/constructors/storage_filePartial.md b/old_docs/API_docs_v62/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v62/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v62/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v62/constructors/storage_filePdf.md b/old_docs/API_docs_v62/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v62/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v62/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v62/constructors/storage_filePng.md b/old_docs/API_docs_v62/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v62/constructors/storage_filePng.md +++ b/old_docs/API_docs_v62/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v62/constructors/storage_fileUnknown.md b/old_docs/API_docs_v62/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v62/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v62/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v62/constructors/storage_fileWebp.md b/old_docs/API_docs_v62/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v62/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v62/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v62/constructors/textBold.md b/old_docs/API_docs_v62/constructors/textBold.md index 52b668f6..f847ab68 100644 --- a/old_docs/API_docs_v62/constructors/textBold.md +++ b/old_docs/API_docs_v62/constructors/textBold.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textBold = ['_' => 'textBold', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textBold = ['_' => 'textBold', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textBold={_='textBold', text=RichText} ``` diff --git a/old_docs/API_docs_v62/constructors/textConcat.md b/old_docs/API_docs_v62/constructors/textConcat.md index 3f2656ed..ee998a7e 100644 --- a/old_docs/API_docs_v62/constructors/textConcat.md +++ b/old_docs/API_docs_v62/constructors/textConcat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textConcat = ['_' => 'textConcat', 'texts' => [RichText, RichText]]; ``` @@ -32,10 +32,9 @@ $textConcat = ['_' => 'textConcat', 'texts' => [RichText, RichText]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textConcat={_='textConcat', texts={RichText}} ``` diff --git a/old_docs/API_docs_v62/constructors/textEmail.md b/old_docs/API_docs_v62/constructors/textEmail.md index 0b546415..6a1a2ba2 100644 --- a/old_docs/API_docs_v62/constructors/textEmail.md +++ b/old_docs/API_docs_v62/constructors/textEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` @@ -33,10 +33,9 @@ $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textEmail={_='textEmail', text=RichText, email='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/textEmpty.md b/old_docs/API_docs_v62/constructors/textEmpty.md index 4e96adb3..dfe867ed 100644 --- a/old_docs/API_docs_v62/constructors/textEmpty.md +++ b/old_docs/API_docs_v62/constructors/textEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textEmpty = ['_' => 'textEmpty']; ``` @@ -27,10 +27,9 @@ $textEmpty = ['_' => 'textEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textEmpty={_='textEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/textFixed.md b/old_docs/API_docs_v62/constructors/textFixed.md index e40767d9..a83607fa 100644 --- a/old_docs/API_docs_v62/constructors/textFixed.md +++ b/old_docs/API_docs_v62/constructors/textFixed.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textFixed={_='textFixed', text=RichText} ``` diff --git a/old_docs/API_docs_v62/constructors/textItalic.md b/old_docs/API_docs_v62/constructors/textItalic.md index e32fbec2..4aa819b6 100644 --- a/old_docs/API_docs_v62/constructors/textItalic.md +++ b/old_docs/API_docs_v62/constructors/textItalic.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textItalic={_='textItalic', text=RichText} ``` diff --git a/old_docs/API_docs_v62/constructors/textPlain.md b/old_docs/API_docs_v62/constructors/textPlain.md index 2e654fde..9f83d5fa 100644 --- a/old_docs/API_docs_v62/constructors/textPlain.md +++ b/old_docs/API_docs_v62/constructors/textPlain.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textPlain={_='textPlain', text='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/textStrike.md b/old_docs/API_docs_v62/constructors/textStrike.md index 0090e980..0329cbd9 100644 --- a/old_docs/API_docs_v62/constructors/textStrike.md +++ b/old_docs/API_docs_v62/constructors/textStrike.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textStrike={_='textStrike', text=RichText} ``` diff --git a/old_docs/API_docs_v62/constructors/textUnderline.md b/old_docs/API_docs_v62/constructors/textUnderline.md index 843d0a9a..adee0d2f 100644 --- a/old_docs/API_docs_v62/constructors/textUnderline.md +++ b/old_docs/API_docs_v62/constructors/textUnderline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textUnderline={_='textUnderline', text=RichText} ``` diff --git a/old_docs/API_docs_v62/constructors/textUrl.md b/old_docs/API_docs_v62/constructors/textUrl.md index 6938f27e..bb497739 100644 --- a/old_docs/API_docs_v62/constructors/textUrl.md +++ b/old_docs/API_docs_v62/constructors/textUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id' => long]; ``` @@ -34,10 +34,9 @@ $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textUrl={_='textUrl', text=RichText, url='string', webpage_id=long} ``` diff --git a/old_docs/API_docs_v62/constructors/topPeer.md b/old_docs/API_docs_v62/constructors/topPeer.md index aa49751b..fff00b7d 100644 --- a/old_docs/API_docs_v62/constructors/topPeer.md +++ b/old_docs/API_docs_v62/constructors/topPeer.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` @@ -33,10 +33,9 @@ $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeer={_='topPeer', peer=Peer, rating=double} ``` diff --git a/old_docs/API_docs_v62/constructors/topPeerCategoryBotsInline.md b/old_docs/API_docs_v62/constructors/topPeerCategoryBotsInline.md index 1d57e310..3f7906e2 100644 --- a/old_docs/API_docs_v62/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v62/constructors/topPeerCategoryBotsInline.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsInline={_='topPeerCategoryBotsInline'} ``` diff --git a/old_docs/API_docs_v62/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v62/constructors/topPeerCategoryBotsPM.md index f6207626..78f54b44 100644 --- a/old_docs/API_docs_v62/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v62/constructors/topPeerCategoryBotsPM.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsPM={_='topPeerCategoryBotsPM'} ``` diff --git a/old_docs/API_docs_v62/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v62/constructors/topPeerCategoryChannels.md index 8f0e1fcb..02947d85 100644 --- a/old_docs/API_docs_v62/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v62/constructors/topPeerCategoryChannels.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryChannels={_='topPeerCategoryChannels'} ``` diff --git a/old_docs/API_docs_v62/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v62/constructors/topPeerCategoryCorrespondents.md index 9435610d..c0362f78 100644 --- a/old_docs/API_docs_v62/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v62/constructors/topPeerCategoryCorrespondents.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents'} ``` diff --git a/old_docs/API_docs_v62/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v62/constructors/topPeerCategoryGroups.md index 3b6859df..dddb951c 100644 --- a/old_docs/API_docs_v62/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v62/constructors/topPeerCategoryGroups.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryGroups={_='topPeerCategoryGroups'} ``` diff --git a/old_docs/API_docs_v62/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v62/constructors/topPeerCategoryPeers.md index 886ab6f9..36d071f6 100644 --- a/old_docs/API_docs_v62/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v62/constructors/topPeerCategoryPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer, TopPeer]]; ``` @@ -34,10 +34,9 @@ $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}} ``` diff --git a/old_docs/API_docs_v62/constructors/true.md b/old_docs/API_docs_v62/constructors/true.md index 2e27ecbf..4863f16b 100644 --- a/old_docs/API_docs_v62/constructors/true.md +++ b/old_docs/API_docs_v62/constructors/true.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $true = ['_' => 'true']; ``` @@ -27,10 +27,9 @@ $true = ['_' => 'true']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua true={_='true'} ``` diff --git a/old_docs/API_docs_v62/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v62/constructors/updateBotCallbackQuery.md index 2216e362..389295a0 100644 --- a/old_docs/API_docs_v62/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v62/constructors/updateBotCallbackQuery.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -38,10 +38,9 @@ $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v62/constructors/updateBotInlineQuery.md index 1cc45358..ed15d35f 100644 --- a/old_docs/API_docs_v62/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v62/constructors/updateBotInlineQuery.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` @@ -36,10 +36,9 @@ $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query='string', geo=GeoPoint, offset='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/updateBotInlineSend.md b/old_docs/API_docs_v62/constructors/updateBotInlineSend.md index fe6c01d3..dda18420 100644 --- a/old_docs/API_docs_v62/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v62/constructors/updateBotInlineSend.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` @@ -36,10 +36,9 @@ $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineSend={_='updateBotInlineSend', user_id=int, query='string', geo=GeoPoint, id='string', msg_id=InputBotInlineMessageID} ``` diff --git a/old_docs/API_docs_v62/constructors/updateChannel.md b/old_docs/API_docs_v62/constructors/updateChannel.md index e615920a..fb876328 100644 --- a/old_docs/API_docs_v62/constructors/updateChannel.md +++ b/old_docs/API_docs_v62/constructors/updateChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannel={_='updateChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v62/constructors/updateChannelMessageViews.md index 19e0b648..d62f055a 100644 --- a/old_docs/API_docs_v62/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v62/constructors/updateChannelMessageViews.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` @@ -34,10 +34,9 @@ $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateChannelPinnedMessage.md b/old_docs/API_docs_v62/constructors/updateChannelPinnedMessage.md index c6e66353..0d767fb8 100644 --- a/old_docs/API_docs_v62/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v62/constructors/updateChannelPinnedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateChannelTooLong.md b/old_docs/API_docs_v62/constructors/updateChannelTooLong.md index e42904d0..179a43dd 100644 --- a/old_docs/API_docs_v62/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v62/constructors/updateChannelTooLong.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateChannelWebPage.md b/old_docs/API_docs_v62/constructors/updateChannelWebPage.md index f1ae421b..7b037a9d 100644 --- a/old_docs/API_docs_v62/constructors/updateChannelWebPage.md +++ b/old_docs/API_docs_v62/constructors/updateChannelWebPage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'we ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelWebPage={_='updateChannelWebPage', channel_id=int, webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateChatAdmins.md b/old_docs/API_docs_v62/constructors/updateChatAdmins.md index 87ffd626..aac09762 100644 --- a/old_docs/API_docs_v62/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v62/constructors/updateChatAdmins.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v62/constructors/updateChatParticipantAdd.md index ea5157ad..fe76dc62 100644 --- a/old_docs/API_docs_v62/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v62/constructors/updateChatParticipantAdd.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` @@ -36,10 +36,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v62/constructors/updateChatParticipantAdmin.md index b1022850..d262b2e6 100644 --- a/old_docs/API_docs_v62/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v62/constructors/updateChatParticipantAdmin.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v62/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v62/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v62/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateChatParticipants.md b/old_docs/API_docs_v62/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v62/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v62/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v62/constructors/updateChatUserTyping.md b/old_docs/API_docs_v62/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v62/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v62/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v62/constructors/updateConfig.md b/old_docs/API_docs_v62/constructors/updateConfig.md index 6f25cf11..6d67156d 100644 --- a/old_docs/API_docs_v62/constructors/updateConfig.md +++ b/old_docs/API_docs_v62/constructors/updateConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateConfig = ['_' => 'updateConfig']; ``` @@ -27,10 +27,9 @@ $updateConfig = ['_' => 'updateConfig']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateConfig={_='updateConfig'} ``` diff --git a/old_docs/API_docs_v62/constructors/updateContactLink.md b/old_docs/API_docs_v62/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v62/constructors/updateContactLink.md +++ b/old_docs/API_docs_v62/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v62/constructors/updateContactRegistered.md b/old_docs/API_docs_v62/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v62/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v62/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateDcOptions.md b/old_docs/API_docs_v62/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v62/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v62/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v62/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v62/constructors/updateDeleteChannelMessages.md index 0f84f3f7..8fb10b65 100644 --- a/old_docs/API_docs_v62/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v62/constructors/updateDeleteChannelMessages.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateDeleteMessages.md b/old_docs/API_docs_v62/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v62/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v62/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateDialogPinned.md b/old_docs/API_docs_v62/constructors/updateDialogPinned.md index 8ecafcfd..ba2c9090 100644 --- a/old_docs/API_docs_v62/constructors/updateDialogPinned.md +++ b/old_docs/API_docs_v62/constructors/updateDialogPinned.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer]; ``` @@ -33,10 +33,9 @@ $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDialogPinned={_='updateDialogPinned', pinned=Bool, peer=Peer} ``` diff --git a/old_docs/API_docs_v62/constructors/updateDraftMessage.md b/old_docs/API_docs_v62/constructors/updateDraftMessage.md index 7e759a4f..1bf7c2a4 100644 --- a/old_docs/API_docs_v62/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v62/constructors/updateDraftMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage]; ``` @@ -33,10 +33,9 @@ $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => D ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v62/constructors/updateEditChannelMessage.md b/old_docs/API_docs_v62/constructors/updateEditChannelMessage.md index 959c433a..485afae1 100644 --- a/old_docs/API_docs_v62/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v62/constructors/updateEditChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateEditMessage.md b/old_docs/API_docs_v62/constructors/updateEditMessage.md index f9f820e8..9f986f86 100644 --- a/old_docs/API_docs_v62/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v62/constructors/updateEditMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v62/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v62/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v62/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v62/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v62/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v62/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateEncryption.md b/old_docs/API_docs_v62/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v62/constructors/updateEncryption.md +++ b/old_docs/API_docs_v62/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateInlineBotCallbackQuery.md b/old_docs/API_docs_v62/constructors/updateInlineBotCallbackQuery.md index b1b40479..fb112694 100644 --- a/old_docs/API_docs_v62/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v62/constructors/updateInlineBotCallbackQuery.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -37,10 +37,9 @@ $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/updateMessageID.md b/old_docs/API_docs_v62/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v62/constructors/updateMessageID.md +++ b/old_docs/API_docs_v62/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v62/constructors/updateNewChannelMessage.md index 59dbc820..9fa1c7ec 100644 --- a/old_docs/API_docs_v62/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v62/constructors/updateNewChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Messa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v62/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v62/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v62/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateNewMessage.md b/old_docs/API_docs_v62/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v62/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v62/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateNewStickerSet.md b/old_docs/API_docs_v62/constructors/updateNewStickerSet.md index c36d4617..5ba327ea 100644 --- a/old_docs/API_docs_v62/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v62/constructors/updateNewStickerSet.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` @@ -32,10 +32,9 @@ $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_S ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} ``` diff --git a/old_docs/API_docs_v62/constructors/updateNotifySettings.md b/old_docs/API_docs_v62/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v62/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v62/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v62/constructors/updatePhoneCall.md b/old_docs/API_docs_v62/constructors/updatePhoneCall.md index 61730eae..445e1fc0 100644 --- a/old_docs/API_docs_v62/constructors/updatePhoneCall.md +++ b/old_docs/API_docs_v62/constructors/updatePhoneCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` @@ -32,10 +32,9 @@ $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePhoneCall={_='updatePhoneCall', phone_call=PhoneCall} ``` diff --git a/old_docs/API_docs_v62/constructors/updatePinnedDialogs.md b/old_docs/API_docs_v62/constructors/updatePinnedDialogs.md index 4d082bed..4a99a7bd 100644 --- a/old_docs/API_docs_v62/constructors/updatePinnedDialogs.md +++ b/old_docs/API_docs_v62/constructors/updatePinnedDialogs.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer, Peer]]; ``` @@ -32,10 +32,9 @@ $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer, Peer]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePinnedDialogs={_='updatePinnedDialogs', order={Peer}} ``` diff --git a/old_docs/API_docs_v62/constructors/updatePrivacy.md b/old_docs/API_docs_v62/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v62/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v62/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v62/constructors/updatePtsChanged.md b/old_docs/API_docs_v62/constructors/updatePtsChanged.md index 76b49a1f..dac1d461 100644 --- a/old_docs/API_docs_v62/constructors/updatePtsChanged.md +++ b/old_docs/API_docs_v62/constructors/updatePtsChanged.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` @@ -27,10 +27,9 @@ $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePtsChanged={_='updatePtsChanged'} ``` diff --git a/old_docs/API_docs_v62/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v62/constructors/updateReadChannelInbox.md index be964e20..c8c26acb 100644 --- a/old_docs/API_docs_v62/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v62/constructors/updateReadChannelInbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateReadChannelOutbox.md b/old_docs/API_docs_v62/constructors/updateReadChannelOutbox.md index c725d108..664108d1 100644 --- a/old_docs/API_docs_v62/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v62/constructors/updateReadChannelOutbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelOutbox={_='updateReadChannelOutbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateReadFeaturedStickers.md b/old_docs/API_docs_v62/constructors/updateReadFeaturedStickers.md index ea46d41f..af7fd3d7 100644 --- a/old_docs/API_docs_v62/constructors/updateReadFeaturedStickers.md +++ b/old_docs/API_docs_v62/constructors/updateReadFeaturedStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` @@ -27,10 +27,9 @@ $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadFeaturedStickers={_='updateReadFeaturedStickers'} ``` diff --git a/old_docs/API_docs_v62/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v62/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v62/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v62/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v62/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v62/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v62/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v62/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/old_docs/API_docs_v62/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v62/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateRecentStickers.md b/old_docs/API_docs_v62/constructors/updateRecentStickers.md index cb15d01f..6f9acb77 100644 --- a/old_docs/API_docs_v62/constructors/updateRecentStickers.md +++ b/old_docs/API_docs_v62/constructors/updateRecentStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` @@ -27,10 +27,9 @@ $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateRecentStickers={_='updateRecentStickers'} ``` diff --git a/old_docs/API_docs_v62/constructors/updateSavedGifs.md b/old_docs/API_docs_v62/constructors/updateSavedGifs.md index dd17f321..ea5619fc 100644 --- a/old_docs/API_docs_v62/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v62/constructors/updateSavedGifs.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` @@ -27,10 +27,9 @@ $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v62/constructors/updateServiceNotification.md b/old_docs/API_docs_v62/constructors/updateServiceNotification.md index 1da6885f..0833007b 100644 --- a/old_docs/API_docs_v62/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v62/constructors/updateServiceNotification.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -37,10 +37,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', popup=Bool, inbox_date=int, type='string', message='string', media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v62/constructors/updateShort.md b/old_docs/API_docs_v62/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v62/constructors/updateShort.md +++ b/old_docs/API_docs_v62/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updateShortChatMessage.md b/old_docs/API_docs_v62/constructors/updateShortChatMessage.md index d62e0729..cbeb4739 100644 --- a/old_docs/API_docs_v62/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v62/constructors/updateShortChatMessage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -46,10 +46,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'ment ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v62/constructors/updateShortMessage.md b/old_docs/API_docs_v62/constructors/updateShortMessage.md index d4effcb8..a8348773 100644 --- a/old_docs/API_docs_v62/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v62/constructors/updateShortMessage.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -45,10 +45,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v62/constructors/updateShortSentMessage.md b/old_docs/API_docs_v62/constructors/updateShortSentMessage.md index fd7035c3..2a318e56 100644 --- a/old_docs/API_docs_v62/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v62/constructors/updateShortSentMessage.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -38,10 +38,9 @@ $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v62/constructors/updateStickerSets.md b/old_docs/API_docs_v62/constructors/updateStickerSets.md index 4f045d67..e4cc23a0 100644 --- a/old_docs/API_docs_v62/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v62/constructors/updateStickerSets.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSets = ['_' => 'updateStickerSets']; ``` @@ -27,10 +27,9 @@ $updateStickerSets = ['_' => 'updateStickerSets']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v62/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v62/constructors/updateStickerSetsOrder.md index e36470ad..74405f69 100644 --- a/old_docs/API_docs_v62/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v62/constructors/updateStickerSetsOrder.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long, long]]; ``` @@ -33,10 +33,9 @@ $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'or ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSetsOrder={_='updateStickerSetsOrder', masks=Bool, order={long}} ``` diff --git a/old_docs/API_docs_v62/constructors/updateUserBlocked.md b/old_docs/API_docs_v62/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v62/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v62/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v62/constructors/updateUserName.md b/old_docs/API_docs_v62/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v62/constructors/updateUserName.md +++ b/old_docs/API_docs_v62/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/updateUserPhone.md b/old_docs/API_docs_v62/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v62/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v62/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/updateUserPhoto.md b/old_docs/API_docs_v62/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v62/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v62/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v62/constructors/updateUserStatus.md b/old_docs/API_docs_v62/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v62/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v62/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v62/constructors/updateUserTyping.md b/old_docs/API_docs_v62/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v62/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v62/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v62/constructors/updateWebPage.md b/old_docs/API_docs_v62/constructors/updateWebPage.md index 9f468619..932d8ff2 100644 --- a/old_docs/API_docs_v62/constructors/updateWebPage.md +++ b/old_docs/API_docs_v62/constructors/updateWebPage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updates.md b/old_docs/API_docs_v62/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v62/constructors/updates.md +++ b/old_docs/API_docs_v62/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updatesCombined.md b/old_docs/API_docs_v62/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v62/constructors/updatesCombined.md +++ b/old_docs/API_docs_v62/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updatesTooLong.md b/old_docs/API_docs_v62/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v62/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v62/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v62/constructors/updates_channelDifference.md b/old_docs/API_docs_v62/constructors/updates_channelDifference.md index 21b618c2..df1dafd6 100644 --- a/old_docs/API_docs_v62/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v62/constructors/updates_channelDifference.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v62/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v62/constructors/updates_channelDifferenceEmpty.md index a2e49340..a5be0377 100644 --- a/old_docs/API_docs_v62/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v62/constructors/updates_channelDifferenceEmpty.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'fin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v62/constructors/updates_channelDifferenceTooLong.md index 0debd690..8f7e8b2f 100644 --- a/old_docs/API_docs_v62/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v62/constructors/updates_channelDifferenceTooLong.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -41,10 +41,9 @@ $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v62/constructors/updates_difference.md b/old_docs/API_docs_v62/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v62/constructors/updates_difference.md +++ b/old_docs/API_docs_v62/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v62/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v62/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v62/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v62/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updates_differenceSlice.md b/old_docs/API_docs_v62/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v62/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v62/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v62/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v62/constructors/updates_differenceTooLong.md index da55eddf..2e96fdd5 100644 --- a/old_docs/API_docs_v62/constructors/updates_differenceTooLong.md +++ b/old_docs/API_docs_v62/constructors/updates_differenceTooLong.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` @@ -32,10 +32,9 @@ $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceTooLong={_='updates.differenceTooLong', pts=int} ``` diff --git a/old_docs/API_docs_v62/constructors/updates_state.md b/old_docs/API_docs_v62/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v62/constructors/updates_state.md +++ b/old_docs/API_docs_v62/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v62/constructors/upload_file.md b/old_docs/API_docs_v62/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v62/constructors/upload_file.md +++ b/old_docs/API_docs_v62/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v62/constructors/user.md b/old_docs/API_docs_v62/constructors/user.md index a7cdf2b3..f21f6324 100644 --- a/old_docs/API_docs_v62/constructors/user.md +++ b/old_docs/API_docs_v62/constructors/user.md @@ -42,7 +42,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => 'string', 'bot_inline_placeholder' => 'string']; ``` @@ -53,10 +53,9 @@ $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, min=Bool, bot_inline_geo=Bool, id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason='string', bot_inline_placeholder='string'} ``` diff --git a/old_docs/API_docs_v62/constructors/userEmpty.md b/old_docs/API_docs_v62/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v62/constructors/userEmpty.md +++ b/old_docs/API_docs_v62/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v62/constructors/userFull.md b/old_docs/API_docs_v62/constructors/userFull.md index 6ee38a6f..717c6e0f 100644 --- a/old_docs/API_docs_v62/constructors/userFull.md +++ b/old_docs/API_docs_v62/constructors/userFull.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` @@ -40,10 +40,9 @@ $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v62/constructors/userProfilePhoto.md b/old_docs/API_docs_v62/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v62/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v62/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v62/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v62/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v62/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v62/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/userStatusEmpty.md b/old_docs/API_docs_v62/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v62/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v62/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v62/constructors/userStatusLastMonth.md b/old_docs/API_docs_v62/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v62/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v62/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v62/constructors/userStatusLastWeek.md b/old_docs/API_docs_v62/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v62/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v62/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v62/constructors/userStatusOffline.md b/old_docs/API_docs_v62/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v62/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v62/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v62/constructors/userStatusOnline.md b/old_docs/API_docs_v62/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v62/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v62/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v62/constructors/userStatusRecently.md b/old_docs/API_docs_v62/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v62/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v62/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v62/constructors/wallPaper.md b/old_docs/API_docs_v62/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v62/constructors/wallPaper.md +++ b/old_docs/API_docs_v62/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v62/constructors/wallPaperSolid.md b/old_docs/API_docs_v62/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v62/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v62/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v62/constructors/webPage.md b/old_docs/API_docs_v62/constructors/webPage.md index 371b1e56..ee070624 100644 --- a/old_docs/API_docs_v62/constructors/webPage.md +++ b/old_docs/API_docs_v62/constructors/webPage.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'hash' => int, 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document, 'cached_page' => Page]; ``` @@ -48,10 +48,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', hash=int, type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document, cached_page=Page} ``` diff --git a/old_docs/API_docs_v62/constructors/webPageEmpty.md b/old_docs/API_docs_v62/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v62/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v62/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v62/constructors/webPageNotModified.md b/old_docs/API_docs_v62/constructors/webPageNotModified.md index 557c2947..a180dd51 100644 --- a/old_docs/API_docs_v62/constructors/webPageNotModified.md +++ b/old_docs/API_docs_v62/constructors/webPageNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageNotModified = ['_' => 'webPageNotModified']; ``` @@ -27,10 +27,9 @@ $webPageNotModified = ['_' => 'webPageNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageNotModified={_='webPageNotModified'} ``` diff --git a/old_docs/API_docs_v62/constructors/webPagePending.md b/old_docs/API_docs_v62/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v62/constructors/webPagePending.md +++ b/old_docs/API_docs_v62/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v62/methods/account_changePhone.md b/old_docs/API_docs_v62/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v62/methods/account_changePhone.md +++ b/old_docs/API_docs_v62/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/account_checkUsername.md b/old_docs/API_docs_v62/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v62/methods/account_checkUsername.md +++ b/old_docs/API_docs_v62/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/account_confirmPhone.md b/old_docs/API_docs_v62/methods/account_confirmPhone.md index a42b69b7..214f54e3 100644 --- a/old_docs/API_docs_v62/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v62/methods/account_confirmPhone.md @@ -25,7 +25,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.confirmPhone({phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/account_deleteAccount.md b/old_docs/API_docs_v62/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v62/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v62/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/account_getAccountTTL.md b/old_docs/API_docs_v62/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v62/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v62/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v62/methods/account_getAuthorizations.md b/old_docs/API_docs_v62/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v62/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v62/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v62/methods/account_getNotifySettings.md b/old_docs/API_docs_v62/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v62/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v62/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v62/methods/account_getPassword.md b/old_docs/API_docs_v62/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v62/methods/account_getPassword.md +++ b/old_docs/API_docs_v62/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v62/methods/account_getPasswordSettings.md b/old_docs/API_docs_v62/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v62/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v62/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v62/methods/account_getPrivacy.md b/old_docs/API_docs_v62/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v62/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v62/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v62/methods/account_getWallPapers.md b/old_docs/API_docs_v62/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v62/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v62/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v62/methods/account_registerDevice.md b/old_docs/API_docs_v62/methods/account_registerDevice.md index 25549dab..ed1fced0 100644 --- a/old_docs/API_docs_v62/methods/account_registerDevice.md +++ b/old_docs/API_docs_v62/methods/account_registerDevice.md @@ -25,7 +25,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/account_reportPeer.md b/old_docs/API_docs_v62/methods/account_reportPeer.md index d8c49851..673b48bf 100644 --- a/old_docs/API_docs_v62/methods/account_reportPeer.md +++ b/old_docs/API_docs_v62/methods/account_reportPeer.md @@ -25,7 +25,7 @@ Report for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reason - Json encoded ReportReason Or, if you're into Lua: -``` +```lua Bool = account.reportPeer({peer=InputPeer, reason=ReportReason, }) ``` diff --git a/old_docs/API_docs_v62/methods/account_resetAuthorization.md b/old_docs/API_docs_v62/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v62/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v62/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v62/methods/account_resetNotifySettings.md b/old_docs/API_docs_v62/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v62/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v62/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md index 33a001b9..123a5880 100644 --- a/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md @@ -26,7 +26,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md index a70ad5a3..5c2612c2 100644 --- a/old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md @@ -26,7 +26,7 @@ Send confirmation phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v62/methods/account_setAccountTTL.md b/old_docs/API_docs_v62/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v62/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v62/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v62/methods/account_setPrivacy.md b/old_docs/API_docs_v62/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v62/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v62/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v62/methods/account_unregisterDevice.md b/old_docs/API_docs_v62/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v62/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v62/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v62/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v62/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v62/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/account_updateNotifySettings.md b/old_docs/API_docs_v62/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v62/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v62/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v62/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v62/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v62/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v62/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v62/methods/account_updateProfile.md b/old_docs/API_docs_v62/methods/account_updateProfile.md index f415381f..f54515e5 100644 --- a/old_docs/API_docs_v62/methods/account_updateProfile.md +++ b/old_docs/API_docs_v62/methods/account_updateProfile.md @@ -26,7 +26,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', about='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/account_updateStatus.md b/old_docs/API_docs_v62/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v62/methods/account_updateStatus.md +++ b/old_docs/API_docs_v62/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v62/methods/account_updateUsername.md b/old_docs/API_docs_v62/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v62/methods/account_updateUsername.md +++ b/old_docs/API_docs_v62/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/auth_cancelCode.md b/old_docs/API_docs_v62/methods/auth_cancelCode.md index 0b53954c..352c88e9 100644 --- a/old_docs/API_docs_v62/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v62/methods/auth_cancelCode.md @@ -25,7 +25,7 @@ Invalidate sent phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/auth_checkPhone.md b/old_docs/API_docs_v62/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v62/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v62/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md index 26d63e12..64ce7528 100644 --- a/old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md @@ -24,7 +24,7 @@ Delete all temporary authorization keys except the ones provided ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ except_auth_keys - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = auth.dropTempAuthKeys({except_auth_keys={long}, }) ``` diff --git a/old_docs/API_docs_v62/methods/auth_recoverPassword.md b/old_docs/API_docs_v62/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v62/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v62/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v62/methods/auth_resendCode.md b/old_docs/API_docs_v62/methods/auth_resendCode.md index 28350d37..4ce58975 100644 --- a/old_docs/API_docs_v62/methods/auth_resendCode.md +++ b/old_docs/API_docs_v62/methods/auth_resendCode.md @@ -25,7 +25,7 @@ Resend the SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v62/methods/auth_sendInvites.md b/old_docs/API_docs_v62/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v62/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v62/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_checkUsername.md b/old_docs/API_docs_v62/methods/channels_checkUsername.md index d287b3ca..573bf8f0 100644 --- a/old_docs/API_docs_v62/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v62/methods/channels_checkUsername.md @@ -25,7 +25,7 @@ Check if this username is free and can be assigned to a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.checkUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_createChannel.md b/old_docs/API_docs_v62/methods/channels_createChannel.md index 356f473a..1821c864 100644 --- a/old_docs/API_docs_v62/methods/channels_createChannel.md +++ b/old_docs/API_docs_v62/methods/channels_createChannel.md @@ -27,7 +27,7 @@ Create channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title='string', about='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_deleteChannel.md b/old_docs/API_docs_v62/methods/channels_deleteChannel.md index b55d91b8..a79ccb9f 100644 --- a/old_docs/API_docs_v62/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v62/methods/channels_deleteChannel.md @@ -24,7 +24,7 @@ Delete a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.deleteChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_deleteMessages.md b/old_docs/API_docs_v62/methods/channels_deleteMessages.md index 03625c94..8cd7ebb3 100644 --- a/old_docs/API_docs_v62/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v62/methods/channels_deleteMessages.md @@ -25,7 +25,7 @@ Delete channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v62/methods/channels_deleteUserHistory.md index 204a8786..78baa90f 100644 --- a/old_docs/API_docs_v62/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v62/methods/channels_deleteUserHistory.md @@ -25,7 +25,7 @@ Delete all messages of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_editAbout.md b/old_docs/API_docs_v62/methods/channels_editAbout.md index fd861133..549d7ea5 100644 --- a/old_docs/API_docs_v62/methods/channels_editAbout.md +++ b/old_docs/API_docs_v62/methods/channels_editAbout.md @@ -25,7 +25,7 @@ Edit the about text of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.editAbout({channel=InputChannel, about='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_editAdmin.md b/old_docs/API_docs_v62/methods/channels_editAdmin.md index bc0793fe..b41561e0 100644 --- a/old_docs/API_docs_v62/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v62/methods/channels_editAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ role - Json encoded ChannelParticipantRole Or, if you're into Lua: -``` +```lua Updates = channels.editAdmin({channel=InputChannel, user_id=InputUser, role=ChannelParticipantRole, }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_editPhoto.md b/old_docs/API_docs_v62/methods/channels_editPhoto.md index ccbaed65..7013c6e2 100644 --- a/old_docs/API_docs_v62/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v62/methods/channels_editPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = channels.editPhoto({channel=InputChannel, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_editTitle.md b/old_docs/API_docs_v62/methods/channels_editTitle.md index ffd868ba..a9c8c50f 100644 --- a/old_docs/API_docs_v62/methods/channels_editTitle.md +++ b/old_docs/API_docs_v62/methods/channels_editTitle.md @@ -25,7 +25,7 @@ Edit the title of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.editTitle({channel=InputChannel, title='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_exportInvite.md b/old_docs/API_docs_v62/methods/channels_exportInvite.md index 0b4b5c31..5a92097a 100644 --- a/old_docs/API_docs_v62/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v62/methods/channels_exportInvite.md @@ -24,7 +24,7 @@ Export the invite link of a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua ExportedChatInvite = channels.exportInvite({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_exportMessageLink.md b/old_docs/API_docs_v62/methods/channels_exportMessageLink.md index f42068f4..a2e2cc10 100644 --- a/old_docs/API_docs_v62/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v62/methods/channels_exportMessageLink.md @@ -25,7 +25,7 @@ Get the link of a message in a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua ExportedMessageLink = channels.exportMessageLink({channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v62/methods/channels_getAdminedPublicChannels.md index 67ee8bd4..dc2c29ed 100644 --- a/old_docs/API_docs_v62/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v62/methods/channels_getAdminedPublicChannels.md @@ -19,7 +19,7 @@ Get all supergroups/channels where you're admin ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v62/methods/channels_getChannels.md b/old_docs/API_docs_v62/methods/channels_getChannels.md index 71edac7b..a146be1e 100644 --- a/old_docs/API_docs_v62/methods/channels_getChannels.md +++ b/old_docs/API_docs_v62/methods/channels_getChannels.md @@ -24,7 +24,7 @@ Get info about multiple channels/supergroups ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputChannel Or, if you're into Lua: -``` +```lua messages_Chats = channels.getChannels({id={InputChannel}, }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_getMessages.md b/old_docs/API_docs_v62/methods/channels_getMessages.md index 217757eb..208cbcc4 100644 --- a/old_docs/API_docs_v62/methods/channels_getMessages.md +++ b/old_docs/API_docs_v62/methods/channels_getMessages.md @@ -25,7 +25,7 @@ Get channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_getParticipant.md b/old_docs/API_docs_v62/methods/channels_getParticipant.md index a641d213..9cf80799 100644 --- a/old_docs/API_docs_v62/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v62/methods/channels_getParticipant.md @@ -25,7 +25,7 @@ Get info about a certain channel/supergroup participant ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_getParticipants.md b/old_docs/API_docs_v62/methods/channels_getParticipants.md index c2f0cdcd..3d4dfa13 100644 --- a/old_docs/API_docs_v62/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v62/methods/channels_getParticipants.md @@ -27,7 +27,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_inviteToChannel.md b/old_docs/API_docs_v62/methods/channels_inviteToChannel.md index 0a350cc8..998e3895 100644 --- a/old_docs/API_docs_v62/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v62/methods/channels_inviteToChannel.md @@ -25,7 +25,7 @@ Add users to channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ users - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Updates = channels.inviteToChannel({channel=InputChannel, users={InputUser}, }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_joinChannel.md b/old_docs/API_docs_v62/methods/channels_joinChannel.md index aae2bc1c..3c6a3b94 100644 --- a/old_docs/API_docs_v62/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v62/methods/channels_joinChannel.md @@ -24,7 +24,7 @@ Join a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.joinChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_kickFromChannel.md b/old_docs/API_docs_v62/methods/channels_kickFromChannel.md index c51cea7c..7586bdf6 100644 --- a/old_docs/API_docs_v62/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v62/methods/channels_kickFromChannel.md @@ -26,7 +26,7 @@ Kick user from channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ kicked - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.kickFromChannel({channel=InputChannel, user_id=InputUser, kicked=Bool, }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_leaveChannel.md b/old_docs/API_docs_v62/methods/channels_leaveChannel.md index 4e6701fe..0934089f 100644 --- a/old_docs/API_docs_v62/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v62/methods/channels_leaveChannel.md @@ -24,7 +24,7 @@ Leave a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.leaveChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_readHistory.md b/old_docs/API_docs_v62/methods/channels_readHistory.md index d76919ff..cf5c1529 100644 --- a/old_docs/API_docs_v62/methods/channels_readHistory.md +++ b/old_docs/API_docs_v62/methods/channels_readHistory.md @@ -25,7 +25,7 @@ Mark channel/supergroup history as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.readHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_reportSpam.md b/old_docs/API_docs_v62/methods/channels_reportSpam.md index 48022662..b0e99eb1 100644 --- a/old_docs/API_docs_v62/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v62/methods/channels_reportSpam.md @@ -26,7 +26,7 @@ Report a message in a supergroup/channel for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.reportSpam({channel=InputChannel, user_id=InputUser, id={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_toggleInvites.md b/old_docs/API_docs_v62/methods/channels_toggleInvites.md index d0023b70..bed6ba15 100644 --- a/old_docs/API_docs_v62/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v62/methods/channels_toggleInvites.md @@ -25,7 +25,7 @@ Allow or disallow any user to invite users to this channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleInvites({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_toggleSignatures.md b/old_docs/API_docs_v62/methods/channels_toggleSignatures.md index 337e8627..c9fe18cc 100644 --- a/old_docs/API_docs_v62/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v62/methods/channels_toggleSignatures.md @@ -25,7 +25,7 @@ Toggle channel signatures ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleSignatures({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md index c79c5904..9d2cc058 100644 --- a/old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md @@ -26,7 +26,7 @@ Set the pinned message of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = channels.updatePinnedMessage({silent=Bool, channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/channels_updateUsername.md b/old_docs/API_docs_v62/methods/channels_updateUsername.md index 2e07e123..c0df8c7c 100644 --- a/old_docs/API_docs_v62/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v62/methods/channels_updateUsername.md @@ -25,7 +25,7 @@ Update the username of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.updateUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/contacts_block.md b/old_docs/API_docs_v62/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v62/methods/contacts_block.md +++ b/old_docs/API_docs_v62/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v62/methods/contacts_deleteContact.md b/old_docs/API_docs_v62/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v62/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v62/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v62/methods/contacts_deleteContacts.md b/old_docs/API_docs_v62/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v62/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v62/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v62/methods/contacts_exportCard.md b/old_docs/API_docs_v62/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v62/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v62/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v62/methods/contacts_getBlocked.md b/old_docs/API_docs_v62/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v62/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v62/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/contacts_getContacts.md b/old_docs/API_docs_v62/methods/contacts_getContacts.md index ccf0f99d..dfa407f2 100644 --- a/old_docs/API_docs_v62/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v62/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/contacts_getStatuses.md b/old_docs/API_docs_v62/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v62/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v62/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v62/methods/contacts_getTopPeers.md b/old_docs/API_docs_v62/methods/contacts_getTopPeers.md index 1d3f7b21..f92611a2 100644 --- a/old_docs/API_docs_v62/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v62/methods/contacts_getTopPeers.md @@ -31,7 +31,7 @@ Get most used chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/contacts_importCard.md b/old_docs/API_docs_v62/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v62/methods/contacts_importCard.md +++ b/old_docs/API_docs_v62/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/contacts_importContacts.md b/old_docs/API_docs_v62/methods/contacts_importContacts.md index d0404dd2..f1b17e2c 100644 --- a/old_docs/API_docs_v62/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v62/methods/contacts_importContacts.md @@ -25,7 +25,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ replace - Json encoded Bool Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md index 96ae48ac..94a07f54 100644 --- a/old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md @@ -25,7 +25,7 @@ Reset top peer rating for a certain category/peer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = contacts.resetTopPeerRating({category=TopPeerCategory, peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v62/methods/contacts_search.md b/old_docs/API_docs_v62/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v62/methods/contacts_search.md +++ b/old_docs/API_docs_v62/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/contacts_unblock.md b/old_docs/API_docs_v62/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v62/methods/contacts_unblock.md +++ b/old_docs/API_docs_v62/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v62/methods/destroy_auth_key.md b/old_docs/API_docs_v62/methods/destroy_auth_key.md index b5adfce0..aff3981b 100644 --- a/old_docs/API_docs_v62/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v62/methods/destroy_auth_key.md @@ -19,7 +19,7 @@ Destroy current authorization key ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua DestroyAuthKeyRes = destroy_auth_key({}) ``` diff --git a/old_docs/API_docs_v62/methods/help_getAppChangelog.md b/old_docs/API_docs_v62/methods/help_getAppChangelog.md index 3bdd09e2..ce717f03 100644 --- a/old_docs/API_docs_v62/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v62/methods/help_getAppChangelog.md @@ -19,7 +19,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_AppChangelog = help.getAppChangelog({}) ``` diff --git a/old_docs/API_docs_v62/methods/help_getAppUpdate.md b/old_docs/API_docs_v62/methods/help_getAppUpdate.md index 4ddc0e4d..541b5972 100644 --- a/old_docs/API_docs_v62/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v62/methods/help_getAppUpdate.md @@ -19,7 +19,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v62/methods/help_getConfig.md b/old_docs/API_docs_v62/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v62/methods/help_getConfig.md +++ b/old_docs/API_docs_v62/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v62/methods/help_getInviteText.md b/old_docs/API_docs_v62/methods/help_getInviteText.md index 1510e64f..f05ac4ac 100644 --- a/old_docs/API_docs_v62/methods/help_getInviteText.md +++ b/old_docs/API_docs_v62/methods/help_getInviteText.md @@ -19,7 +19,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v62/methods/help_getNearestDc.md b/old_docs/API_docs_v62/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v62/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v62/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v62/methods/help_getSupport.md b/old_docs/API_docs_v62/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v62/methods/help_getSupport.md +++ b/old_docs/API_docs_v62/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v62/methods/help_getTermsOfService.md b/old_docs/API_docs_v62/methods/help_getTermsOfService.md index bf421bf6..95d51e60 100644 --- a/old_docs/API_docs_v62/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v62/methods/help_getTermsOfService.md @@ -19,7 +19,7 @@ Get terms of service ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v62/methods/help_saveAppLog.md b/old_docs/API_docs_v62/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v62/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v62/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md index 0429f8a0..53736da7 100644 --- a/old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md @@ -25,7 +25,7 @@ Set the update status of webhook ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = help.setBotUpdatesStatus({pending_updates_count=int, message='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/initConnection.md b/old_docs/API_docs_v62/methods/initConnection.md index 58cdb067..e34794f8 100644 --- a/old_docs/API_docs_v62/methods/initConnection.md +++ b/old_docs/API_docs_v62/methods/initConnection.md @@ -29,7 +29,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v62/methods/invokeAfterMsg.md b/old_docs/API_docs_v62/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v62/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v62/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v62/methods/invokeAfterMsgs.md b/old_docs/API_docs_v62/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v62/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v62/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v62/methods/invokeWithLayer.md b/old_docs/API_docs_v62/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v62/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v62/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v62/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v62/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/old_docs/API_docs_v62/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v62/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_addChatUser.md b/old_docs/API_docs_v62/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v62/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v62/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_checkChatInvite.md b/old_docs/API_docs_v62/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/old_docs/API_docs_v62/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v62/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v62/methods/messages_clearRecentStickers.md index 56634143..53e1fa4f 100644 --- a/old_docs/API_docs_v62/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v62/methods/messages_clearRecentStickers.md @@ -24,7 +24,7 @@ Clear all recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ attached - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.clearRecentStickers({attached=Bool, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_createChat.md b/old_docs/API_docs_v62/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v62/methods/messages_createChat.md +++ b/old_docs/API_docs_v62/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_deleteChatUser.md b/old_docs/API_docs_v62/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v62/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v62/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_deleteHistory.md b/old_docs/API_docs_v62/methods/messages_deleteHistory.md index 866ba216..33d1ca52 100644 --- a/old_docs/API_docs_v62/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v62/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_deleteMessages.md b/old_docs/API_docs_v62/methods/messages_deleteMessages.md index eaf9cd86..9158e8bd 100644 --- a/old_docs/API_docs_v62/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v62/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_editChatAdmin.md b/old_docs/API_docs_v62/methods/messages_editChatAdmin.md index a2dad97f..f883b50e 100644 --- a/old_docs/API_docs_v62/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v62/methods/messages_editChatAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ is_admin - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.editChatAdmin({chat_id=InputPeer, user_id=InputUser, is_admin=Bool, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_editChatPhoto.md b/old_docs/API_docs_v62/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v62/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v62/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_editChatTitle.md b/old_docs/API_docs_v62/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v62/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v62/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md index c669c8d7..6c04ab6f 100644 --- a/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md @@ -29,7 +29,7 @@ Edit a sent inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -66,7 +66,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.editInlineBotMessage({no_webpage=Bool, id=InputBotInlineMessageID, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_editMessage.md b/old_docs/API_docs_v62/methods/messages_editMessage.md index 7af0cfd9..db5cc876 100644 --- a/old_docs/API_docs_v62/methods/messages_editMessage.md +++ b/old_docs/API_docs_v62/methods/messages_editMessage.md @@ -30,7 +30,7 @@ Edit a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -67,7 +67,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.editMessage({no_webpage=Bool, peer=InputPeer, id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_exportChatInvite.md b/old_docs/API_docs_v62/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/old_docs/API_docs_v62/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v62/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_forwardMessage.md b/old_docs/API_docs_v62/methods/messages_forwardMessage.md index 586670b8..d9c0453f 100644 --- a/old_docs/API_docs_v62/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v62/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_forwardMessages.md b/old_docs/API_docs_v62/methods/messages_forwardMessages.md index 99815a44..caf61d66 100644 --- a/old_docs/API_docs_v62/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v62/methods/messages_forwardMessages.md @@ -29,7 +29,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ to_peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({silent=Bool, background=Bool, with_my_score=Bool, from_peer=InputPeer, id={int}, to_peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getAllChats.md b/old_docs/API_docs_v62/methods/messages_getAllChats.md index 663af07c..38cbbbae 100644 --- a/old_docs/API_docs_v62/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v62/methods/messages_getAllChats.md @@ -24,7 +24,7 @@ Get all chats (not supergroups or channels) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ except_ids - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getAllChats({except_ids={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getAllDrafts.md b/old_docs/API_docs_v62/methods/messages_getAllDrafts.md index 31aa8176..7300e01a 100644 --- a/old_docs/API_docs_v62/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v62/methods/messages_getAllDrafts.md @@ -19,7 +19,7 @@ Get all message drafts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Updates = messages.getAllDrafts({}) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getAllStickers.md b/old_docs/API_docs_v62/methods/messages_getAllStickers.md index 966af122..c25a823b 100644 --- a/old_docs/API_docs_v62/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v62/methods/messages_getArchivedStickers.md index e98ab6ec..ef79ee6e 100644 --- a/old_docs/API_docs_v62/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getArchivedStickers.md @@ -26,7 +26,7 @@ Get all archived stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v62/methods/messages_getAttachedStickers.md index 0e221a84..9ada6655 100644 --- a/old_docs/API_docs_v62/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getAttachedStickers.md @@ -24,7 +24,7 @@ Get stickers attachable to images ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ media - Json encoded InputStickeredMedia Or, if you're into Lua: -``` +```lua Vector_of_StickerSetCovered = messages.getAttachedStickers({media=InputStickeredMedia, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md index ffcd8a2e..b4f1d02f 100644 --- a/old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md @@ -27,7 +27,7 @@ Get the callback answer of a bot (after clicking a button) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ data - Json encoded bytes Or, if you're into Lua: -``` +```lua messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getChats.md b/old_docs/API_docs_v62/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v62/methods/messages_getChats.md +++ b/old_docs/API_docs_v62/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getCommonChats.md b/old_docs/API_docs_v62/methods/messages_getCommonChats.md index e6921d5e..83237f64 100644 --- a/old_docs/API_docs_v62/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v62/methods/messages_getCommonChats.md @@ -26,7 +26,7 @@ Get chats in common with a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getDialogs.md b/old_docs/API_docs_v62/methods/messages_getDialogs.md index 694c916f..0bc314b5 100644 --- a/old_docs/API_docs_v62/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_getDialogs.md @@ -28,7 +28,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v62/methods/messages_getDocumentByHash.md index 5b6f6f21..00f0a558 100644 --- a/old_docs/API_docs_v62/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v62/methods/messages_getDocumentByHash.md @@ -26,7 +26,7 @@ Get document by SHA256 hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ mime_type - Json encoded string Or, if you're into Lua: -``` +```lua Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md index a837377b..c257621e 100644 --- a/old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md @@ -24,7 +24,7 @@ Get featured stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getGameHighScores.md b/old_docs/API_docs_v62/methods/messages_getGameHighScores.md index f7837998..a97fb1ff 100644 --- a/old_docs/API_docs_v62/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v62/methods/messages_getGameHighScores.md @@ -26,7 +26,7 @@ Get high scores of a game ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getHistory.md b/old_docs/API_docs_v62/methods/messages_getHistory.md index 76d20b70..23f2d6e9 100644 --- a/old_docs/API_docs_v62/methods/messages_getHistory.md +++ b/old_docs/API_docs_v62/methods/messages_getHistory.md @@ -30,7 +30,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v62/methods/messages_getInlineBotResults.md index 03b5d845..73f2deb2 100644 --- a/old_docs/API_docs_v62/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v62/methods/messages_getInlineBotResults.md @@ -28,7 +28,7 @@ Call inline bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ offset - Json encoded string Or, if you're into Lua: -``` +```lua messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v62/methods/messages_getInlineGameHighScores.md index e8be8e81..046c1cfb 100644 --- a/old_docs/API_docs_v62/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v62/methods/messages_getInlineGameHighScores.md @@ -25,7 +25,7 @@ Get high scores of a game sent in an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getMaskStickers.md b/old_docs/API_docs_v62/methods/messages_getMaskStickers.md index 55c4edea..06fd153e 100644 --- a/old_docs/API_docs_v62/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getMaskStickers.md @@ -24,7 +24,7 @@ Get masks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getMessageEditData.md b/old_docs/API_docs_v62/methods/messages_getMessageEditData.md index 2c44a1dc..77e2c030 100644 --- a/old_docs/API_docs_v62/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v62/methods/messages_getMessageEditData.md @@ -25,7 +25,7 @@ Check if about to edit a message or a media caption ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getMessages.md b/old_docs/API_docs_v62/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v62/methods/messages_getMessages.md +++ b/old_docs/API_docs_v62/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getMessagesViews.md b/old_docs/API_docs_v62/methods/messages_getMessagesViews.md index 57a99054..b2b6110e 100644 --- a/old_docs/API_docs_v62/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v62/methods/messages_getMessagesViews.md @@ -26,7 +26,7 @@ Get and increase message views ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ increment - Json encoded Bool Or, if you're into Lua: -``` +```lua Vector_of_int = messages.getMessagesViews({peer=InputPeer, id={int}, increment=Bool, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v62/methods/messages_getPeerDialogs.md index ca746b3b..a34873df 100644 --- a/old_docs/API_docs_v62/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_getPeerDialogs.md @@ -24,7 +24,7 @@ Get dialog info of peers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peers - Json encoded array of InputPeer Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getPeerSettings.md b/old_docs/API_docs_v62/methods/messages_getPeerSettings.md index 92d4697a..e2b3ec4f 100644 --- a/old_docs/API_docs_v62/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v62/methods/messages_getPeerSettings.md @@ -24,7 +24,7 @@ Get the settings of apeer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua PeerSettings = messages.getPeerSettings({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md index 634f4c41..77eb98ce 100644 --- a/old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md @@ -19,7 +19,7 @@ Get pinned dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPinnedDialogs({}) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getRecentStickers.md b/old_docs/API_docs_v62/methods/messages_getRecentStickers.md index d89272fd..939fd036 100644 --- a/old_docs/API_docs_v62/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getRecentStickers.md @@ -25,7 +25,7 @@ Get recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getSavedGifs.md b/old_docs/API_docs_v62/methods/messages_getSavedGifs.md index cafba4e1..1a879907 100644 --- a/old_docs/API_docs_v62/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v62/methods/messages_getSavedGifs.md @@ -24,7 +24,7 @@ Get saved gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getStickerSet.md b/old_docs/API_docs_v62/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/old_docs/API_docs_v62/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v62/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getWebPage.md b/old_docs/API_docs_v62/methods/messages_getWebPage.md index fb7152af..9237d4b7 100644 --- a/old_docs/API_docs_v62/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v62/methods/messages_getWebPage.md @@ -25,7 +25,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua WebPage = messages.getWebPage({url='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v62/methods/messages_getWebPagePreview.md index 8475c8f5..4838be94 100644 --- a/old_docs/API_docs_v62/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v62/methods/messages_getWebPagePreview.md @@ -24,7 +24,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_hideReportSpam.md b/old_docs/API_docs_v62/methods/messages_hideReportSpam.md index 17a7f8ef..1c0d72c5 100644 --- a/old_docs/API_docs_v62/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v62/methods/messages_hideReportSpam.md @@ -24,7 +24,7 @@ Hide report spam popup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.hideReportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_importChatInvite.md b/old_docs/API_docs_v62/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/old_docs/API_docs_v62/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v62/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_installStickerSet.md b/old_docs/API_docs_v62/methods/messages_installStickerSet.md index 88131136..6bdb9390 100644 --- a/old_docs/API_docs_v62/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v62/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ archived - Json encoded Bool Or, if you're into Lua: -``` +```lua messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_migrateChat.md b/old_docs/API_docs_v62/methods/messages_migrateChat.md index df91f510..e789ff7d 100644 --- a/old_docs/API_docs_v62/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v62/methods/messages_migrateChat.md @@ -24,7 +24,7 @@ Convert chat to supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.migrateChat({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md index 2c34ac0f..9fef6621 100644 --- a/old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md @@ -24,7 +24,7 @@ Mark new featured stickers as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.readFeaturedStickers({id={long}, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_readHistory.md b/old_docs/API_docs_v62/methods/messages_readHistory.md index 48d7fb45..4a2188d8 100644 --- a/old_docs/API_docs_v62/methods/messages_readHistory.md +++ b/old_docs/API_docs_v62/methods/messages_readHistory.md @@ -25,7 +25,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_readMessageContents.md b/old_docs/API_docs_v62/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v62/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v62/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_receivedMessages.md b/old_docs/API_docs_v62/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/old_docs/API_docs_v62/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v62/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md index 4d2cb53e..d8aeefa7 100644 --- a/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md @@ -25,7 +25,7 @@ Reorder pinned dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reorderPinnedDialogs({force=Bool, order={InputPeer}, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v62/methods/messages_reorderStickerSets.md index c1c35ef6..cd73daa0 100644 --- a/old_docs/API_docs_v62/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v62/methods/messages_reorderStickerSets.md @@ -25,7 +25,7 @@ Reorder sticker sets ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.reorderStickerSets({masks=Bool, order={long}, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md index dffdffc9..5d5f0dab 100644 --- a/old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md @@ -24,7 +24,7 @@ Report for spam a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputEncryptedChat Or, if you're into Lua: -``` +```lua Bool = messages.reportEncryptedSpam({peer=InputEncryptedChat, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_reportSpam.md b/old_docs/API_docs_v62/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/old_docs/API_docs_v62/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v62/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_saveDraft.md b/old_docs/API_docs_v62/methods/messages_saveDraft.md index ede72c41..14e69f93 100644 --- a/old_docs/API_docs_v62/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v62/methods/messages_saveDraft.md @@ -29,7 +29,7 @@ Save a message draft ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -57,7 +57,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.saveDraft({no_webpage=Bool, reply_to_msg_id=int, peer=InputPeer, message='string', entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_saveGif.md b/old_docs/API_docs_v62/methods/messages_saveGif.md index adae6d86..dfa956ab 100644 --- a/old_docs/API_docs_v62/methods/messages_saveGif.md +++ b/old_docs/API_docs_v62/methods/messages_saveGif.md @@ -25,7 +25,7 @@ Save a GIF ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveGif({id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v62/methods/messages_saveRecentSticker.md index 9cd06ea1..1abf524f 100644 --- a/old_docs/API_docs_v62/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v62/methods/messages_saveRecentSticker.md @@ -26,7 +26,7 @@ Add a sticker to recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveRecentSticker({attached=Bool, id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_search.md b/old_docs/API_docs_v62/methods/messages_search.md index 4c373c29..b4549f38 100644 --- a/old_docs/API_docs_v62/methods/messages_search.md +++ b/old_docs/API_docs_v62/methods/messages_search.md @@ -31,7 +31,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_searchGifs.md b/old_docs/API_docs_v62/methods/messages_searchGifs.md index 1ef77d23..a12cdd21 100644 --- a/old_docs/API_docs_v62/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v62/methods/messages_searchGifs.md @@ -25,7 +25,7 @@ Search gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_searchGlobal.md b/old_docs/API_docs_v62/methods/messages_searchGlobal.md index 4d05bf0d..1fb73592 100644 --- a/old_docs/API_docs_v62/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v62/methods/messages_searchGlobal.md @@ -28,7 +28,7 @@ Global message search ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_sendEncrypted.md b/old_docs/API_docs_v62/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v62/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v62/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v62/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v62/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v62/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md index 8de674c6..37fae63a 100644 --- a/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md @@ -30,7 +30,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ id - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.sendInlineBotResult({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_sendMedia.md b/old_docs/API_docs_v62/methods/messages_sendMedia.md index 2290e52e..7c4e0dcf 100644 --- a/old_docs/API_docs_v62/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v62/methods/messages_sendMedia.md @@ -30,7 +30,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, media=InputMedia, reply_markup=ReplyMarkup, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_sendMessage.md b/old_docs/API_docs_v62/methods/messages_sendMessage.md index 77790562..9cdc74eb 100644 --- a/old_docs/API_docs_v62/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v62/methods/messages_sendMessage.md @@ -33,7 +33,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMessage({no_webpage=Bool, silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md index 0395b468..47d74918 100644 --- a/old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md @@ -28,7 +28,7 @@ Bots only: set the callback answer (after a button was clicked) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ cache_time - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message='string', url='string', cache_time=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_setGameScore.md b/old_docs/API_docs_v62/methods/messages_setGameScore.md index 41ee4591..1a50326e 100644 --- a/old_docs/API_docs_v62/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v62/methods/messages_setGameScore.md @@ -29,7 +29,7 @@ Set the game score ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.setGameScore({edit_message=Bool, force=Bool, peer=InputPeer, id=int, user_id=InputUser, score=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v62/methods/messages_setInlineBotResults.md index 443a028e..e1ebe4e3 100644 --- a/old_docs/API_docs_v62/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v62/methods/messages_setInlineBotResults.md @@ -30,7 +30,7 @@ Bots only: set the results of an inline query ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: -``` +```lua Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset='string', switch_pm=InlineBotSwitchPM, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v62/methods/messages_setInlineGameScore.md index 0d97b9bf..76db49dd 100644 --- a/old_docs/API_docs_v62/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v62/methods/messages_setInlineGameScore.md @@ -28,7 +28,7 @@ Set the game score of an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setInlineGameScore({edit_message=Bool, force=Bool, id=InputBotInlineMessageID, user_id=InputUser, score=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_setTyping.md b/old_docs/API_docs_v62/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v62/methods/messages_setTyping.md +++ b/old_docs/API_docs_v62/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_startBot.md b/old_docs/API_docs_v62/methods/messages_startBot.md index 506957a7..71f82822 100644 --- a/old_docs/API_docs_v62/methods/messages_startBot.md +++ b/old_docs/API_docs_v62/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md index 0f1e56fa..56438277 100644 --- a/old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md @@ -25,7 +25,7 @@ Enable all users are admins in normal groups (not supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = messages.toggleChatAdmins({chat_id=InputPeer, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v62/methods/messages_toggleDialogPin.md index 57f673a0..02adfd4b 100644 --- a/old_docs/API_docs_v62/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v62/methods/messages_toggleDialogPin.md @@ -25,7 +25,7 @@ Pin or unpin dialog ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.toggleDialogPin({pinned=Bool, peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v62/methods/phone_receivedCall.md b/old_docs/API_docs_v62/methods/phone_receivedCall.md index b6cebd0c..c030fe43 100644 --- a/old_docs/API_docs_v62/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v62/methods/phone_receivedCall.md @@ -24,7 +24,7 @@ Notify server that you received a call (server will refuse all incoming calls un ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPhoneCall Or, if you're into Lua: -``` +```lua Bool = phone.receivedCall({peer=InputPhoneCall, }) ``` diff --git a/old_docs/API_docs_v62/methods/photos_deletePhotos.md b/old_docs/API_docs_v62/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v62/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v62/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v62/methods/photos_getUserPhotos.md b/old_docs/API_docs_v62/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/old_docs/API_docs_v62/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v62/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md index 8eb42e5d..26ab417e 100644 --- a/old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md @@ -24,7 +24,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputPhoto Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, }) ``` diff --git a/old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md index 9b838b89..8d047d9a 100644 --- a/old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ file - Json encoded InputFile Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` diff --git a/old_docs/API_docs_v62/methods/users_getUsers.md b/old_docs/API_docs_v62/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v62/methods/users_getUsers.md +++ b/old_docs/API_docs_v62/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v62/types/Chat.md b/old_docs/API_docs_v62/types/Chat.md index cd83aacb..58654e6e 100644 --- a/old_docs/API_docs_v62/types/Chat.md +++ b/old_docs/API_docs_v62/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v62/types/InputChannel.md b/old_docs/API_docs_v62/types/InputChannel.md index 3882099d..6dc802fc 100644 --- a/old_docs/API_docs_v62/types/InputChannel.md +++ b/old_docs/API_docs_v62/types/InputChannel.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputChannel = '@username'; // Username $InputChannel = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v62/types/InputEncryptedChat.md b/old_docs/API_docs_v62/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v62/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v62/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v62/types/InputEncryptedFile.md b/old_docs/API_docs_v62/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v62/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v62/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v62/types/InputFile.md b/old_docs/API_docs_v62/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v62/types/InputFile.md +++ b/old_docs/API_docs_v62/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v62/types/InputNotifyPeer.md b/old_docs/API_docs_v62/types/InputNotifyPeer.md index ffc1f0cf..f9d0a662 100644 --- a/old_docs/API_docs_v62/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v62/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v62/types/InputPeer.md b/old_docs/API_docs_v62/types/InputPeer.md index 2076c00b..2649db1a 100644 --- a/old_docs/API_docs_v62/types/InputPeer.md +++ b/old_docs/API_docs_v62/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v62/types/InputUser.md b/old_docs/API_docs_v62/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/old_docs/API_docs_v62/types/InputUser.md +++ b/old_docs/API_docs_v62/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v62/types/KeyboardButton.md b/old_docs/API_docs_v62/types/KeyboardButton.md index a3d7dedc..00d79fb7 100644 --- a/old_docs/API_docs_v62/types/KeyboardButton.md +++ b/old_docs/API_docs_v62/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/old_docs/API_docs_v62/types/NotifyPeer.md b/old_docs/API_docs_v62/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v62/types/NotifyPeer.md +++ b/old_docs/API_docs_v62/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v62/types/Peer.md b/old_docs/API_docs_v62/types/Peer.md index ebb98e91..0ab7fdcc 100644 --- a/old_docs/API_docs_v62/types/Peer.md +++ b/old_docs/API_docs_v62/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v62/types/PhoneCall.md b/old_docs/API_docs_v62/types/PhoneCall.md index 64d95972..0aa87799 100644 --- a/old_docs/API_docs_v62/types/PhoneCall.md +++ b/old_docs/API_docs_v62/types/PhoneCall.md @@ -159,7 +159,7 @@ The audio configuration is an array structured in the following way: Easy as pie: -``` +```php $call->storage["pony"] = "fluttershy"; \danog\MadelineProto\Logger::log($call->storage["pony"]); // fluttershy ``` @@ -173,7 +173,7 @@ You can only modify the data saving mode, the network type, the logging file pat Example: -``` +```php $call->configuration["log_file_path"] = "logs".$call->getOtherID().".log"; // Default is /dev/null $call->configuration["stats_dump_file_path"] = "stats".$call->getOtherID().".log"; // Default is /dev/null $call->configuration["network_type"] = \danog\MadelineProto\VoIP::NET_TYPE_WIFI; // Default is NET_TYPE_ETHERNET diff --git a/old_docs/API_docs_v62/types/User.md b/old_docs/API_docs_v62/types/User.md index 3abd182f..425c8d2b 100644 --- a/old_docs/API_docs_v62/types/User.md +++ b/old_docs/API_docs_v62/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v65/constructors/accountDaysTTL.md b/old_docs/API_docs_v65/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v65/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v65/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v65/constructors/account_authorizations.md b/old_docs/API_docs_v65/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v65/constructors/account_authorizations.md +++ b/old_docs/API_docs_v65/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v65/constructors/account_noPassword.md b/old_docs/API_docs_v65/constructors/account_noPassword.md index 81a483d6..63a4af6d 100644 --- a/old_docs/API_docs_v65/constructors/account_noPassword.md +++ b/old_docs/API_docs_v65/constructors/account_noPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -33,10 +33,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'emai ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/account_password.md b/old_docs/API_docs_v65/constructors/account_password.md index 9a8b31c6..5c4c334b 100644 --- a/old_docs/API_docs_v65/constructors/account_password.md +++ b/old_docs/API_docs_v65/constructors/account_password.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` @@ -36,10 +36,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v65/constructors/account_passwordInputSettings.md index f474e0c7..b5838f0a 100644 --- a/old_docs/API_docs_v65/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v65/constructors/account_passwordInputSettings.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v65/constructors/account_passwordSettings.md b/old_docs/API_docs_v65/constructors/account_passwordSettings.md index 27d14f59..04fc8621 100644 --- a/old_docs/API_docs_v65/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v65/constructors/account_passwordSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v65/constructors/account_privacyRules.md b/old_docs/API_docs_v65/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v65/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v65/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v65/constructors/account_tmpPassword.md b/old_docs/API_docs_v65/constructors/account_tmpPassword.md index e16b6f3c..90d36e0e 100644 --- a/old_docs/API_docs_v65/constructors/account_tmpPassword.md +++ b/old_docs/API_docs_v65/constructors/account_tmpPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v65/constructors/auth_authorization.md b/old_docs/API_docs_v65/constructors/auth_authorization.md index c8133016..b858e501 100644 --- a/old_docs/API_docs_v65/constructors/auth_authorization.md +++ b/old_docs/API_docs_v65/constructors/auth_authorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v65/constructors/auth_checkedPhone.md b/old_docs/API_docs_v65/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v65/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v65/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v65/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v65/constructors/auth_codeTypeCall.md index 6a4f28d1..788a2c37 100644 --- a/old_docs/API_docs_v65/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v65/constructors/auth_codeTypeCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeCall={_='auth.codeTypeCall'} ``` diff --git a/old_docs/API_docs_v65/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v65/constructors/auth_codeTypeFlashCall.md index 2851bf4e..abb65fcf 100644 --- a/old_docs/API_docs_v65/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v65/constructors/auth_codeTypeFlashCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} ``` diff --git a/old_docs/API_docs_v65/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v65/constructors/auth_codeTypeSms.md index 04b78a3d..34b42c95 100644 --- a/old_docs/API_docs_v65/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v65/constructors/auth_codeTypeSms.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeSms={_='auth.codeTypeSms'} ``` diff --git a/old_docs/API_docs_v65/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v65/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v65/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v65/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v65/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v65/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v65/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v65/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v65/constructors/auth_sentCode.md b/old_docs/API_docs_v65/constructors/auth_sentCode.md index 0226e79e..2b3f2017 100644 --- a/old_docs/API_docs_v65/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v65/constructors/auth_sentCode.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; ``` @@ -36,10 +36,9 @@ $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} ``` diff --git a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeApp.md index eb4f4530..eba1784a 100644 --- a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeApp.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeCall.md index b72a7550..5948ce63 100644 --- a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeFlashCall.md index 2c59cad5..bcc7acf6 100644 --- a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeFlashCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeSms.md index db6858ea..3073333f 100644 --- a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeSms.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v65/constructors/authorization.md b/old_docs/API_docs_v65/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v65/constructors/authorization.md +++ b/old_docs/API_docs_v65/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v65/constructors/bad_msg_notification.md b/old_docs/API_docs_v65/constructors/bad_msg_notification.md index a9553b26..bf1b9309 100644 --- a/old_docs/API_docs_v65/constructors/bad_msg_notification.md +++ b/old_docs/API_docs_v65/constructors/bad_msg_notification.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int]; ``` @@ -34,10 +34,9 @@ $bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua bad_msg_notification={_='bad_msg_notification', bad_msg_id=long, bad_msg_seqno=int, error_code=int} ``` diff --git a/old_docs/API_docs_v65/constructors/bad_server_salt.md b/old_docs/API_docs_v65/constructors/bad_server_salt.md index 5abce2e0..9eba4882 100644 --- a/old_docs/API_docs_v65/constructors/bad_server_salt.md +++ b/old_docs/API_docs_v65/constructors/bad_server_salt.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, 'new_server_salt' => long]; ``` @@ -35,10 +35,9 @@ $bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seq ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua bad_server_salt={_='bad_server_salt', bad_msg_id=long, bad_msg_seqno=int, error_code=int, new_server_salt=long} ``` diff --git a/old_docs/API_docs_v65/constructors/botCommand.md b/old_docs/API_docs_v65/constructors/botCommand.md index 8569358d..fcb65461 100644 --- a/old_docs/API_docs_v65/constructors/botCommand.md +++ b/old_docs/API_docs_v65/constructors/botCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v65/constructors/botInfo.md b/old_docs/API_docs_v65/constructors/botInfo.md index 507f9f8c..ad88f390 100644 --- a/old_docs/API_docs_v65/constructors/botInfo.md +++ b/old_docs/API_docs_v65/constructors/botInfo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v65/constructors/botInlineMediaResult.md b/old_docs/API_docs_v65/constructors/botInlineMediaResult.md index 43454784..0131af98 100644 --- a/old_docs/API_docs_v65/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v65/constructors/botInlineMediaResult.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` @@ -38,10 +38,9 @@ $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} ``` diff --git a/old_docs/API_docs_v65/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v65/constructors/botInlineMessageMediaAuto.md index 71557e0c..89ef07e4 100644 --- a/old_docs/API_docs_v65/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v65/constructors/botInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v65/constructors/botInlineMessageMediaContact.md b/old_docs/API_docs_v65/constructors/botInlineMessageMediaContact.md index c3f25947..771472fa 100644 --- a/old_docs/API_docs_v65/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v65/constructors/botInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v65/constructors/botInlineMessageMediaGeo.md b/old_docs/API_docs_v65/constructors/botInlineMessageMediaGeo.md index c87e0dfe..24bf8b8d 100644 --- a/old_docs/API_docs_v65/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v65/constructors/botInlineMessageMediaGeo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v65/constructors/botInlineMessageMediaVenue.md b/old_docs/API_docs_v65/constructors/botInlineMessageMediaVenue.md index 4795ba75..8108a37c 100644 --- a/old_docs/API_docs_v65/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v65/constructors/botInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v65/constructors/botInlineMessageText.md b/old_docs/API_docs_v65/constructors/botInlineMessageText.md index 4a274d28..b3fa92ed 100644 --- a/old_docs/API_docs_v65/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v65/constructors/botInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v65/constructors/botInlineResult.md b/old_docs/API_docs_v65/constructors/botInlineResult.md index c7abbd71..8b6ead75 100644 --- a/old_docs/API_docs_v65/constructors/botInlineResult.md +++ b/old_docs/API_docs_v65/constructors/botInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` @@ -43,10 +43,9 @@ $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_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v65/constructors/channel.md b/old_docs/API_docs_v65/constructors/channel.md index 489f65c7..98c32d4b 100644 --- a/old_docs/API_docs_v65/constructors/channel.md +++ b/old_docs/API_docs_v65/constructors/channel.md @@ -40,7 +40,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => 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']; ``` @@ -51,10 +51,9 @@ $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=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'} ``` diff --git a/old_docs/API_docs_v65/constructors/channelForbidden.md b/old_docs/API_docs_v65/constructors/channelForbidden.md index 27a78b5c..7d083e83 100644 --- a/old_docs/API_docs_v65/constructors/channelForbidden.md +++ b/old_docs/API_docs_v65/constructors/channelForbidden.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` @@ -36,10 +36,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v65/constructors/channelFull.md b/old_docs/API_docs_v65/constructors/channelFull.md index c947a32e..671149f5 100644 --- a/old_docs/API_docs_v65/constructors/channelFull.md +++ b/old_docs/API_docs_v65/constructors/channelFull.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_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]; ``` @@ -48,10 +48,9 @@ $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, id=int, about='string', participants_count=int, admins_count=int, kicked_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} ``` diff --git a/old_docs/API_docs_v65/constructors/channelMessagesFilter.md b/old_docs/API_docs_v65/constructors/channelMessagesFilter.md index b19d3151..1b953ba3 100644 --- a/old_docs/API_docs_v65/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v65/constructors/channelMessagesFilter.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v65/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v65/constructors/channelMessagesFilterEmpty.md index 350e50de..a446b896 100644 --- a/old_docs/API_docs_v65/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v65/constructors/channelMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/channelParticipant.md b/old_docs/API_docs_v65/constructors/channelParticipant.md index c7de5400..dbcb792b 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipant.md +++ b/old_docs/API_docs_v65/constructors/channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v65/constructors/channelParticipantCreator.md b/old_docs/API_docs_v65/constructors/channelParticipantCreator.md index 86cafe0a..e999fb9c 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantCreator={_='channelParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/channelParticipantEditor.md b/old_docs/API_docs_v65/constructors/channelParticipantEditor.md index 37ae4bb0..7c7e4dc9 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantEditor.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v65/constructors/channelParticipantKicked.md b/old_docs/API_docs_v65/constructors/channelParticipantKicked.md index ccc454be..6bcc2e0f 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantKicked.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int} ``` diff --git a/old_docs/API_docs_v65/constructors/channelParticipantModerator.md b/old_docs/API_docs_v65/constructors/channelParticipantModerator.md index 90b4ab52..49c68acd 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantModerator.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v65/constructors/channelParticipantSelf.md b/old_docs/API_docs_v65/constructors/channelParticipantSelf.md index 83864972..4b5949ac 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantSelf.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v65/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v65/constructors/channelParticipantsAdmins.md index c86cb9a4..4b0c30d4 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantsAdmins.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` @@ -27,10 +27,9 @@ $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v65/constructors/channelParticipantsBots.md b/old_docs/API_docs_v65/constructors/channelParticipantsBots.md index 30875f94..66e510c7 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantsBots.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` @@ -27,10 +27,9 @@ $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v65/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v65/constructors/channelParticipantsKicked.md index 7f026ceb..38cf128e 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantsKicked.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` @@ -27,10 +27,9 @@ $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v65/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v65/constructors/channelParticipantsRecent.md index e4cb6466..51e57069 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantsRecent.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` @@ -27,10 +27,9 @@ $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v65/constructors/channelRoleEditor.md b/old_docs/API_docs_v65/constructors/channelRoleEditor.md index 86d953a9..1e472d2f 100644 --- a/old_docs/API_docs_v65/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v65/constructors/channelRoleEditor.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` @@ -27,10 +27,9 @@ $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v65/constructors/channelRoleEmpty.md b/old_docs/API_docs_v65/constructors/channelRoleEmpty.md index a50bb310..85d1c3fb 100644 --- a/old_docs/API_docs_v65/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v65/constructors/channelRoleEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` @@ -27,10 +27,9 @@ $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/channelRoleModerator.md b/old_docs/API_docs_v65/constructors/channelRoleModerator.md index 781f60ad..f242ff5c 100644 --- a/old_docs/API_docs_v65/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v65/constructors/channelRoleModerator.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` @@ -27,10 +27,9 @@ $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleModerator={_='channelRoleModerator'} ``` diff --git a/old_docs/API_docs_v65/constructors/channels_channelParticipant.md b/old_docs/API_docs_v65/constructors/channels_channelParticipant.md index bdf27b08..107502c5 100644 --- a/old_docs/API_docs_v65/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v65/constructors/channels_channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v65/constructors/channels_channelParticipants.md b/old_docs/API_docs_v65/constructors/channels_channelParticipants.md index 1b76b1e0..0402423f 100644 --- a/old_docs/API_docs_v65/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v65/constructors/channels_channelParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v65/constructors/chat.md b/old_docs/API_docs_v65/constructors/chat.md index 5ae1811d..b6f24f3e 100644 --- a/old_docs/API_docs_v65/constructors/chat.md +++ b/old_docs/API_docs_v65/constructors/chat.md @@ -33,7 +33,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -44,10 +44,9 @@ $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} ``` diff --git a/old_docs/API_docs_v65/constructors/chatEmpty.md b/old_docs/API_docs_v65/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v65/constructors/chatEmpty.md +++ b/old_docs/API_docs_v65/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/chatForbidden.md b/old_docs/API_docs_v65/constructors/chatForbidden.md index de5bb302..61c45660 100644 --- a/old_docs/API_docs_v65/constructors/chatForbidden.md +++ b/old_docs/API_docs_v65/constructors/chatForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v65/constructors/chatFull.md b/old_docs/API_docs_v65/constructors/chatFull.md index 6e138596..2a5f67f6 100644 --- a/old_docs/API_docs_v65/constructors/chatFull.md +++ b/old_docs/API_docs_v65/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v65/constructors/chatInvite.md b/old_docs/API_docs_v65/constructors/chatInvite.md index c0f14de6..54027d67 100644 --- a/old_docs/API_docs_v65/constructors/chatInvite.md +++ b/old_docs/API_docs_v65/constructors/chatInvite.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User, User]]; ``` @@ -39,10 +39,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v65/constructors/chatInviteAlready.md b/old_docs/API_docs_v65/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/old_docs/API_docs_v65/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v65/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/old_docs/API_docs_v65/constructors/chatInviteEmpty.md b/old_docs/API_docs_v65/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/old_docs/API_docs_v65/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v65/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/chatInviteExported.md b/old_docs/API_docs_v65/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/old_docs/API_docs_v65/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v65/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/chatParticipant.md b/old_docs/API_docs_v65/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v65/constructors/chatParticipant.md +++ b/old_docs/API_docs_v65/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v65/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v65/constructors/chatParticipantAdmin.md index 62aee9a4..63a38575 100644 --- a/old_docs/API_docs_v65/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v65/constructors/chatParticipantAdmin.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v65/constructors/chatParticipantCreator.md b/old_docs/API_docs_v65/constructors/chatParticipantCreator.md index 0fb7b6ef..75b9c4d4 100644 --- a/old_docs/API_docs_v65/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v65/constructors/chatParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantCreator={_='chatParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/chatParticipants.md b/old_docs/API_docs_v65/constructors/chatParticipants.md index 38af2ca5..ae254290 100644 --- a/old_docs/API_docs_v65/constructors/chatParticipants.md +++ b/old_docs/API_docs_v65/constructors/chatParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v65/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v65/constructors/chatParticipantsForbidden.md index 2ecdfe10..639b30ee 100644 --- a/old_docs/API_docs_v65/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v65/constructors/chatParticipantsForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v65/constructors/chatPhoto.md b/old_docs/API_docs_v65/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v65/constructors/chatPhoto.md +++ b/old_docs/API_docs_v65/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v65/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v65/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v65/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v65/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/client_DH_inner_data.md b/old_docs/API_docs_v65/constructors/client_DH_inner_data.md index 6ea505c8..d888f8be 100644 --- a/old_docs/API_docs_v65/constructors/client_DH_inner_data.md +++ b/old_docs/API_docs_v65/constructors/client_DH_inner_data.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'retry_id' => long, 'g_b' => 'string']; ``` @@ -35,10 +35,9 @@ $client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'serv ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua client_DH_inner_data={_='client_DH_inner_data', nonce=int128, server_nonce=int128, retry_id=long, g_b='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/config.md b/old_docs/API_docs_v65/constructors/config.md index 27e8bd05..3a02ca0b 100644 --- a/old_docs/API_docs_v65/constructors/config.md +++ b/old_docs/API_docs_v65/constructors/config.md @@ -50,7 +50,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, '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', 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -61,10 +61,9 @@ $config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'date' => int, 'expire ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', phonecalls_enabled=Bool, date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, tmp_sessions=int, pinned_dialogs_count_max=int, call_receive_timeout_ms=int, call_ring_timeout_ms=int, call_connect_timeout_ms=int, call_packet_timeout_ms=int, me_url_prefix='string', disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v65/constructors/contact.md b/old_docs/API_docs_v65/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v65/constructors/contact.md +++ b/old_docs/API_docs_v65/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v65/constructors/contactBlocked.md b/old_docs/API_docs_v65/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v65/constructors/contactBlocked.md +++ b/old_docs/API_docs_v65/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v65/constructors/contactLinkContact.md b/old_docs/API_docs_v65/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v65/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v65/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v65/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v65/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v65/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v65/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v65/constructors/contactLinkNone.md b/old_docs/API_docs_v65/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v65/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v65/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v65/constructors/contactLinkUnknown.md b/old_docs/API_docs_v65/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v65/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v65/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v65/constructors/contactStatus.md b/old_docs/API_docs_v65/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v65/constructors/contactStatus.md +++ b/old_docs/API_docs_v65/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v65/constructors/contacts_blocked.md b/old_docs/API_docs_v65/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v65/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v65/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v65/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v65/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v65/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/contacts_contacts.md b/old_docs/API_docs_v65/constructors/contacts_contacts.md index 34dae91a..ea16b38a 100644 --- a/old_docs/API_docs_v65/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v65/constructors/contacts_contacts.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v65/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v65/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v65/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v65/constructors/contacts_found.md b/old_docs/API_docs_v65/constructors/contacts_found.md index 7e0e458c..624fa475 100644 --- a/old_docs/API_docs_v65/constructors/contacts_found.md +++ b/old_docs/API_docs_v65/constructors/contacts_found.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/contacts_importedContacts.md b/old_docs/API_docs_v65/constructors/contacts_importedContacts.md index 7bf9c1bf..8b9012bb 100644 --- a/old_docs/API_docs_v65/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v65/constructors/contacts_importedContacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/contacts_link.md b/old_docs/API_docs_v65/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v65/constructors/contacts_link.md +++ b/old_docs/API_docs_v65/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v65/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v65/constructors/contacts_resolvedPeer.md index add29235..4aa323dd 100644 --- a/old_docs/API_docs_v65/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v65/constructors/contacts_resolvedPeer.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/contacts_topPeers.md b/old_docs/API_docs_v65/constructors/contacts_topPeers.md index 8777bff2..e4728594 100644 --- a/old_docs/API_docs_v65/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v65/constructors/contacts_topPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCatego ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v65/constructors/contacts_topPeersNotModified.md index 3aa2236a..7ec0114a 100644 --- a/old_docs/API_docs_v65/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v65/constructors/contacts_topPeersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeersNotModified={_='contacts.topPeersNotModified'} ``` diff --git a/old_docs/API_docs_v65/constructors/dataJSON.md b/old_docs/API_docs_v65/constructors/dataJSON.md index c49ec0c0..a6555aea 100644 --- a/old_docs/API_docs_v65/constructors/dataJSON.md +++ b/old_docs/API_docs_v65/constructors/dataJSON.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` @@ -32,10 +32,9 @@ $dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dataJSON={_='dataJSON', data='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/dcOption.md b/old_docs/API_docs_v65/constructors/dcOption.md index 3fd6f51f..c4e1a91f 100644 --- a/old_docs/API_docs_v65/constructors/dcOption.md +++ b/old_docs/API_docs_v65/constructors/dcOption.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` @@ -37,10 +37,9 @@ $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, id=int, ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v65/constructors/destroy_auth_key_fail.md b/old_docs/API_docs_v65/constructors/destroy_auth_key_fail.md index 08f2aa59..4beb933f 100644 --- a/old_docs/API_docs_v65/constructors/destroy_auth_key_fail.md +++ b/old_docs/API_docs_v65/constructors/destroy_auth_key_fail.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail']; ``` @@ -27,10 +27,9 @@ $destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_auth_key_fail={_='destroy_auth_key_fail'} ``` diff --git a/old_docs/API_docs_v65/constructors/destroy_auth_key_none.md b/old_docs/API_docs_v65/constructors/destroy_auth_key_none.md index 1656ed53..301bbf37 100644 --- a/old_docs/API_docs_v65/constructors/destroy_auth_key_none.md +++ b/old_docs/API_docs_v65/constructors/destroy_auth_key_none.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_auth_key_none = ['_' => 'destroy_auth_key_none']; ``` @@ -27,10 +27,9 @@ $destroy_auth_key_none = ['_' => 'destroy_auth_key_none']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_auth_key_none={_='destroy_auth_key_none'} ``` diff --git a/old_docs/API_docs_v65/constructors/destroy_auth_key_ok.md b/old_docs/API_docs_v65/constructors/destroy_auth_key_ok.md index 944521fb..19f56968 100644 --- a/old_docs/API_docs_v65/constructors/destroy_auth_key_ok.md +++ b/old_docs/API_docs_v65/constructors/destroy_auth_key_ok.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok']; ``` @@ -27,10 +27,9 @@ $destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_auth_key_ok={_='destroy_auth_key_ok'} ``` diff --git a/old_docs/API_docs_v65/constructors/destroy_session_none.md b/old_docs/API_docs_v65/constructors/destroy_session_none.md index e20d06f5..470a0de8 100644 --- a/old_docs/API_docs_v65/constructors/destroy_session_none.md +++ b/old_docs/API_docs_v65/constructors/destroy_session_none.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long]; ``` @@ -32,10 +32,9 @@ $destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_session_none={_='destroy_session_none', session_id=long} ``` diff --git a/old_docs/API_docs_v65/constructors/destroy_session_ok.md b/old_docs/API_docs_v65/constructors/destroy_session_ok.md index f5d8cd19..c98a804d 100644 --- a/old_docs/API_docs_v65/constructors/destroy_session_ok.md +++ b/old_docs/API_docs_v65/constructors/destroy_session_ok.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long]; ``` @@ -32,10 +32,9 @@ $destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_session_ok={_='destroy_session_ok', session_id=long} ``` diff --git a/old_docs/API_docs_v65/constructors/dh_gen_fail.md b/old_docs/API_docs_v65/constructors/dh_gen_fail.md index 28fb6771..87d4a34b 100644 --- a/old_docs/API_docs_v65/constructors/dh_gen_fail.md +++ b/old_docs/API_docs_v65/constructors/dh_gen_fail.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash3' => int128]; ``` @@ -34,10 +34,9 @@ $dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int12 ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dh_gen_fail={_='dh_gen_fail', nonce=int128, server_nonce=int128, new_nonce_hash3=int128} ``` diff --git a/old_docs/API_docs_v65/constructors/dh_gen_ok.md b/old_docs/API_docs_v65/constructors/dh_gen_ok.md index 6b9723d9..2a058971 100644 --- a/old_docs/API_docs_v65/constructors/dh_gen_ok.md +++ b/old_docs/API_docs_v65/constructors/dh_gen_ok.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash1' => int128]; ``` @@ -34,10 +34,9 @@ $dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dh_gen_ok={_='dh_gen_ok', nonce=int128, server_nonce=int128, new_nonce_hash1=int128} ``` diff --git a/old_docs/API_docs_v65/constructors/dh_gen_retry.md b/old_docs/API_docs_v65/constructors/dh_gen_retry.md index 736c54f4..ab31de74 100644 --- a/old_docs/API_docs_v65/constructors/dh_gen_retry.md +++ b/old_docs/API_docs_v65/constructors/dh_gen_retry.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash2' => int128]; ``` @@ -34,10 +34,9 @@ $dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dh_gen_retry={_='dh_gen_retry', nonce=int128, server_nonce=int128, new_nonce_hash2=int128} ``` diff --git a/old_docs/API_docs_v65/constructors/dialog.md b/old_docs/API_docs_v65/constructors/dialog.md index 64680ec2..b65961c2 100644 --- a/old_docs/API_docs_v65/constructors/dialog.md +++ b/old_docs/API_docs_v65/constructors/dialog.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'pinned' => Bool, 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage]; ``` @@ -40,10 +40,9 @@ $dialog = ['_' => 'dialog', 'pinned' => Bool, 'peer' => Peer, 'top_message' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', pinned=Bool, peer=Peer, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings, pts=int, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v65/constructors/disabledFeature.md b/old_docs/API_docs_v65/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v65/constructors/disabledFeature.md +++ b/old_docs/API_docs_v65/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/document.md b/old_docs/API_docs_v65/constructors/document.md index 1a0f1fc1..58c44a23 100644 --- a/old_docs/API_docs_v65/constructors/document.md +++ b/old_docs/API_docs_v65/constructors/document.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -40,10 +40,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, version=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v65/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v65/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v65/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v65/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v65/constructors/documentAttributeAudio.md b/old_docs/API_docs_v65/constructors/documentAttributeAudio.md index 0dc5decc..f427a05c 100644 --- a/old_docs/API_docs_v65/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v65/constructors/documentAttributeAudio.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` @@ -36,10 +36,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'du ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title='string', performer='string', waveform='bytes'} ``` diff --git a/old_docs/API_docs_v65/constructors/documentAttributeFilename.md b/old_docs/API_docs_v65/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v65/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v65/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/documentAttributeHasStickers.md b/old_docs/API_docs_v65/constructors/documentAttributeHasStickers.md index fff783df..90c58e35 100644 --- a/old_docs/API_docs_v65/constructors/documentAttributeHasStickers.md +++ b/old_docs/API_docs_v65/constructors/documentAttributeHasStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` @@ -27,10 +27,9 @@ $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeHasStickers={_='documentAttributeHasStickers'} ``` diff --git a/old_docs/API_docs_v65/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v65/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v65/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v65/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v65/constructors/documentAttributeSticker.md b/old_docs/API_docs_v65/constructors/documentAttributeSticker.md index ba5243fb..b200f7f0 100644 --- a/old_docs/API_docs_v65/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v65/constructors/documentAttributeSticker.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => 'string', 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords]; ``` @@ -35,10 +35,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', mask=Bool, alt='string', stickerset=InputStickerSet, mask_coords=MaskCoords} ``` diff --git a/old_docs/API_docs_v65/constructors/documentAttributeVideo.md b/old_docs/API_docs_v65/constructors/documentAttributeVideo.md index 0902c118..cc7ffced 100644 --- a/old_docs/API_docs_v65/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v65/constructors/documentAttributeVideo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -34,10 +34,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v65/constructors/documentEmpty.md b/old_docs/API_docs_v65/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v65/constructors/documentEmpty.md +++ b/old_docs/API_docs_v65/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v65/constructors/draftMessage.md b/old_docs/API_docs_v65/constructors/draftMessage.md index 370ffaef..ecec69a1 100644 --- a/old_docs/API_docs_v65/constructors/draftMessage.md +++ b/old_docs/API_docs_v65/constructors/draftMessage.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'date' => int]; ``` @@ -36,10 +36,9 @@ $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message='string', entities={MessageEntity}, date=int} ``` diff --git a/old_docs/API_docs_v65/constructors/draftMessageEmpty.md b/old_docs/API_docs_v65/constructors/draftMessageEmpty.md index 15b2aa67..65902a71 100644 --- a/old_docs/API_docs_v65/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v65/constructors/draftMessageEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` @@ -27,10 +27,9 @@ $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessageEmpty={_='draftMessageEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/encryptedChat.md b/old_docs/API_docs_v65/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v65/constructors/encryptedChat.md +++ b/old_docs/API_docs_v65/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v65/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v65/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v65/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v65/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v65/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v65/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v65/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/encryptedChatRequested.md b/old_docs/API_docs_v65/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v65/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v65/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v65/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v65/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v65/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v65/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/encryptedFile.md b/old_docs/API_docs_v65/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v65/constructors/encryptedFile.md +++ b/old_docs/API_docs_v65/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v65/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v65/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v65/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v65/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/encryptedMessage.md b/old_docs/API_docs_v65/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v65/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v65/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v65/constructors/encryptedMessageService.md b/old_docs/API_docs_v65/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v65/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v65/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v65/constructors/error.md b/old_docs/API_docs_v65/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v65/constructors/error.md +++ b/old_docs/API_docs_v65/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/exportedMessageLink.md b/old_docs/API_docs_v65/constructors/exportedMessageLink.md index 423c9fa3..9db8d71a 100644 --- a/old_docs/API_docs_v65/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v65/constructors/exportedMessageLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua exportedMessageLink={_='exportedMessageLink', link='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/fileLocation.md b/old_docs/API_docs_v65/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v65/constructors/fileLocation.md +++ b/old_docs/API_docs_v65/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v65/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v65/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v65/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v65/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v65/constructors/foundGif.md b/old_docs/API_docs_v65/constructors/foundGif.md index d8ee3695..c2f0ce33 100644 --- a/old_docs/API_docs_v65/constructors/foundGif.md +++ b/old_docs/API_docs_v65/constructors/foundGif.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` @@ -37,10 +37,9 @@ $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'con ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGif={_='foundGif', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int} ``` diff --git a/old_docs/API_docs_v65/constructors/foundGifCached.md b/old_docs/API_docs_v65/constructors/foundGifCached.md index e4a1a552..03e67917 100644 --- a/old_docs/API_docs_v65/constructors/foundGifCached.md +++ b/old_docs/API_docs_v65/constructors/foundGifCached.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -34,10 +34,9 @@ $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGifCached={_='foundGifCached', url='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v65/constructors/future_salt.md b/old_docs/API_docs_v65/constructors/future_salt.md index de2832c4..b5dd02ed 100644 --- a/old_docs/API_docs_v65/constructors/future_salt.md +++ b/old_docs/API_docs_v65/constructors/future_salt.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int, 'salt' => long]; ``` @@ -34,10 +34,9 @@ $future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua future_salt={_='future_salt', valid_since=int, valid_until=int, salt=long} ``` diff --git a/old_docs/API_docs_v65/constructors/future_salts.md b/old_docs/API_docs_v65/constructors/future_salts.md index 811c668a..86251b37 100644 --- a/old_docs/API_docs_v65/constructors/future_salts.md +++ b/old_docs/API_docs_v65/constructors/future_salts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'salts' => [future_salt, future_salt]]; ``` @@ -34,10 +34,9 @@ $future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'sal ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua future_salts={_='future_salts', req_msg_id=long, now=int, salts={future_salt}} ``` diff --git a/old_docs/API_docs_v65/constructors/game.md b/old_docs/API_docs_v65/constructors/game.md index 790fbeeb..088ca95e 100644 --- a/old_docs/API_docs_v65/constructors/game.md +++ b/old_docs/API_docs_v65/constructors/game.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -38,10 +38,9 @@ $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua game={_='game', id=long, access_hash=long, short_name='string', title='string', description='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v65/constructors/geoPoint.md b/old_docs/API_docs_v65/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v65/constructors/geoPoint.md +++ b/old_docs/API_docs_v65/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v65/constructors/geoPointEmpty.md b/old_docs/API_docs_v65/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v65/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v65/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/help_appUpdate.md b/old_docs/API_docs_v65/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v65/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v65/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/help_inviteText.md b/old_docs/API_docs_v65/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v65/constructors/help_inviteText.md +++ b/old_docs/API_docs_v65/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/help_noAppUpdate.md b/old_docs/API_docs_v65/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v65/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v65/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v65/constructors/help_support.md b/old_docs/API_docs_v65/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v65/constructors/help_support.md +++ b/old_docs/API_docs_v65/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v65/constructors/help_termsOfService.md b/old_docs/API_docs_v65/constructors/help_termsOfService.md index 8e558bed..ec7a8121 100644 --- a/old_docs/API_docs_v65/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v65/constructors/help_termsOfService.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_termsOfService={_='help.termsOfService', text='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/highScore.md b/old_docs/API_docs_v65/constructors/highScore.md index 63a8ab05..265c0487 100644 --- a/old_docs/API_docs_v65/constructors/highScore.md +++ b/old_docs/API_docs_v65/constructors/highScore.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int]; ``` @@ -34,10 +34,9 @@ $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua highScore={_='highScore', pos=int, user_id=int, score=int} ``` diff --git a/old_docs/API_docs_v65/constructors/http_wait.md b/old_docs/API_docs_v65/constructors/http_wait.md index 08447425..b5db251e 100644 --- a/old_docs/API_docs_v65/constructors/http_wait.md +++ b/old_docs/API_docs_v65/constructors/http_wait.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $http_wait = ['_' => 'http_wait', 'max_delay' => int, 'wait_after' => int, 'max_wait' => int]; ``` @@ -34,10 +34,9 @@ $http_wait = ['_' => 'http_wait', 'max_delay' => int, 'wait_after' => int, 'max_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua http_wait={_='http_wait', max_delay=int, wait_after=int, max_wait=int} ``` diff --git a/old_docs/API_docs_v65/constructors/importedContact.md b/old_docs/API_docs_v65/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v65/constructors/importedContact.md +++ b/old_docs/API_docs_v65/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v65/constructors/inlineBotSwitchPM.md b/old_docs/API_docs_v65/constructors/inlineBotSwitchPM.md index 0dfd4714..b4fb8185 100644 --- a/old_docs/API_docs_v65/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v65/constructors/inlineBotSwitchPM.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` @@ -33,10 +33,9 @@ $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_par ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inlineBotSwitchPM={_='inlineBotSwitchPM', text='string', start_param='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputAppEvent.md b/old_docs/API_docs_v65/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v65/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v65/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineMessageGame.md b/old_docs/API_docs_v65/constructors/inputBotInlineMessageGame.md index 8e59cd54..66c8997b 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineMessageGame.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineMessageGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup]; ``` @@ -32,10 +32,9 @@ $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageGame={_='inputBotInlineMessageGame', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineMessageID.md b/old_docs/API_docs_v65/constructors/inputBotInlineMessageID.md index 91c7586d..aecbb733 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineMessageID.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaAuto.md index 28d93836..17e2a1cb 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'cap ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaContact.md b/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaContact.md index 5b78709f..25dd9029 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaGeo.md b/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaGeo.md index 39365847..935dba16 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaGeo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaVenue.md b/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaVenue.md index 7dbc6a6c..56ec0745 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'g ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v65/constructors/inputBotInlineMessageText.md index e6a0bbb7..acae47bc 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineResult.md b/old_docs/API_docs_v65/constructors/inputBotInlineResult.md index 668af514..34148d70 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` @@ -43,10 +43,9 @@ $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineResultDocument.md b/old_docs/API_docs_v65/constructors/inputBotInlineResultDocument.md index ad13df76..9d5f1eb6 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineResultDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` @@ -37,10 +37,9 @@ $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultDocument={_='inputBotInlineResultDocument', id='string', type='string', title='string', description='string', document=InputDocument, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineResultGame.md b/old_docs/API_docs_v65/constructors/inputBotInlineResultGame.md index 5967bea6..b7821035 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineResultGame.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineResultGame.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string', 'short_name' => 'string', 'send_message' => InputBotInlineMessage]; ``` @@ -34,10 +34,9 @@ $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultGame={_='inputBotInlineResultGame', id='string', short_name='string', send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineResultPhoto.md b/old_docs/API_docs_v65/constructors/inputBotInlineResultPhoto.md index 43f00813..271bb02e 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineResultPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` @@ -35,10 +35,9 @@ $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id='string', type='string', photo=InputPhoto, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v65/constructors/inputChannel.md b/old_docs/API_docs_v65/constructors/inputChannel.md index b5cb3566..34ed10ca 100644 --- a/old_docs/API_docs_v65/constructors/inputChannel.md +++ b/old_docs/API_docs_v65/constructors/inputChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannel={_='inputChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v65/constructors/inputChannelEmpty.md b/old_docs/API_docs_v65/constructors/inputChannelEmpty.md index f7e18434..bd53602b 100644 --- a/old_docs/API_docs_v65/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputChannelEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` @@ -27,10 +27,9 @@ $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputChatPhoto.md b/old_docs/API_docs_v65/constructors/inputChatPhoto.md index 636d6f68..cbae66d1 100644 --- a/old_docs/API_docs_v65/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v65/constructors/inputChatPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v65/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v65/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v65/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v65/constructors/inputChatUploadedPhoto.md index 840ed815..8b5535ab 100644 --- a/old_docs/API_docs_v65/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v65/constructors/inputChatUploadedPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile]; ``` @@ -32,10 +32,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile} ``` diff --git a/old_docs/API_docs_v65/constructors/inputDocument.md b/old_docs/API_docs_v65/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v65/constructors/inputDocument.md +++ b/old_docs/API_docs_v65/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v65/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v65/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v65/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v65/constructors/inputDocumentFileLocation.md index df556f40..94ab0038 100644 --- a/old_docs/API_docs_v65/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v65/constructors/inputDocumentFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int]; ``` @@ -34,10 +34,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, version=int} ``` diff --git a/old_docs/API_docs_v65/constructors/inputEncryptedChat.md b/old_docs/API_docs_v65/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v65/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v65/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v65/constructors/inputEncryptedFile.md b/old_docs/API_docs_v65/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v65/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v65/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v65/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v65/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v65/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v65/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v65/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v65/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v65/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v65/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v65/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v65/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v65/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v65/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v65/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v65/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v65/constructors/inputFile.md b/old_docs/API_docs_v65/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v65/constructors/inputFile.md +++ b/old_docs/API_docs_v65/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputFileBig.md b/old_docs/API_docs_v65/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v65/constructors/inputFileBig.md +++ b/old_docs/API_docs_v65/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputFileLocation.md b/old_docs/API_docs_v65/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v65/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v65/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v65/constructors/inputGameID.md b/old_docs/API_docs_v65/constructors/inputGameID.md index 1fff2dd1..fba24333 100644 --- a/old_docs/API_docs_v65/constructors/inputGameID.md +++ b/old_docs/API_docs_v65/constructors/inputGameID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameID={_='inputGameID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v65/constructors/inputGameShortName.md b/old_docs/API_docs_v65/constructors/inputGameShortName.md index 742b5ae5..031e3f4c 100644 --- a/old_docs/API_docs_v65/constructors/inputGameShortName.md +++ b/old_docs/API_docs_v65/constructors/inputGameShortName.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => 'string']; ``` @@ -33,10 +33,9 @@ $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'shor ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameShortName={_='inputGameShortName', bot_id=InputUser, short_name='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputGeoPoint.md b/old_docs/API_docs_v65/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v65/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v65/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v65/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v65/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v65/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMediaContact.md b/old_docs/API_docs_v65/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v65/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMediaDocument.md b/old_docs/API_docs_v65/constructors/inputMediaDocument.md index 8c961036..9436d5e4 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v65/constructors/inputMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'capt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMediaDocumentExternal.md b/old_docs/API_docs_v65/constructors/inputMediaDocumentExternal.md index e6537807..35a560a0 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaDocumentExternal.md +++ b/old_docs/API_docs_v65/constructors/inputMediaDocumentExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'string', 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocumentExternal={_='inputMediaDocumentExternal', url='string', caption='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMediaEmpty.md b/old_docs/API_docs_v65/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMediaGame.md b/old_docs/API_docs_v65/constructors/inputMediaGame.md index 883e5672..c4cc2cfc 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaGame.md +++ b/old_docs/API_docs_v65/constructors/inputMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` @@ -32,10 +32,9 @@ $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGame={_='inputMediaGame', id=InputGame} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v65/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v65/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v65/constructors/inputMediaGifExternal.md index cf68972a..14153a43 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v65/constructors/inputMediaGifExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGifExternal={_='inputMediaGifExternal', url='string', q='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMediaInvoice.md b/old_docs/API_docs_v65/constructors/inputMediaInvoice.md index 8268b4bc..cb554cff 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaInvoice.md +++ b/old_docs/API_docs_v65/constructors/inputMediaInvoice.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'description' => 'string', 'photo' => InputWebDocument, 'invoice' => Invoice, 'payload' => 'bytes', 'provider' => 'string', 'start_param' => 'string']; ``` @@ -38,10 +38,9 @@ $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'descript ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaInvoice={_='inputMediaInvoice', title='string', description='string', photo=InputWebDocument, invoice=Invoice, payload='bytes', provider='string', start_param='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMediaPhoto.md b/old_docs/API_docs_v65/constructors/inputMediaPhoto.md index 0be7f6fe..71f4ded5 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v65/constructors/inputMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMediaPhotoExternal.md b/old_docs/API_docs_v65/constructors/inputMediaPhotoExternal.md index fe057842..8725b488 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaPhotoExternal.md +++ b/old_docs/API_docs_v65/constructors/inputMediaPhotoExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhotoExternal={_='inputMediaPhotoExternal', url='string', caption='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v65/constructors/inputMediaUploadedDocument.md index 0368b9c9..7767c58b 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v65/constructors/inputMediaUploadedDocument.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument, InputDocument]]; ``` @@ -36,10 +36,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string', stickers={InputDocument}} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v65/constructors/inputMediaUploadedPhoto.md index 52fd2410..784bbceb 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v65/constructors/inputMediaUploadedPhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string', 'stickers' => [InputDocument, InputDocument]]; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption='string', stickers={InputDocument}} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v65/constructors/inputMediaUploadedThumbDocument.md index 181d7f39..2340901f 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v65/constructors/inputMediaUploadedThumbDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument, InputDocument]]; ``` @@ -37,10 +37,9 @@ $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string', stickers={InputDocument}} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMediaVenue.md b/old_docs/API_docs_v65/constructors/inputMediaVenue.md index 3e7ee3a1..b2171fbc 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v65/constructors/inputMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessageEntityMentionName.md b/old_docs/API_docs_v65/constructors/inputMessageEntityMentionName.md index 92d5c8d9..19a0b4e3 100644 --- a/old_docs/API_docs_v65/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v65/constructors/inputMessageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser]; ``` @@ -34,10 +34,9 @@ $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessageEntityMentionName={_='inputMessageEntityMentionName', offset=int, length=int, user_id=InputUser} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterChatPhotos.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterChatPhotos.md index a02425b1..b72281f3 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterChatPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterGif.md index 94698ecd..a3a51104 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterMusic.md index ac6373c2..b2ed1044 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterMusic.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhoneCalls.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhoneCalls.md index 8fe8537a..0cb60836 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhoneCalls.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhoneCalls.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool]; ``` @@ -32,10 +32,9 @@ $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'misse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhoneCalls={_='inputMessagesFilterPhoneCalls', missed=Bool} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterVoice.md index 026a91be..be3af22a 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputNotifyAll.md b/old_docs/API_docs_v65/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v65/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v65/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputNotifyChats.md b/old_docs/API_docs_v65/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v65/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v65/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputNotifyPeer.md b/old_docs/API_docs_v65/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v65/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v65/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v65/constructors/inputNotifyUsers.md b/old_docs/API_docs_v65/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v65/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v65/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPaymentCredentials.md b/old_docs/API_docs_v65/constructors/inputPaymentCredentials.md index 085db55d..4e2883f9 100644 --- a/old_docs/API_docs_v65/constructors/inputPaymentCredentials.md +++ b/old_docs/API_docs_v65/constructors/inputPaymentCredentials.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'data' => DataJSON]; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentials={_='inputPaymentCredentials', save=Bool, data=DataJSON} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPaymentCredentialsSaved.md b/old_docs/API_docs_v65/constructors/inputPaymentCredentialsSaved.md index 63cd678e..c205ee9a 100644 --- a/old_docs/API_docs_v65/constructors/inputPaymentCredentialsSaved.md +++ b/old_docs/API_docs_v65/constructors/inputPaymentCredentialsSaved.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => 'string', 'tmp_password' => 'bytes']; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentialsSaved={_='inputPaymentCredentialsSaved', id='string', tmp_password='bytes'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPeerChannel.md b/old_docs/API_docs_v65/constructors/inputPeerChannel.md index 8b84fe20..14c2f105 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v65/constructors/inputPeerChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPeerChat.md b/old_docs/API_docs_v65/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v65/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPeerEmpty.md b/old_docs/API_docs_v65/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v65/constructors/inputPeerNotifySettings.md index 6b281f53..cd18b39e 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v65/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPeerSelf.md b/old_docs/API_docs_v65/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v65/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPeerUser.md b/old_docs/API_docs_v65/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v65/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPhoneCall.md b/old_docs/API_docs_v65/constructors/inputPhoneCall.md index 60cdf8ca..68abe88d 100644 --- a/old_docs/API_docs_v65/constructors/inputPhoneCall.md +++ b/old_docs/API_docs_v65/constructors/inputPhoneCall.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneCall={_='inputPhoneCall', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPhoneContact.md b/old_docs/API_docs_v65/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v65/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v65/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPhoto.md b/old_docs/API_docs_v65/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v65/constructors/inputPhoto.md +++ b/old_docs/API_docs_v65/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v65/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v65/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v65/constructors/inputPrivacyKeyChatInvite.md index 9c55265f..d96148d4 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyKeyPhoneCall.md b/old_docs/API_docs_v65/constructors/inputPrivacyKeyPhoneCall.md index b16316be..510ff979 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyKeyPhoneCall.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyKeyPhoneCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyPhoneCall={_='inputPrivacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v65/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v65/constructors/inputReportReasonOther.md b/old_docs/API_docs_v65/constructors/inputReportReasonOther.md index 361582bd..4dbffa18 100644 --- a/old_docs/API_docs_v65/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v65/constructors/inputReportReasonOther.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonOther={_='inputReportReasonOther', text='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v65/constructors/inputReportReasonPornography.md index c18c71d3..5c80f096 100644 --- a/old_docs/API_docs_v65/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v65/constructors/inputReportReasonPornography.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` @@ -27,10 +27,9 @@ $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v65/constructors/inputReportReasonSpam.md index 19ed6687..75d59861 100644 --- a/old_docs/API_docs_v65/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v65/constructors/inputReportReasonSpam.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` @@ -27,10 +27,9 @@ $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v65/constructors/inputReportReasonViolence.md index 10fbce47..28d27e85 100644 --- a/old_docs/API_docs_v65/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v65/constructors/inputReportReasonViolence.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` @@ -27,10 +27,9 @@ $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v65/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/old_docs/API_docs_v65/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputStickerSetID.md b/old_docs/API_docs_v65/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/old_docs/API_docs_v65/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v65/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v65/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v65/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/old_docs/API_docs_v65/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v65/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputStickeredMediaDocument.md b/old_docs/API_docs_v65/constructors/inputStickeredMediaDocument.md index c6def51c..72da7b39 100644 --- a/old_docs/API_docs_v65/constructors/inputStickeredMediaDocument.md +++ b/old_docs/API_docs_v65/constructors/inputStickeredMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaDocument={_='inputStickeredMediaDocument', id=InputDocument} ``` diff --git a/old_docs/API_docs_v65/constructors/inputStickeredMediaPhoto.md b/old_docs/API_docs_v65/constructors/inputStickeredMediaPhoto.md index f424c329..d79cd390 100644 --- a/old_docs/API_docs_v65/constructors/inputStickeredMediaPhoto.md +++ b/old_docs/API_docs_v65/constructors/inputStickeredMediaPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaPhoto={_='inputStickeredMediaPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v65/constructors/inputUser.md b/old_docs/API_docs_v65/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/old_docs/API_docs_v65/constructors/inputUser.md +++ b/old_docs/API_docs_v65/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v65/constructors/inputUserEmpty.md b/old_docs/API_docs_v65/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v65/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputUserSelf.md b/old_docs/API_docs_v65/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v65/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v65/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v65/constructors/inputWebDocument.md b/old_docs/API_docs_v65/constructors/inputWebDocument.md index 8028cb28..cd3ceaa1 100644 --- a/old_docs/API_docs_v65/constructors/inputWebDocument.md +++ b/old_docs/API_docs_v65/constructors/inputWebDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -35,10 +35,9 @@ $inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputWebDocument={_='inputWebDocument', url='string', size=int, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v65/constructors/inputWebFileLocation.md b/old_docs/API_docs_v65/constructors/inputWebFileLocation.md index c484849b..888dcfbe 100644 --- a/old_docs/API_docs_v65/constructors/inputWebFileLocation.md +++ b/old_docs/API_docs_v65/constructors/inputWebFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'acce ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputWebFileLocation={_='inputWebFileLocation', url='string', access_hash=long} ``` diff --git a/old_docs/API_docs_v65/constructors/invoice.md b/old_docs/API_docs_v65/constructors/invoice.md index 7254fd66..ef683c37 100644 --- a/old_docs/API_docs_v65/constructors/invoice.md +++ b/old_docs/API_docs_v65/constructors/invoice.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_requested' => Bool, 'email_requested' => Bool, 'shipping_address_requested' => Bool, 'flexible' => Bool, 'currency' => 'string', 'prices' => [LabeledPrice, LabeledPrice]]; ``` @@ -39,10 +39,9 @@ $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_r ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua invoice={_='invoice', test=Bool, name_requested=Bool, phone_requested=Bool, email_requested=Bool, shipping_address_requested=Bool, flexible=Bool, currency='string', prices={LabeledPrice}} ``` diff --git a/old_docs/API_docs_v65/constructors/keyboardButton.md b/old_docs/API_docs_v65/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButton.md +++ b/old_docs/API_docs_v65/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/keyboardButtonBuy.md b/old_docs/API_docs_v65/constructors/keyboardButtonBuy.md index efff4c6c..cf11ddf6 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonBuy.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonBuy.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonBuy={_='keyboardButtonBuy', text='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/keyboardButtonCallback.md b/old_docs/API_docs_v65/constructors/keyboardButtonCallback.md index 63e87aac..c8f86f50 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonCallback.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` @@ -33,10 +33,9 @@ $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonCallback={_='keyboardButtonCallback', text='string', data='bytes'} ``` diff --git a/old_docs/API_docs_v65/constructors/keyboardButtonGame.md b/old_docs/API_docs_v65/constructors/keyboardButtonGame.md index 08110141..05a565a3 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonGame.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonGame={_='keyboardButtonGame', text='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/keyboardButtonRequestGeoLocation.md b/old_docs/API_docs_v65/constructors/keyboardButtonRequestGeoLocation.md index fc422d90..63d4a82f 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonRequestGeoLocation.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/keyboardButtonRequestPhone.md b/old_docs/API_docs_v65/constructors/keyboardButtonRequestPhone.md index a1719e24..ba58979f 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonRequestPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/keyboardButtonRow.md b/old_docs/API_docs_v65/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/old_docs/API_docs_v65/constructors/keyboardButtonSwitchInline.md b/old_docs/API_docs_v65/constructors/keyboardButtonSwitchInline.md index 463c473c..52dc897a 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonSwitchInline.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => 'string', 'query' => 'string']; ``` @@ -34,10 +34,9 @@ $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=Bool, text='string', query='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/keyboardButtonUrl.md b/old_docs/API_docs_v65/constructors/keyboardButtonUrl.md index 709d4fa9..56b86f1c 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` @@ -33,10 +33,9 @@ $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonUrl={_='keyboardButtonUrl', text='string', url='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/labeledPrice.md b/old_docs/API_docs_v65/constructors/labeledPrice.md index 22e91c77..d54f53f5 100644 --- a/old_docs/API_docs_v65/constructors/labeledPrice.md +++ b/old_docs/API_docs_v65/constructors/labeledPrice.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` @@ -33,10 +33,9 @@ $labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua labeledPrice={_='labeledPrice', label='string', amount=long} ``` diff --git a/old_docs/API_docs_v65/constructors/maskCoords.md b/old_docs/API_docs_v65/constructors/maskCoords.md index 21b9ad78..2d393f3a 100644 --- a/old_docs/API_docs_v65/constructors/maskCoords.md +++ b/old_docs/API_docs_v65/constructors/maskCoords.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double]; ``` @@ -35,10 +35,9 @@ $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'z ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua maskCoords={_='maskCoords', n=int, x=double, y=double, zoom=double} ``` diff --git a/old_docs/API_docs_v65/constructors/message.md b/old_docs/API_docs_v65/constructors/message.md index 9b54331e..b3ce8110 100644 --- a/old_docs/API_docs_v65/constructors/message.md +++ b/old_docs/API_docs_v65/constructors/message.md @@ -38,7 +38,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'views' => int, 'edit_date' => int]; ``` @@ -49,10 +49,9 @@ $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v65/constructors/messageActionChannelCreate.md index b1750d73..2600ab63 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v65/constructors/messageActionChannelCreate.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v65/constructors/messageActionChannelMigrateFrom.md index add136dc..1fdcf3f4 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v65/constructors/messageActionChannelMigrateFrom.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 't ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v65/constructors/messageActionChatAddUser.md index 9c7de7f8..283365cd 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', users={int}} ``` diff --git a/old_docs/API_docs_v65/constructors/messageActionChatCreate.md b/old_docs/API_docs_v65/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v65/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v65/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v65/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v65/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v65/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v65/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v65/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v65/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v65/constructors/messageActionChatMigrateTo.md index 21d2cb22..8ace1091 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatMigrateTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messageActionEmpty.md b/old_docs/API_docs_v65/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v65/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v65/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/messageActionGameScore.md b/old_docs/API_docs_v65/constructors/messageActionGameScore.md index 7a459a3d..c0086b66 100644 --- a/old_docs/API_docs_v65/constructors/messageActionGameScore.md +++ b/old_docs/API_docs_v65/constructors/messageActionGameScore.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int]; ``` @@ -33,10 +33,9 @@ $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionGameScore={_='messageActionGameScore', game_id=long, score=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messageActionHistoryClear.md b/old_docs/API_docs_v65/constructors/messageActionHistoryClear.md index 8b8dcc9d..90875cf6 100644 --- a/old_docs/API_docs_v65/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v65/constructors/messageActionHistoryClear.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` @@ -27,10 +27,9 @@ $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionHistoryClear={_='messageActionHistoryClear'} ``` diff --git a/old_docs/API_docs_v65/constructors/messageActionPaymentSent.md b/old_docs/API_docs_v65/constructors/messageActionPaymentSent.md index b224a125..a5c83837 100644 --- a/old_docs/API_docs_v65/constructors/messageActionPaymentSent.md +++ b/old_docs/API_docs_v65/constructors/messageActionPaymentSent.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 'string', 'total_amount' => long]; ``` @@ -33,10 +33,9 @@ $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPaymentSent={_='messageActionPaymentSent', currency='string', total_amount=long} ``` diff --git a/old_docs/API_docs_v65/constructors/messageActionPaymentSentMe.md b/old_docs/API_docs_v65/constructors/messageActionPaymentSentMe.md index f21ccce0..b1a61d01 100644 --- a/old_docs/API_docs_v65/constructors/messageActionPaymentSentMe.md +++ b/old_docs/API_docs_v65/constructors/messageActionPaymentSentMe.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' => 'string', 'total_amount' => long, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'charge' => PaymentCharge]; ``` @@ -37,10 +37,9 @@ $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPaymentSentMe={_='messageActionPaymentSentMe', currency='string', total_amount=long, payload='bytes', info=PaymentRequestedInfo, shipping_option_id='string', charge=PaymentCharge} ``` diff --git a/old_docs/API_docs_v65/constructors/messageActionPhoneCall.md b/old_docs/API_docs_v65/constructors/messageActionPhoneCall.md index f2f3eb4f..18a6c687 100644 --- a/old_docs/API_docs_v65/constructors/messageActionPhoneCall.md +++ b/old_docs/API_docs_v65/constructors/messageActionPhoneCall.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` @@ -34,10 +34,9 @@ $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPhoneCall={_='messageActionPhoneCall', call_id=long, reason=PhoneCallDiscardReason, duration=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messageActionPinMessage.md b/old_docs/API_docs_v65/constructors/messageActionPinMessage.md index ffa41746..be763787 100644 --- a/old_docs/API_docs_v65/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v65/constructors/messageActionPinMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` @@ -27,10 +27,9 @@ $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/old_docs/API_docs_v65/constructors/messageEmpty.md b/old_docs/API_docs_v65/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v65/constructors/messageEmpty.md +++ b/old_docs/API_docs_v65/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messageEntityBold.md b/old_docs/API_docs_v65/constructors/messageEntityBold.md index 950699fb..90f74ad5 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v65/constructors/messageEntityBold.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v65/constructors/messageEntityBotCommand.md index 8be471d3..9fb8f6a6 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v65/constructors/messageEntityBotCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messageEntityCode.md b/old_docs/API_docs_v65/constructors/messageEntityCode.md index 7c701844..d236e57e 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v65/constructors/messageEntityCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messageEntityEmail.md b/old_docs/API_docs_v65/constructors/messageEntityEmail.md index 35a968c7..74e910f3 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v65/constructors/messageEntityEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messageEntityHashtag.md b/old_docs/API_docs_v65/constructors/messageEntityHashtag.md index 6b124e73..77e29387 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v65/constructors/messageEntityHashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messageEntityItalic.md b/old_docs/API_docs_v65/constructors/messageEntityItalic.md index 25f73428..5975bae2 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v65/constructors/messageEntityItalic.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messageEntityMention.md b/old_docs/API_docs_v65/constructors/messageEntityMention.md index 9eb4d266..1a21cb10 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v65/constructors/messageEntityMention.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messageEntityMentionName.md b/old_docs/API_docs_v65/constructors/messageEntityMentionName.md index b546570b..0fe142c5 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v65/constructors/messageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int]; ``` @@ -34,10 +34,9 @@ $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messageEntityPre.md b/old_docs/API_docs_v65/constructors/messageEntityPre.md index abfc9136..13b165fe 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v65/constructors/messageEntityPre.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPre={_='messageEntityPre', offset=int, length=int, language='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v65/constructors/messageEntityTextUrl.md index 91f6d36c..b6d82843 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v65/constructors/messageEntityTextUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/messageEntityUnknown.md b/old_docs/API_docs_v65/constructors/messageEntityUnknown.md index 69ca8a1b..4c434fd7 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v65/constructors/messageEntityUnknown.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messageEntityUrl.md b/old_docs/API_docs_v65/constructors/messageEntityUrl.md index 377c3dda..2cf334a5 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v65/constructors/messageEntityUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messageFwdHeader.md b/old_docs/API_docs_v65/constructors/messageFwdHeader.md index b55da4c5..999c62ad 100644 --- a/old_docs/API_docs_v65/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v65/constructors/messageFwdHeader.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int]; ``` @@ -35,10 +35,9 @@ $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messageMediaContact.md b/old_docs/API_docs_v65/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v65/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messageMediaDocument.md b/old_docs/API_docs_v65/constructors/messageMediaDocument.md index 1f584a82..44199179 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v65/constructors/messageMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document, caption='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/messageMediaEmpty.md b/old_docs/API_docs_v65/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v65/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/messageMediaGame.md b/old_docs/API_docs_v65/constructors/messageMediaGame.md index e97b2bd1..980dbbcc 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaGame.md +++ b/old_docs/API_docs_v65/constructors/messageMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` @@ -32,10 +32,9 @@ $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGame={_='messageMediaGame', game=Game} ``` diff --git a/old_docs/API_docs_v65/constructors/messageMediaGeo.md b/old_docs/API_docs_v65/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v65/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v65/constructors/messageMediaInvoice.md b/old_docs/API_docs_v65/constructors/messageMediaInvoice.md index dff83700..e7514d50 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaInvoice.md +++ b/old_docs/API_docs_v65/constructors/messageMediaInvoice.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requested' => Bool, 'test' => Bool, 'title' => 'string', 'description' => 'string', 'photo' => WebDocument, 'receipt_msg_id' => int, 'currency' => 'string', 'total_amount' => long, 'start_param' => 'string']; ``` @@ -40,10 +40,9 @@ $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requeste ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaInvoice={_='messageMediaInvoice', shipping_address_requested=Bool, test=Bool, title='string', description='string', photo=WebDocument, receipt_msg_id=int, currency='string', total_amount=long, start_param='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/messageMediaPhoto.md b/old_docs/API_docs_v65/constructors/messageMediaPhoto.md index 47579066..7350efce 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v65/constructors/messageMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v65/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v65/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v65/constructors/messageMediaVenue.md b/old_docs/API_docs_v65/constructors/messageMediaVenue.md index 2db2d25d..2ef2b27f 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v65/constructors/messageMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/messageMediaWebPage.md b/old_docs/API_docs_v65/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v65/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v65/constructors/messageRange.md b/old_docs/API_docs_v65/constructors/messageRange.md index 40c3f81a..527e8646 100644 --- a/old_docs/API_docs_v65/constructors/messageRange.md +++ b/old_docs/API_docs_v65/constructors/messageRange.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageRange={_='messageRange', min_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messageService.md b/old_docs/API_docs_v65/constructors/messageService.md index 8f47e32f..f9946e72 100644 --- a/old_docs/API_docs_v65/constructors/messageService.md +++ b/old_docs/API_docs_v65/constructors/messageService.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction]; ``` @@ -42,10 +42,9 @@ $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_affectedHistory.md b/old_docs/API_docs_v65/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v65/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v65/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_affectedMessages.md b/old_docs/API_docs_v65/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v65/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v65/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_allStickers.md b/old_docs/API_docs_v65/constructors/messages_allStickers.md index 2a7d1313..45a66ddf 100644 --- a/old_docs/API_docs_v65/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v65/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v65/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v65/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v65/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_archivedStickers.md b/old_docs/API_docs_v65/constructors/messages_archivedStickers.md index 458c74b9..639d174b 100644 --- a/old_docs/API_docs_v65/constructors/messages_archivedStickers.md +++ b/old_docs/API_docs_v65/constructors/messages_archivedStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -33,10 +33,9 @@ $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v65/constructors/messages_botCallbackAnswer.md index 90095d01..41b90b45 100644 --- a/old_docs/API_docs_v65/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v65/constructors/messages_botCallbackAnswer.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; ``` @@ -36,10 +36,9 @@ $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_botResults.md b/old_docs/API_docs_v65/constructors/messages_botResults.md index bec3e32a..cb2b295c 100644 --- a/old_docs/API_docs_v65/constructors/messages_botResults.md +++ b/old_docs/API_docs_v65/constructors/messages_botResults.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int]; ``` @@ -37,10 +37,9 @@ $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_channelMessages.md b/old_docs/API_docs_v65/constructors/messages_channelMessages.md index 43f4cdc6..0da0608d 100644 --- a/old_docs/API_docs_v65/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v65/constructors/messages_channelMessages.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'c ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_chatFull.md b/old_docs/API_docs_v65/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v65/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v65/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_chats.md b/old_docs/API_docs_v65/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v65/constructors/messages_chats.md +++ b/old_docs/API_docs_v65/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_chatsSlice.md b/old_docs/API_docs_v65/constructors/messages_chatsSlice.md index 83905f64..d6a204d4 100644 --- a/old_docs/API_docs_v65/constructors/messages_chatsSlice.md +++ b/old_docs/API_docs_v65/constructors/messages_chatsSlice.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; ``` @@ -33,10 +33,9 @@ $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_dhConfig.md b/old_docs/API_docs_v65/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v65/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v65/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v65/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v65/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v65/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_dialogs.md b/old_docs/API_docs_v65/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v65/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v65/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v65/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v65/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v65/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_featuredStickers.md b/old_docs/API_docs_v65/constructors/messages_featuredStickers.md index 0ec8be8b..f40ec583 100644 --- a/old_docs/API_docs_v65/constructors/messages_featuredStickers.md +++ b/old_docs/API_docs_v65/constructors/messages_featuredStickers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; ``` @@ -34,10 +34,9 @@ $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v65/constructors/messages_featuredStickersNotModified.md index 87d2e6c7..3457ff96 100644 --- a/old_docs/API_docs_v65/constructors/messages_featuredStickersNotModified.md +++ b/old_docs/API_docs_v65/constructors/messages_featuredStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotMod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_foundGifs.md b/old_docs/API_docs_v65/constructors/messages_foundGifs.md index f86a9fed..4d513264 100644 --- a/old_docs/API_docs_v65/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v65/constructors/messages_foundGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; ``` @@ -33,10 +33,9 @@ $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'resul ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_highScores.md b/old_docs/API_docs_v65/constructors/messages_highScores.md index 1af58a14..08692c07 100644 --- a/old_docs/API_docs_v65/constructors/messages_highScores.md +++ b/old_docs/API_docs_v65/constructors/messages_highScores.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, Hi ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_messageEditData.md b/old_docs/API_docs_v65/constructors/messages_messageEditData.md index aee6e179..fe0f3ab3 100644 --- a/old_docs/API_docs_v65/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v65/constructors/messages_messageEditData.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` @@ -32,10 +32,9 @@ $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messageEditData={_='messages.messageEditData', caption=Bool} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_messages.md b/old_docs/API_docs_v65/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v65/constructors/messages_messages.md +++ b/old_docs/API_docs_v65/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_messagesSlice.md b/old_docs/API_docs_v65/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v65/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v65/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_peerDialogs.md b/old_docs/API_docs_v65/constructors/messages_peerDialogs.md index 93601b21..60aa48e6 100644 --- a/old_docs/API_docs_v65/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v65/constructors/messages_peerDialogs.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -36,10 +36,9 @@ $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Di ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_recentStickers.md b/old_docs/API_docs_v65/constructors/messages_recentStickers.md index b2ea1fa7..47a5c591 100644 --- a/old_docs/API_docs_v65/constructors/messages_recentStickers.md +++ b/old_docs/API_docs_v65/constructors/messages_recentStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v65/constructors/messages_recentStickersNotModified.md index 9bf964da..c3c4f654 100644 --- a/old_docs/API_docs_v65/constructors/messages_recentStickersNotModified.md +++ b/old_docs/API_docs_v65/constructors/messages_recentStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModifie ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickersNotModified={_='messages.recentStickersNotModified'} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_savedGifs.md b/old_docs/API_docs_v65/constructors/messages_savedGifs.md index 4a254ab5..ae7e595f 100644 --- a/old_docs/API_docs_v65/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v65/constructors/messages_savedGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Do ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v65/constructors/messages_savedGifsNotModified.md index 65c17d0c..ef0db669 100644 --- a/old_docs/API_docs_v65/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v65/constructors/messages_savedGifsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` @@ -27,10 +27,9 @@ $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifsNotModified={_='messages.savedGifsNotModified'} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v65/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v65/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v65/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v65/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v65/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v65/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_stickerSet.md b/old_docs/API_docs_v65/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/old_docs/API_docs_v65/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v65/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultArchive.md index 2f66cfa0..f43e11c0 100644 --- a/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultArchive.md +++ b/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultArchive.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -32,10 +32,9 @@ $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultSuccess.md index ef5752a2..bb6b00f3 100644 --- a/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultSuccess.md +++ b/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultSuccess.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; ``` @@ -27,10 +27,9 @@ $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_stickers.md b/old_docs/API_docs_v65/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v65/constructors/messages_stickers.md +++ b/old_docs/API_docs_v65/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v65/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v65/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v65/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v65/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v65/constructors/msg_detailed_info.md b/old_docs/API_docs_v65/constructors/msg_detailed_info.md index 22a4fdb0..238ea35d 100644 --- a/old_docs/API_docs_v65/constructors/msg_detailed_info.md +++ b/old_docs/API_docs_v65/constructors/msg_detailed_info.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_id' => long, 'bytes' => int, 'status' => int]; ``` @@ -35,10 +35,9 @@ $msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_detailed_info={_='msg_detailed_info', msg_id=long, answer_msg_id=long, bytes=int, status=int} ``` diff --git a/old_docs/API_docs_v65/constructors/msg_new_detailed_info.md b/old_docs/API_docs_v65/constructors/msg_new_detailed_info.md index fc671bb9..6e4ad249 100644 --- a/old_docs/API_docs_v65/constructors/msg_new_detailed_info.md +++ b/old_docs/API_docs_v65/constructors/msg_new_detailed_info.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => long, 'bytes' => int, 'status' => int]; ``` @@ -34,10 +34,9 @@ $msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_new_detailed_info={_='msg_new_detailed_info', answer_msg_id=long, bytes=int, status=int} ``` diff --git a/old_docs/API_docs_v65/constructors/msg_resend_req.md b/old_docs/API_docs_v65/constructors/msg_resend_req.md index 3ae86dfc..d9de1768 100644 --- a/old_docs/API_docs_v65/constructors/msg_resend_req.md +++ b/old_docs/API_docs_v65/constructors/msg_resend_req.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long, long]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_resend_req={_='msg_resend_req', msg_ids={long}} ``` diff --git a/old_docs/API_docs_v65/constructors/msgs_ack.md b/old_docs/API_docs_v65/constructors/msgs_ack.md index 83c78c01..78b0bed6 100644 --- a/old_docs/API_docs_v65/constructors/msgs_ack.md +++ b/old_docs/API_docs_v65/constructors/msgs_ack.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long, long]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_ack={_='msgs_ack', msg_ids={long}} ``` diff --git a/old_docs/API_docs_v65/constructors/msgs_all_info.md b/old_docs/API_docs_v65/constructors/msgs_all_info.md index f4be85aa..063eb59d 100644 --- a/old_docs/API_docs_v65/constructors/msgs_all_info.md +++ b/old_docs/API_docs_v65/constructors/msgs_all_info.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long, long], 'info' => 'string']; ``` @@ -33,10 +33,9 @@ $msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long, long], 'info' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_all_info={_='msgs_all_info', msg_ids={long}, info='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/msgs_state_info.md b/old_docs/API_docs_v65/constructors/msgs_state_info.md index a1157206..04f1c818 100644 --- a/old_docs/API_docs_v65/constructors/msgs_state_info.md +++ b/old_docs/API_docs_v65/constructors/msgs_state_info.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => 'string']; ``` @@ -33,10 +33,9 @@ $msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_state_info={_='msgs_state_info', req_msg_id=long, info='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/msgs_state_req.md b/old_docs/API_docs_v65/constructors/msgs_state_req.md index ede2520f..feedf3d3 100644 --- a/old_docs/API_docs_v65/constructors/msgs_state_req.md +++ b/old_docs/API_docs_v65/constructors/msgs_state_req.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long, long]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_state_req={_='msgs_state_req', msg_ids={long}} ``` diff --git a/old_docs/API_docs_v65/constructors/nearestDc.md b/old_docs/API_docs_v65/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v65/constructors/nearestDc.md +++ b/old_docs/API_docs_v65/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v65/constructors/new_session_created.md b/old_docs/API_docs_v65/constructors/new_session_created.md index b917ad59..aa443caa 100644 --- a/old_docs/API_docs_v65/constructors/new_session_created.md +++ b/old_docs/API_docs_v65/constructors/new_session_created.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'unique_id' => long, 'server_salt' => long]; ``` @@ -34,10 +34,9 @@ $new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'u ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua new_session_created={_='new_session_created', first_msg_id=long, unique_id=long, server_salt=long} ``` diff --git a/old_docs/API_docs_v65/constructors/notifyAll.md b/old_docs/API_docs_v65/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v65/constructors/notifyAll.md +++ b/old_docs/API_docs_v65/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v65/constructors/notifyChats.md b/old_docs/API_docs_v65/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v65/constructors/notifyChats.md +++ b/old_docs/API_docs_v65/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v65/constructors/notifyPeer.md b/old_docs/API_docs_v65/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v65/constructors/notifyPeer.md +++ b/old_docs/API_docs_v65/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v65/constructors/notifyUsers.md b/old_docs/API_docs_v65/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v65/constructors/notifyUsers.md +++ b/old_docs/API_docs_v65/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v65/constructors/p_q_inner_data.md b/old_docs/API_docs_v65/constructors/p_q_inner_data.md index 9a05a5ec..3c4f16f5 100644 --- a/old_docs/API_docs_v65/constructors/p_q_inner_data.md +++ b/old_docs/API_docs_v65/constructors/p_q_inner_data.md @@ -28,7 +28,7 @@ PQ inner data ### Example: -``` +```php $p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => 'string', 'p' => 'string', 'q' => 'string', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256]; ``` @@ -39,10 +39,9 @@ $p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => 'string', 'p' => 'string', ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua p_q_inner_data={_='p_q_inner_data', pq='string', p='string', q='string', nonce=int128, server_nonce=int128, new_nonce=int256} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockAnchor.md b/old_docs/API_docs_v65/constructors/pageBlockAnchor.md index af7f7c2b..5a5757fb 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockAnchor.md +++ b/old_docs/API_docs_v65/constructors/pageBlockAnchor.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` @@ -32,10 +32,9 @@ $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAnchor={_='pageBlockAnchor', name='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockAuthorDate.md b/old_docs/API_docs_v65/constructors/pageBlockAuthorDate.md index 4f746156..03daab4b 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockAuthorDate.md +++ b/old_docs/API_docs_v65/constructors/pageBlockAuthorDate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int]; ``` @@ -33,10 +33,9 @@ $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'pub ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAuthorDate={_='pageBlockAuthorDate', author=RichText, published_date=int} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockBlockquote.md b/old_docs/API_docs_v65/constructors/pageBlockBlockquote.md index f78ad5bd..c34f378d 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockBlockquote.md +++ b/old_docs/API_docs_v65/constructors/pageBlockBlockquote.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'capti ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockBlockquote={_='pageBlockBlockquote', text=RichText, caption=RichText} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockCollage.md b/old_docs/API_docs_v65/constructors/pageBlockCollage.md index 45bdee72..beaf8ba2 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockCollage.md +++ b/old_docs/API_docs_v65/constructors/pageBlockCollage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock, PageBlock ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockCollage={_='pageBlockCollage', items={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockCover.md b/old_docs/API_docs_v65/constructors/pageBlockCover.md index 8e8db49e..8c96a1af 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockCover.md +++ b/old_docs/API_docs_v65/constructors/pageBlockCover.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` @@ -32,10 +32,9 @@ $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockCover={_='pageBlockCover', cover=PageBlock} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockDivider.md b/old_docs/API_docs_v65/constructors/pageBlockDivider.md index 5f444cce..ee3e75b7 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockDivider.md +++ b/old_docs/API_docs_v65/constructors/pageBlockDivider.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockDivider = ['_' => 'pageBlockDivider']; ``` @@ -27,10 +27,9 @@ $pageBlockDivider = ['_' => 'pageBlockDivider']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockDivider={_='pageBlockDivider'} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockEmbed.md b/old_docs/API_docs_v65/constructors/pageBlockEmbed.md index 3e508369..9c72b889 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockEmbed.md +++ b/old_docs/API_docs_v65/constructors/pageBlockEmbed.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => 'string', 'html' => 'string', 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText]; ``` @@ -39,10 +39,9 @@ $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolli ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockEmbed={_='pageBlockEmbed', full_width=Bool, allow_scrolling=Bool, url='string', html='string', poster_photo_id=long, w=int, h=int, caption=RichText} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockEmbedPost.md b/old_docs/API_docs_v65/constructors/pageBlockEmbedPost.md index 24c622e6..684952c1 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockEmbedPost.md +++ b/old_docs/API_docs_v65/constructors/pageBlockEmbedPost.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_id' => long, 'author_photo_id' => long, 'author' => 'string', 'date' => int, 'blocks' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -38,10 +38,9 @@ $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockEmbedPost={_='pageBlockEmbedPost', url='string', webpage_id=long, author_photo_id=long, author='string', date=int, blocks={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockFooter.md b/old_docs/API_docs_v65/constructors/pageBlockFooter.md index 3caeb971..e467eb94 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockFooter.md +++ b/old_docs/API_docs_v65/constructors/pageBlockFooter.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockFooter={_='pageBlockFooter', text=RichText} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockHeader.md b/old_docs/API_docs_v65/constructors/pageBlockHeader.md index 950037d0..761196e1 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockHeader.md +++ b/old_docs/API_docs_v65/constructors/pageBlockHeader.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockHeader={_='pageBlockHeader', text=RichText} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockList.md b/old_docs/API_docs_v65/constructors/pageBlockList.md index 37371b18..f841cf2f 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockList.md +++ b/old_docs/API_docs_v65/constructors/pageBlockList.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText, RichText]]; ``` @@ -33,10 +33,9 @@ $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichTex ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockList={_='pageBlockList', ordered=Bool, items={RichText}} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockParagraph.md b/old_docs/API_docs_v65/constructors/pageBlockParagraph.md index 6b22950e..897a7870 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockParagraph.md +++ b/old_docs/API_docs_v65/constructors/pageBlockParagraph.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockParagraph={_='pageBlockParagraph', text=RichText} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockPhoto.md b/old_docs/API_docs_v65/constructors/pageBlockPhoto.md index e80e16f4..470dbc15 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockPhoto.md +++ b/old_docs/API_docs_v65/constructors/pageBlockPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => Ric ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPhoto={_='pageBlockPhoto', photo_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockPreformatted.md b/old_docs/API_docs_v65/constructors/pageBlockPreformatted.md index 49cb8b08..bd505a25 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockPreformatted.md +++ b/old_docs/API_docs_v65/constructors/pageBlockPreformatted.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => 'string']; ``` @@ -33,10 +33,9 @@ $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPreformatted={_='pageBlockPreformatted', text=RichText, language='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockPullquote.md b/old_docs/API_docs_v65/constructors/pageBlockPullquote.md index d73389da..744215e3 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockPullquote.md +++ b/old_docs/API_docs_v65/constructors/pageBlockPullquote.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPullquote={_='pageBlockPullquote', text=RichText, caption=RichText} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockSlideshow.md b/old_docs/API_docs_v65/constructors/pageBlockSlideshow.md index d855e4d8..4a827931 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockSlideshow.md +++ b/old_docs/API_docs_v65/constructors/pageBlockSlideshow.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock, PageB ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSlideshow={_='pageBlockSlideshow', items={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockSubheader.md b/old_docs/API_docs_v65/constructors/pageBlockSubheader.md index 6b6a332e..094c5d2e 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockSubheader.md +++ b/old_docs/API_docs_v65/constructors/pageBlockSubheader.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSubheader={_='pageBlockSubheader', text=RichText} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockSubtitle.md b/old_docs/API_docs_v65/constructors/pageBlockSubtitle.md index 017112c2..6ad657c0 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockSubtitle.md +++ b/old_docs/API_docs_v65/constructors/pageBlockSubtitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSubtitle={_='pageBlockSubtitle', text=RichText} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockTitle.md b/old_docs/API_docs_v65/constructors/pageBlockTitle.md index 9dfe94d2..5c6d228b 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockTitle.md +++ b/old_docs/API_docs_v65/constructors/pageBlockTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockTitle={_='pageBlockTitle', text=RichText} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockUnsupported.md b/old_docs/API_docs_v65/constructors/pageBlockUnsupported.md index 8d127c6d..a0895079 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockUnsupported.md +++ b/old_docs/API_docs_v65/constructors/pageBlockUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` @@ -27,10 +27,9 @@ $pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockUnsupported={_='pageBlockUnsupported'} ``` diff --git a/old_docs/API_docs_v65/constructors/pageBlockVideo.md b/old_docs/API_docs_v65/constructors/pageBlockVideo.md index 03a04d1b..27c2ed6f 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockVideo.md +++ b/old_docs/API_docs_v65/constructors/pageBlockVideo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText]; ``` @@ -35,10 +35,9 @@ $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockVideo={_='pageBlockVideo', autoplay=Bool, loop=Bool, video_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v65/constructors/pageFull.md b/old_docs/API_docs_v65/constructors/pageFull.md index cf613031..b1b5b0ac 100644 --- a/old_docs/API_docs_v65/constructors/pageFull.md +++ b/old_docs/API_docs_v65/constructors/pageFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'videos' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock, PageBlock], 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageFull={_='pageFull', blocks={PageBlock}, photos={Photo}, videos={Document}} ``` diff --git a/old_docs/API_docs_v65/constructors/pagePart.md b/old_docs/API_docs_v65/constructors/pagePart.md index e0ae2901..d3abceb5 100644 --- a/old_docs/API_docs_v65/constructors/pagePart.md +++ b/old_docs/API_docs_v65/constructors/pagePart.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'videos' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock, PageBlock], 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pagePart={_='pagePart', blocks={PageBlock}, photos={Photo}, videos={Document}} ``` diff --git a/old_docs/API_docs_v65/constructors/paymentCharge.md b/old_docs/API_docs_v65/constructors/paymentCharge.md index 83a0d433..56e8e040 100644 --- a/old_docs/API_docs_v65/constructors/paymentCharge.md +++ b/old_docs/API_docs_v65/constructors/paymentCharge.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' => 'string']; ``` @@ -33,10 +33,9 @@ $paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentCharge={_='paymentCharge', id='string', provider_charge_id='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/paymentRequestedInfo.md b/old_docs/API_docs_v65/constructors/paymentRequestedInfo.md index e4b6562a..767ec982 100644 --- a/old_docs/API_docs_v65/constructors/paymentRequestedInfo.md +++ b/old_docs/API_docs_v65/constructors/paymentRequestedInfo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'phone' => 'string', 'email' => 'string', 'shipping_address' => PostAddress]; ``` @@ -35,10 +35,9 @@ $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'pho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentRequestedInfo={_='paymentRequestedInfo', name='string', phone='string', email='string', shipping_address=PostAddress} ``` diff --git a/old_docs/API_docs_v65/constructors/paymentSavedCredentialsCard.md b/old_docs/API_docs_v65/constructors/paymentSavedCredentialsCard.md index 6fc4e934..43b2baf6 100644 --- a/old_docs/API_docs_v65/constructors/paymentSavedCredentialsCard.md +++ b/old_docs/API_docs_v65/constructors/paymentSavedCredentialsCard.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 'string', 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentSavedCredentialsCard={_='paymentSavedCredentialsCard', id='string', title='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/payments_paymentForm.md b/old_docs/API_docs_v65/constructors/payments_paymentForm.md index 74cca6f4..00d9349d 100644 --- a/old_docs/API_docs_v65/constructors/payments_paymentForm.md +++ b/old_docs/API_docs_v65/constructors/payments_paymentForm.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; ``` @@ -42,10 +42,9 @@ $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v65/constructors/payments_paymentReceipt.md index fdf741b4..068f5869 100644 --- a/old_docs/API_docs_v65/constructors/payments_paymentReceipt.md +++ b/old_docs/API_docs_v65/constructors/payments_paymentReceipt.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; ``` @@ -41,10 +41,9 @@ $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/payments_paymentResult.md b/old_docs/API_docs_v65/constructors/payments_paymentResult.md index 7ae00170..a5679a5f 100644 --- a/old_docs/API_docs_v65/constructors/payments_paymentResult.md +++ b/old_docs/API_docs_v65/constructors/payments_paymentResult.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; ``` @@ -32,10 +32,9 @@ $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentResult={_='payments.paymentResult', updates=Updates} ``` diff --git a/old_docs/API_docs_v65/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v65/constructors/payments_paymentVerficationNeeded.md index 4a3f8cdf..e4ca7a8e 100644 --- a/old_docs/API_docs_v65/constructors/payments_paymentVerficationNeeded.md +++ b/old_docs/API_docs_v65/constructors/payments_paymentVerficationNeeded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; ``` @@ -32,10 +32,9 @@ $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/payments_savedInfo.md b/old_docs/API_docs_v65/constructors/payments_savedInfo.md index 3daf671f..c81761c4 100644 --- a/old_docs/API_docs_v65/constructors/payments_savedInfo.md +++ b/old_docs/API_docs_v65/constructors/payments_savedInfo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; ``` @@ -33,10 +33,9 @@ $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} ``` diff --git a/old_docs/API_docs_v65/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v65/constructors/payments_validatedRequestedInfo.md index 676388b7..b84afd83 100644 --- a/old_docs/API_docs_v65/constructors/payments_validatedRequestedInfo.md +++ b/old_docs/API_docs_v65/constructors/payments_validatedRequestedInfo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; ``` @@ -33,10 +33,9 @@ $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} ``` diff --git a/old_docs/API_docs_v65/constructors/peerChannel.md b/old_docs/API_docs_v65/constructors/peerChannel.md index f30e3f41..360d5c42 100644 --- a/old_docs/API_docs_v65/constructors/peerChannel.md +++ b/old_docs/API_docs_v65/constructors/peerChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/peerChat.md b/old_docs/API_docs_v65/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v65/constructors/peerChat.md +++ b/old_docs/API_docs_v65/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v65/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v65/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v65/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v65/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v65/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v65/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v65/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/peerNotifySettings.md b/old_docs/API_docs_v65/constructors/peerNotifySettings.md index f011beb7..2007e4ee 100644 --- a/old_docs/API_docs_v65/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v65/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'si ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v65/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v65/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v65/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/peerSettings.md b/old_docs/API_docs_v65/constructors/peerSettings.md index 8f74bb50..2468fee4 100644 --- a/old_docs/API_docs_v65/constructors/peerSettings.md +++ b/old_docs/API_docs_v65/constructors/peerSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` @@ -32,10 +32,9 @@ $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerSettings={_='peerSettings', report_spam=Bool} ``` diff --git a/old_docs/API_docs_v65/constructors/peerUser.md b/old_docs/API_docs_v65/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v65/constructors/peerUser.md +++ b/old_docs/API_docs_v65/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/phoneCall.md b/old_docs/API_docs_v65/constructors/phoneCall.md index 8104b557..b233076d 100644 --- a/old_docs/API_docs_v65/constructors/phoneCall.md +++ b/old_docs/API_docs_v65/constructors/phoneCall.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, 'connection' => PhoneConnection, 'alternative_connections' => [PhoneConnection, PhoneConnection], 'start_date' => int]; ``` @@ -42,10 +42,9 @@ $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCall={_='phoneCall', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, connection=PhoneConnection, alternative_connections={PhoneConnection}, start_date=int} ``` diff --git a/old_docs/API_docs_v65/constructors/phoneCallAccepted.md b/old_docs/API_docs_v65/constructors/phoneCallAccepted.md index cae97485..80795514 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallAccepted.md +++ b/old_docs/API_docs_v65/constructors/phoneCallAccepted.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` @@ -38,10 +38,9 @@ $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallAccepted={_='phoneCallAccepted', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_b='bytes', protocol=PhoneCallProtocol} ``` diff --git a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonBusy.md b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonBusy.md index 10d47acd..8912371f 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonBusy.md +++ b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonBusy.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonBusy={_='phoneCallDiscardReasonBusy'} ``` diff --git a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonDisconnect.md b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonDisconnect.md index b059c909..3a77aced 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonDisconnect.md +++ b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonDisconnect.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonDisconnect={_='phoneCallDiscardReasonDisconnect'} ``` diff --git a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonHangup.md b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonHangup.md index 8e6e311c..cac342da 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonHangup.md +++ b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonHangup.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonHangup={_='phoneCallDiscardReasonHangup'} ``` diff --git a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonMissed.md b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonMissed.md index b8199e88..e10648eb 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonMissed.md +++ b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonMissed.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonMissed={_='phoneCallDiscardReasonMissed'} ``` diff --git a/old_docs/API_docs_v65/constructors/phoneCallDiscarded.md b/old_docs/API_docs_v65/constructors/phoneCallDiscarded.md index 69fd1caa..e20027a5 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallDiscarded.md +++ b/old_docs/API_docs_v65/constructors/phoneCallDiscarded.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` @@ -36,10 +36,9 @@ $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscarded={_='phoneCallDiscarded', need_rating=Bool, need_debug=Bool, id=long, reason=PhoneCallDiscardReason, duration=int} ``` diff --git a/old_docs/API_docs_v65/constructors/phoneCallEmpty.md b/old_docs/API_docs_v65/constructors/phoneCallEmpty.md index cfb8125b..a51f3ea2 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallEmpty.md +++ b/old_docs/API_docs_v65/constructors/phoneCallEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallEmpty={_='phoneCallEmpty', id=long} ``` diff --git a/old_docs/API_docs_v65/constructors/phoneCallProtocol.md b/old_docs/API_docs_v65/constructors/phoneCallProtocol.md index 9f0e2eed..01574fa2 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallProtocol.md +++ b/old_docs/API_docs_v65/constructors/phoneCallProtocol.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int]; ``` @@ -35,10 +35,9 @@ $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflec ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallProtocol={_='phoneCallProtocol', udp_p2p=Bool, udp_reflector=Bool, min_layer=int, max_layer=int} ``` diff --git a/old_docs/API_docs_v65/constructors/phoneCallRequested.md b/old_docs/API_docs_v65/constructors/phoneCallRequested.md index c96f398f..0465e0fb 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallRequested.md +++ b/old_docs/API_docs_v65/constructors/phoneCallRequested.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` @@ -38,10 +38,9 @@ $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallRequested={_='phoneCallRequested', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_hash='bytes', protocol=PhoneCallProtocol} ``` diff --git a/old_docs/API_docs_v65/constructors/phoneCallWaiting.md b/old_docs/API_docs_v65/constructors/phoneCallWaiting.md index 8dcf8e30..9d9658c8 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallWaiting.md +++ b/old_docs/API_docs_v65/constructors/phoneCallWaiting.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int]; ``` @@ -38,10 +38,9 @@ $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallWaiting={_='phoneCallWaiting', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, protocol=PhoneCallProtocol, receive_date=int} ``` diff --git a/old_docs/API_docs_v65/constructors/phoneConnection.md b/old_docs/API_docs_v65/constructors/phoneConnection.md index b117e12f..562975aa 100644 --- a/old_docs/API_docs_v65/constructors/phoneConnection.md +++ b/old_docs/API_docs_v65/constructors/phoneConnection.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'ipv6' => 'string', 'port' => int, 'peer_tag' => 'bytes']; ``` @@ -36,10 +36,9 @@ $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneConnection={_='phoneConnection', id=long, ip='string', ipv6='string', port=int, peer_tag='bytes'} ``` diff --git a/old_docs/API_docs_v65/constructors/phone_phoneCall.md b/old_docs/API_docs_v65/constructors/phone_phoneCall.md index 00c21143..58912b3f 100644 --- a/old_docs/API_docs_v65/constructors/phone_phoneCall.md +++ b/old_docs/API_docs_v65/constructors/phone_phoneCall.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/photo.md b/old_docs/API_docs_v65/constructors/photo.md index 0cad6364..980980f4 100644 --- a/old_docs/API_docs_v65/constructors/photo.md +++ b/old_docs/API_docs_v65/constructors/photo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -36,10 +36,9 @@ $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', has_stickers=Bool, id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v65/constructors/photoCachedSize.md b/old_docs/API_docs_v65/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v65/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v65/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v65/constructors/photoEmpty.md b/old_docs/API_docs_v65/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v65/constructors/photoEmpty.md +++ b/old_docs/API_docs_v65/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v65/constructors/photoSize.md b/old_docs/API_docs_v65/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v65/constructors/photoSize.md +++ b/old_docs/API_docs_v65/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v65/constructors/photoSizeEmpty.md b/old_docs/API_docs_v65/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v65/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v65/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/photos_photo.md b/old_docs/API_docs_v65/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v65/constructors/photos_photo.md +++ b/old_docs/API_docs_v65/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/photos_photos.md b/old_docs/API_docs_v65/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v65/constructors/photos_photos.md +++ b/old_docs/API_docs_v65/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/photos_photosSlice.md b/old_docs/API_docs_v65/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v65/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v65/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/pong.md b/old_docs/API_docs_v65/constructors/pong.md index ba5a4195..932940d8 100644 --- a/old_docs/API_docs_v65/constructors/pong.md +++ b/old_docs/API_docs_v65/constructors/pong.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long]; ``` @@ -33,10 +33,9 @@ $pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pong={_='pong', msg_id=long, ping_id=long} ``` diff --git a/old_docs/API_docs_v65/constructors/postAddress.md b/old_docs/API_docs_v65/constructors/postAddress.md index 0bd47333..aa8080ec 100644 --- a/old_docs/API_docs_v65/constructors/postAddress.md +++ b/old_docs/API_docs_v65/constructors/postAddress.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' => 'string', 'city' => 'string', 'state' => 'string', 'country_iso2' => 'string', 'post_code' => 'string']; ``` @@ -37,10 +37,9 @@ $postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua postAddress={_='postAddress', street_line1='string', street_line2='string', city='string', state='string', country_iso2='string', post_code='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/privacyKeyChatInvite.md b/old_docs/API_docs_v65/constructors/privacyKeyChatInvite.md index cc6e39b6..44826e55 100644 --- a/old_docs/API_docs_v65/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v65/constructors/privacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v65/constructors/privacyKeyPhoneCall.md b/old_docs/API_docs_v65/constructors/privacyKeyPhoneCall.md index 2fe6db7d..fc38f6a4 100644 --- a/old_docs/API_docs_v65/constructors/privacyKeyPhoneCall.md +++ b/old_docs/API_docs_v65/constructors/privacyKeyPhoneCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` @@ -27,10 +27,9 @@ $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyPhoneCall={_='privacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v65/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v65/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v65/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v65/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v65/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v65/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v65/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v65/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v65/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v65/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v65/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v65/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v65/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v65/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v65/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v65/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v65/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v65/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v65/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v65/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v65/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v65/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v65/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v65/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v65/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v65/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v65/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v65/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v65/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v65/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/old_docs/API_docs_v65/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v65/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/replyInlineMarkup.md b/old_docs/API_docs_v65/constructors/replyInlineMarkup.md index 6d353569..6e481165 100644 --- a/old_docs/API_docs_v65/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v65/constructors/replyInlineMarkup.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -32,10 +32,9 @@ $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v65/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v65/constructors/replyKeyboardForceReply.md index 56e255c1..3f7fae8c 100644 --- a/old_docs/API_docs_v65/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v65/constructors/replyKeyboardForceReply.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` @@ -33,10 +33,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool} ``` diff --git a/old_docs/API_docs_v65/constructors/replyKeyboardHide.md b/old_docs/API_docs_v65/constructors/replyKeyboardHide.md index 7251db49..30e9f399 100644 --- a/old_docs/API_docs_v65/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v65/constructors/replyKeyboardHide.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` @@ -32,10 +32,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide', selective=Bool} ``` diff --git a/old_docs/API_docs_v65/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v65/constructors/replyKeyboardMarkup.md index 87a55463..80f3f654 100644 --- a/old_docs/API_docs_v65/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v65/constructors/replyKeyboardMarkup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -35,10 +35,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v65/constructors/resPQ.md b/old_docs/API_docs_v65/constructors/resPQ.md index d712cdd7..4f3e3874 100644 --- a/old_docs/API_docs_v65/constructors/resPQ.md +++ b/old_docs/API_docs_v65/constructors/resPQ.md @@ -26,7 +26,7 @@ Contains pq to factorize ### Example: -``` +```php $resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => 'string', 'server_public_key_fingerprints' => [long, long]]; ``` @@ -37,10 +37,9 @@ $resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua resPQ={_='resPQ', nonce=int128, server_nonce=int128, pq='string', server_public_key_fingerprints={long}} ``` diff --git a/old_docs/API_docs_v65/constructors/rpc_answer_dropped.md b/old_docs/API_docs_v65/constructors/rpc_answer_dropped.md index e05695b5..e41855e9 100644 --- a/old_docs/API_docs_v65/constructors/rpc_answer_dropped.md +++ b/old_docs/API_docs_v65/constructors/rpc_answer_dropped.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' => int, 'bytes' => int]; ``` @@ -34,10 +34,9 @@ $rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_answer_dropped={_='rpc_answer_dropped', msg_id=long, seq_no=int, bytes=int} ``` diff --git a/old_docs/API_docs_v65/constructors/rpc_answer_dropped_running.md b/old_docs/API_docs_v65/constructors/rpc_answer_dropped_running.md index b98a0cf0..675eea40 100644 --- a/old_docs/API_docs_v65/constructors/rpc_answer_dropped_running.md +++ b/old_docs/API_docs_v65/constructors/rpc_answer_dropped_running.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running']; ``` @@ -27,10 +27,9 @@ $rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_answer_dropped_running={_='rpc_answer_dropped_running'} ``` diff --git a/old_docs/API_docs_v65/constructors/rpc_answer_unknown.md b/old_docs/API_docs_v65/constructors/rpc_answer_unknown.md index f9f425cc..3f2d3c02 100644 --- a/old_docs/API_docs_v65/constructors/rpc_answer_unknown.md +++ b/old_docs/API_docs_v65/constructors/rpc_answer_unknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_answer_unknown = ['_' => 'rpc_answer_unknown']; ``` @@ -27,10 +27,9 @@ $rpc_answer_unknown = ['_' => 'rpc_answer_unknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_answer_unknown={_='rpc_answer_unknown'} ``` diff --git a/old_docs/API_docs_v65/constructors/rpc_error.md b/old_docs/API_docs_v65/constructors/rpc_error.md index 5d9c2e9e..5b40250d 100644 --- a/old_docs/API_docs_v65/constructors/rpc_error.md +++ b/old_docs/API_docs_v65/constructors/rpc_error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => 'string']; ``` @@ -33,10 +33,9 @@ $rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_error={_='rpc_error', error_code=int, error_message='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v65/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v65/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v65/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v65/constructors/sendMessageGamePlayAction.md b/old_docs/API_docs_v65/constructors/sendMessageGamePlayAction.md index 8238ea55..0c395c75 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageGamePlayAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageGamePlayAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGamePlayAction={_='sendMessageGamePlayAction'} ``` diff --git a/old_docs/API_docs_v65/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v65/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v65/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v65/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v65/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v65/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v65/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v65/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v65/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v65/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/old_docs/API_docs_v65/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v65/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/old_docs/API_docs_v65/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v65/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/old_docs/API_docs_v65/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v65/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/old_docs/API_docs_v65/constructors/server_DH_inner_data.md b/old_docs/API_docs_v65/constructors/server_DH_inner_data.md index 8130e1f8..2b442699 100644 --- a/old_docs/API_docs_v65/constructors/server_DH_inner_data.md +++ b/old_docs/API_docs_v65/constructors/server_DH_inner_data.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'g' => int, 'dh_prime' => 'string', 'g_a' => 'string', 'server_time' => int]; ``` @@ -37,10 +37,9 @@ $server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'serv ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua server_DH_inner_data={_='server_DH_inner_data', nonce=int128, server_nonce=int128, g=int, dh_prime='string', g_a='string', server_time=int} ``` diff --git a/old_docs/API_docs_v65/constructors/server_DH_params_fail.md b/old_docs/API_docs_v65/constructors/server_DH_params_fail.md index 24be7fad..d87ee6c1 100644 --- a/old_docs/API_docs_v65/constructors/server_DH_params_fail.md +++ b/old_docs/API_docs_v65/constructors/server_DH_params_fail.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash' => int128]; ``` @@ -34,10 +34,9 @@ $server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua server_DH_params_fail={_='server_DH_params_fail', nonce=int128, server_nonce=int128, new_nonce_hash=int128} ``` diff --git a/old_docs/API_docs_v65/constructors/server_DH_params_ok.md b/old_docs/API_docs_v65/constructors/server_DH_params_ok.md index 1876910b..6c296a39 100644 --- a/old_docs/API_docs_v65/constructors/server_DH_params_ok.md +++ b/old_docs/API_docs_v65/constructors/server_DH_params_ok.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server_nonce' => int128, 'encrypted_answer' => 'string']; ``` @@ -34,10 +34,9 @@ $server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua server_DH_params_ok={_='server_DH_params_ok', nonce=int128, server_nonce=int128, encrypted_answer='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/shippingOption.md b/old_docs/API_docs_v65/constructors/shippingOption.md index 6f0cbc4c..863fd128 100644 --- a/old_docs/API_docs_v65/constructors/shippingOption.md +++ b/old_docs/API_docs_v65/constructors/shippingOption.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string', 'prices' => [LabeledPrice, LabeledPrice]]; ``` @@ -34,10 +34,9 @@ $shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua shippingOption={_='shippingOption', id='string', title='string', prices={LabeledPrice}} ``` diff --git a/old_docs/API_docs_v65/constructors/stickerPack.md b/old_docs/API_docs_v65/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v65/constructors/stickerPack.md +++ b/old_docs/API_docs_v65/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v65/constructors/stickerSet.md b/old_docs/API_docs_v65/constructors/stickerSet.md index afa3b21f..059e4ae7 100644 --- a/old_docs/API_docs_v65/constructors/stickerSet.md +++ b/old_docs/API_docs_v65/constructors/stickerSet.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -41,10 +41,9 @@ $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'of ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', installed=Bool, archived=Bool, official=Bool, masks=Bool, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/old_docs/API_docs_v65/constructors/stickerSetCovered.md b/old_docs/API_docs_v65/constructors/stickerSetCovered.md index cc1c806e..127b821f 100644 --- a/old_docs/API_docs_v65/constructors/stickerSetCovered.md +++ b/old_docs/API_docs_v65/constructors/stickerSetCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document]; ``` @@ -33,10 +33,9 @@ $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetCovered={_='stickerSetCovered', set=StickerSet, cover=Document} ``` diff --git a/old_docs/API_docs_v65/constructors/stickerSetMultiCovered.md b/old_docs/API_docs_v65/constructors/stickerSetMultiCovered.md index 74d10e38..9fc0ad35 100644 --- a/old_docs/API_docs_v65/constructors/stickerSetMultiCovered.md +++ b/old_docs/API_docs_v65/constructors/stickerSetMultiCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetMultiCovered={_='stickerSetMultiCovered', set=StickerSet, covers={Document}} ``` diff --git a/old_docs/API_docs_v65/constructors/storage_fileGif.md b/old_docs/API_docs_v65/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v65/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v65/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v65/constructors/storage_fileJpeg.md b/old_docs/API_docs_v65/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v65/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v65/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v65/constructors/storage_fileMov.md b/old_docs/API_docs_v65/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v65/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v65/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v65/constructors/storage_fileMp3.md b/old_docs/API_docs_v65/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v65/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v65/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v65/constructors/storage_fileMp4.md b/old_docs/API_docs_v65/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v65/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v65/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v65/constructors/storage_filePartial.md b/old_docs/API_docs_v65/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v65/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v65/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v65/constructors/storage_filePdf.md b/old_docs/API_docs_v65/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v65/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v65/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v65/constructors/storage_filePng.md b/old_docs/API_docs_v65/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v65/constructors/storage_filePng.md +++ b/old_docs/API_docs_v65/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v65/constructors/storage_fileUnknown.md b/old_docs/API_docs_v65/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v65/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v65/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v65/constructors/storage_fileWebp.md b/old_docs/API_docs_v65/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v65/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v65/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v65/constructors/textBold.md b/old_docs/API_docs_v65/constructors/textBold.md index 52b668f6..f847ab68 100644 --- a/old_docs/API_docs_v65/constructors/textBold.md +++ b/old_docs/API_docs_v65/constructors/textBold.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textBold = ['_' => 'textBold', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textBold = ['_' => 'textBold', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textBold={_='textBold', text=RichText} ``` diff --git a/old_docs/API_docs_v65/constructors/textConcat.md b/old_docs/API_docs_v65/constructors/textConcat.md index 3f2656ed..ee998a7e 100644 --- a/old_docs/API_docs_v65/constructors/textConcat.md +++ b/old_docs/API_docs_v65/constructors/textConcat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textConcat = ['_' => 'textConcat', 'texts' => [RichText, RichText]]; ``` @@ -32,10 +32,9 @@ $textConcat = ['_' => 'textConcat', 'texts' => [RichText, RichText]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textConcat={_='textConcat', texts={RichText}} ``` diff --git a/old_docs/API_docs_v65/constructors/textEmail.md b/old_docs/API_docs_v65/constructors/textEmail.md index 0b546415..6a1a2ba2 100644 --- a/old_docs/API_docs_v65/constructors/textEmail.md +++ b/old_docs/API_docs_v65/constructors/textEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` @@ -33,10 +33,9 @@ $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textEmail={_='textEmail', text=RichText, email='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/textEmpty.md b/old_docs/API_docs_v65/constructors/textEmpty.md index 4e96adb3..dfe867ed 100644 --- a/old_docs/API_docs_v65/constructors/textEmpty.md +++ b/old_docs/API_docs_v65/constructors/textEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textEmpty = ['_' => 'textEmpty']; ``` @@ -27,10 +27,9 @@ $textEmpty = ['_' => 'textEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textEmpty={_='textEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/textFixed.md b/old_docs/API_docs_v65/constructors/textFixed.md index e40767d9..a83607fa 100644 --- a/old_docs/API_docs_v65/constructors/textFixed.md +++ b/old_docs/API_docs_v65/constructors/textFixed.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textFixed={_='textFixed', text=RichText} ``` diff --git a/old_docs/API_docs_v65/constructors/textItalic.md b/old_docs/API_docs_v65/constructors/textItalic.md index e32fbec2..4aa819b6 100644 --- a/old_docs/API_docs_v65/constructors/textItalic.md +++ b/old_docs/API_docs_v65/constructors/textItalic.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textItalic={_='textItalic', text=RichText} ``` diff --git a/old_docs/API_docs_v65/constructors/textPlain.md b/old_docs/API_docs_v65/constructors/textPlain.md index 2e654fde..9f83d5fa 100644 --- a/old_docs/API_docs_v65/constructors/textPlain.md +++ b/old_docs/API_docs_v65/constructors/textPlain.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textPlain={_='textPlain', text='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/textStrike.md b/old_docs/API_docs_v65/constructors/textStrike.md index 0090e980..0329cbd9 100644 --- a/old_docs/API_docs_v65/constructors/textStrike.md +++ b/old_docs/API_docs_v65/constructors/textStrike.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textStrike={_='textStrike', text=RichText} ``` diff --git a/old_docs/API_docs_v65/constructors/textUnderline.md b/old_docs/API_docs_v65/constructors/textUnderline.md index 843d0a9a..adee0d2f 100644 --- a/old_docs/API_docs_v65/constructors/textUnderline.md +++ b/old_docs/API_docs_v65/constructors/textUnderline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textUnderline={_='textUnderline', text=RichText} ``` diff --git a/old_docs/API_docs_v65/constructors/textUrl.md b/old_docs/API_docs_v65/constructors/textUrl.md index 6938f27e..bb497739 100644 --- a/old_docs/API_docs_v65/constructors/textUrl.md +++ b/old_docs/API_docs_v65/constructors/textUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id' => long]; ``` @@ -34,10 +34,9 @@ $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textUrl={_='textUrl', text=RichText, url='string', webpage_id=long} ``` diff --git a/old_docs/API_docs_v65/constructors/topPeer.md b/old_docs/API_docs_v65/constructors/topPeer.md index aa49751b..fff00b7d 100644 --- a/old_docs/API_docs_v65/constructors/topPeer.md +++ b/old_docs/API_docs_v65/constructors/topPeer.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` @@ -33,10 +33,9 @@ $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeer={_='topPeer', peer=Peer, rating=double} ``` diff --git a/old_docs/API_docs_v65/constructors/topPeerCategoryBotsInline.md b/old_docs/API_docs_v65/constructors/topPeerCategoryBotsInline.md index 1d57e310..3f7906e2 100644 --- a/old_docs/API_docs_v65/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v65/constructors/topPeerCategoryBotsInline.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsInline={_='topPeerCategoryBotsInline'} ``` diff --git a/old_docs/API_docs_v65/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v65/constructors/topPeerCategoryBotsPM.md index f6207626..78f54b44 100644 --- a/old_docs/API_docs_v65/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v65/constructors/topPeerCategoryBotsPM.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsPM={_='topPeerCategoryBotsPM'} ``` diff --git a/old_docs/API_docs_v65/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v65/constructors/topPeerCategoryChannels.md index 8f0e1fcb..02947d85 100644 --- a/old_docs/API_docs_v65/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v65/constructors/topPeerCategoryChannels.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryChannels={_='topPeerCategoryChannels'} ``` diff --git a/old_docs/API_docs_v65/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v65/constructors/topPeerCategoryCorrespondents.md index 9435610d..c0362f78 100644 --- a/old_docs/API_docs_v65/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v65/constructors/topPeerCategoryCorrespondents.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents'} ``` diff --git a/old_docs/API_docs_v65/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v65/constructors/topPeerCategoryGroups.md index 3b6859df..dddb951c 100644 --- a/old_docs/API_docs_v65/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v65/constructors/topPeerCategoryGroups.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryGroups={_='topPeerCategoryGroups'} ``` diff --git a/old_docs/API_docs_v65/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v65/constructors/topPeerCategoryPeers.md index 886ab6f9..36d071f6 100644 --- a/old_docs/API_docs_v65/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v65/constructors/topPeerCategoryPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer, TopPeer]]; ``` @@ -34,10 +34,9 @@ $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}} ``` diff --git a/old_docs/API_docs_v65/constructors/true.md b/old_docs/API_docs_v65/constructors/true.md index 2e27ecbf..4863f16b 100644 --- a/old_docs/API_docs_v65/constructors/true.md +++ b/old_docs/API_docs_v65/constructors/true.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $true = ['_' => 'true']; ``` @@ -27,10 +27,9 @@ $true = ['_' => 'true']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua true={_='true'} ``` diff --git a/old_docs/API_docs_v65/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v65/constructors/updateBotCallbackQuery.md index 2216e362..389295a0 100644 --- a/old_docs/API_docs_v65/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v65/constructors/updateBotCallbackQuery.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -38,10 +38,9 @@ $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v65/constructors/updateBotInlineQuery.md index 1cc45358..ed15d35f 100644 --- a/old_docs/API_docs_v65/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v65/constructors/updateBotInlineQuery.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` @@ -36,10 +36,9 @@ $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query='string', geo=GeoPoint, offset='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/updateBotInlineSend.md b/old_docs/API_docs_v65/constructors/updateBotInlineSend.md index fe6c01d3..dda18420 100644 --- a/old_docs/API_docs_v65/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v65/constructors/updateBotInlineSend.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` @@ -36,10 +36,9 @@ $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineSend={_='updateBotInlineSend', user_id=int, query='string', geo=GeoPoint, id='string', msg_id=InputBotInlineMessageID} ``` diff --git a/old_docs/API_docs_v65/constructors/updateBotPrecheckoutQuery.md b/old_docs/API_docs_v65/constructors/updateBotPrecheckoutQuery.md index f7e13668..94098aac 100644 --- a/old_docs/API_docs_v65/constructors/updateBotPrecheckoutQuery.md +++ b/old_docs/API_docs_v65/constructors/updateBotPrecheckoutQuery.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'currency' => 'string', 'total_amount' => long]; ``` @@ -38,10 +38,9 @@ $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotPrecheckoutQuery={_='updateBotPrecheckoutQuery', query_id=long, user_id=int, payload='bytes', info=PaymentRequestedInfo, shipping_option_id='string', currency='string', total_amount=long} ``` diff --git a/old_docs/API_docs_v65/constructors/updateBotShippingQuery.md b/old_docs/API_docs_v65/constructors/updateBotShippingQuery.md index b7413761..41735d33 100644 --- a/old_docs/API_docs_v65/constructors/updateBotShippingQuery.md +++ b/old_docs/API_docs_v65/constructors/updateBotShippingQuery.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'shipping_address' => PostAddress]; ``` @@ -35,10 +35,9 @@ $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotShippingQuery={_='updateBotShippingQuery', query_id=long, user_id=int, payload='bytes', shipping_address=PostAddress} ``` diff --git a/old_docs/API_docs_v65/constructors/updateBotWebhookJSON.md b/old_docs/API_docs_v65/constructors/updateBotWebhookJSON.md index c444fe16..3b917e17 100644 --- a/old_docs/API_docs_v65/constructors/updateBotWebhookJSON.md +++ b/old_docs/API_docs_v65/constructors/updateBotWebhookJSON.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` @@ -32,10 +32,9 @@ $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotWebhookJSON={_='updateBotWebhookJSON', data=DataJSON} ``` diff --git a/old_docs/API_docs_v65/constructors/updateBotWebhookJSONQuery.md b/old_docs/API_docs_v65/constructors/updateBotWebhookJSONQuery.md index c8014f35..9ede5002 100644 --- a/old_docs/API_docs_v65/constructors/updateBotWebhookJSONQuery.md +++ b/old_docs/API_docs_v65/constructors/updateBotWebhookJSONQuery.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => long, 'data' => DataJSON, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotWebhookJSONQuery={_='updateBotWebhookJSONQuery', query_id=long, data=DataJSON, timeout=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateChannel.md b/old_docs/API_docs_v65/constructors/updateChannel.md index e615920a..fb876328 100644 --- a/old_docs/API_docs_v65/constructors/updateChannel.md +++ b/old_docs/API_docs_v65/constructors/updateChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannel={_='updateChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v65/constructors/updateChannelMessageViews.md index 19e0b648..d62f055a 100644 --- a/old_docs/API_docs_v65/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v65/constructors/updateChannelMessageViews.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` @@ -34,10 +34,9 @@ $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateChannelPinnedMessage.md b/old_docs/API_docs_v65/constructors/updateChannelPinnedMessage.md index c6e66353..0d767fb8 100644 --- a/old_docs/API_docs_v65/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v65/constructors/updateChannelPinnedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateChannelTooLong.md b/old_docs/API_docs_v65/constructors/updateChannelTooLong.md index e42904d0..179a43dd 100644 --- a/old_docs/API_docs_v65/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v65/constructors/updateChannelTooLong.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateChannelWebPage.md b/old_docs/API_docs_v65/constructors/updateChannelWebPage.md index f1ae421b..7b037a9d 100644 --- a/old_docs/API_docs_v65/constructors/updateChannelWebPage.md +++ b/old_docs/API_docs_v65/constructors/updateChannelWebPage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'we ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelWebPage={_='updateChannelWebPage', channel_id=int, webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateChatAdmins.md b/old_docs/API_docs_v65/constructors/updateChatAdmins.md index 87ffd626..aac09762 100644 --- a/old_docs/API_docs_v65/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v65/constructors/updateChatAdmins.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v65/constructors/updateChatParticipantAdd.md index ea5157ad..fe76dc62 100644 --- a/old_docs/API_docs_v65/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v65/constructors/updateChatParticipantAdd.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` @@ -36,10 +36,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v65/constructors/updateChatParticipantAdmin.md index b1022850..d262b2e6 100644 --- a/old_docs/API_docs_v65/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v65/constructors/updateChatParticipantAdmin.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v65/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v65/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v65/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateChatParticipants.md b/old_docs/API_docs_v65/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v65/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v65/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v65/constructors/updateChatUserTyping.md b/old_docs/API_docs_v65/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v65/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v65/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v65/constructors/updateConfig.md b/old_docs/API_docs_v65/constructors/updateConfig.md index 6f25cf11..6d67156d 100644 --- a/old_docs/API_docs_v65/constructors/updateConfig.md +++ b/old_docs/API_docs_v65/constructors/updateConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateConfig = ['_' => 'updateConfig']; ``` @@ -27,10 +27,9 @@ $updateConfig = ['_' => 'updateConfig']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateConfig={_='updateConfig'} ``` diff --git a/old_docs/API_docs_v65/constructors/updateContactLink.md b/old_docs/API_docs_v65/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v65/constructors/updateContactLink.md +++ b/old_docs/API_docs_v65/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v65/constructors/updateContactRegistered.md b/old_docs/API_docs_v65/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v65/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v65/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateDcOptions.md b/old_docs/API_docs_v65/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v65/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v65/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v65/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v65/constructors/updateDeleteChannelMessages.md index 0f84f3f7..8fb10b65 100644 --- a/old_docs/API_docs_v65/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v65/constructors/updateDeleteChannelMessages.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateDeleteMessages.md b/old_docs/API_docs_v65/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v65/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v65/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateDialogPinned.md b/old_docs/API_docs_v65/constructors/updateDialogPinned.md index 8ecafcfd..ba2c9090 100644 --- a/old_docs/API_docs_v65/constructors/updateDialogPinned.md +++ b/old_docs/API_docs_v65/constructors/updateDialogPinned.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer]; ``` @@ -33,10 +33,9 @@ $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDialogPinned={_='updateDialogPinned', pinned=Bool, peer=Peer} ``` diff --git a/old_docs/API_docs_v65/constructors/updateDraftMessage.md b/old_docs/API_docs_v65/constructors/updateDraftMessage.md index 7e759a4f..1bf7c2a4 100644 --- a/old_docs/API_docs_v65/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v65/constructors/updateDraftMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage]; ``` @@ -33,10 +33,9 @@ $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => D ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v65/constructors/updateEditChannelMessage.md b/old_docs/API_docs_v65/constructors/updateEditChannelMessage.md index 959c433a..485afae1 100644 --- a/old_docs/API_docs_v65/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v65/constructors/updateEditChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateEditMessage.md b/old_docs/API_docs_v65/constructors/updateEditMessage.md index f9f820e8..9f986f86 100644 --- a/old_docs/API_docs_v65/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v65/constructors/updateEditMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v65/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v65/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v65/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v65/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v65/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v65/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateEncryption.md b/old_docs/API_docs_v65/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v65/constructors/updateEncryption.md +++ b/old_docs/API_docs_v65/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateInlineBotCallbackQuery.md b/old_docs/API_docs_v65/constructors/updateInlineBotCallbackQuery.md index b1b40479..fb112694 100644 --- a/old_docs/API_docs_v65/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v65/constructors/updateInlineBotCallbackQuery.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -37,10 +37,9 @@ $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/updateMessageID.md b/old_docs/API_docs_v65/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v65/constructors/updateMessageID.md +++ b/old_docs/API_docs_v65/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v65/constructors/updateNewChannelMessage.md index 59dbc820..9fa1c7ec 100644 --- a/old_docs/API_docs_v65/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v65/constructors/updateNewChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Messa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v65/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v65/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v65/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateNewMessage.md b/old_docs/API_docs_v65/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v65/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v65/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateNewStickerSet.md b/old_docs/API_docs_v65/constructors/updateNewStickerSet.md index c36d4617..5ba327ea 100644 --- a/old_docs/API_docs_v65/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v65/constructors/updateNewStickerSet.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` @@ -32,10 +32,9 @@ $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_S ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} ``` diff --git a/old_docs/API_docs_v65/constructors/updateNotifySettings.md b/old_docs/API_docs_v65/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v65/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v65/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v65/constructors/updatePhoneCall.md b/old_docs/API_docs_v65/constructors/updatePhoneCall.md index 61730eae..445e1fc0 100644 --- a/old_docs/API_docs_v65/constructors/updatePhoneCall.md +++ b/old_docs/API_docs_v65/constructors/updatePhoneCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` @@ -32,10 +32,9 @@ $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePhoneCall={_='updatePhoneCall', phone_call=PhoneCall} ``` diff --git a/old_docs/API_docs_v65/constructors/updatePinnedDialogs.md b/old_docs/API_docs_v65/constructors/updatePinnedDialogs.md index 4d082bed..4a99a7bd 100644 --- a/old_docs/API_docs_v65/constructors/updatePinnedDialogs.md +++ b/old_docs/API_docs_v65/constructors/updatePinnedDialogs.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer, Peer]]; ``` @@ -32,10 +32,9 @@ $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer, Peer]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePinnedDialogs={_='updatePinnedDialogs', order={Peer}} ``` diff --git a/old_docs/API_docs_v65/constructors/updatePrivacy.md b/old_docs/API_docs_v65/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v65/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v65/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v65/constructors/updatePtsChanged.md b/old_docs/API_docs_v65/constructors/updatePtsChanged.md index 76b49a1f..dac1d461 100644 --- a/old_docs/API_docs_v65/constructors/updatePtsChanged.md +++ b/old_docs/API_docs_v65/constructors/updatePtsChanged.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` @@ -27,10 +27,9 @@ $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePtsChanged={_='updatePtsChanged'} ``` diff --git a/old_docs/API_docs_v65/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v65/constructors/updateReadChannelInbox.md index be964e20..c8c26acb 100644 --- a/old_docs/API_docs_v65/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v65/constructors/updateReadChannelInbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateReadChannelOutbox.md b/old_docs/API_docs_v65/constructors/updateReadChannelOutbox.md index c725d108..664108d1 100644 --- a/old_docs/API_docs_v65/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v65/constructors/updateReadChannelOutbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelOutbox={_='updateReadChannelOutbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateReadFeaturedStickers.md b/old_docs/API_docs_v65/constructors/updateReadFeaturedStickers.md index ea46d41f..af7fd3d7 100644 --- a/old_docs/API_docs_v65/constructors/updateReadFeaturedStickers.md +++ b/old_docs/API_docs_v65/constructors/updateReadFeaturedStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` @@ -27,10 +27,9 @@ $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadFeaturedStickers={_='updateReadFeaturedStickers'} ``` diff --git a/old_docs/API_docs_v65/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v65/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v65/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v65/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v65/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v65/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v65/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v65/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/old_docs/API_docs_v65/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v65/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateRecentStickers.md b/old_docs/API_docs_v65/constructors/updateRecentStickers.md index cb15d01f..6f9acb77 100644 --- a/old_docs/API_docs_v65/constructors/updateRecentStickers.md +++ b/old_docs/API_docs_v65/constructors/updateRecentStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` @@ -27,10 +27,9 @@ $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateRecentStickers={_='updateRecentStickers'} ``` diff --git a/old_docs/API_docs_v65/constructors/updateSavedGifs.md b/old_docs/API_docs_v65/constructors/updateSavedGifs.md index dd17f321..ea5619fc 100644 --- a/old_docs/API_docs_v65/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v65/constructors/updateSavedGifs.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` @@ -27,10 +27,9 @@ $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v65/constructors/updateServiceNotification.md b/old_docs/API_docs_v65/constructors/updateServiceNotification.md index 1da6885f..0833007b 100644 --- a/old_docs/API_docs_v65/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v65/constructors/updateServiceNotification.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -37,10 +37,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', popup=Bool, inbox_date=int, type='string', message='string', media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v65/constructors/updateShort.md b/old_docs/API_docs_v65/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v65/constructors/updateShort.md +++ b/old_docs/API_docs_v65/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updateShortChatMessage.md b/old_docs/API_docs_v65/constructors/updateShortChatMessage.md index d62e0729..cbeb4739 100644 --- a/old_docs/API_docs_v65/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v65/constructors/updateShortChatMessage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -46,10 +46,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'ment ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v65/constructors/updateShortMessage.md b/old_docs/API_docs_v65/constructors/updateShortMessage.md index d4effcb8..a8348773 100644 --- a/old_docs/API_docs_v65/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v65/constructors/updateShortMessage.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -45,10 +45,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v65/constructors/updateShortSentMessage.md b/old_docs/API_docs_v65/constructors/updateShortSentMessage.md index fd7035c3..2a318e56 100644 --- a/old_docs/API_docs_v65/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v65/constructors/updateShortSentMessage.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -38,10 +38,9 @@ $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v65/constructors/updateStickerSets.md b/old_docs/API_docs_v65/constructors/updateStickerSets.md index 4f045d67..e4cc23a0 100644 --- a/old_docs/API_docs_v65/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v65/constructors/updateStickerSets.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSets = ['_' => 'updateStickerSets']; ``` @@ -27,10 +27,9 @@ $updateStickerSets = ['_' => 'updateStickerSets']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v65/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v65/constructors/updateStickerSetsOrder.md index e36470ad..74405f69 100644 --- a/old_docs/API_docs_v65/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v65/constructors/updateStickerSetsOrder.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long, long]]; ``` @@ -33,10 +33,9 @@ $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'or ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSetsOrder={_='updateStickerSetsOrder', masks=Bool, order={long}} ``` diff --git a/old_docs/API_docs_v65/constructors/updateUserBlocked.md b/old_docs/API_docs_v65/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v65/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v65/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v65/constructors/updateUserName.md b/old_docs/API_docs_v65/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v65/constructors/updateUserName.md +++ b/old_docs/API_docs_v65/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/updateUserPhone.md b/old_docs/API_docs_v65/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v65/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v65/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/updateUserPhoto.md b/old_docs/API_docs_v65/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v65/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v65/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v65/constructors/updateUserStatus.md b/old_docs/API_docs_v65/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v65/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v65/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v65/constructors/updateUserTyping.md b/old_docs/API_docs_v65/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v65/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v65/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v65/constructors/updateWebPage.md b/old_docs/API_docs_v65/constructors/updateWebPage.md index 9f468619..932d8ff2 100644 --- a/old_docs/API_docs_v65/constructors/updateWebPage.md +++ b/old_docs/API_docs_v65/constructors/updateWebPage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updates.md b/old_docs/API_docs_v65/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v65/constructors/updates.md +++ b/old_docs/API_docs_v65/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updatesCombined.md b/old_docs/API_docs_v65/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v65/constructors/updatesCombined.md +++ b/old_docs/API_docs_v65/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updatesTooLong.md b/old_docs/API_docs_v65/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v65/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v65/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v65/constructors/updates_channelDifference.md b/old_docs/API_docs_v65/constructors/updates_channelDifference.md index 21b618c2..df1dafd6 100644 --- a/old_docs/API_docs_v65/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v65/constructors/updates_channelDifference.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v65/constructors/updates_channelDifferenceEmpty.md index a2e49340..a5be0377 100644 --- a/old_docs/API_docs_v65/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v65/constructors/updates_channelDifferenceEmpty.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'fin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v65/constructors/updates_channelDifferenceTooLong.md index 0debd690..8f7e8b2f 100644 --- a/old_docs/API_docs_v65/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v65/constructors/updates_channelDifferenceTooLong.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -41,10 +41,9 @@ $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v65/constructors/updates_difference.md b/old_docs/API_docs_v65/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v65/constructors/updates_difference.md +++ b/old_docs/API_docs_v65/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v65/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v65/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v65/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v65/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updates_differenceSlice.md b/old_docs/API_docs_v65/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v65/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v65/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v65/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v65/constructors/updates_differenceTooLong.md index da55eddf..2e96fdd5 100644 --- a/old_docs/API_docs_v65/constructors/updates_differenceTooLong.md +++ b/old_docs/API_docs_v65/constructors/updates_differenceTooLong.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` @@ -32,10 +32,9 @@ $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceTooLong={_='updates.differenceTooLong', pts=int} ``` diff --git a/old_docs/API_docs_v65/constructors/updates_state.md b/old_docs/API_docs_v65/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v65/constructors/updates_state.md +++ b/old_docs/API_docs_v65/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v65/constructors/upload_file.md b/old_docs/API_docs_v65/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v65/constructors/upload_file.md +++ b/old_docs/API_docs_v65/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v65/constructors/upload_webFile.md b/old_docs/API_docs_v65/constructors/upload_webFile.md index 296105ee..d94afb72 100644 --- a/old_docs/API_docs_v65/constructors/upload_webFile.md +++ b/old_docs/API_docs_v65/constructors/upload_webFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v65/constructors/user.md b/old_docs/API_docs_v65/constructors/user.md index a7cdf2b3..f21f6324 100644 --- a/old_docs/API_docs_v65/constructors/user.md +++ b/old_docs/API_docs_v65/constructors/user.md @@ -42,7 +42,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => 'string', 'bot_inline_placeholder' => 'string']; ``` @@ -53,10 +53,9 @@ $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, min=Bool, bot_inline_geo=Bool, id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason='string', bot_inline_placeholder='string'} ``` diff --git a/old_docs/API_docs_v65/constructors/userEmpty.md b/old_docs/API_docs_v65/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v65/constructors/userEmpty.md +++ b/old_docs/API_docs_v65/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/userFull.md b/old_docs/API_docs_v65/constructors/userFull.md index 0ab25737..00b03c07 100644 --- a/old_docs/API_docs_v65/constructors/userFull.md +++ b/old_docs/API_docs_v65/constructors/userFull.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` @@ -41,10 +41,9 @@ $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v65/constructors/userProfilePhoto.md b/old_docs/API_docs_v65/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v65/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v65/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v65/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v65/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v65/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v65/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/userStatusEmpty.md b/old_docs/API_docs_v65/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v65/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v65/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v65/constructors/userStatusLastMonth.md b/old_docs/API_docs_v65/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v65/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v65/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v65/constructors/userStatusLastWeek.md b/old_docs/API_docs_v65/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v65/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v65/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v65/constructors/userStatusOffline.md b/old_docs/API_docs_v65/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v65/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v65/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v65/constructors/userStatusOnline.md b/old_docs/API_docs_v65/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v65/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v65/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v65/constructors/userStatusRecently.md b/old_docs/API_docs_v65/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v65/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v65/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v65/constructors/wallPaper.md b/old_docs/API_docs_v65/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v65/constructors/wallPaper.md +++ b/old_docs/API_docs_v65/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v65/constructors/wallPaperSolid.md b/old_docs/API_docs_v65/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v65/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v65/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v65/constructors/webDocument.md b/old_docs/API_docs_v65/constructors/webDocument.md index 064367a3..67e158fa 100644 --- a/old_docs/API_docs_v65/constructors/webDocument.md +++ b/old_docs/API_docs_v65/constructors/webDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'dc_id' => int]; ``` @@ -37,10 +37,9 @@ $webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webDocument={_='webDocument', url='string', access_hash=long, size=int, mime_type='string', attributes={DocumentAttribute}, dc_id=int} ``` diff --git a/old_docs/API_docs_v65/constructors/webPage.md b/old_docs/API_docs_v65/constructors/webPage.md index 371b1e56..ee070624 100644 --- a/old_docs/API_docs_v65/constructors/webPage.md +++ b/old_docs/API_docs_v65/constructors/webPage.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'hash' => int, 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document, 'cached_page' => Page]; ``` @@ -48,10 +48,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', hash=int, type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document, cached_page=Page} ``` diff --git a/old_docs/API_docs_v65/constructors/webPageEmpty.md b/old_docs/API_docs_v65/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v65/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v65/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v65/constructors/webPageNotModified.md b/old_docs/API_docs_v65/constructors/webPageNotModified.md index 557c2947..a180dd51 100644 --- a/old_docs/API_docs_v65/constructors/webPageNotModified.md +++ b/old_docs/API_docs_v65/constructors/webPageNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageNotModified = ['_' => 'webPageNotModified']; ``` @@ -27,10 +27,9 @@ $webPageNotModified = ['_' => 'webPageNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageNotModified={_='webPageNotModified'} ``` diff --git a/old_docs/API_docs_v65/constructors/webPagePending.md b/old_docs/API_docs_v65/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v65/constructors/webPagePending.md +++ b/old_docs/API_docs_v65/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v65/methods/account_changePhone.md b/old_docs/API_docs_v65/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v65/methods/account_changePhone.md +++ b/old_docs/API_docs_v65/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/account_checkUsername.md b/old_docs/API_docs_v65/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v65/methods/account_checkUsername.md +++ b/old_docs/API_docs_v65/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/account_confirmPhone.md b/old_docs/API_docs_v65/methods/account_confirmPhone.md index a42b69b7..214f54e3 100644 --- a/old_docs/API_docs_v65/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v65/methods/account_confirmPhone.md @@ -25,7 +25,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.confirmPhone({phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/account_deleteAccount.md b/old_docs/API_docs_v65/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v65/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v65/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/account_getAccountTTL.md b/old_docs/API_docs_v65/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v65/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v65/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v65/methods/account_getAuthorizations.md b/old_docs/API_docs_v65/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v65/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v65/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v65/methods/account_getNotifySettings.md b/old_docs/API_docs_v65/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v65/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v65/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v65/methods/account_getPassword.md b/old_docs/API_docs_v65/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v65/methods/account_getPassword.md +++ b/old_docs/API_docs_v65/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v65/methods/account_getPasswordSettings.md b/old_docs/API_docs_v65/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v65/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v65/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v65/methods/account_getPrivacy.md b/old_docs/API_docs_v65/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v65/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v65/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v65/methods/account_getTmpPassword.md b/old_docs/API_docs_v65/methods/account_getTmpPassword.md index 504fbbc3..be75dc69 100644 --- a/old_docs/API_docs_v65/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v65/methods/account_getTmpPassword.md @@ -25,7 +25,7 @@ Get temporary password for buying products through bots ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua account_TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/account_getWallPapers.md b/old_docs/API_docs_v65/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v65/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v65/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v65/methods/account_registerDevice.md b/old_docs/API_docs_v65/methods/account_registerDevice.md index 25549dab..ed1fced0 100644 --- a/old_docs/API_docs_v65/methods/account_registerDevice.md +++ b/old_docs/API_docs_v65/methods/account_registerDevice.md @@ -25,7 +25,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/account_reportPeer.md b/old_docs/API_docs_v65/methods/account_reportPeer.md index d8c49851..673b48bf 100644 --- a/old_docs/API_docs_v65/methods/account_reportPeer.md +++ b/old_docs/API_docs_v65/methods/account_reportPeer.md @@ -25,7 +25,7 @@ Report for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reason - Json encoded ReportReason Or, if you're into Lua: -``` +```lua Bool = account.reportPeer({peer=InputPeer, reason=ReportReason, }) ``` diff --git a/old_docs/API_docs_v65/methods/account_resetAuthorization.md b/old_docs/API_docs_v65/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v65/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v65/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v65/methods/account_resetNotifySettings.md b/old_docs/API_docs_v65/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v65/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v65/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md index 33a001b9..123a5880 100644 --- a/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md @@ -26,7 +26,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md index a70ad5a3..5c2612c2 100644 --- a/old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md @@ -26,7 +26,7 @@ Send confirmation phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v65/methods/account_setAccountTTL.md b/old_docs/API_docs_v65/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v65/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v65/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v65/methods/account_setPrivacy.md b/old_docs/API_docs_v65/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v65/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v65/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v65/methods/account_unregisterDevice.md b/old_docs/API_docs_v65/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v65/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v65/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v65/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v65/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v65/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/account_updateNotifySettings.md b/old_docs/API_docs_v65/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v65/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v65/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v65/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v65/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v65/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v65/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v65/methods/account_updateProfile.md b/old_docs/API_docs_v65/methods/account_updateProfile.md index f415381f..f54515e5 100644 --- a/old_docs/API_docs_v65/methods/account_updateProfile.md +++ b/old_docs/API_docs_v65/methods/account_updateProfile.md @@ -26,7 +26,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', about='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/account_updateStatus.md b/old_docs/API_docs_v65/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v65/methods/account_updateStatus.md +++ b/old_docs/API_docs_v65/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v65/methods/account_updateUsername.md b/old_docs/API_docs_v65/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v65/methods/account_updateUsername.md +++ b/old_docs/API_docs_v65/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/auth_cancelCode.md b/old_docs/API_docs_v65/methods/auth_cancelCode.md index 0b53954c..352c88e9 100644 --- a/old_docs/API_docs_v65/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v65/methods/auth_cancelCode.md @@ -25,7 +25,7 @@ Invalidate sent phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/auth_checkPhone.md b/old_docs/API_docs_v65/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v65/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v65/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md index 26d63e12..64ce7528 100644 --- a/old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md @@ -24,7 +24,7 @@ Delete all temporary authorization keys except the ones provided ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ except_auth_keys - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = auth.dropTempAuthKeys({except_auth_keys={long}, }) ``` diff --git a/old_docs/API_docs_v65/methods/auth_recoverPassword.md b/old_docs/API_docs_v65/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v65/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v65/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v65/methods/auth_resendCode.md b/old_docs/API_docs_v65/methods/auth_resendCode.md index 28350d37..4ce58975 100644 --- a/old_docs/API_docs_v65/methods/auth_resendCode.md +++ b/old_docs/API_docs_v65/methods/auth_resendCode.md @@ -25,7 +25,7 @@ Resend the SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v65/methods/auth_sendInvites.md b/old_docs/API_docs_v65/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v65/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v65/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md index 6ed252ff..33b6c2a3 100644 --- a/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md @@ -25,7 +25,7 @@ Send webhook request via bot API ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ data - Json encoded DataJSON Or, if you're into Lua: -``` +```lua Bool = bots.answerWebhookJSONQuery({query_id=long, data=DataJSON, }) ``` diff --git a/old_docs/API_docs_v65/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v65/methods/bots_sendCustomRequest.md index d14215ec..bd368df5 100644 --- a/old_docs/API_docs_v65/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v65/methods/bots_sendCustomRequest.md @@ -25,7 +25,7 @@ Send a custom request to the bot API ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ params - Json encoded DataJSON Or, if you're into Lua: -``` +```lua DataJSON = bots.sendCustomRequest({custom_method='string', params=DataJSON, }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_checkUsername.md b/old_docs/API_docs_v65/methods/channels_checkUsername.md index d287b3ca..573bf8f0 100644 --- a/old_docs/API_docs_v65/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v65/methods/channels_checkUsername.md @@ -25,7 +25,7 @@ Check if this username is free and can be assigned to a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.checkUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_createChannel.md b/old_docs/API_docs_v65/methods/channels_createChannel.md index 356f473a..1821c864 100644 --- a/old_docs/API_docs_v65/methods/channels_createChannel.md +++ b/old_docs/API_docs_v65/methods/channels_createChannel.md @@ -27,7 +27,7 @@ Create channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title='string', about='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_deleteChannel.md b/old_docs/API_docs_v65/methods/channels_deleteChannel.md index b55d91b8..a79ccb9f 100644 --- a/old_docs/API_docs_v65/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v65/methods/channels_deleteChannel.md @@ -24,7 +24,7 @@ Delete a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.deleteChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_deleteMessages.md b/old_docs/API_docs_v65/methods/channels_deleteMessages.md index 03625c94..8cd7ebb3 100644 --- a/old_docs/API_docs_v65/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v65/methods/channels_deleteMessages.md @@ -25,7 +25,7 @@ Delete channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v65/methods/channels_deleteUserHistory.md index 204a8786..78baa90f 100644 --- a/old_docs/API_docs_v65/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v65/methods/channels_deleteUserHistory.md @@ -25,7 +25,7 @@ Delete all messages of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_editAbout.md b/old_docs/API_docs_v65/methods/channels_editAbout.md index fd861133..549d7ea5 100644 --- a/old_docs/API_docs_v65/methods/channels_editAbout.md +++ b/old_docs/API_docs_v65/methods/channels_editAbout.md @@ -25,7 +25,7 @@ Edit the about text of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.editAbout({channel=InputChannel, about='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_editAdmin.md b/old_docs/API_docs_v65/methods/channels_editAdmin.md index bc0793fe..b41561e0 100644 --- a/old_docs/API_docs_v65/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v65/methods/channels_editAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ role - Json encoded ChannelParticipantRole Or, if you're into Lua: -``` +```lua Updates = channels.editAdmin({channel=InputChannel, user_id=InputUser, role=ChannelParticipantRole, }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_editPhoto.md b/old_docs/API_docs_v65/methods/channels_editPhoto.md index ccbaed65..7013c6e2 100644 --- a/old_docs/API_docs_v65/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v65/methods/channels_editPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = channels.editPhoto({channel=InputChannel, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_editTitle.md b/old_docs/API_docs_v65/methods/channels_editTitle.md index ffd868ba..a9c8c50f 100644 --- a/old_docs/API_docs_v65/methods/channels_editTitle.md +++ b/old_docs/API_docs_v65/methods/channels_editTitle.md @@ -25,7 +25,7 @@ Edit the title of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.editTitle({channel=InputChannel, title='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_exportInvite.md b/old_docs/API_docs_v65/methods/channels_exportInvite.md index 0b4b5c31..5a92097a 100644 --- a/old_docs/API_docs_v65/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v65/methods/channels_exportInvite.md @@ -24,7 +24,7 @@ Export the invite link of a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua ExportedChatInvite = channels.exportInvite({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_exportMessageLink.md b/old_docs/API_docs_v65/methods/channels_exportMessageLink.md index f42068f4..a2e2cc10 100644 --- a/old_docs/API_docs_v65/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v65/methods/channels_exportMessageLink.md @@ -25,7 +25,7 @@ Get the link of a message in a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua ExportedMessageLink = channels.exportMessageLink({channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v65/methods/channels_getAdminedPublicChannels.md index 67ee8bd4..dc2c29ed 100644 --- a/old_docs/API_docs_v65/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v65/methods/channels_getAdminedPublicChannels.md @@ -19,7 +19,7 @@ Get all supergroups/channels where you're admin ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v65/methods/channels_getChannels.md b/old_docs/API_docs_v65/methods/channels_getChannels.md index 71edac7b..a146be1e 100644 --- a/old_docs/API_docs_v65/methods/channels_getChannels.md +++ b/old_docs/API_docs_v65/methods/channels_getChannels.md @@ -24,7 +24,7 @@ Get info about multiple channels/supergroups ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputChannel Or, if you're into Lua: -``` +```lua messages_Chats = channels.getChannels({id={InputChannel}, }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_getMessages.md b/old_docs/API_docs_v65/methods/channels_getMessages.md index 217757eb..208cbcc4 100644 --- a/old_docs/API_docs_v65/methods/channels_getMessages.md +++ b/old_docs/API_docs_v65/methods/channels_getMessages.md @@ -25,7 +25,7 @@ Get channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_getParticipant.md b/old_docs/API_docs_v65/methods/channels_getParticipant.md index a641d213..9cf80799 100644 --- a/old_docs/API_docs_v65/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v65/methods/channels_getParticipant.md @@ -25,7 +25,7 @@ Get info about a certain channel/supergroup participant ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_getParticipants.md b/old_docs/API_docs_v65/methods/channels_getParticipants.md index c2f0cdcd..3d4dfa13 100644 --- a/old_docs/API_docs_v65/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v65/methods/channels_getParticipants.md @@ -27,7 +27,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_inviteToChannel.md b/old_docs/API_docs_v65/methods/channels_inviteToChannel.md index 0a350cc8..998e3895 100644 --- a/old_docs/API_docs_v65/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v65/methods/channels_inviteToChannel.md @@ -25,7 +25,7 @@ Add users to channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ users - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Updates = channels.inviteToChannel({channel=InputChannel, users={InputUser}, }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_joinChannel.md b/old_docs/API_docs_v65/methods/channels_joinChannel.md index aae2bc1c..3c6a3b94 100644 --- a/old_docs/API_docs_v65/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v65/methods/channels_joinChannel.md @@ -24,7 +24,7 @@ Join a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.joinChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_kickFromChannel.md b/old_docs/API_docs_v65/methods/channels_kickFromChannel.md index c51cea7c..7586bdf6 100644 --- a/old_docs/API_docs_v65/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v65/methods/channels_kickFromChannel.md @@ -26,7 +26,7 @@ Kick user from channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ kicked - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.kickFromChannel({channel=InputChannel, user_id=InputUser, kicked=Bool, }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_leaveChannel.md b/old_docs/API_docs_v65/methods/channels_leaveChannel.md index 4e6701fe..0934089f 100644 --- a/old_docs/API_docs_v65/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v65/methods/channels_leaveChannel.md @@ -24,7 +24,7 @@ Leave a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.leaveChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_readHistory.md b/old_docs/API_docs_v65/methods/channels_readHistory.md index d76919ff..cf5c1529 100644 --- a/old_docs/API_docs_v65/methods/channels_readHistory.md +++ b/old_docs/API_docs_v65/methods/channels_readHistory.md @@ -25,7 +25,7 @@ Mark channel/supergroup history as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.readHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_reportSpam.md b/old_docs/API_docs_v65/methods/channels_reportSpam.md index 48022662..b0e99eb1 100644 --- a/old_docs/API_docs_v65/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v65/methods/channels_reportSpam.md @@ -26,7 +26,7 @@ Report a message in a supergroup/channel for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.reportSpam({channel=InputChannel, user_id=InputUser, id={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_toggleInvites.md b/old_docs/API_docs_v65/methods/channels_toggleInvites.md index d0023b70..bed6ba15 100644 --- a/old_docs/API_docs_v65/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v65/methods/channels_toggleInvites.md @@ -25,7 +25,7 @@ Allow or disallow any user to invite users to this channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleInvites({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_toggleSignatures.md b/old_docs/API_docs_v65/methods/channels_toggleSignatures.md index 337e8627..c9fe18cc 100644 --- a/old_docs/API_docs_v65/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v65/methods/channels_toggleSignatures.md @@ -25,7 +25,7 @@ Toggle channel signatures ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleSignatures({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md index c79c5904..9d2cc058 100644 --- a/old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md @@ -26,7 +26,7 @@ Set the pinned message of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = channels.updatePinnedMessage({silent=Bool, channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/channels_updateUsername.md b/old_docs/API_docs_v65/methods/channels_updateUsername.md index 2e07e123..c0df8c7c 100644 --- a/old_docs/API_docs_v65/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v65/methods/channels_updateUsername.md @@ -25,7 +25,7 @@ Update the username of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.updateUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/contacts_block.md b/old_docs/API_docs_v65/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v65/methods/contacts_block.md +++ b/old_docs/API_docs_v65/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v65/methods/contacts_deleteContact.md b/old_docs/API_docs_v65/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v65/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v65/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v65/methods/contacts_deleteContacts.md b/old_docs/API_docs_v65/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v65/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v65/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v65/methods/contacts_exportCard.md b/old_docs/API_docs_v65/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v65/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v65/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v65/methods/contacts_getBlocked.md b/old_docs/API_docs_v65/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v65/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v65/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/contacts_getContacts.md b/old_docs/API_docs_v65/methods/contacts_getContacts.md index ccf0f99d..dfa407f2 100644 --- a/old_docs/API_docs_v65/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v65/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/contacts_getStatuses.md b/old_docs/API_docs_v65/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v65/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v65/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v65/methods/contacts_getTopPeers.md b/old_docs/API_docs_v65/methods/contacts_getTopPeers.md index 1d3f7b21..f92611a2 100644 --- a/old_docs/API_docs_v65/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v65/methods/contacts_getTopPeers.md @@ -31,7 +31,7 @@ Get most used chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/contacts_importCard.md b/old_docs/API_docs_v65/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v65/methods/contacts_importCard.md +++ b/old_docs/API_docs_v65/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/contacts_importContacts.md b/old_docs/API_docs_v65/methods/contacts_importContacts.md index d0404dd2..f1b17e2c 100644 --- a/old_docs/API_docs_v65/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v65/methods/contacts_importContacts.md @@ -25,7 +25,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ replace - Json encoded Bool Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md index 96ae48ac..94a07f54 100644 --- a/old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md @@ -25,7 +25,7 @@ Reset top peer rating for a certain category/peer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = contacts.resetTopPeerRating({category=TopPeerCategory, peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v65/methods/contacts_search.md b/old_docs/API_docs_v65/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v65/methods/contacts_search.md +++ b/old_docs/API_docs_v65/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/contacts_unblock.md b/old_docs/API_docs_v65/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v65/methods/contacts_unblock.md +++ b/old_docs/API_docs_v65/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md b/old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md index 5761cdc8..2776a131 100644 --- a/old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md @@ -28,7 +28,7 @@ Save developer info for telegram contest ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ city - Json encoded string Or, if you're into Lua: -``` +```lua Bool = contest.saveDeveloperInfo({vk_id=int, name='string', phone_number='string', age=int, city='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/destroy_auth_key.md b/old_docs/API_docs_v65/methods/destroy_auth_key.md index b5adfce0..aff3981b 100644 --- a/old_docs/API_docs_v65/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v65/methods/destroy_auth_key.md @@ -19,7 +19,7 @@ Destroy current authorization key ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua DestroyAuthKeyRes = destroy_auth_key({}) ``` diff --git a/old_docs/API_docs_v65/methods/destroy_session.md b/old_docs/API_docs_v65/methods/destroy_session.md index 6892d9a0..d7472c3e 100644 --- a/old_docs/API_docs_v65/methods/destroy_session.md +++ b/old_docs/API_docs_v65/methods/destroy_session.md @@ -24,7 +24,7 @@ Destroy the current MTProto session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ session_id - Json encoded long Or, if you're into Lua: -``` +```lua DestroySessionRes = destroy_session({session_id=long, }) ``` diff --git a/old_docs/API_docs_v65/methods/get_future_salts.md b/old_docs/API_docs_v65/methods/get_future_salts.md index 94f0f8ca..2ab445b6 100644 --- a/old_docs/API_docs_v65/methods/get_future_salts.md +++ b/old_docs/API_docs_v65/methods/get_future_salts.md @@ -24,7 +24,7 @@ Get future salts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ num - Json encoded int Or, if you're into Lua: -``` +```lua FutureSalts = get_future_salts({num=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/help_getAppChangelog.md b/old_docs/API_docs_v65/methods/help_getAppChangelog.md index 10b972c1..179eaf3a 100644 --- a/old_docs/API_docs_v65/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v65/methods/help_getAppChangelog.md @@ -24,7 +24,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ prev_app_version - Json encoded string Or, if you're into Lua: -``` +```lua Updates = help.getAppChangelog({prev_app_version='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/help_getAppUpdate.md b/old_docs/API_docs_v65/methods/help_getAppUpdate.md index 4ddc0e4d..541b5972 100644 --- a/old_docs/API_docs_v65/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v65/methods/help_getAppUpdate.md @@ -19,7 +19,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v65/methods/help_getConfig.md b/old_docs/API_docs_v65/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v65/methods/help_getConfig.md +++ b/old_docs/API_docs_v65/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v65/methods/help_getInviteText.md b/old_docs/API_docs_v65/methods/help_getInviteText.md index 1510e64f..f05ac4ac 100644 --- a/old_docs/API_docs_v65/methods/help_getInviteText.md +++ b/old_docs/API_docs_v65/methods/help_getInviteText.md @@ -19,7 +19,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v65/methods/help_getNearestDc.md b/old_docs/API_docs_v65/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v65/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v65/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v65/methods/help_getSupport.md b/old_docs/API_docs_v65/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v65/methods/help_getSupport.md +++ b/old_docs/API_docs_v65/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v65/methods/help_getTermsOfService.md b/old_docs/API_docs_v65/methods/help_getTermsOfService.md index bf421bf6..95d51e60 100644 --- a/old_docs/API_docs_v65/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v65/methods/help_getTermsOfService.md @@ -19,7 +19,7 @@ Get terms of service ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v65/methods/help_saveAppLog.md b/old_docs/API_docs_v65/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v65/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v65/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md index 0429f8a0..53736da7 100644 --- a/old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md @@ -25,7 +25,7 @@ Set the update status of webhook ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = help.setBotUpdatesStatus({pending_updates_count=int, message='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/initConnection.md b/old_docs/API_docs_v65/methods/initConnection.md index 58cdb067..e34794f8 100644 --- a/old_docs/API_docs_v65/methods/initConnection.md +++ b/old_docs/API_docs_v65/methods/initConnection.md @@ -29,7 +29,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v65/methods/invokeAfterMsg.md b/old_docs/API_docs_v65/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v65/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v65/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v65/methods/invokeAfterMsgs.md b/old_docs/API_docs_v65/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v65/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v65/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v65/methods/invokeWithLayer.md b/old_docs/API_docs_v65/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v65/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v65/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v65/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v65/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/old_docs/API_docs_v65/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v65/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_addChatUser.md b/old_docs/API_docs_v65/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v65/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v65/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_checkChatInvite.md b/old_docs/API_docs_v65/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/old_docs/API_docs_v65/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v65/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v65/methods/messages_clearRecentStickers.md index 56634143..53e1fa4f 100644 --- a/old_docs/API_docs_v65/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v65/methods/messages_clearRecentStickers.md @@ -24,7 +24,7 @@ Clear all recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ attached - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.clearRecentStickers({attached=Bool, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_createChat.md b/old_docs/API_docs_v65/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v65/methods/messages_createChat.md +++ b/old_docs/API_docs_v65/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_deleteChatUser.md b/old_docs/API_docs_v65/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v65/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v65/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_deleteHistory.md b/old_docs/API_docs_v65/methods/messages_deleteHistory.md index 866ba216..33d1ca52 100644 --- a/old_docs/API_docs_v65/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v65/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_deleteMessages.md b/old_docs/API_docs_v65/methods/messages_deleteMessages.md index eaf9cd86..9158e8bd 100644 --- a/old_docs/API_docs_v65/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v65/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_editChatAdmin.md b/old_docs/API_docs_v65/methods/messages_editChatAdmin.md index a2dad97f..f883b50e 100644 --- a/old_docs/API_docs_v65/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v65/methods/messages_editChatAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ is_admin - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.editChatAdmin({chat_id=InputPeer, user_id=InputUser, is_admin=Bool, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_editChatPhoto.md b/old_docs/API_docs_v65/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v65/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v65/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_editChatTitle.md b/old_docs/API_docs_v65/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v65/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v65/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md index c669c8d7..6c04ab6f 100644 --- a/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md @@ -29,7 +29,7 @@ Edit a sent inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -66,7 +66,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.editInlineBotMessage({no_webpage=Bool, id=InputBotInlineMessageID, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_editMessage.md b/old_docs/API_docs_v65/methods/messages_editMessage.md index 7af0cfd9..db5cc876 100644 --- a/old_docs/API_docs_v65/methods/messages_editMessage.md +++ b/old_docs/API_docs_v65/methods/messages_editMessage.md @@ -30,7 +30,7 @@ Edit a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -67,7 +67,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.editMessage({no_webpage=Bool, peer=InputPeer, id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_exportChatInvite.md b/old_docs/API_docs_v65/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/old_docs/API_docs_v65/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v65/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_forwardMessage.md b/old_docs/API_docs_v65/methods/messages_forwardMessage.md index 586670b8..d9c0453f 100644 --- a/old_docs/API_docs_v65/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v65/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_forwardMessages.md b/old_docs/API_docs_v65/methods/messages_forwardMessages.md index 99815a44..caf61d66 100644 --- a/old_docs/API_docs_v65/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v65/methods/messages_forwardMessages.md @@ -29,7 +29,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ to_peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({silent=Bool, background=Bool, with_my_score=Bool, from_peer=InputPeer, id={int}, to_peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getAllChats.md b/old_docs/API_docs_v65/methods/messages_getAllChats.md index 663af07c..38cbbbae 100644 --- a/old_docs/API_docs_v65/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v65/methods/messages_getAllChats.md @@ -24,7 +24,7 @@ Get all chats (not supergroups or channels) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ except_ids - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getAllChats({except_ids={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getAllDrafts.md b/old_docs/API_docs_v65/methods/messages_getAllDrafts.md index 31aa8176..7300e01a 100644 --- a/old_docs/API_docs_v65/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v65/methods/messages_getAllDrafts.md @@ -19,7 +19,7 @@ Get all message drafts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Updates = messages.getAllDrafts({}) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getAllStickers.md b/old_docs/API_docs_v65/methods/messages_getAllStickers.md index 966af122..c25a823b 100644 --- a/old_docs/API_docs_v65/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v65/methods/messages_getArchivedStickers.md index e98ab6ec..ef79ee6e 100644 --- a/old_docs/API_docs_v65/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getArchivedStickers.md @@ -26,7 +26,7 @@ Get all archived stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v65/methods/messages_getAttachedStickers.md index 0e221a84..9ada6655 100644 --- a/old_docs/API_docs_v65/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getAttachedStickers.md @@ -24,7 +24,7 @@ Get stickers attachable to images ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ media - Json encoded InputStickeredMedia Or, if you're into Lua: -``` +```lua Vector_of_StickerSetCovered = messages.getAttachedStickers({media=InputStickeredMedia, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md index ffcd8a2e..b4f1d02f 100644 --- a/old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md @@ -27,7 +27,7 @@ Get the callback answer of a bot (after clicking a button) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ data - Json encoded bytes Or, if you're into Lua: -``` +```lua messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getChats.md b/old_docs/API_docs_v65/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v65/methods/messages_getChats.md +++ b/old_docs/API_docs_v65/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getCommonChats.md b/old_docs/API_docs_v65/methods/messages_getCommonChats.md index e6921d5e..83237f64 100644 --- a/old_docs/API_docs_v65/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v65/methods/messages_getCommonChats.md @@ -26,7 +26,7 @@ Get chats in common with a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getDialogs.md b/old_docs/API_docs_v65/methods/messages_getDialogs.md index 694c916f..0bc314b5 100644 --- a/old_docs/API_docs_v65/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_getDialogs.md @@ -28,7 +28,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v65/methods/messages_getDocumentByHash.md index 5b6f6f21..00f0a558 100644 --- a/old_docs/API_docs_v65/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v65/methods/messages_getDocumentByHash.md @@ -26,7 +26,7 @@ Get document by SHA256 hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ mime_type - Json encoded string Or, if you're into Lua: -``` +```lua Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md index a837377b..c257621e 100644 --- a/old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md @@ -24,7 +24,7 @@ Get featured stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getGameHighScores.md b/old_docs/API_docs_v65/methods/messages_getGameHighScores.md index f7837998..a97fb1ff 100644 --- a/old_docs/API_docs_v65/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v65/methods/messages_getGameHighScores.md @@ -26,7 +26,7 @@ Get high scores of a game ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getHistory.md b/old_docs/API_docs_v65/methods/messages_getHistory.md index 76d20b70..23f2d6e9 100644 --- a/old_docs/API_docs_v65/methods/messages_getHistory.md +++ b/old_docs/API_docs_v65/methods/messages_getHistory.md @@ -30,7 +30,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v65/methods/messages_getInlineBotResults.md index 03b5d845..73f2deb2 100644 --- a/old_docs/API_docs_v65/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v65/methods/messages_getInlineBotResults.md @@ -28,7 +28,7 @@ Call inline bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ offset - Json encoded string Or, if you're into Lua: -``` +```lua messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v65/methods/messages_getInlineGameHighScores.md index e8be8e81..046c1cfb 100644 --- a/old_docs/API_docs_v65/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v65/methods/messages_getInlineGameHighScores.md @@ -25,7 +25,7 @@ Get high scores of a game sent in an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getMaskStickers.md b/old_docs/API_docs_v65/methods/messages_getMaskStickers.md index 55c4edea..06fd153e 100644 --- a/old_docs/API_docs_v65/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getMaskStickers.md @@ -24,7 +24,7 @@ Get masks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getMessageEditData.md b/old_docs/API_docs_v65/methods/messages_getMessageEditData.md index 2c44a1dc..77e2c030 100644 --- a/old_docs/API_docs_v65/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v65/methods/messages_getMessageEditData.md @@ -25,7 +25,7 @@ Check if about to edit a message or a media caption ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getMessages.md b/old_docs/API_docs_v65/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v65/methods/messages_getMessages.md +++ b/old_docs/API_docs_v65/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getMessagesViews.md b/old_docs/API_docs_v65/methods/messages_getMessagesViews.md index 57a99054..b2b6110e 100644 --- a/old_docs/API_docs_v65/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v65/methods/messages_getMessagesViews.md @@ -26,7 +26,7 @@ Get and increase message views ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ increment - Json encoded Bool Or, if you're into Lua: -``` +```lua Vector_of_int = messages.getMessagesViews({peer=InputPeer, id={int}, increment=Bool, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v65/methods/messages_getPeerDialogs.md index ca746b3b..a34873df 100644 --- a/old_docs/API_docs_v65/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_getPeerDialogs.md @@ -24,7 +24,7 @@ Get dialog info of peers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peers - Json encoded array of InputPeer Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getPeerSettings.md b/old_docs/API_docs_v65/methods/messages_getPeerSettings.md index 92d4697a..e2b3ec4f 100644 --- a/old_docs/API_docs_v65/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v65/methods/messages_getPeerSettings.md @@ -24,7 +24,7 @@ Get the settings of apeer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua PeerSettings = messages.getPeerSettings({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md index 634f4c41..77eb98ce 100644 --- a/old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md @@ -19,7 +19,7 @@ Get pinned dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPinnedDialogs({}) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getRecentStickers.md b/old_docs/API_docs_v65/methods/messages_getRecentStickers.md index d89272fd..939fd036 100644 --- a/old_docs/API_docs_v65/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getRecentStickers.md @@ -25,7 +25,7 @@ Get recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getSavedGifs.md b/old_docs/API_docs_v65/methods/messages_getSavedGifs.md index cafba4e1..1a879907 100644 --- a/old_docs/API_docs_v65/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v65/methods/messages_getSavedGifs.md @@ -24,7 +24,7 @@ Get saved gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getStickerSet.md b/old_docs/API_docs_v65/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/old_docs/API_docs_v65/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v65/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getWebPage.md b/old_docs/API_docs_v65/methods/messages_getWebPage.md index fb7152af..9237d4b7 100644 --- a/old_docs/API_docs_v65/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v65/methods/messages_getWebPage.md @@ -25,7 +25,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua WebPage = messages.getWebPage({url='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v65/methods/messages_getWebPagePreview.md index 8475c8f5..4838be94 100644 --- a/old_docs/API_docs_v65/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v65/methods/messages_getWebPagePreview.md @@ -24,7 +24,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_hideReportSpam.md b/old_docs/API_docs_v65/methods/messages_hideReportSpam.md index 17a7f8ef..1c0d72c5 100644 --- a/old_docs/API_docs_v65/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v65/methods/messages_hideReportSpam.md @@ -24,7 +24,7 @@ Hide report spam popup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.hideReportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_importChatInvite.md b/old_docs/API_docs_v65/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/old_docs/API_docs_v65/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v65/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_installStickerSet.md b/old_docs/API_docs_v65/methods/messages_installStickerSet.md index 88131136..6bdb9390 100644 --- a/old_docs/API_docs_v65/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v65/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ archived - Json encoded Bool Or, if you're into Lua: -``` +```lua messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_migrateChat.md b/old_docs/API_docs_v65/methods/messages_migrateChat.md index df91f510..e789ff7d 100644 --- a/old_docs/API_docs_v65/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v65/methods/messages_migrateChat.md @@ -24,7 +24,7 @@ Convert chat to supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.migrateChat({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md index 2c34ac0f..9fef6621 100644 --- a/old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md @@ -24,7 +24,7 @@ Mark new featured stickers as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.readFeaturedStickers({id={long}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_readHistory.md b/old_docs/API_docs_v65/methods/messages_readHistory.md index 48d7fb45..4a2188d8 100644 --- a/old_docs/API_docs_v65/methods/messages_readHistory.md +++ b/old_docs/API_docs_v65/methods/messages_readHistory.md @@ -25,7 +25,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_readMessageContents.md b/old_docs/API_docs_v65/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v65/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v65/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_receivedMessages.md b/old_docs/API_docs_v65/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/old_docs/API_docs_v65/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v65/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md index 4d2cb53e..d8aeefa7 100644 --- a/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md @@ -25,7 +25,7 @@ Reorder pinned dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reorderPinnedDialogs({force=Bool, order={InputPeer}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v65/methods/messages_reorderStickerSets.md index c1c35ef6..cd73daa0 100644 --- a/old_docs/API_docs_v65/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v65/methods/messages_reorderStickerSets.md @@ -25,7 +25,7 @@ Reorder sticker sets ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.reorderStickerSets({masks=Bool, order={long}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md index dffdffc9..5d5f0dab 100644 --- a/old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md @@ -24,7 +24,7 @@ Report for spam a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputEncryptedChat Or, if you're into Lua: -``` +```lua Bool = messages.reportEncryptedSpam({peer=InputEncryptedChat, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_reportSpam.md b/old_docs/API_docs_v65/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/old_docs/API_docs_v65/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v65/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_saveDraft.md b/old_docs/API_docs_v65/methods/messages_saveDraft.md index ede72c41..14e69f93 100644 --- a/old_docs/API_docs_v65/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v65/methods/messages_saveDraft.md @@ -29,7 +29,7 @@ Save a message draft ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -57,7 +57,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.saveDraft({no_webpage=Bool, reply_to_msg_id=int, peer=InputPeer, message='string', entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_saveGif.md b/old_docs/API_docs_v65/methods/messages_saveGif.md index adae6d86..dfa956ab 100644 --- a/old_docs/API_docs_v65/methods/messages_saveGif.md +++ b/old_docs/API_docs_v65/methods/messages_saveGif.md @@ -25,7 +25,7 @@ Save a GIF ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveGif({id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v65/methods/messages_saveRecentSticker.md index 9cd06ea1..1abf524f 100644 --- a/old_docs/API_docs_v65/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v65/methods/messages_saveRecentSticker.md @@ -26,7 +26,7 @@ Add a sticker to recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveRecentSticker({attached=Bool, id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_search.md b/old_docs/API_docs_v65/methods/messages_search.md index 4c373c29..b4549f38 100644 --- a/old_docs/API_docs_v65/methods/messages_search.md +++ b/old_docs/API_docs_v65/methods/messages_search.md @@ -31,7 +31,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_searchGifs.md b/old_docs/API_docs_v65/methods/messages_searchGifs.md index 1ef77d23..a12cdd21 100644 --- a/old_docs/API_docs_v65/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v65/methods/messages_searchGifs.md @@ -25,7 +25,7 @@ Search gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_searchGlobal.md b/old_docs/API_docs_v65/methods/messages_searchGlobal.md index 4d05bf0d..1fb73592 100644 --- a/old_docs/API_docs_v65/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v65/methods/messages_searchGlobal.md @@ -28,7 +28,7 @@ Global message search ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_sendEncrypted.md b/old_docs/API_docs_v65/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v65/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v65/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v65/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v65/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v65/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md index 8de674c6..37fae63a 100644 --- a/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md @@ -30,7 +30,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ id - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.sendInlineBotResult({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_sendMedia.md b/old_docs/API_docs_v65/methods/messages_sendMedia.md index 2290e52e..7c4e0dcf 100644 --- a/old_docs/API_docs_v65/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v65/methods/messages_sendMedia.md @@ -30,7 +30,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, media=InputMedia, reply_markup=ReplyMarkup, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_sendMessage.md b/old_docs/API_docs_v65/methods/messages_sendMessage.md index 77790562..9cdc74eb 100644 --- a/old_docs/API_docs_v65/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v65/methods/messages_sendMessage.md @@ -33,7 +33,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMessage({no_webpage=Bool, silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md index 0395b468..47d74918 100644 --- a/old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md @@ -28,7 +28,7 @@ Bots only: set the callback answer (after a button was clicked) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ cache_time - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message='string', url='string', cache_time=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v65/methods/messages_setBotPrecheckoutResults.md index 486ab585..92e8ea5a 100644 --- a/old_docs/API_docs_v65/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v65/methods/messages_setBotPrecheckoutResults.md @@ -26,7 +26,7 @@ Bots only: set precheckout results ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ error - Json encoded string Or, if you're into Lua: -``` +```lua Bool = messages.setBotPrecheckoutResults({success=Bool, query_id=long, error='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v65/methods/messages_setBotShippingResults.md index a9e43c49..6e223219 100644 --- a/old_docs/API_docs_v65/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v65/methods/messages_setBotShippingResults.md @@ -26,7 +26,7 @@ Bots only: set shipping results ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ shipping_options - Json encoded array of ShippingOption Or, if you're into Lua: -``` +```lua Bool = messages.setBotShippingResults({query_id=long, error='string', shipping_options={ShippingOption}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_setGameScore.md b/old_docs/API_docs_v65/methods/messages_setGameScore.md index 41ee4591..1a50326e 100644 --- a/old_docs/API_docs_v65/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v65/methods/messages_setGameScore.md @@ -29,7 +29,7 @@ Set the game score ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.setGameScore({edit_message=Bool, force=Bool, peer=InputPeer, id=int, user_id=InputUser, score=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v65/methods/messages_setInlineBotResults.md index 443a028e..e1ebe4e3 100644 --- a/old_docs/API_docs_v65/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v65/methods/messages_setInlineBotResults.md @@ -30,7 +30,7 @@ Bots only: set the results of an inline query ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: -``` +```lua Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset='string', switch_pm=InlineBotSwitchPM, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v65/methods/messages_setInlineGameScore.md index 0d97b9bf..76db49dd 100644 --- a/old_docs/API_docs_v65/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v65/methods/messages_setInlineGameScore.md @@ -28,7 +28,7 @@ Set the game score of an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setInlineGameScore({edit_message=Bool, force=Bool, id=InputBotInlineMessageID, user_id=InputUser, score=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_setTyping.md b/old_docs/API_docs_v65/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v65/methods/messages_setTyping.md +++ b/old_docs/API_docs_v65/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_startBot.md b/old_docs/API_docs_v65/methods/messages_startBot.md index 506957a7..71f82822 100644 --- a/old_docs/API_docs_v65/methods/messages_startBot.md +++ b/old_docs/API_docs_v65/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md index 0f1e56fa..56438277 100644 --- a/old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md @@ -25,7 +25,7 @@ Enable all users are admins in normal groups (not supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = messages.toggleChatAdmins({chat_id=InputPeer, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v65/methods/messages_toggleDialogPin.md index 57f673a0..02adfd4b 100644 --- a/old_docs/API_docs_v65/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v65/methods/messages_toggleDialogPin.md @@ -25,7 +25,7 @@ Pin or unpin dialog ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.toggleDialogPin({pinned=Bool, peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v65/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v65/methods/payments_clearSavedInfo.md index 8ac2d538..1fb58ffa 100644 --- a/old_docs/API_docs_v65/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v65/methods/payments_clearSavedInfo.md @@ -25,7 +25,7 @@ Clear saved payments info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ info - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = payments.clearSavedInfo({credentials=Bool, info=Bool, }) ``` diff --git a/old_docs/API_docs_v65/methods/payments_getPaymentForm.md b/old_docs/API_docs_v65/methods/payments_getPaymentForm.md index c53c7d10..480e7d6d 100644 --- a/old_docs/API_docs_v65/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v65/methods/payments_getPaymentForm.md @@ -24,7 +24,7 @@ Get payment form ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ msg_id - Json encoded int Or, if you're into Lua: -``` +```lua payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md index b6bbb3e5..074aed0e 100644 --- a/old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md @@ -24,7 +24,7 @@ Get payment receipt ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ msg_id - Json encoded int Or, if you're into Lua: -``` +```lua payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/payments_getSavedInfo.md b/old_docs/API_docs_v65/methods/payments_getSavedInfo.md index acaa603f..df3796a2 100644 --- a/old_docs/API_docs_v65/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v65/methods/payments_getSavedInfo.md @@ -19,7 +19,7 @@ Get saved payments info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua payments_SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md index 5ac22160..582f446a 100644 --- a/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md @@ -27,7 +27,7 @@ Bots only: send payment form ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ credentials - Json encoded InputPaymentCredentials Or, if you're into Lua: -``` +```lua payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` diff --git a/old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md index bc60d68f..524c8515 100644 --- a/old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md @@ -26,7 +26,7 @@ Validate requested payment info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ info - Json encoded PaymentRequestedInfo Or, if you're into Lua: -``` +```lua payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` diff --git a/old_docs/API_docs_v65/methods/phone_getCallConfig.md b/old_docs/API_docs_v65/methods/phone_getCallConfig.md index dc8619e8..4ee97d2f 100644 --- a/old_docs/API_docs_v65/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v65/methods/phone_getCallConfig.md @@ -19,7 +19,7 @@ Get call configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua DataJSON = phone.getCallConfig({}) ``` diff --git a/old_docs/API_docs_v65/methods/phone_receivedCall.md b/old_docs/API_docs_v65/methods/phone_receivedCall.md index b6cebd0c..c030fe43 100644 --- a/old_docs/API_docs_v65/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v65/methods/phone_receivedCall.md @@ -24,7 +24,7 @@ Notify server that you received a call (server will refuse all incoming calls un ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPhoneCall Or, if you're into Lua: -``` +```lua Bool = phone.receivedCall({peer=InputPhoneCall, }) ``` diff --git a/old_docs/API_docs_v65/methods/phone_saveCallDebug.md b/old_docs/API_docs_v65/methods/phone_saveCallDebug.md index 176f0838..3aff7998 100644 --- a/old_docs/API_docs_v65/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v65/methods/phone_saveCallDebug.md @@ -25,7 +25,7 @@ Save call debugging info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ debug - Json encoded DataJSON Or, if you're into Lua: -``` +```lua Bool = phone.saveCallDebug({peer=InputPhoneCall, debug=DataJSON, }) ``` diff --git a/old_docs/API_docs_v65/methods/phone_setCallRating.md b/old_docs/API_docs_v65/methods/phone_setCallRating.md index 0861c10e..fa83b2c7 100644 --- a/old_docs/API_docs_v65/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v65/methods/phone_setCallRating.md @@ -26,7 +26,7 @@ Set phone call rating ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ comment - Json encoded string Or, if you're into Lua: -``` +```lua Updates = phone.setCallRating({peer=InputPhoneCall, rating=int, comment='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/photos_deletePhotos.md b/old_docs/API_docs_v65/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v65/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v65/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v65/methods/photos_getUserPhotos.md b/old_docs/API_docs_v65/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/old_docs/API_docs_v65/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v65/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md index 8eb42e5d..26ab417e 100644 --- a/old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md @@ -24,7 +24,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputPhoto Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, }) ``` diff --git a/old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md index 9b838b89..8d047d9a 100644 --- a/old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ file - Json encoded InputFile Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` diff --git a/old_docs/API_docs_v65/methods/ping.md b/old_docs/API_docs_v65/methods/ping.md index d07839e4..de80b551 100644 --- a/old_docs/API_docs_v65/methods/ping.md +++ b/old_docs/API_docs_v65/methods/ping.md @@ -24,7 +24,7 @@ pings the server ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ ping_id - Json encoded long Or, if you're into Lua: -``` +```lua Pong = ping({ping_id=long, }) ``` diff --git a/old_docs/API_docs_v65/methods/ping_delay_disconnect.md b/old_docs/API_docs_v65/methods/ping_delay_disconnect.md index 9b89e38d..337ba565 100644 --- a/old_docs/API_docs_v65/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v65/methods/ping_delay_disconnect.md @@ -25,7 +25,7 @@ Pings the server and causes disconection if the same method is not called within ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ disconnect_delay - Json encoded int Or, if you're into Lua: -``` +```lua Pong = ping_delay_disconnect({ping_id=long, disconnect_delay=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/req_DH_params.md b/old_docs/API_docs_v65/methods/req_DH_params.md index 54dd35a0..405e5acf 100644 --- a/old_docs/API_docs_v65/methods/req_DH_params.md +++ b/old_docs/API_docs_v65/methods/req_DH_params.md @@ -29,7 +29,7 @@ Requests Diffie-hellman parameters for key exchange ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ encrypted_data - Json encoded string Or, if you're into Lua: -``` +```lua Server_DH_Params = req_DH_params({nonce=int128, server_nonce=int128, p='string', q='string', public_key_fingerprint=long, encrypted_data='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/req_pq.md b/old_docs/API_docs_v65/methods/req_pq.md index 64da6ef7..8c764814 100644 --- a/old_docs/API_docs_v65/methods/req_pq.md +++ b/old_docs/API_docs_v65/methods/req_pq.md @@ -24,7 +24,7 @@ Requests PQ for factorization ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ nonce - Json encoded int128 Or, if you're into Lua: -``` +```lua ResPQ = req_pq({nonce=int128, }) ``` diff --git a/old_docs/API_docs_v65/methods/rpc_drop_answer.md b/old_docs/API_docs_v65/methods/rpc_drop_answer.md index 8e08d16b..8b81eefd 100644 --- a/old_docs/API_docs_v65/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v65/methods/rpc_drop_answer.md @@ -24,7 +24,7 @@ Do not send answer to provided request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ req_msg_id - Json encoded long Or, if you're into Lua: -``` +```lua RpcDropAnswer = rpc_drop_answer({req_msg_id=long, }) ``` diff --git a/old_docs/API_docs_v65/methods/set_client_DH_params.md b/old_docs/API_docs_v65/methods/set_client_DH_params.md index 41bbb00f..8bf36c8a 100644 --- a/old_docs/API_docs_v65/methods/set_client_DH_params.md +++ b/old_docs/API_docs_v65/methods/set_client_DH_params.md @@ -26,7 +26,7 @@ Sets client diffie-hellman parameters ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ encrypted_data - Json encoded string Or, if you're into Lua: -``` +```lua Set_client_DH_params_answer = set_client_DH_params({nonce=int128, server_nonce=int128, encrypted_data='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/upload_getWebFile.md b/old_docs/API_docs_v65/methods/upload_getWebFile.md index d7d5d631..16952ff9 100644 --- a/old_docs/API_docs_v65/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v65/methods/upload_getWebFile.md @@ -26,7 +26,7 @@ Download a file through telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/users_getUsers.md b/old_docs/API_docs_v65/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v65/methods/users_getUsers.md +++ b/old_docs/API_docs_v65/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v65/types/Chat.md b/old_docs/API_docs_v65/types/Chat.md index cd83aacb..58654e6e 100644 --- a/old_docs/API_docs_v65/types/Chat.md +++ b/old_docs/API_docs_v65/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v65/types/InputChannel.md b/old_docs/API_docs_v65/types/InputChannel.md index 3882099d..6dc802fc 100644 --- a/old_docs/API_docs_v65/types/InputChannel.md +++ b/old_docs/API_docs_v65/types/InputChannel.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputChannel = '@username'; // Username $InputChannel = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v65/types/InputEncryptedChat.md b/old_docs/API_docs_v65/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v65/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v65/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v65/types/InputEncryptedFile.md b/old_docs/API_docs_v65/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v65/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v65/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v65/types/InputFile.md b/old_docs/API_docs_v65/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v65/types/InputFile.md +++ b/old_docs/API_docs_v65/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v65/types/InputNotifyPeer.md b/old_docs/API_docs_v65/types/InputNotifyPeer.md index ffc1f0cf..f9d0a662 100644 --- a/old_docs/API_docs_v65/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v65/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v65/types/InputPeer.md b/old_docs/API_docs_v65/types/InputPeer.md index 2076c00b..2649db1a 100644 --- a/old_docs/API_docs_v65/types/InputPeer.md +++ b/old_docs/API_docs_v65/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v65/types/InputUser.md b/old_docs/API_docs_v65/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/old_docs/API_docs_v65/types/InputUser.md +++ b/old_docs/API_docs_v65/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v65/types/KeyboardButton.md b/old_docs/API_docs_v65/types/KeyboardButton.md index ac4b9e1e..69f33796 100644 --- a/old_docs/API_docs_v65/types/KeyboardButton.md +++ b/old_docs/API_docs_v65/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/old_docs/API_docs_v65/types/NotifyPeer.md b/old_docs/API_docs_v65/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v65/types/NotifyPeer.md +++ b/old_docs/API_docs_v65/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v65/types/Peer.md b/old_docs/API_docs_v65/types/Peer.md index ebb98e91..0ab7fdcc 100644 --- a/old_docs/API_docs_v65/types/Peer.md +++ b/old_docs/API_docs_v65/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v65/types/PhoneCall.md b/old_docs/API_docs_v65/types/PhoneCall.md index 64d95972..0aa87799 100644 --- a/old_docs/API_docs_v65/types/PhoneCall.md +++ b/old_docs/API_docs_v65/types/PhoneCall.md @@ -159,7 +159,7 @@ The audio configuration is an array structured in the following way: Easy as pie: -``` +```php $call->storage["pony"] = "fluttershy"; \danog\MadelineProto\Logger::log($call->storage["pony"]); // fluttershy ``` @@ -173,7 +173,7 @@ You can only modify the data saving mode, the network type, the logging file pat Example: -``` +```php $call->configuration["log_file_path"] = "logs".$call->getOtherID().".log"; // Default is /dev/null $call->configuration["stats_dump_file_path"] = "stats".$call->getOtherID().".log"; // Default is /dev/null $call->configuration["network_type"] = \danog\MadelineProto\VoIP::NET_TYPE_WIFI; // Default is NET_TYPE_ETHERNET diff --git a/old_docs/API_docs_v65/types/User.md b/old_docs/API_docs_v65/types/User.md index 3abd182f..425c8d2b 100644 --- a/old_docs/API_docs_v65/types/User.md +++ b/old_docs/API_docs_v65/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v66/constructors/accountDaysTTL.md b/old_docs/API_docs_v66/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v66/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v66/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v66/constructors/account_authorizations.md b/old_docs/API_docs_v66/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v66/constructors/account_authorizations.md +++ b/old_docs/API_docs_v66/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v66/constructors/account_noPassword.md b/old_docs/API_docs_v66/constructors/account_noPassword.md index 81a483d6..63a4af6d 100644 --- a/old_docs/API_docs_v66/constructors/account_noPassword.md +++ b/old_docs/API_docs_v66/constructors/account_noPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -33,10 +33,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'emai ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/account_password.md b/old_docs/API_docs_v66/constructors/account_password.md index 9a8b31c6..5c4c334b 100644 --- a/old_docs/API_docs_v66/constructors/account_password.md +++ b/old_docs/API_docs_v66/constructors/account_password.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` @@ -36,10 +36,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v66/constructors/account_passwordInputSettings.md index f474e0c7..b5838f0a 100644 --- a/old_docs/API_docs_v66/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v66/constructors/account_passwordInputSettings.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v66/constructors/account_passwordSettings.md b/old_docs/API_docs_v66/constructors/account_passwordSettings.md index 27d14f59..04fc8621 100644 --- a/old_docs/API_docs_v66/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v66/constructors/account_passwordSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v66/constructors/account_privacyRules.md b/old_docs/API_docs_v66/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v66/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v66/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v66/constructors/account_tmpPassword.md b/old_docs/API_docs_v66/constructors/account_tmpPassword.md index e16b6f3c..90d36e0e 100644 --- a/old_docs/API_docs_v66/constructors/account_tmpPassword.md +++ b/old_docs/API_docs_v66/constructors/account_tmpPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v66/constructors/auth_authorization.md b/old_docs/API_docs_v66/constructors/auth_authorization.md index c8133016..b858e501 100644 --- a/old_docs/API_docs_v66/constructors/auth_authorization.md +++ b/old_docs/API_docs_v66/constructors/auth_authorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v66/constructors/auth_checkedPhone.md b/old_docs/API_docs_v66/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v66/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v66/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v66/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v66/constructors/auth_codeTypeCall.md index 6a4f28d1..788a2c37 100644 --- a/old_docs/API_docs_v66/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v66/constructors/auth_codeTypeCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeCall={_='auth.codeTypeCall'} ``` diff --git a/old_docs/API_docs_v66/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v66/constructors/auth_codeTypeFlashCall.md index 2851bf4e..abb65fcf 100644 --- a/old_docs/API_docs_v66/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v66/constructors/auth_codeTypeFlashCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} ``` diff --git a/old_docs/API_docs_v66/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v66/constructors/auth_codeTypeSms.md index 04b78a3d..34b42c95 100644 --- a/old_docs/API_docs_v66/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v66/constructors/auth_codeTypeSms.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeSms={_='auth.codeTypeSms'} ``` diff --git a/old_docs/API_docs_v66/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v66/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v66/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v66/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v66/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v66/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v66/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v66/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v66/constructors/auth_sentCode.md b/old_docs/API_docs_v66/constructors/auth_sentCode.md index 0226e79e..2b3f2017 100644 --- a/old_docs/API_docs_v66/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v66/constructors/auth_sentCode.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; ``` @@ -36,10 +36,9 @@ $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} ``` diff --git a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeApp.md index eb4f4530..eba1784a 100644 --- a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeApp.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeCall.md index b72a7550..5948ce63 100644 --- a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeFlashCall.md index 2c59cad5..bcc7acf6 100644 --- a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeFlashCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeSms.md index db6858ea..3073333f 100644 --- a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeSms.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v66/constructors/authorization.md b/old_docs/API_docs_v66/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v66/constructors/authorization.md +++ b/old_docs/API_docs_v66/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v66/constructors/bad_msg_notification.md b/old_docs/API_docs_v66/constructors/bad_msg_notification.md index a9553b26..bf1b9309 100644 --- a/old_docs/API_docs_v66/constructors/bad_msg_notification.md +++ b/old_docs/API_docs_v66/constructors/bad_msg_notification.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int]; ``` @@ -34,10 +34,9 @@ $bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua bad_msg_notification={_='bad_msg_notification', bad_msg_id=long, bad_msg_seqno=int, error_code=int} ``` diff --git a/old_docs/API_docs_v66/constructors/bad_server_salt.md b/old_docs/API_docs_v66/constructors/bad_server_salt.md index 5abce2e0..9eba4882 100644 --- a/old_docs/API_docs_v66/constructors/bad_server_salt.md +++ b/old_docs/API_docs_v66/constructors/bad_server_salt.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, 'new_server_salt' => long]; ``` @@ -35,10 +35,9 @@ $bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seq ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua bad_server_salt={_='bad_server_salt', bad_msg_id=long, bad_msg_seqno=int, error_code=int, new_server_salt=long} ``` diff --git a/old_docs/API_docs_v66/constructors/botCommand.md b/old_docs/API_docs_v66/constructors/botCommand.md index 8569358d..fcb65461 100644 --- a/old_docs/API_docs_v66/constructors/botCommand.md +++ b/old_docs/API_docs_v66/constructors/botCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v66/constructors/botInfo.md b/old_docs/API_docs_v66/constructors/botInfo.md index 507f9f8c..ad88f390 100644 --- a/old_docs/API_docs_v66/constructors/botInfo.md +++ b/old_docs/API_docs_v66/constructors/botInfo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v66/constructors/botInlineMediaResult.md b/old_docs/API_docs_v66/constructors/botInlineMediaResult.md index 43454784..0131af98 100644 --- a/old_docs/API_docs_v66/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v66/constructors/botInlineMediaResult.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` @@ -38,10 +38,9 @@ $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} ``` diff --git a/old_docs/API_docs_v66/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v66/constructors/botInlineMessageMediaAuto.md index 71557e0c..89ef07e4 100644 --- a/old_docs/API_docs_v66/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v66/constructors/botInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v66/constructors/botInlineMessageMediaContact.md b/old_docs/API_docs_v66/constructors/botInlineMessageMediaContact.md index c3f25947..771472fa 100644 --- a/old_docs/API_docs_v66/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v66/constructors/botInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v66/constructors/botInlineMessageMediaGeo.md b/old_docs/API_docs_v66/constructors/botInlineMessageMediaGeo.md index c87e0dfe..24bf8b8d 100644 --- a/old_docs/API_docs_v66/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v66/constructors/botInlineMessageMediaGeo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v66/constructors/botInlineMessageMediaVenue.md b/old_docs/API_docs_v66/constructors/botInlineMessageMediaVenue.md index 4795ba75..8108a37c 100644 --- a/old_docs/API_docs_v66/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v66/constructors/botInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v66/constructors/botInlineMessageText.md b/old_docs/API_docs_v66/constructors/botInlineMessageText.md index 4a274d28..b3fa92ed 100644 --- a/old_docs/API_docs_v66/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v66/constructors/botInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v66/constructors/botInlineResult.md b/old_docs/API_docs_v66/constructors/botInlineResult.md index c7abbd71..8b6ead75 100644 --- a/old_docs/API_docs_v66/constructors/botInlineResult.md +++ b/old_docs/API_docs_v66/constructors/botInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` @@ -43,10 +43,9 @@ $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_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v66/constructors/cdnConfig.md b/old_docs/API_docs_v66/constructors/cdnConfig.md index 3df3585d..6487cf42 100644 --- a/old_docs/API_docs_v66/constructors/cdnConfig.md +++ b/old_docs/API_docs_v66/constructors/cdnConfig.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]]; ``` @@ -32,10 +32,9 @@ $cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}} ``` diff --git a/old_docs/API_docs_v66/constructors/cdnPublicKey.md b/old_docs/API_docs_v66/constructors/cdnPublicKey.md index 78ec2a83..2277ee59 100644 --- a/old_docs/API_docs_v66/constructors/cdnPublicKey.md +++ b/old_docs/API_docs_v66/constructors/cdnPublicKey.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v66/constructors/channel.md b/old_docs/API_docs_v66/constructors/channel.md index 489f65c7..98c32d4b 100644 --- a/old_docs/API_docs_v66/constructors/channel.md +++ b/old_docs/API_docs_v66/constructors/channel.md @@ -40,7 +40,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => 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']; ``` @@ -51,10 +51,9 @@ $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=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'} ``` diff --git a/old_docs/API_docs_v66/constructors/channelForbidden.md b/old_docs/API_docs_v66/constructors/channelForbidden.md index 27a78b5c..7d083e83 100644 --- a/old_docs/API_docs_v66/constructors/channelForbidden.md +++ b/old_docs/API_docs_v66/constructors/channelForbidden.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string']; ``` @@ -36,10 +36,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v66/constructors/channelFull.md b/old_docs/API_docs_v66/constructors/channelFull.md index c947a32e..671149f5 100644 --- a/old_docs/API_docs_v66/constructors/channelFull.md +++ b/old_docs/API_docs_v66/constructors/channelFull.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_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]; ``` @@ -48,10 +48,9 @@ $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, id=int, about='string', participants_count=int, admins_count=int, kicked_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} ``` diff --git a/old_docs/API_docs_v66/constructors/channelMessagesFilter.md b/old_docs/API_docs_v66/constructors/channelMessagesFilter.md index b19d3151..1b953ba3 100644 --- a/old_docs/API_docs_v66/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v66/constructors/channelMessagesFilter.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v66/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v66/constructors/channelMessagesFilterEmpty.md index 350e50de..a446b896 100644 --- a/old_docs/API_docs_v66/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v66/constructors/channelMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/channelParticipant.md b/old_docs/API_docs_v66/constructors/channelParticipant.md index c7de5400..dbcb792b 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipant.md +++ b/old_docs/API_docs_v66/constructors/channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v66/constructors/channelParticipantCreator.md b/old_docs/API_docs_v66/constructors/channelParticipantCreator.md index 86cafe0a..e999fb9c 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantCreator={_='channelParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/channelParticipantEditor.md b/old_docs/API_docs_v66/constructors/channelParticipantEditor.md index 37ae4bb0..7c7e4dc9 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantEditor.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v66/constructors/channelParticipantKicked.md b/old_docs/API_docs_v66/constructors/channelParticipantKicked.md index ccc454be..6bcc2e0f 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantKicked.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int} ``` diff --git a/old_docs/API_docs_v66/constructors/channelParticipantModerator.md b/old_docs/API_docs_v66/constructors/channelParticipantModerator.md index 90b4ab52..49c68acd 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantModerator.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int} ``` diff --git a/old_docs/API_docs_v66/constructors/channelParticipantSelf.md b/old_docs/API_docs_v66/constructors/channelParticipantSelf.md index 83864972..4b5949ac 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantSelf.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v66/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v66/constructors/channelParticipantsAdmins.md index c86cb9a4..4b0c30d4 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantsAdmins.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` @@ -27,10 +27,9 @@ $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v66/constructors/channelParticipantsBots.md b/old_docs/API_docs_v66/constructors/channelParticipantsBots.md index 30875f94..66e510c7 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantsBots.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` @@ -27,10 +27,9 @@ $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v66/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v66/constructors/channelParticipantsKicked.md index 7f026ceb..38cf128e 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantsKicked.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` @@ -27,10 +27,9 @@ $channelParticipantsKicked = ['_' => 'channelParticipantsKicked']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsKicked={_='channelParticipantsKicked'} ``` diff --git a/old_docs/API_docs_v66/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v66/constructors/channelParticipantsRecent.md index e4cb6466..51e57069 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantsRecent.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` @@ -27,10 +27,9 @@ $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v66/constructors/channelRoleEditor.md b/old_docs/API_docs_v66/constructors/channelRoleEditor.md index 86d953a9..1e472d2f 100644 --- a/old_docs/API_docs_v66/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v66/constructors/channelRoleEditor.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` @@ -27,10 +27,9 @@ $channelRoleEditor = ['_' => 'channelRoleEditor']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEditor={_='channelRoleEditor'} ``` diff --git a/old_docs/API_docs_v66/constructors/channelRoleEmpty.md b/old_docs/API_docs_v66/constructors/channelRoleEmpty.md index a50bb310..85d1c3fb 100644 --- a/old_docs/API_docs_v66/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v66/constructors/channelRoleEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` @@ -27,10 +27,9 @@ $channelRoleEmpty = ['_' => 'channelRoleEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleEmpty={_='channelRoleEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/channelRoleModerator.md b/old_docs/API_docs_v66/constructors/channelRoleModerator.md index 781f60ad..f242ff5c 100644 --- a/old_docs/API_docs_v66/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v66/constructors/channelRoleModerator.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` @@ -27,10 +27,9 @@ $channelRoleModerator = ['_' => 'channelRoleModerator']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelRoleModerator={_='channelRoleModerator'} ``` diff --git a/old_docs/API_docs_v66/constructors/channels_channelParticipant.md b/old_docs/API_docs_v66/constructors/channels_channelParticipant.md index bdf27b08..107502c5 100644 --- a/old_docs/API_docs_v66/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v66/constructors/channels_channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v66/constructors/channels_channelParticipants.md b/old_docs/API_docs_v66/constructors/channels_channelParticipants.md index 1b76b1e0..0402423f 100644 --- a/old_docs/API_docs_v66/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v66/constructors/channels_channelParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v66/constructors/chat.md b/old_docs/API_docs_v66/constructors/chat.md index 5ae1811d..b6f24f3e 100644 --- a/old_docs/API_docs_v66/constructors/chat.md +++ b/old_docs/API_docs_v66/constructors/chat.md @@ -33,7 +33,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -44,10 +44,9 @@ $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} ``` diff --git a/old_docs/API_docs_v66/constructors/chatEmpty.md b/old_docs/API_docs_v66/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v66/constructors/chatEmpty.md +++ b/old_docs/API_docs_v66/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/chatForbidden.md b/old_docs/API_docs_v66/constructors/chatForbidden.md index de5bb302..61c45660 100644 --- a/old_docs/API_docs_v66/constructors/chatForbidden.md +++ b/old_docs/API_docs_v66/constructors/chatForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v66/constructors/chatFull.md b/old_docs/API_docs_v66/constructors/chatFull.md index 6e138596..2a5f67f6 100644 --- a/old_docs/API_docs_v66/constructors/chatFull.md +++ b/old_docs/API_docs_v66/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v66/constructors/chatInvite.md b/old_docs/API_docs_v66/constructors/chatInvite.md index c0f14de6..54027d67 100644 --- a/old_docs/API_docs_v66/constructors/chatInvite.md +++ b/old_docs/API_docs_v66/constructors/chatInvite.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User, User]]; ``` @@ -39,10 +39,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v66/constructors/chatInviteAlready.md b/old_docs/API_docs_v66/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/old_docs/API_docs_v66/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v66/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/old_docs/API_docs_v66/constructors/chatInviteEmpty.md b/old_docs/API_docs_v66/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/old_docs/API_docs_v66/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v66/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/chatInviteExported.md b/old_docs/API_docs_v66/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/old_docs/API_docs_v66/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v66/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/chatParticipant.md b/old_docs/API_docs_v66/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v66/constructors/chatParticipant.md +++ b/old_docs/API_docs_v66/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v66/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v66/constructors/chatParticipantAdmin.md index 62aee9a4..63a38575 100644 --- a/old_docs/API_docs_v66/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v66/constructors/chatParticipantAdmin.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v66/constructors/chatParticipantCreator.md b/old_docs/API_docs_v66/constructors/chatParticipantCreator.md index 0fb7b6ef..75b9c4d4 100644 --- a/old_docs/API_docs_v66/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v66/constructors/chatParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantCreator={_='chatParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/chatParticipants.md b/old_docs/API_docs_v66/constructors/chatParticipants.md index 38af2ca5..ae254290 100644 --- a/old_docs/API_docs_v66/constructors/chatParticipants.md +++ b/old_docs/API_docs_v66/constructors/chatParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v66/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v66/constructors/chatParticipantsForbidden.md index 2ecdfe10..639b30ee 100644 --- a/old_docs/API_docs_v66/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v66/constructors/chatParticipantsForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v66/constructors/chatPhoto.md b/old_docs/API_docs_v66/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v66/constructors/chatPhoto.md +++ b/old_docs/API_docs_v66/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v66/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v66/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v66/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v66/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/client_DH_inner_data.md b/old_docs/API_docs_v66/constructors/client_DH_inner_data.md index 6ea505c8..d888f8be 100644 --- a/old_docs/API_docs_v66/constructors/client_DH_inner_data.md +++ b/old_docs/API_docs_v66/constructors/client_DH_inner_data.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'retry_id' => long, 'g_b' => 'string']; ``` @@ -35,10 +35,9 @@ $client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'serv ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua client_DH_inner_data={_='client_DH_inner_data', nonce=int128, server_nonce=int128, retry_id=long, g_b='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/config.md b/old_docs/API_docs_v66/constructors/config.md index 27e8bd05..3a02ca0b 100644 --- a/old_docs/API_docs_v66/constructors/config.md +++ b/old_docs/API_docs_v66/constructors/config.md @@ -50,7 +50,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, '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', 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -61,10 +61,9 @@ $config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'date' => int, 'expire ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', phonecalls_enabled=Bool, date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, tmp_sessions=int, pinned_dialogs_count_max=int, call_receive_timeout_ms=int, call_ring_timeout_ms=int, call_connect_timeout_ms=int, call_packet_timeout_ms=int, me_url_prefix='string', disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v66/constructors/contact.md b/old_docs/API_docs_v66/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v66/constructors/contact.md +++ b/old_docs/API_docs_v66/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v66/constructors/contactBlocked.md b/old_docs/API_docs_v66/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v66/constructors/contactBlocked.md +++ b/old_docs/API_docs_v66/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v66/constructors/contactLinkContact.md b/old_docs/API_docs_v66/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v66/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v66/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v66/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v66/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v66/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v66/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v66/constructors/contactLinkNone.md b/old_docs/API_docs_v66/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v66/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v66/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v66/constructors/contactLinkUnknown.md b/old_docs/API_docs_v66/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v66/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v66/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v66/constructors/contactStatus.md b/old_docs/API_docs_v66/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v66/constructors/contactStatus.md +++ b/old_docs/API_docs_v66/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v66/constructors/contacts_blocked.md b/old_docs/API_docs_v66/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v66/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v66/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v66/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v66/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v66/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/contacts_contacts.md b/old_docs/API_docs_v66/constructors/contacts_contacts.md index 34dae91a..ea16b38a 100644 --- a/old_docs/API_docs_v66/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v66/constructors/contacts_contacts.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v66/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v66/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v66/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v66/constructors/contacts_found.md b/old_docs/API_docs_v66/constructors/contacts_found.md index 7e0e458c..624fa475 100644 --- a/old_docs/API_docs_v66/constructors/contacts_found.md +++ b/old_docs/API_docs_v66/constructors/contacts_found.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/contacts_importedContacts.md b/old_docs/API_docs_v66/constructors/contacts_importedContacts.md index 7bf9c1bf..8b9012bb 100644 --- a/old_docs/API_docs_v66/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v66/constructors/contacts_importedContacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/contacts_link.md b/old_docs/API_docs_v66/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v66/constructors/contacts_link.md +++ b/old_docs/API_docs_v66/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v66/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v66/constructors/contacts_resolvedPeer.md index add29235..4aa323dd 100644 --- a/old_docs/API_docs_v66/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v66/constructors/contacts_resolvedPeer.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/contacts_topPeers.md b/old_docs/API_docs_v66/constructors/contacts_topPeers.md index 8777bff2..e4728594 100644 --- a/old_docs/API_docs_v66/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v66/constructors/contacts_topPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCatego ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v66/constructors/contacts_topPeersNotModified.md index 3aa2236a..7ec0114a 100644 --- a/old_docs/API_docs_v66/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v66/constructors/contacts_topPeersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeersNotModified={_='contacts.topPeersNotModified'} ``` diff --git a/old_docs/API_docs_v66/constructors/dataJSON.md b/old_docs/API_docs_v66/constructors/dataJSON.md index c49ec0c0..a6555aea 100644 --- a/old_docs/API_docs_v66/constructors/dataJSON.md +++ b/old_docs/API_docs_v66/constructors/dataJSON.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` @@ -32,10 +32,9 @@ $dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dataJSON={_='dataJSON', data='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/dcOption.md b/old_docs/API_docs_v66/constructors/dcOption.md index 08545e15..fad9c823 100644 --- a/old_docs/API_docs_v66/constructors/dcOption.md +++ b/old_docs/API_docs_v66/constructors/dcOption.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'cdn' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` @@ -38,10 +38,9 @@ $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, cdn=Bool, id=int, ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v66/constructors/destroy_auth_key_fail.md b/old_docs/API_docs_v66/constructors/destroy_auth_key_fail.md index 08f2aa59..4beb933f 100644 --- a/old_docs/API_docs_v66/constructors/destroy_auth_key_fail.md +++ b/old_docs/API_docs_v66/constructors/destroy_auth_key_fail.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail']; ``` @@ -27,10 +27,9 @@ $destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_auth_key_fail={_='destroy_auth_key_fail'} ``` diff --git a/old_docs/API_docs_v66/constructors/destroy_auth_key_none.md b/old_docs/API_docs_v66/constructors/destroy_auth_key_none.md index 1656ed53..301bbf37 100644 --- a/old_docs/API_docs_v66/constructors/destroy_auth_key_none.md +++ b/old_docs/API_docs_v66/constructors/destroy_auth_key_none.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_auth_key_none = ['_' => 'destroy_auth_key_none']; ``` @@ -27,10 +27,9 @@ $destroy_auth_key_none = ['_' => 'destroy_auth_key_none']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_auth_key_none={_='destroy_auth_key_none'} ``` diff --git a/old_docs/API_docs_v66/constructors/destroy_auth_key_ok.md b/old_docs/API_docs_v66/constructors/destroy_auth_key_ok.md index 944521fb..19f56968 100644 --- a/old_docs/API_docs_v66/constructors/destroy_auth_key_ok.md +++ b/old_docs/API_docs_v66/constructors/destroy_auth_key_ok.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok']; ``` @@ -27,10 +27,9 @@ $destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_auth_key_ok={_='destroy_auth_key_ok'} ``` diff --git a/old_docs/API_docs_v66/constructors/destroy_session_none.md b/old_docs/API_docs_v66/constructors/destroy_session_none.md index e20d06f5..470a0de8 100644 --- a/old_docs/API_docs_v66/constructors/destroy_session_none.md +++ b/old_docs/API_docs_v66/constructors/destroy_session_none.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long]; ``` @@ -32,10 +32,9 @@ $destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_session_none={_='destroy_session_none', session_id=long} ``` diff --git a/old_docs/API_docs_v66/constructors/destroy_session_ok.md b/old_docs/API_docs_v66/constructors/destroy_session_ok.md index f5d8cd19..c98a804d 100644 --- a/old_docs/API_docs_v66/constructors/destroy_session_ok.md +++ b/old_docs/API_docs_v66/constructors/destroy_session_ok.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long]; ``` @@ -32,10 +32,9 @@ $destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_session_ok={_='destroy_session_ok', session_id=long} ``` diff --git a/old_docs/API_docs_v66/constructors/dh_gen_fail.md b/old_docs/API_docs_v66/constructors/dh_gen_fail.md index 28fb6771..87d4a34b 100644 --- a/old_docs/API_docs_v66/constructors/dh_gen_fail.md +++ b/old_docs/API_docs_v66/constructors/dh_gen_fail.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash3' => int128]; ``` @@ -34,10 +34,9 @@ $dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int12 ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dh_gen_fail={_='dh_gen_fail', nonce=int128, server_nonce=int128, new_nonce_hash3=int128} ``` diff --git a/old_docs/API_docs_v66/constructors/dh_gen_ok.md b/old_docs/API_docs_v66/constructors/dh_gen_ok.md index 6b9723d9..2a058971 100644 --- a/old_docs/API_docs_v66/constructors/dh_gen_ok.md +++ b/old_docs/API_docs_v66/constructors/dh_gen_ok.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash1' => int128]; ``` @@ -34,10 +34,9 @@ $dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dh_gen_ok={_='dh_gen_ok', nonce=int128, server_nonce=int128, new_nonce_hash1=int128} ``` diff --git a/old_docs/API_docs_v66/constructors/dh_gen_retry.md b/old_docs/API_docs_v66/constructors/dh_gen_retry.md index 736c54f4..ab31de74 100644 --- a/old_docs/API_docs_v66/constructors/dh_gen_retry.md +++ b/old_docs/API_docs_v66/constructors/dh_gen_retry.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash2' => int128]; ``` @@ -34,10 +34,9 @@ $dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dh_gen_retry={_='dh_gen_retry', nonce=int128, server_nonce=int128, new_nonce_hash2=int128} ``` diff --git a/old_docs/API_docs_v66/constructors/dialog.md b/old_docs/API_docs_v66/constructors/dialog.md index 64680ec2..b65961c2 100644 --- a/old_docs/API_docs_v66/constructors/dialog.md +++ b/old_docs/API_docs_v66/constructors/dialog.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'pinned' => Bool, 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage]; ``` @@ -40,10 +40,9 @@ $dialog = ['_' => 'dialog', 'pinned' => Bool, 'peer' => Peer, 'top_message' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', pinned=Bool, peer=Peer, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings, pts=int, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v66/constructors/disabledFeature.md b/old_docs/API_docs_v66/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v66/constructors/disabledFeature.md +++ b/old_docs/API_docs_v66/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/document.md b/old_docs/API_docs_v66/constructors/document.md index 1a0f1fc1..58c44a23 100644 --- a/old_docs/API_docs_v66/constructors/document.md +++ b/old_docs/API_docs_v66/constructors/document.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -40,10 +40,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, version=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v66/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v66/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v66/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v66/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v66/constructors/documentAttributeAudio.md b/old_docs/API_docs_v66/constructors/documentAttributeAudio.md index 0dc5decc..f427a05c 100644 --- a/old_docs/API_docs_v66/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v66/constructors/documentAttributeAudio.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` @@ -36,10 +36,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'du ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title='string', performer='string', waveform='bytes'} ``` diff --git a/old_docs/API_docs_v66/constructors/documentAttributeFilename.md b/old_docs/API_docs_v66/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v66/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v66/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/documentAttributeHasStickers.md b/old_docs/API_docs_v66/constructors/documentAttributeHasStickers.md index fff783df..90c58e35 100644 --- a/old_docs/API_docs_v66/constructors/documentAttributeHasStickers.md +++ b/old_docs/API_docs_v66/constructors/documentAttributeHasStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` @@ -27,10 +27,9 @@ $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeHasStickers={_='documentAttributeHasStickers'} ``` diff --git a/old_docs/API_docs_v66/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v66/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v66/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v66/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v66/constructors/documentAttributeSticker.md b/old_docs/API_docs_v66/constructors/documentAttributeSticker.md index ba5243fb..b200f7f0 100644 --- a/old_docs/API_docs_v66/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v66/constructors/documentAttributeSticker.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => 'string', 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords]; ``` @@ -35,10 +35,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', mask=Bool, alt='string', stickerset=InputStickerSet, mask_coords=MaskCoords} ``` diff --git a/old_docs/API_docs_v66/constructors/documentAttributeVideo.md b/old_docs/API_docs_v66/constructors/documentAttributeVideo.md index 21f4580a..bd43440e 100644 --- a/old_docs/API_docs_v66/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v66/constructors/documentAttributeVideo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -35,10 +35,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', round_message=Bool, duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v66/constructors/documentEmpty.md b/old_docs/API_docs_v66/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v66/constructors/documentEmpty.md +++ b/old_docs/API_docs_v66/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v66/constructors/draftMessage.md b/old_docs/API_docs_v66/constructors/draftMessage.md index 370ffaef..ecec69a1 100644 --- a/old_docs/API_docs_v66/constructors/draftMessage.md +++ b/old_docs/API_docs_v66/constructors/draftMessage.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'date' => int]; ``` @@ -36,10 +36,9 @@ $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message='string', entities={MessageEntity}, date=int} ``` diff --git a/old_docs/API_docs_v66/constructors/draftMessageEmpty.md b/old_docs/API_docs_v66/constructors/draftMessageEmpty.md index 15b2aa67..65902a71 100644 --- a/old_docs/API_docs_v66/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v66/constructors/draftMessageEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` @@ -27,10 +27,9 @@ $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessageEmpty={_='draftMessageEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/encryptedChat.md b/old_docs/API_docs_v66/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v66/constructors/encryptedChat.md +++ b/old_docs/API_docs_v66/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v66/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v66/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v66/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v66/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v66/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v66/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v66/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/encryptedChatRequested.md b/old_docs/API_docs_v66/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v66/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v66/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v66/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v66/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v66/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v66/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/encryptedFile.md b/old_docs/API_docs_v66/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v66/constructors/encryptedFile.md +++ b/old_docs/API_docs_v66/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v66/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v66/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v66/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v66/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/encryptedMessage.md b/old_docs/API_docs_v66/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v66/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v66/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v66/constructors/encryptedMessageService.md b/old_docs/API_docs_v66/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v66/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v66/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v66/constructors/error.md b/old_docs/API_docs_v66/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v66/constructors/error.md +++ b/old_docs/API_docs_v66/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/exportedMessageLink.md b/old_docs/API_docs_v66/constructors/exportedMessageLink.md index 423c9fa3..9db8d71a 100644 --- a/old_docs/API_docs_v66/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v66/constructors/exportedMessageLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua exportedMessageLink={_='exportedMessageLink', link='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/fileLocation.md b/old_docs/API_docs_v66/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v66/constructors/fileLocation.md +++ b/old_docs/API_docs_v66/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v66/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v66/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v66/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v66/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v66/constructors/foundGif.md b/old_docs/API_docs_v66/constructors/foundGif.md index d8ee3695..c2f0ce33 100644 --- a/old_docs/API_docs_v66/constructors/foundGif.md +++ b/old_docs/API_docs_v66/constructors/foundGif.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` @@ -37,10 +37,9 @@ $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'con ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGif={_='foundGif', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int} ``` diff --git a/old_docs/API_docs_v66/constructors/foundGifCached.md b/old_docs/API_docs_v66/constructors/foundGifCached.md index e4a1a552..03e67917 100644 --- a/old_docs/API_docs_v66/constructors/foundGifCached.md +++ b/old_docs/API_docs_v66/constructors/foundGifCached.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -34,10 +34,9 @@ $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGifCached={_='foundGifCached', url='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v66/constructors/future_salt.md b/old_docs/API_docs_v66/constructors/future_salt.md index de2832c4..b5dd02ed 100644 --- a/old_docs/API_docs_v66/constructors/future_salt.md +++ b/old_docs/API_docs_v66/constructors/future_salt.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int, 'salt' => long]; ``` @@ -34,10 +34,9 @@ $future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua future_salt={_='future_salt', valid_since=int, valid_until=int, salt=long} ``` diff --git a/old_docs/API_docs_v66/constructors/future_salts.md b/old_docs/API_docs_v66/constructors/future_salts.md index 811c668a..86251b37 100644 --- a/old_docs/API_docs_v66/constructors/future_salts.md +++ b/old_docs/API_docs_v66/constructors/future_salts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'salts' => [future_salt, future_salt]]; ``` @@ -34,10 +34,9 @@ $future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'sal ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua future_salts={_='future_salts', req_msg_id=long, now=int, salts={future_salt}} ``` diff --git a/old_docs/API_docs_v66/constructors/game.md b/old_docs/API_docs_v66/constructors/game.md index 790fbeeb..088ca95e 100644 --- a/old_docs/API_docs_v66/constructors/game.md +++ b/old_docs/API_docs_v66/constructors/game.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -38,10 +38,9 @@ $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua game={_='game', id=long, access_hash=long, short_name='string', title='string', description='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v66/constructors/geoPoint.md b/old_docs/API_docs_v66/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v66/constructors/geoPoint.md +++ b/old_docs/API_docs_v66/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v66/constructors/geoPointEmpty.md b/old_docs/API_docs_v66/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v66/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v66/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/help_appUpdate.md b/old_docs/API_docs_v66/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v66/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v66/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/help_inviteText.md b/old_docs/API_docs_v66/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v66/constructors/help_inviteText.md +++ b/old_docs/API_docs_v66/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/help_noAppUpdate.md b/old_docs/API_docs_v66/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v66/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v66/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v66/constructors/help_support.md b/old_docs/API_docs_v66/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v66/constructors/help_support.md +++ b/old_docs/API_docs_v66/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v66/constructors/help_termsOfService.md b/old_docs/API_docs_v66/constructors/help_termsOfService.md index 8e558bed..ec7a8121 100644 --- a/old_docs/API_docs_v66/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v66/constructors/help_termsOfService.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_termsOfService={_='help.termsOfService', text='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/highScore.md b/old_docs/API_docs_v66/constructors/highScore.md index 63a8ab05..265c0487 100644 --- a/old_docs/API_docs_v66/constructors/highScore.md +++ b/old_docs/API_docs_v66/constructors/highScore.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int]; ``` @@ -34,10 +34,9 @@ $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua highScore={_='highScore', pos=int, user_id=int, score=int} ``` diff --git a/old_docs/API_docs_v66/constructors/http_wait.md b/old_docs/API_docs_v66/constructors/http_wait.md index 08447425..b5db251e 100644 --- a/old_docs/API_docs_v66/constructors/http_wait.md +++ b/old_docs/API_docs_v66/constructors/http_wait.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $http_wait = ['_' => 'http_wait', 'max_delay' => int, 'wait_after' => int, 'max_wait' => int]; ``` @@ -34,10 +34,9 @@ $http_wait = ['_' => 'http_wait', 'max_delay' => int, 'wait_after' => int, 'max_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua http_wait={_='http_wait', max_delay=int, wait_after=int, max_wait=int} ``` diff --git a/old_docs/API_docs_v66/constructors/importedContact.md b/old_docs/API_docs_v66/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v66/constructors/importedContact.md +++ b/old_docs/API_docs_v66/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v66/constructors/inlineBotSwitchPM.md b/old_docs/API_docs_v66/constructors/inlineBotSwitchPM.md index 0dfd4714..b4fb8185 100644 --- a/old_docs/API_docs_v66/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v66/constructors/inlineBotSwitchPM.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` @@ -33,10 +33,9 @@ $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_par ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inlineBotSwitchPM={_='inlineBotSwitchPM', text='string', start_param='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputAppEvent.md b/old_docs/API_docs_v66/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v66/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v66/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineMessageGame.md b/old_docs/API_docs_v66/constructors/inputBotInlineMessageGame.md index 8e59cd54..66c8997b 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineMessageGame.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineMessageGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup]; ``` @@ -32,10 +32,9 @@ $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageGame={_='inputBotInlineMessageGame', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineMessageID.md b/old_docs/API_docs_v66/constructors/inputBotInlineMessageID.md index 91c7586d..aecbb733 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineMessageID.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaAuto.md index 28d93836..17e2a1cb 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'cap ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaContact.md b/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaContact.md index 5b78709f..25dd9029 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaGeo.md b/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaGeo.md index 39365847..935dba16 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaGeo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaVenue.md b/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaVenue.md index 7dbc6a6c..56ec0745 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'g ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v66/constructors/inputBotInlineMessageText.md index e6a0bbb7..acae47bc 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineResult.md b/old_docs/API_docs_v66/constructors/inputBotInlineResult.md index 668af514..34148d70 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` @@ -43,10 +43,9 @@ $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineResultDocument.md b/old_docs/API_docs_v66/constructors/inputBotInlineResultDocument.md index ad13df76..9d5f1eb6 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineResultDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` @@ -37,10 +37,9 @@ $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultDocument={_='inputBotInlineResultDocument', id='string', type='string', title='string', description='string', document=InputDocument, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineResultGame.md b/old_docs/API_docs_v66/constructors/inputBotInlineResultGame.md index 5967bea6..b7821035 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineResultGame.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineResultGame.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string', 'short_name' => 'string', 'send_message' => InputBotInlineMessage]; ``` @@ -34,10 +34,9 @@ $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultGame={_='inputBotInlineResultGame', id='string', short_name='string', send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineResultPhoto.md b/old_docs/API_docs_v66/constructors/inputBotInlineResultPhoto.md index 43f00813..271bb02e 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineResultPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` @@ -35,10 +35,9 @@ $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id='string', type='string', photo=InputPhoto, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v66/constructors/inputChannel.md b/old_docs/API_docs_v66/constructors/inputChannel.md index b5cb3566..34ed10ca 100644 --- a/old_docs/API_docs_v66/constructors/inputChannel.md +++ b/old_docs/API_docs_v66/constructors/inputChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannel={_='inputChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v66/constructors/inputChannelEmpty.md b/old_docs/API_docs_v66/constructors/inputChannelEmpty.md index f7e18434..bd53602b 100644 --- a/old_docs/API_docs_v66/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputChannelEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` @@ -27,10 +27,9 @@ $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputChatPhoto.md b/old_docs/API_docs_v66/constructors/inputChatPhoto.md index 636d6f68..cbae66d1 100644 --- a/old_docs/API_docs_v66/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v66/constructors/inputChatPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v66/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v66/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v66/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v66/constructors/inputChatUploadedPhoto.md index 840ed815..8b5535ab 100644 --- a/old_docs/API_docs_v66/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v66/constructors/inputChatUploadedPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile]; ``` @@ -32,10 +32,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile} ``` diff --git a/old_docs/API_docs_v66/constructors/inputDocument.md b/old_docs/API_docs_v66/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v66/constructors/inputDocument.md +++ b/old_docs/API_docs_v66/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v66/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v66/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v66/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v66/constructors/inputDocumentFileLocation.md index df556f40..94ab0038 100644 --- a/old_docs/API_docs_v66/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v66/constructors/inputDocumentFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int]; ``` @@ -34,10 +34,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, version=int} ``` diff --git a/old_docs/API_docs_v66/constructors/inputEncryptedChat.md b/old_docs/API_docs_v66/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v66/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v66/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v66/constructors/inputEncryptedFile.md b/old_docs/API_docs_v66/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v66/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v66/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v66/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v66/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v66/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v66/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v66/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v66/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v66/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v66/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v66/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v66/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v66/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v66/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v66/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v66/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v66/constructors/inputFile.md b/old_docs/API_docs_v66/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v66/constructors/inputFile.md +++ b/old_docs/API_docs_v66/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputFileBig.md b/old_docs/API_docs_v66/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v66/constructors/inputFileBig.md +++ b/old_docs/API_docs_v66/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputFileLocation.md b/old_docs/API_docs_v66/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v66/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v66/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v66/constructors/inputGameID.md b/old_docs/API_docs_v66/constructors/inputGameID.md index 1fff2dd1..fba24333 100644 --- a/old_docs/API_docs_v66/constructors/inputGameID.md +++ b/old_docs/API_docs_v66/constructors/inputGameID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameID={_='inputGameID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v66/constructors/inputGameShortName.md b/old_docs/API_docs_v66/constructors/inputGameShortName.md index 742b5ae5..031e3f4c 100644 --- a/old_docs/API_docs_v66/constructors/inputGameShortName.md +++ b/old_docs/API_docs_v66/constructors/inputGameShortName.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => 'string']; ``` @@ -33,10 +33,9 @@ $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'shor ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameShortName={_='inputGameShortName', bot_id=InputUser, short_name='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputGeoPoint.md b/old_docs/API_docs_v66/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v66/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v66/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v66/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v66/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v66/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMediaContact.md b/old_docs/API_docs_v66/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v66/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMediaDocument.md b/old_docs/API_docs_v66/constructors/inputMediaDocument.md index 8c961036..9436d5e4 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v66/constructors/inputMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'capt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMediaDocumentExternal.md b/old_docs/API_docs_v66/constructors/inputMediaDocumentExternal.md index e6537807..35a560a0 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaDocumentExternal.md +++ b/old_docs/API_docs_v66/constructors/inputMediaDocumentExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'string', 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocumentExternal={_='inputMediaDocumentExternal', url='string', caption='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMediaEmpty.md b/old_docs/API_docs_v66/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMediaGame.md b/old_docs/API_docs_v66/constructors/inputMediaGame.md index 883e5672..c4cc2cfc 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaGame.md +++ b/old_docs/API_docs_v66/constructors/inputMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` @@ -32,10 +32,9 @@ $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGame={_='inputMediaGame', id=InputGame} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v66/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v66/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v66/constructors/inputMediaGifExternal.md index cf68972a..14153a43 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v66/constructors/inputMediaGifExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGifExternal={_='inputMediaGifExternal', url='string', q='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMediaInvoice.md b/old_docs/API_docs_v66/constructors/inputMediaInvoice.md index 8268b4bc..cb554cff 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaInvoice.md +++ b/old_docs/API_docs_v66/constructors/inputMediaInvoice.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'description' => 'string', 'photo' => InputWebDocument, 'invoice' => Invoice, 'payload' => 'bytes', 'provider' => 'string', 'start_param' => 'string']; ``` @@ -38,10 +38,9 @@ $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'descript ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaInvoice={_='inputMediaInvoice', title='string', description='string', photo=InputWebDocument, invoice=Invoice, payload='bytes', provider='string', start_param='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMediaPhoto.md b/old_docs/API_docs_v66/constructors/inputMediaPhoto.md index 0be7f6fe..71f4ded5 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v66/constructors/inputMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMediaPhotoExternal.md b/old_docs/API_docs_v66/constructors/inputMediaPhotoExternal.md index fe057842..8725b488 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaPhotoExternal.md +++ b/old_docs/API_docs_v66/constructors/inputMediaPhotoExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhotoExternal={_='inputMediaPhotoExternal', url='string', caption='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v66/constructors/inputMediaUploadedDocument.md index 0368b9c9..7767c58b 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v66/constructors/inputMediaUploadedDocument.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument, InputDocument]]; ``` @@ -36,10 +36,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string', stickers={InputDocument}} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v66/constructors/inputMediaUploadedPhoto.md index 52fd2410..784bbceb 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v66/constructors/inputMediaUploadedPhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string', 'stickers' => [InputDocument, InputDocument]]; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption='string', stickers={InputDocument}} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v66/constructors/inputMediaUploadedThumbDocument.md index 181d7f39..2340901f 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v66/constructors/inputMediaUploadedThumbDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument, InputDocument]]; ``` @@ -37,10 +37,9 @@ $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string', stickers={InputDocument}} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMediaVenue.md b/old_docs/API_docs_v66/constructors/inputMediaVenue.md index 3e7ee3a1..b2171fbc 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v66/constructors/inputMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessageEntityMentionName.md b/old_docs/API_docs_v66/constructors/inputMessageEntityMentionName.md index 92d5c8d9..19a0b4e3 100644 --- a/old_docs/API_docs_v66/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v66/constructors/inputMessageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser]; ``` @@ -34,10 +34,9 @@ $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessageEntityMentionName={_='inputMessageEntityMentionName', offset=int, length=int, user_id=InputUser} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterChatPhotos.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterChatPhotos.md index a02425b1..b72281f3 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterChatPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterGif.md index 94698ecd..a3a51104 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterMusic.md index ac6373c2..b2ed1044 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterMusic.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhoneCalls.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhoneCalls.md index 8fe8537a..0cb60836 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhoneCalls.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhoneCalls.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool]; ``` @@ -32,10 +32,9 @@ $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'misse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhoneCalls={_='inputMessagesFilterPhoneCalls', missed=Bool} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVideo.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVideo.md index 5bcbbb20..291ebf25 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVideo.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterRoundVideo={_='inputMessagesFilterRoundVideo'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVoice.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVoice.md index 9e018fc3..4c7fbbec 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVoice.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterRoundVoice={_='inputMessagesFilterRoundVoice'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterVoice.md index 026a91be..be3af22a 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputNotifyAll.md b/old_docs/API_docs_v66/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v66/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v66/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputNotifyChats.md b/old_docs/API_docs_v66/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v66/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v66/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputNotifyPeer.md b/old_docs/API_docs_v66/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v66/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v66/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v66/constructors/inputNotifyUsers.md b/old_docs/API_docs_v66/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v66/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v66/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPaymentCredentials.md b/old_docs/API_docs_v66/constructors/inputPaymentCredentials.md index 085db55d..4e2883f9 100644 --- a/old_docs/API_docs_v66/constructors/inputPaymentCredentials.md +++ b/old_docs/API_docs_v66/constructors/inputPaymentCredentials.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'data' => DataJSON]; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentials={_='inputPaymentCredentials', save=Bool, data=DataJSON} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPaymentCredentialsSaved.md b/old_docs/API_docs_v66/constructors/inputPaymentCredentialsSaved.md index 63cd678e..c205ee9a 100644 --- a/old_docs/API_docs_v66/constructors/inputPaymentCredentialsSaved.md +++ b/old_docs/API_docs_v66/constructors/inputPaymentCredentialsSaved.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => 'string', 'tmp_password' => 'bytes']; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentialsSaved={_='inputPaymentCredentialsSaved', id='string', tmp_password='bytes'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPeerChannel.md b/old_docs/API_docs_v66/constructors/inputPeerChannel.md index 8b84fe20..14c2f105 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v66/constructors/inputPeerChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPeerChat.md b/old_docs/API_docs_v66/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v66/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPeerEmpty.md b/old_docs/API_docs_v66/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v66/constructors/inputPeerNotifySettings.md index 6b281f53..cd18b39e 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v66/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPeerSelf.md b/old_docs/API_docs_v66/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v66/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPeerUser.md b/old_docs/API_docs_v66/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v66/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPhoneCall.md b/old_docs/API_docs_v66/constructors/inputPhoneCall.md index 60cdf8ca..68abe88d 100644 --- a/old_docs/API_docs_v66/constructors/inputPhoneCall.md +++ b/old_docs/API_docs_v66/constructors/inputPhoneCall.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneCall={_='inputPhoneCall', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPhoneContact.md b/old_docs/API_docs_v66/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v66/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v66/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPhoto.md b/old_docs/API_docs_v66/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v66/constructors/inputPhoto.md +++ b/old_docs/API_docs_v66/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v66/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v66/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v66/constructors/inputPrivacyKeyChatInvite.md index 9c55265f..d96148d4 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyKeyPhoneCall.md b/old_docs/API_docs_v66/constructors/inputPrivacyKeyPhoneCall.md index b16316be..510ff979 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyKeyPhoneCall.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyKeyPhoneCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyPhoneCall={_='inputPrivacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v66/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v66/constructors/inputReportReasonOther.md b/old_docs/API_docs_v66/constructors/inputReportReasonOther.md index 361582bd..4dbffa18 100644 --- a/old_docs/API_docs_v66/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v66/constructors/inputReportReasonOther.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonOther={_='inputReportReasonOther', text='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v66/constructors/inputReportReasonPornography.md index c18c71d3..5c80f096 100644 --- a/old_docs/API_docs_v66/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v66/constructors/inputReportReasonPornography.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` @@ -27,10 +27,9 @@ $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v66/constructors/inputReportReasonSpam.md index 19ed6687..75d59861 100644 --- a/old_docs/API_docs_v66/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v66/constructors/inputReportReasonSpam.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` @@ -27,10 +27,9 @@ $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v66/constructors/inputReportReasonViolence.md index 10fbce47..28d27e85 100644 --- a/old_docs/API_docs_v66/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v66/constructors/inputReportReasonViolence.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` @@ -27,10 +27,9 @@ $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v66/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/old_docs/API_docs_v66/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputStickerSetID.md b/old_docs/API_docs_v66/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/old_docs/API_docs_v66/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v66/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v66/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v66/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/old_docs/API_docs_v66/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v66/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputStickeredMediaDocument.md b/old_docs/API_docs_v66/constructors/inputStickeredMediaDocument.md index c6def51c..72da7b39 100644 --- a/old_docs/API_docs_v66/constructors/inputStickeredMediaDocument.md +++ b/old_docs/API_docs_v66/constructors/inputStickeredMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaDocument={_='inputStickeredMediaDocument', id=InputDocument} ``` diff --git a/old_docs/API_docs_v66/constructors/inputStickeredMediaPhoto.md b/old_docs/API_docs_v66/constructors/inputStickeredMediaPhoto.md index f424c329..d79cd390 100644 --- a/old_docs/API_docs_v66/constructors/inputStickeredMediaPhoto.md +++ b/old_docs/API_docs_v66/constructors/inputStickeredMediaPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaPhoto={_='inputStickeredMediaPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v66/constructors/inputUser.md b/old_docs/API_docs_v66/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/old_docs/API_docs_v66/constructors/inputUser.md +++ b/old_docs/API_docs_v66/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v66/constructors/inputUserEmpty.md b/old_docs/API_docs_v66/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v66/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputUserSelf.md b/old_docs/API_docs_v66/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v66/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v66/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v66/constructors/inputWebDocument.md b/old_docs/API_docs_v66/constructors/inputWebDocument.md index 8028cb28..cd3ceaa1 100644 --- a/old_docs/API_docs_v66/constructors/inputWebDocument.md +++ b/old_docs/API_docs_v66/constructors/inputWebDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -35,10 +35,9 @@ $inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputWebDocument={_='inputWebDocument', url='string', size=int, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v66/constructors/inputWebFileLocation.md b/old_docs/API_docs_v66/constructors/inputWebFileLocation.md index c484849b..888dcfbe 100644 --- a/old_docs/API_docs_v66/constructors/inputWebFileLocation.md +++ b/old_docs/API_docs_v66/constructors/inputWebFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'acce ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputWebFileLocation={_='inputWebFileLocation', url='string', access_hash=long} ``` diff --git a/old_docs/API_docs_v66/constructors/invoice.md b/old_docs/API_docs_v66/constructors/invoice.md index 7254fd66..ef683c37 100644 --- a/old_docs/API_docs_v66/constructors/invoice.md +++ b/old_docs/API_docs_v66/constructors/invoice.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_requested' => Bool, 'email_requested' => Bool, 'shipping_address_requested' => Bool, 'flexible' => Bool, 'currency' => 'string', 'prices' => [LabeledPrice, LabeledPrice]]; ``` @@ -39,10 +39,9 @@ $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_r ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua invoice={_='invoice', test=Bool, name_requested=Bool, phone_requested=Bool, email_requested=Bool, shipping_address_requested=Bool, flexible=Bool, currency='string', prices={LabeledPrice}} ``` diff --git a/old_docs/API_docs_v66/constructors/keyboardButton.md b/old_docs/API_docs_v66/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButton.md +++ b/old_docs/API_docs_v66/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/keyboardButtonBuy.md b/old_docs/API_docs_v66/constructors/keyboardButtonBuy.md index efff4c6c..cf11ddf6 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonBuy.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonBuy.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonBuy={_='keyboardButtonBuy', text='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/keyboardButtonCallback.md b/old_docs/API_docs_v66/constructors/keyboardButtonCallback.md index 63e87aac..c8f86f50 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonCallback.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` @@ -33,10 +33,9 @@ $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonCallback={_='keyboardButtonCallback', text='string', data='bytes'} ``` diff --git a/old_docs/API_docs_v66/constructors/keyboardButtonGame.md b/old_docs/API_docs_v66/constructors/keyboardButtonGame.md index 08110141..05a565a3 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonGame.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonGame={_='keyboardButtonGame', text='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/keyboardButtonRequestGeoLocation.md b/old_docs/API_docs_v66/constructors/keyboardButtonRequestGeoLocation.md index fc422d90..63d4a82f 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonRequestGeoLocation.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/keyboardButtonRequestPhone.md b/old_docs/API_docs_v66/constructors/keyboardButtonRequestPhone.md index a1719e24..ba58979f 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonRequestPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/keyboardButtonRow.md b/old_docs/API_docs_v66/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/old_docs/API_docs_v66/constructors/keyboardButtonSwitchInline.md b/old_docs/API_docs_v66/constructors/keyboardButtonSwitchInline.md index 463c473c..52dc897a 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonSwitchInline.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => 'string', 'query' => 'string']; ``` @@ -34,10 +34,9 @@ $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=Bool, text='string', query='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/keyboardButtonUrl.md b/old_docs/API_docs_v66/constructors/keyboardButtonUrl.md index 709d4fa9..56b86f1c 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` @@ -33,10 +33,9 @@ $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonUrl={_='keyboardButtonUrl', text='string', url='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/labeledPrice.md b/old_docs/API_docs_v66/constructors/labeledPrice.md index 22e91c77..d54f53f5 100644 --- a/old_docs/API_docs_v66/constructors/labeledPrice.md +++ b/old_docs/API_docs_v66/constructors/labeledPrice.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` @@ -33,10 +33,9 @@ $labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua labeledPrice={_='labeledPrice', label='string', amount=long} ``` diff --git a/old_docs/API_docs_v66/constructors/maskCoords.md b/old_docs/API_docs_v66/constructors/maskCoords.md index 21b9ad78..2d393f3a 100644 --- a/old_docs/API_docs_v66/constructors/maskCoords.md +++ b/old_docs/API_docs_v66/constructors/maskCoords.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double]; ``` @@ -35,10 +35,9 @@ $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'z ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua maskCoords={_='maskCoords', n=int, x=double, y=double, zoom=double} ``` diff --git a/old_docs/API_docs_v66/constructors/message.md b/old_docs/API_docs_v66/constructors/message.md index 9b54331e..b3ce8110 100644 --- a/old_docs/API_docs_v66/constructors/message.md +++ b/old_docs/API_docs_v66/constructors/message.md @@ -38,7 +38,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'views' => int, 'edit_date' => int]; ``` @@ -49,10 +49,9 @@ $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v66/constructors/messageActionChannelCreate.md index b1750d73..2600ab63 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v66/constructors/messageActionChannelCreate.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v66/constructors/messageActionChannelMigrateFrom.md index add136dc..1fdcf3f4 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v66/constructors/messageActionChannelMigrateFrom.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 't ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v66/constructors/messageActionChatAddUser.md index 9c7de7f8..283365cd 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', users={int}} ``` diff --git a/old_docs/API_docs_v66/constructors/messageActionChatCreate.md b/old_docs/API_docs_v66/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v66/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v66/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v66/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v66/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v66/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v66/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v66/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v66/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v66/constructors/messageActionChatMigrateTo.md index 21d2cb22..8ace1091 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatMigrateTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messageActionEmpty.md b/old_docs/API_docs_v66/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v66/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v66/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/messageActionGameScore.md b/old_docs/API_docs_v66/constructors/messageActionGameScore.md index 7a459a3d..c0086b66 100644 --- a/old_docs/API_docs_v66/constructors/messageActionGameScore.md +++ b/old_docs/API_docs_v66/constructors/messageActionGameScore.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int]; ``` @@ -33,10 +33,9 @@ $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionGameScore={_='messageActionGameScore', game_id=long, score=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messageActionHistoryClear.md b/old_docs/API_docs_v66/constructors/messageActionHistoryClear.md index 8b8dcc9d..90875cf6 100644 --- a/old_docs/API_docs_v66/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v66/constructors/messageActionHistoryClear.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` @@ -27,10 +27,9 @@ $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionHistoryClear={_='messageActionHistoryClear'} ``` diff --git a/old_docs/API_docs_v66/constructors/messageActionPaymentSent.md b/old_docs/API_docs_v66/constructors/messageActionPaymentSent.md index b224a125..a5c83837 100644 --- a/old_docs/API_docs_v66/constructors/messageActionPaymentSent.md +++ b/old_docs/API_docs_v66/constructors/messageActionPaymentSent.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 'string', 'total_amount' => long]; ``` @@ -33,10 +33,9 @@ $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPaymentSent={_='messageActionPaymentSent', currency='string', total_amount=long} ``` diff --git a/old_docs/API_docs_v66/constructors/messageActionPaymentSentMe.md b/old_docs/API_docs_v66/constructors/messageActionPaymentSentMe.md index f21ccce0..b1a61d01 100644 --- a/old_docs/API_docs_v66/constructors/messageActionPaymentSentMe.md +++ b/old_docs/API_docs_v66/constructors/messageActionPaymentSentMe.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' => 'string', 'total_amount' => long, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'charge' => PaymentCharge]; ``` @@ -37,10 +37,9 @@ $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPaymentSentMe={_='messageActionPaymentSentMe', currency='string', total_amount=long, payload='bytes', info=PaymentRequestedInfo, shipping_option_id='string', charge=PaymentCharge} ``` diff --git a/old_docs/API_docs_v66/constructors/messageActionPhoneCall.md b/old_docs/API_docs_v66/constructors/messageActionPhoneCall.md index f2f3eb4f..18a6c687 100644 --- a/old_docs/API_docs_v66/constructors/messageActionPhoneCall.md +++ b/old_docs/API_docs_v66/constructors/messageActionPhoneCall.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` @@ -34,10 +34,9 @@ $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPhoneCall={_='messageActionPhoneCall', call_id=long, reason=PhoneCallDiscardReason, duration=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messageActionPinMessage.md b/old_docs/API_docs_v66/constructors/messageActionPinMessage.md index ffa41746..be763787 100644 --- a/old_docs/API_docs_v66/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v66/constructors/messageActionPinMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` @@ -27,10 +27,9 @@ $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/old_docs/API_docs_v66/constructors/messageEmpty.md b/old_docs/API_docs_v66/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v66/constructors/messageEmpty.md +++ b/old_docs/API_docs_v66/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messageEntityBold.md b/old_docs/API_docs_v66/constructors/messageEntityBold.md index 950699fb..90f74ad5 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v66/constructors/messageEntityBold.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v66/constructors/messageEntityBotCommand.md index 8be471d3..9fb8f6a6 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v66/constructors/messageEntityBotCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messageEntityCode.md b/old_docs/API_docs_v66/constructors/messageEntityCode.md index 7c701844..d236e57e 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v66/constructors/messageEntityCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messageEntityEmail.md b/old_docs/API_docs_v66/constructors/messageEntityEmail.md index 35a968c7..74e910f3 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v66/constructors/messageEntityEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messageEntityHashtag.md b/old_docs/API_docs_v66/constructors/messageEntityHashtag.md index 6b124e73..77e29387 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v66/constructors/messageEntityHashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messageEntityItalic.md b/old_docs/API_docs_v66/constructors/messageEntityItalic.md index 25f73428..5975bae2 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v66/constructors/messageEntityItalic.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messageEntityMention.md b/old_docs/API_docs_v66/constructors/messageEntityMention.md index 9eb4d266..1a21cb10 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v66/constructors/messageEntityMention.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messageEntityMentionName.md b/old_docs/API_docs_v66/constructors/messageEntityMentionName.md index b546570b..0fe142c5 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v66/constructors/messageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int]; ``` @@ -34,10 +34,9 @@ $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messageEntityPre.md b/old_docs/API_docs_v66/constructors/messageEntityPre.md index abfc9136..13b165fe 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v66/constructors/messageEntityPre.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPre={_='messageEntityPre', offset=int, length=int, language='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v66/constructors/messageEntityTextUrl.md index 91f6d36c..b6d82843 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v66/constructors/messageEntityTextUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/messageEntityUnknown.md b/old_docs/API_docs_v66/constructors/messageEntityUnknown.md index 69ca8a1b..4c434fd7 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v66/constructors/messageEntityUnknown.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messageEntityUrl.md b/old_docs/API_docs_v66/constructors/messageEntityUrl.md index 377c3dda..2cf334a5 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v66/constructors/messageEntityUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messageFwdHeader.md b/old_docs/API_docs_v66/constructors/messageFwdHeader.md index b55da4c5..999c62ad 100644 --- a/old_docs/API_docs_v66/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v66/constructors/messageFwdHeader.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int]; ``` @@ -35,10 +35,9 @@ $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messageMediaContact.md b/old_docs/API_docs_v66/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v66/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messageMediaDocument.md b/old_docs/API_docs_v66/constructors/messageMediaDocument.md index 1f584a82..44199179 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v66/constructors/messageMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document, caption='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/messageMediaEmpty.md b/old_docs/API_docs_v66/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v66/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/messageMediaGame.md b/old_docs/API_docs_v66/constructors/messageMediaGame.md index e97b2bd1..980dbbcc 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaGame.md +++ b/old_docs/API_docs_v66/constructors/messageMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` @@ -32,10 +32,9 @@ $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGame={_='messageMediaGame', game=Game} ``` diff --git a/old_docs/API_docs_v66/constructors/messageMediaGeo.md b/old_docs/API_docs_v66/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v66/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v66/constructors/messageMediaInvoice.md b/old_docs/API_docs_v66/constructors/messageMediaInvoice.md index dff83700..e7514d50 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaInvoice.md +++ b/old_docs/API_docs_v66/constructors/messageMediaInvoice.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requested' => Bool, 'test' => Bool, 'title' => 'string', 'description' => 'string', 'photo' => WebDocument, 'receipt_msg_id' => int, 'currency' => 'string', 'total_amount' => long, 'start_param' => 'string']; ``` @@ -40,10 +40,9 @@ $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requeste ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaInvoice={_='messageMediaInvoice', shipping_address_requested=Bool, test=Bool, title='string', description='string', photo=WebDocument, receipt_msg_id=int, currency='string', total_amount=long, start_param='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/messageMediaPhoto.md b/old_docs/API_docs_v66/constructors/messageMediaPhoto.md index 47579066..7350efce 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v66/constructors/messageMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v66/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v66/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v66/constructors/messageMediaVenue.md b/old_docs/API_docs_v66/constructors/messageMediaVenue.md index 2db2d25d..2ef2b27f 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v66/constructors/messageMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/messageMediaWebPage.md b/old_docs/API_docs_v66/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v66/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v66/constructors/messageRange.md b/old_docs/API_docs_v66/constructors/messageRange.md index 40c3f81a..527e8646 100644 --- a/old_docs/API_docs_v66/constructors/messageRange.md +++ b/old_docs/API_docs_v66/constructors/messageRange.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageRange={_='messageRange', min_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messageService.md b/old_docs/API_docs_v66/constructors/messageService.md index 8f47e32f..f9946e72 100644 --- a/old_docs/API_docs_v66/constructors/messageService.md +++ b/old_docs/API_docs_v66/constructors/messageService.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction]; ``` @@ -42,10 +42,9 @@ $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_affectedHistory.md b/old_docs/API_docs_v66/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v66/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v66/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_affectedMessages.md b/old_docs/API_docs_v66/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v66/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v66/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_allStickers.md b/old_docs/API_docs_v66/constructors/messages_allStickers.md index 2a7d1313..45a66ddf 100644 --- a/old_docs/API_docs_v66/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v66/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v66/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v66/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v66/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_archivedStickers.md b/old_docs/API_docs_v66/constructors/messages_archivedStickers.md index 458c74b9..639d174b 100644 --- a/old_docs/API_docs_v66/constructors/messages_archivedStickers.md +++ b/old_docs/API_docs_v66/constructors/messages_archivedStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -33,10 +33,9 @@ $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v66/constructors/messages_botCallbackAnswer.md index 90095d01..41b90b45 100644 --- a/old_docs/API_docs_v66/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v66/constructors/messages_botCallbackAnswer.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; ``` @@ -36,10 +36,9 @@ $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_botResults.md b/old_docs/API_docs_v66/constructors/messages_botResults.md index bec3e32a..cb2b295c 100644 --- a/old_docs/API_docs_v66/constructors/messages_botResults.md +++ b/old_docs/API_docs_v66/constructors/messages_botResults.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int]; ``` @@ -37,10 +37,9 @@ $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_channelMessages.md b/old_docs/API_docs_v66/constructors/messages_channelMessages.md index 43f4cdc6..0da0608d 100644 --- a/old_docs/API_docs_v66/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v66/constructors/messages_channelMessages.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'c ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_chatFull.md b/old_docs/API_docs_v66/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v66/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v66/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_chats.md b/old_docs/API_docs_v66/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v66/constructors/messages_chats.md +++ b/old_docs/API_docs_v66/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_chatsSlice.md b/old_docs/API_docs_v66/constructors/messages_chatsSlice.md index 83905f64..d6a204d4 100644 --- a/old_docs/API_docs_v66/constructors/messages_chatsSlice.md +++ b/old_docs/API_docs_v66/constructors/messages_chatsSlice.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; ``` @@ -33,10 +33,9 @@ $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_dhConfig.md b/old_docs/API_docs_v66/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v66/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v66/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v66/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v66/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v66/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_dialogs.md b/old_docs/API_docs_v66/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v66/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v66/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v66/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v66/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v66/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_featuredStickers.md b/old_docs/API_docs_v66/constructors/messages_featuredStickers.md index 0ec8be8b..f40ec583 100644 --- a/old_docs/API_docs_v66/constructors/messages_featuredStickers.md +++ b/old_docs/API_docs_v66/constructors/messages_featuredStickers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; ``` @@ -34,10 +34,9 @@ $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v66/constructors/messages_featuredStickersNotModified.md index 87d2e6c7..3457ff96 100644 --- a/old_docs/API_docs_v66/constructors/messages_featuredStickersNotModified.md +++ b/old_docs/API_docs_v66/constructors/messages_featuredStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotMod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_foundGifs.md b/old_docs/API_docs_v66/constructors/messages_foundGifs.md index f86a9fed..4d513264 100644 --- a/old_docs/API_docs_v66/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v66/constructors/messages_foundGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; ``` @@ -33,10 +33,9 @@ $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'resul ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_highScores.md b/old_docs/API_docs_v66/constructors/messages_highScores.md index 1af58a14..08692c07 100644 --- a/old_docs/API_docs_v66/constructors/messages_highScores.md +++ b/old_docs/API_docs_v66/constructors/messages_highScores.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, Hi ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_messageEditData.md b/old_docs/API_docs_v66/constructors/messages_messageEditData.md index aee6e179..fe0f3ab3 100644 --- a/old_docs/API_docs_v66/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v66/constructors/messages_messageEditData.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` @@ -32,10 +32,9 @@ $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messageEditData={_='messages.messageEditData', caption=Bool} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_messages.md b/old_docs/API_docs_v66/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v66/constructors/messages_messages.md +++ b/old_docs/API_docs_v66/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_messagesSlice.md b/old_docs/API_docs_v66/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v66/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v66/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_peerDialogs.md b/old_docs/API_docs_v66/constructors/messages_peerDialogs.md index 93601b21..60aa48e6 100644 --- a/old_docs/API_docs_v66/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v66/constructors/messages_peerDialogs.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -36,10 +36,9 @@ $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Di ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_recentStickers.md b/old_docs/API_docs_v66/constructors/messages_recentStickers.md index b2ea1fa7..47a5c591 100644 --- a/old_docs/API_docs_v66/constructors/messages_recentStickers.md +++ b/old_docs/API_docs_v66/constructors/messages_recentStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v66/constructors/messages_recentStickersNotModified.md index 9bf964da..c3c4f654 100644 --- a/old_docs/API_docs_v66/constructors/messages_recentStickersNotModified.md +++ b/old_docs/API_docs_v66/constructors/messages_recentStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModifie ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickersNotModified={_='messages.recentStickersNotModified'} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_savedGifs.md b/old_docs/API_docs_v66/constructors/messages_savedGifs.md index 4a254ab5..ae7e595f 100644 --- a/old_docs/API_docs_v66/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v66/constructors/messages_savedGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Do ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v66/constructors/messages_savedGifsNotModified.md index 65c17d0c..ef0db669 100644 --- a/old_docs/API_docs_v66/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v66/constructors/messages_savedGifsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` @@ -27,10 +27,9 @@ $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifsNotModified={_='messages.savedGifsNotModified'} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v66/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v66/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v66/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v66/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v66/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v66/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_stickerSet.md b/old_docs/API_docs_v66/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/old_docs/API_docs_v66/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v66/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultArchive.md index 2f66cfa0..f43e11c0 100644 --- a/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultArchive.md +++ b/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultArchive.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -32,10 +32,9 @@ $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultSuccess.md index ef5752a2..bb6b00f3 100644 --- a/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultSuccess.md +++ b/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultSuccess.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; ``` @@ -27,10 +27,9 @@ $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_stickers.md b/old_docs/API_docs_v66/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v66/constructors/messages_stickers.md +++ b/old_docs/API_docs_v66/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v66/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v66/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v66/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v66/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v66/constructors/msg_detailed_info.md b/old_docs/API_docs_v66/constructors/msg_detailed_info.md index 22a4fdb0..238ea35d 100644 --- a/old_docs/API_docs_v66/constructors/msg_detailed_info.md +++ b/old_docs/API_docs_v66/constructors/msg_detailed_info.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_id' => long, 'bytes' => int, 'status' => int]; ``` @@ -35,10 +35,9 @@ $msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_detailed_info={_='msg_detailed_info', msg_id=long, answer_msg_id=long, bytes=int, status=int} ``` diff --git a/old_docs/API_docs_v66/constructors/msg_new_detailed_info.md b/old_docs/API_docs_v66/constructors/msg_new_detailed_info.md index fc671bb9..6e4ad249 100644 --- a/old_docs/API_docs_v66/constructors/msg_new_detailed_info.md +++ b/old_docs/API_docs_v66/constructors/msg_new_detailed_info.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => long, 'bytes' => int, 'status' => int]; ``` @@ -34,10 +34,9 @@ $msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_new_detailed_info={_='msg_new_detailed_info', answer_msg_id=long, bytes=int, status=int} ``` diff --git a/old_docs/API_docs_v66/constructors/msg_resend_req.md b/old_docs/API_docs_v66/constructors/msg_resend_req.md index 3ae86dfc..d9de1768 100644 --- a/old_docs/API_docs_v66/constructors/msg_resend_req.md +++ b/old_docs/API_docs_v66/constructors/msg_resend_req.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long, long]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_resend_req={_='msg_resend_req', msg_ids={long}} ``` diff --git a/old_docs/API_docs_v66/constructors/msgs_ack.md b/old_docs/API_docs_v66/constructors/msgs_ack.md index 83c78c01..78b0bed6 100644 --- a/old_docs/API_docs_v66/constructors/msgs_ack.md +++ b/old_docs/API_docs_v66/constructors/msgs_ack.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long, long]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_ack={_='msgs_ack', msg_ids={long}} ``` diff --git a/old_docs/API_docs_v66/constructors/msgs_all_info.md b/old_docs/API_docs_v66/constructors/msgs_all_info.md index f4be85aa..063eb59d 100644 --- a/old_docs/API_docs_v66/constructors/msgs_all_info.md +++ b/old_docs/API_docs_v66/constructors/msgs_all_info.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long, long], 'info' => 'string']; ``` @@ -33,10 +33,9 @@ $msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long, long], 'info' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_all_info={_='msgs_all_info', msg_ids={long}, info='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/msgs_state_info.md b/old_docs/API_docs_v66/constructors/msgs_state_info.md index a1157206..04f1c818 100644 --- a/old_docs/API_docs_v66/constructors/msgs_state_info.md +++ b/old_docs/API_docs_v66/constructors/msgs_state_info.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => 'string']; ``` @@ -33,10 +33,9 @@ $msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_state_info={_='msgs_state_info', req_msg_id=long, info='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/msgs_state_req.md b/old_docs/API_docs_v66/constructors/msgs_state_req.md index ede2520f..feedf3d3 100644 --- a/old_docs/API_docs_v66/constructors/msgs_state_req.md +++ b/old_docs/API_docs_v66/constructors/msgs_state_req.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long, long]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_state_req={_='msgs_state_req', msg_ids={long}} ``` diff --git a/old_docs/API_docs_v66/constructors/nearestDc.md b/old_docs/API_docs_v66/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v66/constructors/nearestDc.md +++ b/old_docs/API_docs_v66/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v66/constructors/new_session_created.md b/old_docs/API_docs_v66/constructors/new_session_created.md index b917ad59..aa443caa 100644 --- a/old_docs/API_docs_v66/constructors/new_session_created.md +++ b/old_docs/API_docs_v66/constructors/new_session_created.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'unique_id' => long, 'server_salt' => long]; ``` @@ -34,10 +34,9 @@ $new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'u ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua new_session_created={_='new_session_created', first_msg_id=long, unique_id=long, server_salt=long} ``` diff --git a/old_docs/API_docs_v66/constructors/notifyAll.md b/old_docs/API_docs_v66/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v66/constructors/notifyAll.md +++ b/old_docs/API_docs_v66/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v66/constructors/notifyChats.md b/old_docs/API_docs_v66/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v66/constructors/notifyChats.md +++ b/old_docs/API_docs_v66/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v66/constructors/notifyPeer.md b/old_docs/API_docs_v66/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v66/constructors/notifyPeer.md +++ b/old_docs/API_docs_v66/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v66/constructors/notifyUsers.md b/old_docs/API_docs_v66/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v66/constructors/notifyUsers.md +++ b/old_docs/API_docs_v66/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v66/constructors/p_q_inner_data.md b/old_docs/API_docs_v66/constructors/p_q_inner_data.md index 9a05a5ec..3c4f16f5 100644 --- a/old_docs/API_docs_v66/constructors/p_q_inner_data.md +++ b/old_docs/API_docs_v66/constructors/p_q_inner_data.md @@ -28,7 +28,7 @@ PQ inner data ### Example: -``` +```php $p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => 'string', 'p' => 'string', 'q' => 'string', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256]; ``` @@ -39,10 +39,9 @@ $p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => 'string', 'p' => 'string', ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua p_q_inner_data={_='p_q_inner_data', pq='string', p='string', q='string', nonce=int128, server_nonce=int128, new_nonce=int256} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockAnchor.md b/old_docs/API_docs_v66/constructors/pageBlockAnchor.md index af7f7c2b..5a5757fb 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockAnchor.md +++ b/old_docs/API_docs_v66/constructors/pageBlockAnchor.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` @@ -32,10 +32,9 @@ $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAnchor={_='pageBlockAnchor', name='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockAuthorDate.md b/old_docs/API_docs_v66/constructors/pageBlockAuthorDate.md index 4f746156..03daab4b 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockAuthorDate.md +++ b/old_docs/API_docs_v66/constructors/pageBlockAuthorDate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int]; ``` @@ -33,10 +33,9 @@ $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'pub ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAuthorDate={_='pageBlockAuthorDate', author=RichText, published_date=int} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockBlockquote.md b/old_docs/API_docs_v66/constructors/pageBlockBlockquote.md index f78ad5bd..c34f378d 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockBlockquote.md +++ b/old_docs/API_docs_v66/constructors/pageBlockBlockquote.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'capti ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockBlockquote={_='pageBlockBlockquote', text=RichText, caption=RichText} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockChannel.md b/old_docs/API_docs_v66/constructors/pageBlockChannel.md index 6cd78457..95ddd37b 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockChannel.md +++ b/old_docs/API_docs_v66/constructors/pageBlockChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat]; ``` @@ -32,10 +32,9 @@ $pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockChannel={_='pageBlockChannel', channel=Chat} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockCollage.md b/old_docs/API_docs_v66/constructors/pageBlockCollage.md index 45bdee72..beaf8ba2 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockCollage.md +++ b/old_docs/API_docs_v66/constructors/pageBlockCollage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock, PageBlock ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockCollage={_='pageBlockCollage', items={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockCover.md b/old_docs/API_docs_v66/constructors/pageBlockCover.md index 8e8db49e..8c96a1af 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockCover.md +++ b/old_docs/API_docs_v66/constructors/pageBlockCover.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` @@ -32,10 +32,9 @@ $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockCover={_='pageBlockCover', cover=PageBlock} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockDivider.md b/old_docs/API_docs_v66/constructors/pageBlockDivider.md index 5f444cce..ee3e75b7 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockDivider.md +++ b/old_docs/API_docs_v66/constructors/pageBlockDivider.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockDivider = ['_' => 'pageBlockDivider']; ``` @@ -27,10 +27,9 @@ $pageBlockDivider = ['_' => 'pageBlockDivider']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockDivider={_='pageBlockDivider'} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockEmbed.md b/old_docs/API_docs_v66/constructors/pageBlockEmbed.md index 3e508369..9c72b889 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockEmbed.md +++ b/old_docs/API_docs_v66/constructors/pageBlockEmbed.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => 'string', 'html' => 'string', 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText]; ``` @@ -39,10 +39,9 @@ $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolli ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockEmbed={_='pageBlockEmbed', full_width=Bool, allow_scrolling=Bool, url='string', html='string', poster_photo_id=long, w=int, h=int, caption=RichText} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockEmbedPost.md b/old_docs/API_docs_v66/constructors/pageBlockEmbedPost.md index 24c622e6..684952c1 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockEmbedPost.md +++ b/old_docs/API_docs_v66/constructors/pageBlockEmbedPost.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_id' => long, 'author_photo_id' => long, 'author' => 'string', 'date' => int, 'blocks' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -38,10 +38,9 @@ $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockEmbedPost={_='pageBlockEmbedPost', url='string', webpage_id=long, author_photo_id=long, author='string', date=int, blocks={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockFooter.md b/old_docs/API_docs_v66/constructors/pageBlockFooter.md index 3caeb971..e467eb94 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockFooter.md +++ b/old_docs/API_docs_v66/constructors/pageBlockFooter.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockFooter={_='pageBlockFooter', text=RichText} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockHeader.md b/old_docs/API_docs_v66/constructors/pageBlockHeader.md index 950037d0..761196e1 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockHeader.md +++ b/old_docs/API_docs_v66/constructors/pageBlockHeader.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockHeader={_='pageBlockHeader', text=RichText} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockList.md b/old_docs/API_docs_v66/constructors/pageBlockList.md index 37371b18..f841cf2f 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockList.md +++ b/old_docs/API_docs_v66/constructors/pageBlockList.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText, RichText]]; ``` @@ -33,10 +33,9 @@ $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichTex ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockList={_='pageBlockList', ordered=Bool, items={RichText}} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockParagraph.md b/old_docs/API_docs_v66/constructors/pageBlockParagraph.md index 6b22950e..897a7870 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockParagraph.md +++ b/old_docs/API_docs_v66/constructors/pageBlockParagraph.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockParagraph={_='pageBlockParagraph', text=RichText} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockPhoto.md b/old_docs/API_docs_v66/constructors/pageBlockPhoto.md index e80e16f4..470dbc15 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockPhoto.md +++ b/old_docs/API_docs_v66/constructors/pageBlockPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => Ric ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPhoto={_='pageBlockPhoto', photo_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockPreformatted.md b/old_docs/API_docs_v66/constructors/pageBlockPreformatted.md index 49cb8b08..bd505a25 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockPreformatted.md +++ b/old_docs/API_docs_v66/constructors/pageBlockPreformatted.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => 'string']; ``` @@ -33,10 +33,9 @@ $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPreformatted={_='pageBlockPreformatted', text=RichText, language='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockPullquote.md b/old_docs/API_docs_v66/constructors/pageBlockPullquote.md index d73389da..744215e3 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockPullquote.md +++ b/old_docs/API_docs_v66/constructors/pageBlockPullquote.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPullquote={_='pageBlockPullquote', text=RichText, caption=RichText} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockSlideshow.md b/old_docs/API_docs_v66/constructors/pageBlockSlideshow.md index d855e4d8..4a827931 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockSlideshow.md +++ b/old_docs/API_docs_v66/constructors/pageBlockSlideshow.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock, PageB ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSlideshow={_='pageBlockSlideshow', items={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockSubheader.md b/old_docs/API_docs_v66/constructors/pageBlockSubheader.md index 6b6a332e..094c5d2e 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockSubheader.md +++ b/old_docs/API_docs_v66/constructors/pageBlockSubheader.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSubheader={_='pageBlockSubheader', text=RichText} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockSubtitle.md b/old_docs/API_docs_v66/constructors/pageBlockSubtitle.md index 017112c2..6ad657c0 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockSubtitle.md +++ b/old_docs/API_docs_v66/constructors/pageBlockSubtitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSubtitle={_='pageBlockSubtitle', text=RichText} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockTitle.md b/old_docs/API_docs_v66/constructors/pageBlockTitle.md index 9dfe94d2..5c6d228b 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockTitle.md +++ b/old_docs/API_docs_v66/constructors/pageBlockTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockTitle={_='pageBlockTitle', text=RichText} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockUnsupported.md b/old_docs/API_docs_v66/constructors/pageBlockUnsupported.md index 8d127c6d..a0895079 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockUnsupported.md +++ b/old_docs/API_docs_v66/constructors/pageBlockUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` @@ -27,10 +27,9 @@ $pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockUnsupported={_='pageBlockUnsupported'} ``` diff --git a/old_docs/API_docs_v66/constructors/pageBlockVideo.md b/old_docs/API_docs_v66/constructors/pageBlockVideo.md index 03a04d1b..27c2ed6f 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockVideo.md +++ b/old_docs/API_docs_v66/constructors/pageBlockVideo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText]; ``` @@ -35,10 +35,9 @@ $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockVideo={_='pageBlockVideo', autoplay=Bool, loop=Bool, video_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v66/constructors/pageFull.md b/old_docs/API_docs_v66/constructors/pageFull.md index cf613031..b1b5b0ac 100644 --- a/old_docs/API_docs_v66/constructors/pageFull.md +++ b/old_docs/API_docs_v66/constructors/pageFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'videos' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock, PageBlock], 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageFull={_='pageFull', blocks={PageBlock}, photos={Photo}, videos={Document}} ``` diff --git a/old_docs/API_docs_v66/constructors/pagePart.md b/old_docs/API_docs_v66/constructors/pagePart.md index e0ae2901..d3abceb5 100644 --- a/old_docs/API_docs_v66/constructors/pagePart.md +++ b/old_docs/API_docs_v66/constructors/pagePart.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'videos' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock, PageBlock], 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pagePart={_='pagePart', blocks={PageBlock}, photos={Photo}, videos={Document}} ``` diff --git a/old_docs/API_docs_v66/constructors/paymentCharge.md b/old_docs/API_docs_v66/constructors/paymentCharge.md index 83a0d433..56e8e040 100644 --- a/old_docs/API_docs_v66/constructors/paymentCharge.md +++ b/old_docs/API_docs_v66/constructors/paymentCharge.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' => 'string']; ``` @@ -33,10 +33,9 @@ $paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentCharge={_='paymentCharge', id='string', provider_charge_id='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/paymentRequestedInfo.md b/old_docs/API_docs_v66/constructors/paymentRequestedInfo.md index e4b6562a..767ec982 100644 --- a/old_docs/API_docs_v66/constructors/paymentRequestedInfo.md +++ b/old_docs/API_docs_v66/constructors/paymentRequestedInfo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'phone' => 'string', 'email' => 'string', 'shipping_address' => PostAddress]; ``` @@ -35,10 +35,9 @@ $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'pho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentRequestedInfo={_='paymentRequestedInfo', name='string', phone='string', email='string', shipping_address=PostAddress} ``` diff --git a/old_docs/API_docs_v66/constructors/paymentSavedCredentialsCard.md b/old_docs/API_docs_v66/constructors/paymentSavedCredentialsCard.md index 6fc4e934..43b2baf6 100644 --- a/old_docs/API_docs_v66/constructors/paymentSavedCredentialsCard.md +++ b/old_docs/API_docs_v66/constructors/paymentSavedCredentialsCard.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 'string', 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentSavedCredentialsCard={_='paymentSavedCredentialsCard', id='string', title='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/payments_paymentForm.md b/old_docs/API_docs_v66/constructors/payments_paymentForm.md index 74cca6f4..00d9349d 100644 --- a/old_docs/API_docs_v66/constructors/payments_paymentForm.md +++ b/old_docs/API_docs_v66/constructors/payments_paymentForm.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; ``` @@ -42,10 +42,9 @@ $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v66/constructors/payments_paymentReceipt.md index fdf741b4..068f5869 100644 --- a/old_docs/API_docs_v66/constructors/payments_paymentReceipt.md +++ b/old_docs/API_docs_v66/constructors/payments_paymentReceipt.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; ``` @@ -41,10 +41,9 @@ $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/payments_paymentResult.md b/old_docs/API_docs_v66/constructors/payments_paymentResult.md index 7ae00170..a5679a5f 100644 --- a/old_docs/API_docs_v66/constructors/payments_paymentResult.md +++ b/old_docs/API_docs_v66/constructors/payments_paymentResult.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; ``` @@ -32,10 +32,9 @@ $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentResult={_='payments.paymentResult', updates=Updates} ``` diff --git a/old_docs/API_docs_v66/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v66/constructors/payments_paymentVerficationNeeded.md index 4a3f8cdf..e4ca7a8e 100644 --- a/old_docs/API_docs_v66/constructors/payments_paymentVerficationNeeded.md +++ b/old_docs/API_docs_v66/constructors/payments_paymentVerficationNeeded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; ``` @@ -32,10 +32,9 @@ $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/payments_savedInfo.md b/old_docs/API_docs_v66/constructors/payments_savedInfo.md index 3daf671f..c81761c4 100644 --- a/old_docs/API_docs_v66/constructors/payments_savedInfo.md +++ b/old_docs/API_docs_v66/constructors/payments_savedInfo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; ``` @@ -33,10 +33,9 @@ $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} ``` diff --git a/old_docs/API_docs_v66/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v66/constructors/payments_validatedRequestedInfo.md index 676388b7..b84afd83 100644 --- a/old_docs/API_docs_v66/constructors/payments_validatedRequestedInfo.md +++ b/old_docs/API_docs_v66/constructors/payments_validatedRequestedInfo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; ``` @@ -33,10 +33,9 @@ $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} ``` diff --git a/old_docs/API_docs_v66/constructors/peerChannel.md b/old_docs/API_docs_v66/constructors/peerChannel.md index f30e3f41..360d5c42 100644 --- a/old_docs/API_docs_v66/constructors/peerChannel.md +++ b/old_docs/API_docs_v66/constructors/peerChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/peerChat.md b/old_docs/API_docs_v66/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v66/constructors/peerChat.md +++ b/old_docs/API_docs_v66/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v66/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v66/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v66/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v66/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v66/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v66/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v66/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/peerNotifySettings.md b/old_docs/API_docs_v66/constructors/peerNotifySettings.md index f011beb7..2007e4ee 100644 --- a/old_docs/API_docs_v66/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v66/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'si ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v66/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v66/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v66/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/peerSettings.md b/old_docs/API_docs_v66/constructors/peerSettings.md index 8f74bb50..2468fee4 100644 --- a/old_docs/API_docs_v66/constructors/peerSettings.md +++ b/old_docs/API_docs_v66/constructors/peerSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` @@ -32,10 +32,9 @@ $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerSettings={_='peerSettings', report_spam=Bool} ``` diff --git a/old_docs/API_docs_v66/constructors/peerUser.md b/old_docs/API_docs_v66/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v66/constructors/peerUser.md +++ b/old_docs/API_docs_v66/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/phoneCall.md b/old_docs/API_docs_v66/constructors/phoneCall.md index 8104b557..b233076d 100644 --- a/old_docs/API_docs_v66/constructors/phoneCall.md +++ b/old_docs/API_docs_v66/constructors/phoneCall.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, 'connection' => PhoneConnection, 'alternative_connections' => [PhoneConnection, PhoneConnection], 'start_date' => int]; ``` @@ -42,10 +42,9 @@ $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCall={_='phoneCall', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, connection=PhoneConnection, alternative_connections={PhoneConnection}, start_date=int} ``` diff --git a/old_docs/API_docs_v66/constructors/phoneCallAccepted.md b/old_docs/API_docs_v66/constructors/phoneCallAccepted.md index cae97485..80795514 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallAccepted.md +++ b/old_docs/API_docs_v66/constructors/phoneCallAccepted.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` @@ -38,10 +38,9 @@ $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallAccepted={_='phoneCallAccepted', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_b='bytes', protocol=PhoneCallProtocol} ``` diff --git a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonBusy.md b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonBusy.md index 10d47acd..8912371f 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonBusy.md +++ b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonBusy.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonBusy={_='phoneCallDiscardReasonBusy'} ``` diff --git a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonDisconnect.md b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonDisconnect.md index b059c909..3a77aced 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonDisconnect.md +++ b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonDisconnect.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonDisconnect={_='phoneCallDiscardReasonDisconnect'} ``` diff --git a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonHangup.md b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonHangup.md index 8e6e311c..cac342da 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonHangup.md +++ b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonHangup.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonHangup={_='phoneCallDiscardReasonHangup'} ``` diff --git a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonMissed.md b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonMissed.md index b8199e88..e10648eb 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonMissed.md +++ b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonMissed.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonMissed={_='phoneCallDiscardReasonMissed'} ``` diff --git a/old_docs/API_docs_v66/constructors/phoneCallDiscarded.md b/old_docs/API_docs_v66/constructors/phoneCallDiscarded.md index 69fd1caa..e20027a5 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallDiscarded.md +++ b/old_docs/API_docs_v66/constructors/phoneCallDiscarded.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` @@ -36,10 +36,9 @@ $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscarded={_='phoneCallDiscarded', need_rating=Bool, need_debug=Bool, id=long, reason=PhoneCallDiscardReason, duration=int} ``` diff --git a/old_docs/API_docs_v66/constructors/phoneCallEmpty.md b/old_docs/API_docs_v66/constructors/phoneCallEmpty.md index cfb8125b..a51f3ea2 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallEmpty.md +++ b/old_docs/API_docs_v66/constructors/phoneCallEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallEmpty={_='phoneCallEmpty', id=long} ``` diff --git a/old_docs/API_docs_v66/constructors/phoneCallProtocol.md b/old_docs/API_docs_v66/constructors/phoneCallProtocol.md index 9f0e2eed..01574fa2 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallProtocol.md +++ b/old_docs/API_docs_v66/constructors/phoneCallProtocol.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int]; ``` @@ -35,10 +35,9 @@ $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflec ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallProtocol={_='phoneCallProtocol', udp_p2p=Bool, udp_reflector=Bool, min_layer=int, max_layer=int} ``` diff --git a/old_docs/API_docs_v66/constructors/phoneCallRequested.md b/old_docs/API_docs_v66/constructors/phoneCallRequested.md index c96f398f..0465e0fb 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallRequested.md +++ b/old_docs/API_docs_v66/constructors/phoneCallRequested.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` @@ -38,10 +38,9 @@ $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallRequested={_='phoneCallRequested', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_hash='bytes', protocol=PhoneCallProtocol} ``` diff --git a/old_docs/API_docs_v66/constructors/phoneCallWaiting.md b/old_docs/API_docs_v66/constructors/phoneCallWaiting.md index 8dcf8e30..9d9658c8 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallWaiting.md +++ b/old_docs/API_docs_v66/constructors/phoneCallWaiting.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int]; ``` @@ -38,10 +38,9 @@ $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallWaiting={_='phoneCallWaiting', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, protocol=PhoneCallProtocol, receive_date=int} ``` diff --git a/old_docs/API_docs_v66/constructors/phoneConnection.md b/old_docs/API_docs_v66/constructors/phoneConnection.md index b117e12f..562975aa 100644 --- a/old_docs/API_docs_v66/constructors/phoneConnection.md +++ b/old_docs/API_docs_v66/constructors/phoneConnection.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'ipv6' => 'string', 'port' => int, 'peer_tag' => 'bytes']; ``` @@ -36,10 +36,9 @@ $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneConnection={_='phoneConnection', id=long, ip='string', ipv6='string', port=int, peer_tag='bytes'} ``` diff --git a/old_docs/API_docs_v66/constructors/phone_phoneCall.md b/old_docs/API_docs_v66/constructors/phone_phoneCall.md index 00c21143..58912b3f 100644 --- a/old_docs/API_docs_v66/constructors/phone_phoneCall.md +++ b/old_docs/API_docs_v66/constructors/phone_phoneCall.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/photo.md b/old_docs/API_docs_v66/constructors/photo.md index 0cad6364..980980f4 100644 --- a/old_docs/API_docs_v66/constructors/photo.md +++ b/old_docs/API_docs_v66/constructors/photo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -36,10 +36,9 @@ $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', has_stickers=Bool, id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v66/constructors/photoCachedSize.md b/old_docs/API_docs_v66/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v66/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v66/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v66/constructors/photoEmpty.md b/old_docs/API_docs_v66/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v66/constructors/photoEmpty.md +++ b/old_docs/API_docs_v66/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v66/constructors/photoSize.md b/old_docs/API_docs_v66/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v66/constructors/photoSize.md +++ b/old_docs/API_docs_v66/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v66/constructors/photoSizeEmpty.md b/old_docs/API_docs_v66/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v66/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v66/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/photos_photo.md b/old_docs/API_docs_v66/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v66/constructors/photos_photo.md +++ b/old_docs/API_docs_v66/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/photos_photos.md b/old_docs/API_docs_v66/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v66/constructors/photos_photos.md +++ b/old_docs/API_docs_v66/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/photos_photosSlice.md b/old_docs/API_docs_v66/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v66/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v66/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/pong.md b/old_docs/API_docs_v66/constructors/pong.md index ba5a4195..932940d8 100644 --- a/old_docs/API_docs_v66/constructors/pong.md +++ b/old_docs/API_docs_v66/constructors/pong.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long]; ``` @@ -33,10 +33,9 @@ $pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pong={_='pong', msg_id=long, ping_id=long} ``` diff --git a/old_docs/API_docs_v66/constructors/postAddress.md b/old_docs/API_docs_v66/constructors/postAddress.md index 0bd47333..aa8080ec 100644 --- a/old_docs/API_docs_v66/constructors/postAddress.md +++ b/old_docs/API_docs_v66/constructors/postAddress.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' => 'string', 'city' => 'string', 'state' => 'string', 'country_iso2' => 'string', 'post_code' => 'string']; ``` @@ -37,10 +37,9 @@ $postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua postAddress={_='postAddress', street_line1='string', street_line2='string', city='string', state='string', country_iso2='string', post_code='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/privacyKeyChatInvite.md b/old_docs/API_docs_v66/constructors/privacyKeyChatInvite.md index cc6e39b6..44826e55 100644 --- a/old_docs/API_docs_v66/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v66/constructors/privacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v66/constructors/privacyKeyPhoneCall.md b/old_docs/API_docs_v66/constructors/privacyKeyPhoneCall.md index 2fe6db7d..fc38f6a4 100644 --- a/old_docs/API_docs_v66/constructors/privacyKeyPhoneCall.md +++ b/old_docs/API_docs_v66/constructors/privacyKeyPhoneCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` @@ -27,10 +27,9 @@ $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyPhoneCall={_='privacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v66/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v66/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v66/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v66/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v66/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v66/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v66/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v66/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v66/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v66/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v66/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v66/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v66/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v66/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v66/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v66/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v66/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v66/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v66/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v66/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v66/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v66/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v66/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v66/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v66/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v66/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v66/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v66/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v66/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v66/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/old_docs/API_docs_v66/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v66/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/replyInlineMarkup.md b/old_docs/API_docs_v66/constructors/replyInlineMarkup.md index 6d353569..6e481165 100644 --- a/old_docs/API_docs_v66/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v66/constructors/replyInlineMarkup.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -32,10 +32,9 @@ $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v66/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v66/constructors/replyKeyboardForceReply.md index 56e255c1..3f7fae8c 100644 --- a/old_docs/API_docs_v66/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v66/constructors/replyKeyboardForceReply.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` @@ -33,10 +33,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool} ``` diff --git a/old_docs/API_docs_v66/constructors/replyKeyboardHide.md b/old_docs/API_docs_v66/constructors/replyKeyboardHide.md index 7251db49..30e9f399 100644 --- a/old_docs/API_docs_v66/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v66/constructors/replyKeyboardHide.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` @@ -32,10 +32,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide', selective=Bool} ``` diff --git a/old_docs/API_docs_v66/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v66/constructors/replyKeyboardMarkup.md index 87a55463..80f3f654 100644 --- a/old_docs/API_docs_v66/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v66/constructors/replyKeyboardMarkup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -35,10 +35,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v66/constructors/resPQ.md b/old_docs/API_docs_v66/constructors/resPQ.md index d712cdd7..4f3e3874 100644 --- a/old_docs/API_docs_v66/constructors/resPQ.md +++ b/old_docs/API_docs_v66/constructors/resPQ.md @@ -26,7 +26,7 @@ Contains pq to factorize ### Example: -``` +```php $resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => 'string', 'server_public_key_fingerprints' => [long, long]]; ``` @@ -37,10 +37,9 @@ $resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua resPQ={_='resPQ', nonce=int128, server_nonce=int128, pq='string', server_public_key_fingerprints={long}} ``` diff --git a/old_docs/API_docs_v66/constructors/rpc_answer_dropped.md b/old_docs/API_docs_v66/constructors/rpc_answer_dropped.md index e05695b5..e41855e9 100644 --- a/old_docs/API_docs_v66/constructors/rpc_answer_dropped.md +++ b/old_docs/API_docs_v66/constructors/rpc_answer_dropped.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' => int, 'bytes' => int]; ``` @@ -34,10 +34,9 @@ $rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_answer_dropped={_='rpc_answer_dropped', msg_id=long, seq_no=int, bytes=int} ``` diff --git a/old_docs/API_docs_v66/constructors/rpc_answer_dropped_running.md b/old_docs/API_docs_v66/constructors/rpc_answer_dropped_running.md index b98a0cf0..675eea40 100644 --- a/old_docs/API_docs_v66/constructors/rpc_answer_dropped_running.md +++ b/old_docs/API_docs_v66/constructors/rpc_answer_dropped_running.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running']; ``` @@ -27,10 +27,9 @@ $rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_answer_dropped_running={_='rpc_answer_dropped_running'} ``` diff --git a/old_docs/API_docs_v66/constructors/rpc_answer_unknown.md b/old_docs/API_docs_v66/constructors/rpc_answer_unknown.md index f9f425cc..3f2d3c02 100644 --- a/old_docs/API_docs_v66/constructors/rpc_answer_unknown.md +++ b/old_docs/API_docs_v66/constructors/rpc_answer_unknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_answer_unknown = ['_' => 'rpc_answer_unknown']; ``` @@ -27,10 +27,9 @@ $rpc_answer_unknown = ['_' => 'rpc_answer_unknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_answer_unknown={_='rpc_answer_unknown'} ``` diff --git a/old_docs/API_docs_v66/constructors/rpc_error.md b/old_docs/API_docs_v66/constructors/rpc_error.md index 5d9c2e9e..5b40250d 100644 --- a/old_docs/API_docs_v66/constructors/rpc_error.md +++ b/old_docs/API_docs_v66/constructors/rpc_error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => 'string']; ``` @@ -33,10 +33,9 @@ $rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_error={_='rpc_error', error_code=int, error_message='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v66/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v66/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v66/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v66/constructors/sendMessageGamePlayAction.md b/old_docs/API_docs_v66/constructors/sendMessageGamePlayAction.md index 8238ea55..0c395c75 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageGamePlayAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageGamePlayAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGamePlayAction={_='sendMessageGamePlayAction'} ``` diff --git a/old_docs/API_docs_v66/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v66/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v66/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v66/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v66/constructors/sendMessageRecordRoundAction.md b/old_docs/API_docs_v66/constructors/sendMessageRecordRoundAction.md index a388d0ec..30e71ae8 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageRecordRoundAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageRecordRoundAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordRoundAction={_='sendMessageRecordRoundAction'} ``` diff --git a/old_docs/API_docs_v66/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v66/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v66/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v66/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v66/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v66/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/old_docs/API_docs_v66/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v66/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/old_docs/API_docs_v66/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v66/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/old_docs/API_docs_v66/constructors/sendMessageUploadRoundAction.md b/old_docs/API_docs_v66/constructors/sendMessageUploadRoundAction.md index ffd14270..b101d308 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageUploadRoundAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageUploadRoundAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadRoundAction={_='sendMessageUploadRoundAction', progress=int} ``` diff --git a/old_docs/API_docs_v66/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v66/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/old_docs/API_docs_v66/constructors/server_DH_inner_data.md b/old_docs/API_docs_v66/constructors/server_DH_inner_data.md index 8130e1f8..2b442699 100644 --- a/old_docs/API_docs_v66/constructors/server_DH_inner_data.md +++ b/old_docs/API_docs_v66/constructors/server_DH_inner_data.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'g' => int, 'dh_prime' => 'string', 'g_a' => 'string', 'server_time' => int]; ``` @@ -37,10 +37,9 @@ $server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'serv ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua server_DH_inner_data={_='server_DH_inner_data', nonce=int128, server_nonce=int128, g=int, dh_prime='string', g_a='string', server_time=int} ``` diff --git a/old_docs/API_docs_v66/constructors/server_DH_params_fail.md b/old_docs/API_docs_v66/constructors/server_DH_params_fail.md index 24be7fad..d87ee6c1 100644 --- a/old_docs/API_docs_v66/constructors/server_DH_params_fail.md +++ b/old_docs/API_docs_v66/constructors/server_DH_params_fail.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash' => int128]; ``` @@ -34,10 +34,9 @@ $server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua server_DH_params_fail={_='server_DH_params_fail', nonce=int128, server_nonce=int128, new_nonce_hash=int128} ``` diff --git a/old_docs/API_docs_v66/constructors/server_DH_params_ok.md b/old_docs/API_docs_v66/constructors/server_DH_params_ok.md index 1876910b..6c296a39 100644 --- a/old_docs/API_docs_v66/constructors/server_DH_params_ok.md +++ b/old_docs/API_docs_v66/constructors/server_DH_params_ok.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server_nonce' => int128, 'encrypted_answer' => 'string']; ``` @@ -34,10 +34,9 @@ $server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua server_DH_params_ok={_='server_DH_params_ok', nonce=int128, server_nonce=int128, encrypted_answer='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/shippingOption.md b/old_docs/API_docs_v66/constructors/shippingOption.md index 6f0cbc4c..863fd128 100644 --- a/old_docs/API_docs_v66/constructors/shippingOption.md +++ b/old_docs/API_docs_v66/constructors/shippingOption.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string', 'prices' => [LabeledPrice, LabeledPrice]]; ``` @@ -34,10 +34,9 @@ $shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua shippingOption={_='shippingOption', id='string', title='string', prices={LabeledPrice}} ``` diff --git a/old_docs/API_docs_v66/constructors/stickerPack.md b/old_docs/API_docs_v66/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v66/constructors/stickerPack.md +++ b/old_docs/API_docs_v66/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v66/constructors/stickerSet.md b/old_docs/API_docs_v66/constructors/stickerSet.md index afa3b21f..059e4ae7 100644 --- a/old_docs/API_docs_v66/constructors/stickerSet.md +++ b/old_docs/API_docs_v66/constructors/stickerSet.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -41,10 +41,9 @@ $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'of ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', installed=Bool, archived=Bool, official=Bool, masks=Bool, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/old_docs/API_docs_v66/constructors/stickerSetCovered.md b/old_docs/API_docs_v66/constructors/stickerSetCovered.md index cc1c806e..127b821f 100644 --- a/old_docs/API_docs_v66/constructors/stickerSetCovered.md +++ b/old_docs/API_docs_v66/constructors/stickerSetCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document]; ``` @@ -33,10 +33,9 @@ $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetCovered={_='stickerSetCovered', set=StickerSet, cover=Document} ``` diff --git a/old_docs/API_docs_v66/constructors/stickerSetMultiCovered.md b/old_docs/API_docs_v66/constructors/stickerSetMultiCovered.md index 74d10e38..9fc0ad35 100644 --- a/old_docs/API_docs_v66/constructors/stickerSetMultiCovered.md +++ b/old_docs/API_docs_v66/constructors/stickerSetMultiCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetMultiCovered={_='stickerSetMultiCovered', set=StickerSet, covers={Document}} ``` diff --git a/old_docs/API_docs_v66/constructors/storage_fileGif.md b/old_docs/API_docs_v66/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v66/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v66/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v66/constructors/storage_fileJpeg.md b/old_docs/API_docs_v66/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v66/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v66/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v66/constructors/storage_fileMov.md b/old_docs/API_docs_v66/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v66/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v66/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v66/constructors/storage_fileMp3.md b/old_docs/API_docs_v66/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v66/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v66/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v66/constructors/storage_fileMp4.md b/old_docs/API_docs_v66/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v66/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v66/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v66/constructors/storage_filePartial.md b/old_docs/API_docs_v66/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v66/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v66/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v66/constructors/storage_filePdf.md b/old_docs/API_docs_v66/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v66/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v66/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v66/constructors/storage_filePng.md b/old_docs/API_docs_v66/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v66/constructors/storage_filePng.md +++ b/old_docs/API_docs_v66/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v66/constructors/storage_fileUnknown.md b/old_docs/API_docs_v66/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v66/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v66/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v66/constructors/storage_fileWebp.md b/old_docs/API_docs_v66/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v66/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v66/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v66/constructors/textBold.md b/old_docs/API_docs_v66/constructors/textBold.md index 52b668f6..f847ab68 100644 --- a/old_docs/API_docs_v66/constructors/textBold.md +++ b/old_docs/API_docs_v66/constructors/textBold.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textBold = ['_' => 'textBold', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textBold = ['_' => 'textBold', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textBold={_='textBold', text=RichText} ``` diff --git a/old_docs/API_docs_v66/constructors/textConcat.md b/old_docs/API_docs_v66/constructors/textConcat.md index 3f2656ed..ee998a7e 100644 --- a/old_docs/API_docs_v66/constructors/textConcat.md +++ b/old_docs/API_docs_v66/constructors/textConcat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textConcat = ['_' => 'textConcat', 'texts' => [RichText, RichText]]; ``` @@ -32,10 +32,9 @@ $textConcat = ['_' => 'textConcat', 'texts' => [RichText, RichText]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textConcat={_='textConcat', texts={RichText}} ``` diff --git a/old_docs/API_docs_v66/constructors/textEmail.md b/old_docs/API_docs_v66/constructors/textEmail.md index 0b546415..6a1a2ba2 100644 --- a/old_docs/API_docs_v66/constructors/textEmail.md +++ b/old_docs/API_docs_v66/constructors/textEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` @@ -33,10 +33,9 @@ $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textEmail={_='textEmail', text=RichText, email='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/textEmpty.md b/old_docs/API_docs_v66/constructors/textEmpty.md index 4e96adb3..dfe867ed 100644 --- a/old_docs/API_docs_v66/constructors/textEmpty.md +++ b/old_docs/API_docs_v66/constructors/textEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textEmpty = ['_' => 'textEmpty']; ``` @@ -27,10 +27,9 @@ $textEmpty = ['_' => 'textEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textEmpty={_='textEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/textFixed.md b/old_docs/API_docs_v66/constructors/textFixed.md index e40767d9..a83607fa 100644 --- a/old_docs/API_docs_v66/constructors/textFixed.md +++ b/old_docs/API_docs_v66/constructors/textFixed.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textFixed={_='textFixed', text=RichText} ``` diff --git a/old_docs/API_docs_v66/constructors/textItalic.md b/old_docs/API_docs_v66/constructors/textItalic.md index e32fbec2..4aa819b6 100644 --- a/old_docs/API_docs_v66/constructors/textItalic.md +++ b/old_docs/API_docs_v66/constructors/textItalic.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textItalic={_='textItalic', text=RichText} ``` diff --git a/old_docs/API_docs_v66/constructors/textPlain.md b/old_docs/API_docs_v66/constructors/textPlain.md index 2e654fde..9f83d5fa 100644 --- a/old_docs/API_docs_v66/constructors/textPlain.md +++ b/old_docs/API_docs_v66/constructors/textPlain.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textPlain={_='textPlain', text='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/textStrike.md b/old_docs/API_docs_v66/constructors/textStrike.md index 0090e980..0329cbd9 100644 --- a/old_docs/API_docs_v66/constructors/textStrike.md +++ b/old_docs/API_docs_v66/constructors/textStrike.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textStrike={_='textStrike', text=RichText} ``` diff --git a/old_docs/API_docs_v66/constructors/textUnderline.md b/old_docs/API_docs_v66/constructors/textUnderline.md index 843d0a9a..adee0d2f 100644 --- a/old_docs/API_docs_v66/constructors/textUnderline.md +++ b/old_docs/API_docs_v66/constructors/textUnderline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textUnderline={_='textUnderline', text=RichText} ``` diff --git a/old_docs/API_docs_v66/constructors/textUrl.md b/old_docs/API_docs_v66/constructors/textUrl.md index 6938f27e..bb497739 100644 --- a/old_docs/API_docs_v66/constructors/textUrl.md +++ b/old_docs/API_docs_v66/constructors/textUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id' => long]; ``` @@ -34,10 +34,9 @@ $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textUrl={_='textUrl', text=RichText, url='string', webpage_id=long} ``` diff --git a/old_docs/API_docs_v66/constructors/topPeer.md b/old_docs/API_docs_v66/constructors/topPeer.md index aa49751b..fff00b7d 100644 --- a/old_docs/API_docs_v66/constructors/topPeer.md +++ b/old_docs/API_docs_v66/constructors/topPeer.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` @@ -33,10 +33,9 @@ $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeer={_='topPeer', peer=Peer, rating=double} ``` diff --git a/old_docs/API_docs_v66/constructors/topPeerCategoryBotsInline.md b/old_docs/API_docs_v66/constructors/topPeerCategoryBotsInline.md index 1d57e310..3f7906e2 100644 --- a/old_docs/API_docs_v66/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v66/constructors/topPeerCategoryBotsInline.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsInline={_='topPeerCategoryBotsInline'} ``` diff --git a/old_docs/API_docs_v66/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v66/constructors/topPeerCategoryBotsPM.md index f6207626..78f54b44 100644 --- a/old_docs/API_docs_v66/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v66/constructors/topPeerCategoryBotsPM.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsPM={_='topPeerCategoryBotsPM'} ``` diff --git a/old_docs/API_docs_v66/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v66/constructors/topPeerCategoryChannels.md index 8f0e1fcb..02947d85 100644 --- a/old_docs/API_docs_v66/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v66/constructors/topPeerCategoryChannels.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryChannels={_='topPeerCategoryChannels'} ``` diff --git a/old_docs/API_docs_v66/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v66/constructors/topPeerCategoryCorrespondents.md index 9435610d..c0362f78 100644 --- a/old_docs/API_docs_v66/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v66/constructors/topPeerCategoryCorrespondents.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents'} ``` diff --git a/old_docs/API_docs_v66/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v66/constructors/topPeerCategoryGroups.md index 3b6859df..dddb951c 100644 --- a/old_docs/API_docs_v66/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v66/constructors/topPeerCategoryGroups.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryGroups={_='topPeerCategoryGroups'} ``` diff --git a/old_docs/API_docs_v66/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v66/constructors/topPeerCategoryPeers.md index 886ab6f9..36d071f6 100644 --- a/old_docs/API_docs_v66/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v66/constructors/topPeerCategoryPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer, TopPeer]]; ``` @@ -34,10 +34,9 @@ $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}} ``` diff --git a/old_docs/API_docs_v66/constructors/true.md b/old_docs/API_docs_v66/constructors/true.md index 2e27ecbf..4863f16b 100644 --- a/old_docs/API_docs_v66/constructors/true.md +++ b/old_docs/API_docs_v66/constructors/true.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $true = ['_' => 'true']; ``` @@ -27,10 +27,9 @@ $true = ['_' => 'true']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua true={_='true'} ``` diff --git a/old_docs/API_docs_v66/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v66/constructors/updateBotCallbackQuery.md index 2216e362..389295a0 100644 --- a/old_docs/API_docs_v66/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v66/constructors/updateBotCallbackQuery.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -38,10 +38,9 @@ $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v66/constructors/updateBotInlineQuery.md index 1cc45358..ed15d35f 100644 --- a/old_docs/API_docs_v66/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v66/constructors/updateBotInlineQuery.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` @@ -36,10 +36,9 @@ $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query='string', geo=GeoPoint, offset='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/updateBotInlineSend.md b/old_docs/API_docs_v66/constructors/updateBotInlineSend.md index fe6c01d3..dda18420 100644 --- a/old_docs/API_docs_v66/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v66/constructors/updateBotInlineSend.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` @@ -36,10 +36,9 @@ $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineSend={_='updateBotInlineSend', user_id=int, query='string', geo=GeoPoint, id='string', msg_id=InputBotInlineMessageID} ``` diff --git a/old_docs/API_docs_v66/constructors/updateBotPrecheckoutQuery.md b/old_docs/API_docs_v66/constructors/updateBotPrecheckoutQuery.md index f7e13668..94098aac 100644 --- a/old_docs/API_docs_v66/constructors/updateBotPrecheckoutQuery.md +++ b/old_docs/API_docs_v66/constructors/updateBotPrecheckoutQuery.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'currency' => 'string', 'total_amount' => long]; ``` @@ -38,10 +38,9 @@ $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotPrecheckoutQuery={_='updateBotPrecheckoutQuery', query_id=long, user_id=int, payload='bytes', info=PaymentRequestedInfo, shipping_option_id='string', currency='string', total_amount=long} ``` diff --git a/old_docs/API_docs_v66/constructors/updateBotShippingQuery.md b/old_docs/API_docs_v66/constructors/updateBotShippingQuery.md index b7413761..41735d33 100644 --- a/old_docs/API_docs_v66/constructors/updateBotShippingQuery.md +++ b/old_docs/API_docs_v66/constructors/updateBotShippingQuery.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'shipping_address' => PostAddress]; ``` @@ -35,10 +35,9 @@ $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotShippingQuery={_='updateBotShippingQuery', query_id=long, user_id=int, payload='bytes', shipping_address=PostAddress} ``` diff --git a/old_docs/API_docs_v66/constructors/updateBotWebhookJSON.md b/old_docs/API_docs_v66/constructors/updateBotWebhookJSON.md index c444fe16..3b917e17 100644 --- a/old_docs/API_docs_v66/constructors/updateBotWebhookJSON.md +++ b/old_docs/API_docs_v66/constructors/updateBotWebhookJSON.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` @@ -32,10 +32,9 @@ $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotWebhookJSON={_='updateBotWebhookJSON', data=DataJSON} ``` diff --git a/old_docs/API_docs_v66/constructors/updateBotWebhookJSONQuery.md b/old_docs/API_docs_v66/constructors/updateBotWebhookJSONQuery.md index c8014f35..9ede5002 100644 --- a/old_docs/API_docs_v66/constructors/updateBotWebhookJSONQuery.md +++ b/old_docs/API_docs_v66/constructors/updateBotWebhookJSONQuery.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => long, 'data' => DataJSON, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotWebhookJSONQuery={_='updateBotWebhookJSONQuery', query_id=long, data=DataJSON, timeout=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateChannel.md b/old_docs/API_docs_v66/constructors/updateChannel.md index e615920a..fb876328 100644 --- a/old_docs/API_docs_v66/constructors/updateChannel.md +++ b/old_docs/API_docs_v66/constructors/updateChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannel={_='updateChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v66/constructors/updateChannelMessageViews.md index 19e0b648..d62f055a 100644 --- a/old_docs/API_docs_v66/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v66/constructors/updateChannelMessageViews.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` @@ -34,10 +34,9 @@ $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateChannelPinnedMessage.md b/old_docs/API_docs_v66/constructors/updateChannelPinnedMessage.md index c6e66353..0d767fb8 100644 --- a/old_docs/API_docs_v66/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v66/constructors/updateChannelPinnedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateChannelTooLong.md b/old_docs/API_docs_v66/constructors/updateChannelTooLong.md index e42904d0..179a43dd 100644 --- a/old_docs/API_docs_v66/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v66/constructors/updateChannelTooLong.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateChannelWebPage.md b/old_docs/API_docs_v66/constructors/updateChannelWebPage.md index f1ae421b..7b037a9d 100644 --- a/old_docs/API_docs_v66/constructors/updateChannelWebPage.md +++ b/old_docs/API_docs_v66/constructors/updateChannelWebPage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'we ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelWebPage={_='updateChannelWebPage', channel_id=int, webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateChatAdmins.md b/old_docs/API_docs_v66/constructors/updateChatAdmins.md index 87ffd626..aac09762 100644 --- a/old_docs/API_docs_v66/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v66/constructors/updateChatAdmins.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v66/constructors/updateChatParticipantAdd.md index ea5157ad..fe76dc62 100644 --- a/old_docs/API_docs_v66/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v66/constructors/updateChatParticipantAdd.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` @@ -36,10 +36,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v66/constructors/updateChatParticipantAdmin.md index b1022850..d262b2e6 100644 --- a/old_docs/API_docs_v66/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v66/constructors/updateChatParticipantAdmin.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v66/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v66/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v66/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateChatParticipants.md b/old_docs/API_docs_v66/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v66/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v66/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v66/constructors/updateChatUserTyping.md b/old_docs/API_docs_v66/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v66/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v66/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v66/constructors/updateConfig.md b/old_docs/API_docs_v66/constructors/updateConfig.md index 6f25cf11..6d67156d 100644 --- a/old_docs/API_docs_v66/constructors/updateConfig.md +++ b/old_docs/API_docs_v66/constructors/updateConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateConfig = ['_' => 'updateConfig']; ``` @@ -27,10 +27,9 @@ $updateConfig = ['_' => 'updateConfig']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateConfig={_='updateConfig'} ``` diff --git a/old_docs/API_docs_v66/constructors/updateContactLink.md b/old_docs/API_docs_v66/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v66/constructors/updateContactLink.md +++ b/old_docs/API_docs_v66/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v66/constructors/updateContactRegistered.md b/old_docs/API_docs_v66/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v66/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v66/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateDcOptions.md b/old_docs/API_docs_v66/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v66/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v66/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v66/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v66/constructors/updateDeleteChannelMessages.md index 0f84f3f7..8fb10b65 100644 --- a/old_docs/API_docs_v66/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v66/constructors/updateDeleteChannelMessages.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateDeleteMessages.md b/old_docs/API_docs_v66/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v66/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v66/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateDialogPinned.md b/old_docs/API_docs_v66/constructors/updateDialogPinned.md index 8ecafcfd..ba2c9090 100644 --- a/old_docs/API_docs_v66/constructors/updateDialogPinned.md +++ b/old_docs/API_docs_v66/constructors/updateDialogPinned.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer]; ``` @@ -33,10 +33,9 @@ $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDialogPinned={_='updateDialogPinned', pinned=Bool, peer=Peer} ``` diff --git a/old_docs/API_docs_v66/constructors/updateDraftMessage.md b/old_docs/API_docs_v66/constructors/updateDraftMessage.md index 7e759a4f..1bf7c2a4 100644 --- a/old_docs/API_docs_v66/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v66/constructors/updateDraftMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage]; ``` @@ -33,10 +33,9 @@ $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => D ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v66/constructors/updateEditChannelMessage.md b/old_docs/API_docs_v66/constructors/updateEditChannelMessage.md index 959c433a..485afae1 100644 --- a/old_docs/API_docs_v66/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v66/constructors/updateEditChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateEditMessage.md b/old_docs/API_docs_v66/constructors/updateEditMessage.md index f9f820e8..9f986f86 100644 --- a/old_docs/API_docs_v66/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v66/constructors/updateEditMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v66/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v66/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v66/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v66/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v66/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v66/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateEncryption.md b/old_docs/API_docs_v66/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v66/constructors/updateEncryption.md +++ b/old_docs/API_docs_v66/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateInlineBotCallbackQuery.md b/old_docs/API_docs_v66/constructors/updateInlineBotCallbackQuery.md index b1b40479..fb112694 100644 --- a/old_docs/API_docs_v66/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v66/constructors/updateInlineBotCallbackQuery.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -37,10 +37,9 @@ $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/updateMessageID.md b/old_docs/API_docs_v66/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v66/constructors/updateMessageID.md +++ b/old_docs/API_docs_v66/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v66/constructors/updateNewChannelMessage.md index 59dbc820..9fa1c7ec 100644 --- a/old_docs/API_docs_v66/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v66/constructors/updateNewChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Messa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v66/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v66/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v66/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateNewMessage.md b/old_docs/API_docs_v66/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v66/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v66/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateNewStickerSet.md b/old_docs/API_docs_v66/constructors/updateNewStickerSet.md index c36d4617..5ba327ea 100644 --- a/old_docs/API_docs_v66/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v66/constructors/updateNewStickerSet.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` @@ -32,10 +32,9 @@ $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_S ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} ``` diff --git a/old_docs/API_docs_v66/constructors/updateNotifySettings.md b/old_docs/API_docs_v66/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v66/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v66/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v66/constructors/updatePhoneCall.md b/old_docs/API_docs_v66/constructors/updatePhoneCall.md index 61730eae..445e1fc0 100644 --- a/old_docs/API_docs_v66/constructors/updatePhoneCall.md +++ b/old_docs/API_docs_v66/constructors/updatePhoneCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` @@ -32,10 +32,9 @@ $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePhoneCall={_='updatePhoneCall', phone_call=PhoneCall} ``` diff --git a/old_docs/API_docs_v66/constructors/updatePinnedDialogs.md b/old_docs/API_docs_v66/constructors/updatePinnedDialogs.md index 4d082bed..4a99a7bd 100644 --- a/old_docs/API_docs_v66/constructors/updatePinnedDialogs.md +++ b/old_docs/API_docs_v66/constructors/updatePinnedDialogs.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer, Peer]]; ``` @@ -32,10 +32,9 @@ $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer, Peer]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePinnedDialogs={_='updatePinnedDialogs', order={Peer}} ``` diff --git a/old_docs/API_docs_v66/constructors/updatePrivacy.md b/old_docs/API_docs_v66/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v66/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v66/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v66/constructors/updatePtsChanged.md b/old_docs/API_docs_v66/constructors/updatePtsChanged.md index 76b49a1f..dac1d461 100644 --- a/old_docs/API_docs_v66/constructors/updatePtsChanged.md +++ b/old_docs/API_docs_v66/constructors/updatePtsChanged.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` @@ -27,10 +27,9 @@ $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePtsChanged={_='updatePtsChanged'} ``` diff --git a/old_docs/API_docs_v66/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v66/constructors/updateReadChannelInbox.md index be964e20..c8c26acb 100644 --- a/old_docs/API_docs_v66/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v66/constructors/updateReadChannelInbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateReadChannelOutbox.md b/old_docs/API_docs_v66/constructors/updateReadChannelOutbox.md index c725d108..664108d1 100644 --- a/old_docs/API_docs_v66/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v66/constructors/updateReadChannelOutbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelOutbox={_='updateReadChannelOutbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateReadFeaturedStickers.md b/old_docs/API_docs_v66/constructors/updateReadFeaturedStickers.md index ea46d41f..af7fd3d7 100644 --- a/old_docs/API_docs_v66/constructors/updateReadFeaturedStickers.md +++ b/old_docs/API_docs_v66/constructors/updateReadFeaturedStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` @@ -27,10 +27,9 @@ $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadFeaturedStickers={_='updateReadFeaturedStickers'} ``` diff --git a/old_docs/API_docs_v66/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v66/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v66/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v66/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v66/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v66/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v66/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v66/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/old_docs/API_docs_v66/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v66/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateRecentStickers.md b/old_docs/API_docs_v66/constructors/updateRecentStickers.md index cb15d01f..6f9acb77 100644 --- a/old_docs/API_docs_v66/constructors/updateRecentStickers.md +++ b/old_docs/API_docs_v66/constructors/updateRecentStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` @@ -27,10 +27,9 @@ $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateRecentStickers={_='updateRecentStickers'} ``` diff --git a/old_docs/API_docs_v66/constructors/updateSavedGifs.md b/old_docs/API_docs_v66/constructors/updateSavedGifs.md index dd17f321..ea5619fc 100644 --- a/old_docs/API_docs_v66/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v66/constructors/updateSavedGifs.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` @@ -27,10 +27,9 @@ $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v66/constructors/updateServiceNotification.md b/old_docs/API_docs_v66/constructors/updateServiceNotification.md index 1da6885f..0833007b 100644 --- a/old_docs/API_docs_v66/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v66/constructors/updateServiceNotification.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -37,10 +37,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', popup=Bool, inbox_date=int, type='string', message='string', media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v66/constructors/updateShort.md b/old_docs/API_docs_v66/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v66/constructors/updateShort.md +++ b/old_docs/API_docs_v66/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updateShortChatMessage.md b/old_docs/API_docs_v66/constructors/updateShortChatMessage.md index d62e0729..cbeb4739 100644 --- a/old_docs/API_docs_v66/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v66/constructors/updateShortChatMessage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -46,10 +46,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'ment ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v66/constructors/updateShortMessage.md b/old_docs/API_docs_v66/constructors/updateShortMessage.md index d4effcb8..a8348773 100644 --- a/old_docs/API_docs_v66/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v66/constructors/updateShortMessage.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -45,10 +45,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v66/constructors/updateShortSentMessage.md b/old_docs/API_docs_v66/constructors/updateShortSentMessage.md index fd7035c3..2a318e56 100644 --- a/old_docs/API_docs_v66/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v66/constructors/updateShortSentMessage.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -38,10 +38,9 @@ $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v66/constructors/updateStickerSets.md b/old_docs/API_docs_v66/constructors/updateStickerSets.md index 4f045d67..e4cc23a0 100644 --- a/old_docs/API_docs_v66/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v66/constructors/updateStickerSets.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSets = ['_' => 'updateStickerSets']; ``` @@ -27,10 +27,9 @@ $updateStickerSets = ['_' => 'updateStickerSets']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v66/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v66/constructors/updateStickerSetsOrder.md index e36470ad..74405f69 100644 --- a/old_docs/API_docs_v66/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v66/constructors/updateStickerSetsOrder.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long, long]]; ``` @@ -33,10 +33,9 @@ $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'or ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSetsOrder={_='updateStickerSetsOrder', masks=Bool, order={long}} ``` diff --git a/old_docs/API_docs_v66/constructors/updateUserBlocked.md b/old_docs/API_docs_v66/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v66/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v66/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v66/constructors/updateUserName.md b/old_docs/API_docs_v66/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v66/constructors/updateUserName.md +++ b/old_docs/API_docs_v66/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/updateUserPhone.md b/old_docs/API_docs_v66/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v66/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v66/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/updateUserPhoto.md b/old_docs/API_docs_v66/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v66/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v66/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v66/constructors/updateUserStatus.md b/old_docs/API_docs_v66/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v66/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v66/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v66/constructors/updateUserTyping.md b/old_docs/API_docs_v66/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v66/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v66/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v66/constructors/updateWebPage.md b/old_docs/API_docs_v66/constructors/updateWebPage.md index 9f468619..932d8ff2 100644 --- a/old_docs/API_docs_v66/constructors/updateWebPage.md +++ b/old_docs/API_docs_v66/constructors/updateWebPage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updates.md b/old_docs/API_docs_v66/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v66/constructors/updates.md +++ b/old_docs/API_docs_v66/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updatesCombined.md b/old_docs/API_docs_v66/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v66/constructors/updatesCombined.md +++ b/old_docs/API_docs_v66/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updatesTooLong.md b/old_docs/API_docs_v66/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v66/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v66/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v66/constructors/updates_channelDifference.md b/old_docs/API_docs_v66/constructors/updates_channelDifference.md index 21b618c2..df1dafd6 100644 --- a/old_docs/API_docs_v66/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v66/constructors/updates_channelDifference.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v66/constructors/updates_channelDifferenceEmpty.md index a2e49340..a5be0377 100644 --- a/old_docs/API_docs_v66/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v66/constructors/updates_channelDifferenceEmpty.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'fin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v66/constructors/updates_channelDifferenceTooLong.md index 0debd690..8f7e8b2f 100644 --- a/old_docs/API_docs_v66/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v66/constructors/updates_channelDifferenceTooLong.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -41,10 +41,9 @@ $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v66/constructors/updates_difference.md b/old_docs/API_docs_v66/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v66/constructors/updates_difference.md +++ b/old_docs/API_docs_v66/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v66/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v66/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v66/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v66/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updates_differenceSlice.md b/old_docs/API_docs_v66/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v66/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v66/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v66/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v66/constructors/updates_differenceTooLong.md index da55eddf..2e96fdd5 100644 --- a/old_docs/API_docs_v66/constructors/updates_differenceTooLong.md +++ b/old_docs/API_docs_v66/constructors/updates_differenceTooLong.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` @@ -32,10 +32,9 @@ $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceTooLong={_='updates.differenceTooLong', pts=int} ``` diff --git a/old_docs/API_docs_v66/constructors/updates_state.md b/old_docs/API_docs_v66/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v66/constructors/updates_state.md +++ b/old_docs/API_docs_v66/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v66/constructors/upload_cdnFile.md b/old_docs/API_docs_v66/constructors/upload_cdnFile.md index b42b285d..586e6c32 100644 --- a/old_docs/API_docs_v66/constructors/upload_cdnFile.md +++ b/old_docs/API_docs_v66/constructors/upload_cdnFile.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; ``` @@ -32,10 +32,9 @@ $upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_cdnFile={_='upload.cdnFile', bytes='bytes'} ``` diff --git a/old_docs/API_docs_v66/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v66/constructors/upload_cdnFileReuploadNeeded.md index b770fdf6..a770ff3d 100644 --- a/old_docs/API_docs_v66/constructors/upload_cdnFileReuploadNeeded.md +++ b/old_docs/API_docs_v66/constructors/upload_cdnFileReuploadNeeded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; ``` @@ -32,10 +32,9 @@ $upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} ``` diff --git a/old_docs/API_docs_v66/constructors/upload_file.md b/old_docs/API_docs_v66/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v66/constructors/upload_file.md +++ b/old_docs/API_docs_v66/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v66/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v66/constructors/upload_fileCdnRedirect.md index dd159e83..4ab18bd1 100644 --- a/old_docs/API_docs_v66/constructors/upload_fileCdnRedirect.md +++ b/old_docs/API_docs_v66/constructors/upload_fileCdnRedirect.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes']; ``` @@ -35,10 +35,9 @@ $upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'fil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes'} ``` diff --git a/old_docs/API_docs_v66/constructors/upload_webFile.md b/old_docs/API_docs_v66/constructors/upload_webFile.md index 296105ee..d94afb72 100644 --- a/old_docs/API_docs_v66/constructors/upload_webFile.md +++ b/old_docs/API_docs_v66/constructors/upload_webFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v66/constructors/user.md b/old_docs/API_docs_v66/constructors/user.md index e15841b7..ebe7d5ed 100644 --- a/old_docs/API_docs_v66/constructors/user.md +++ b/old_docs/API_docs_v66/constructors/user.md @@ -43,7 +43,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => 'string', 'bot_inline_placeholder' => 'string', 'lang_code' => 'string']; ``` @@ -54,10 +54,9 @@ $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, min=Bool, bot_inline_geo=Bool, id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason='string', bot_inline_placeholder='string', lang_code='string'} ``` diff --git a/old_docs/API_docs_v66/constructors/userEmpty.md b/old_docs/API_docs_v66/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v66/constructors/userEmpty.md +++ b/old_docs/API_docs_v66/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/userFull.md b/old_docs/API_docs_v66/constructors/userFull.md index 0ab25737..00b03c07 100644 --- a/old_docs/API_docs_v66/constructors/userFull.md +++ b/old_docs/API_docs_v66/constructors/userFull.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` @@ -41,10 +41,9 @@ $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v66/constructors/userProfilePhoto.md b/old_docs/API_docs_v66/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v66/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v66/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v66/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v66/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v66/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v66/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/userStatusEmpty.md b/old_docs/API_docs_v66/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v66/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v66/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v66/constructors/userStatusLastMonth.md b/old_docs/API_docs_v66/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v66/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v66/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v66/constructors/userStatusLastWeek.md b/old_docs/API_docs_v66/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v66/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v66/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v66/constructors/userStatusOffline.md b/old_docs/API_docs_v66/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v66/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v66/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v66/constructors/userStatusOnline.md b/old_docs/API_docs_v66/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v66/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v66/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v66/constructors/userStatusRecently.md b/old_docs/API_docs_v66/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v66/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v66/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v66/constructors/wallPaper.md b/old_docs/API_docs_v66/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v66/constructors/wallPaper.md +++ b/old_docs/API_docs_v66/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v66/constructors/wallPaperSolid.md b/old_docs/API_docs_v66/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v66/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v66/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v66/constructors/webDocument.md b/old_docs/API_docs_v66/constructors/webDocument.md index 064367a3..67e158fa 100644 --- a/old_docs/API_docs_v66/constructors/webDocument.md +++ b/old_docs/API_docs_v66/constructors/webDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'dc_id' => int]; ``` @@ -37,10 +37,9 @@ $webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webDocument={_='webDocument', url='string', access_hash=long, size=int, mime_type='string', attributes={DocumentAttribute}, dc_id=int} ``` diff --git a/old_docs/API_docs_v66/constructors/webPage.md b/old_docs/API_docs_v66/constructors/webPage.md index 371b1e56..ee070624 100644 --- a/old_docs/API_docs_v66/constructors/webPage.md +++ b/old_docs/API_docs_v66/constructors/webPage.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'hash' => int, 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document, 'cached_page' => Page]; ``` @@ -48,10 +48,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', hash=int, type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document, cached_page=Page} ``` diff --git a/old_docs/API_docs_v66/constructors/webPageEmpty.md b/old_docs/API_docs_v66/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v66/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v66/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v66/constructors/webPageNotModified.md b/old_docs/API_docs_v66/constructors/webPageNotModified.md index 557c2947..a180dd51 100644 --- a/old_docs/API_docs_v66/constructors/webPageNotModified.md +++ b/old_docs/API_docs_v66/constructors/webPageNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageNotModified = ['_' => 'webPageNotModified']; ``` @@ -27,10 +27,9 @@ $webPageNotModified = ['_' => 'webPageNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageNotModified={_='webPageNotModified'} ``` diff --git a/old_docs/API_docs_v66/constructors/webPagePending.md b/old_docs/API_docs_v66/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v66/constructors/webPagePending.md +++ b/old_docs/API_docs_v66/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v66/methods/account_changePhone.md b/old_docs/API_docs_v66/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v66/methods/account_changePhone.md +++ b/old_docs/API_docs_v66/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/account_checkUsername.md b/old_docs/API_docs_v66/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v66/methods/account_checkUsername.md +++ b/old_docs/API_docs_v66/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/account_confirmPhone.md b/old_docs/API_docs_v66/methods/account_confirmPhone.md index a42b69b7..214f54e3 100644 --- a/old_docs/API_docs_v66/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v66/methods/account_confirmPhone.md @@ -25,7 +25,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.confirmPhone({phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/account_deleteAccount.md b/old_docs/API_docs_v66/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v66/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v66/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/account_getAccountTTL.md b/old_docs/API_docs_v66/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v66/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v66/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v66/methods/account_getAuthorizations.md b/old_docs/API_docs_v66/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v66/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v66/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v66/methods/account_getNotifySettings.md b/old_docs/API_docs_v66/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v66/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v66/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v66/methods/account_getPassword.md b/old_docs/API_docs_v66/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v66/methods/account_getPassword.md +++ b/old_docs/API_docs_v66/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v66/methods/account_getPasswordSettings.md b/old_docs/API_docs_v66/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v66/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v66/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v66/methods/account_getPrivacy.md b/old_docs/API_docs_v66/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v66/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v66/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v66/methods/account_getTmpPassword.md b/old_docs/API_docs_v66/methods/account_getTmpPassword.md index 504fbbc3..be75dc69 100644 --- a/old_docs/API_docs_v66/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v66/methods/account_getTmpPassword.md @@ -25,7 +25,7 @@ Get temporary password for buying products through bots ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua account_TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/account_getWallPapers.md b/old_docs/API_docs_v66/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v66/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v66/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v66/methods/account_registerDevice.md b/old_docs/API_docs_v66/methods/account_registerDevice.md index 25549dab..ed1fced0 100644 --- a/old_docs/API_docs_v66/methods/account_registerDevice.md +++ b/old_docs/API_docs_v66/methods/account_registerDevice.md @@ -25,7 +25,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/account_reportPeer.md b/old_docs/API_docs_v66/methods/account_reportPeer.md index d8c49851..673b48bf 100644 --- a/old_docs/API_docs_v66/methods/account_reportPeer.md +++ b/old_docs/API_docs_v66/methods/account_reportPeer.md @@ -25,7 +25,7 @@ Report for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reason - Json encoded ReportReason Or, if you're into Lua: -``` +```lua Bool = account.reportPeer({peer=InputPeer, reason=ReportReason, }) ``` diff --git a/old_docs/API_docs_v66/methods/account_resetAuthorization.md b/old_docs/API_docs_v66/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v66/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v66/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v66/methods/account_resetNotifySettings.md b/old_docs/API_docs_v66/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v66/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v66/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v66/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v66/methods/account_sendChangePhoneCode.md index 33a001b9..123a5880 100644 --- a/old_docs/API_docs_v66/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v66/methods/account_sendChangePhoneCode.md @@ -26,7 +26,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v66/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v66/methods/account_sendConfirmPhoneCode.md index a70ad5a3..5c2612c2 100644 --- a/old_docs/API_docs_v66/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v66/methods/account_sendConfirmPhoneCode.md @@ -26,7 +26,7 @@ Send confirmation phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v66/methods/account_setAccountTTL.md b/old_docs/API_docs_v66/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v66/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v66/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v66/methods/account_setPrivacy.md b/old_docs/API_docs_v66/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v66/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v66/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v66/methods/account_unregisterDevice.md b/old_docs/API_docs_v66/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v66/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v66/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v66/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v66/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v66/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/account_updateNotifySettings.md b/old_docs/API_docs_v66/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v66/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v66/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v66/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v66/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v66/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v66/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v66/methods/account_updateProfile.md b/old_docs/API_docs_v66/methods/account_updateProfile.md index f415381f..f54515e5 100644 --- a/old_docs/API_docs_v66/methods/account_updateProfile.md +++ b/old_docs/API_docs_v66/methods/account_updateProfile.md @@ -26,7 +26,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', about='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/account_updateStatus.md b/old_docs/API_docs_v66/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v66/methods/account_updateStatus.md +++ b/old_docs/API_docs_v66/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v66/methods/account_updateUsername.md b/old_docs/API_docs_v66/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v66/methods/account_updateUsername.md +++ b/old_docs/API_docs_v66/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/auth_cancelCode.md b/old_docs/API_docs_v66/methods/auth_cancelCode.md index 0b53954c..352c88e9 100644 --- a/old_docs/API_docs_v66/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v66/methods/auth_cancelCode.md @@ -25,7 +25,7 @@ Invalidate sent phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/auth_checkPhone.md b/old_docs/API_docs_v66/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v66/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v66/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v66/methods/auth_dropTempAuthKeys.md index 26d63e12..64ce7528 100644 --- a/old_docs/API_docs_v66/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v66/methods/auth_dropTempAuthKeys.md @@ -24,7 +24,7 @@ Delete all temporary authorization keys except the ones provided ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ except_auth_keys - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = auth.dropTempAuthKeys({except_auth_keys={long}, }) ``` diff --git a/old_docs/API_docs_v66/methods/auth_recoverPassword.md b/old_docs/API_docs_v66/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v66/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v66/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v66/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v66/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v66/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v66/methods/auth_resendCode.md b/old_docs/API_docs_v66/methods/auth_resendCode.md index 28350d37..4ce58975 100644 --- a/old_docs/API_docs_v66/methods/auth_resendCode.md +++ b/old_docs/API_docs_v66/methods/auth_resendCode.md @@ -25,7 +25,7 @@ Resend the SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v66/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v66/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v66/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v66/methods/auth_sendInvites.md b/old_docs/API_docs_v66/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v66/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v66/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v66/methods/bots_answerWebhookJSONQuery.md index 6ed252ff..33b6c2a3 100644 --- a/old_docs/API_docs_v66/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v66/methods/bots_answerWebhookJSONQuery.md @@ -25,7 +25,7 @@ Send webhook request via bot API ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ data - Json encoded DataJSON Or, if you're into Lua: -``` +```lua Bool = bots.answerWebhookJSONQuery({query_id=long, data=DataJSON, }) ``` diff --git a/old_docs/API_docs_v66/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v66/methods/bots_sendCustomRequest.md index d14215ec..bd368df5 100644 --- a/old_docs/API_docs_v66/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v66/methods/bots_sendCustomRequest.md @@ -25,7 +25,7 @@ Send a custom request to the bot API ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ params - Json encoded DataJSON Or, if you're into Lua: -``` +```lua DataJSON = bots.sendCustomRequest({custom_method='string', params=DataJSON, }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_checkUsername.md b/old_docs/API_docs_v66/methods/channels_checkUsername.md index d287b3ca..573bf8f0 100644 --- a/old_docs/API_docs_v66/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v66/methods/channels_checkUsername.md @@ -25,7 +25,7 @@ Check if this username is free and can be assigned to a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.checkUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_createChannel.md b/old_docs/API_docs_v66/methods/channels_createChannel.md index 356f473a..1821c864 100644 --- a/old_docs/API_docs_v66/methods/channels_createChannel.md +++ b/old_docs/API_docs_v66/methods/channels_createChannel.md @@ -27,7 +27,7 @@ Create channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title='string', about='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_deleteChannel.md b/old_docs/API_docs_v66/methods/channels_deleteChannel.md index b55d91b8..a79ccb9f 100644 --- a/old_docs/API_docs_v66/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v66/methods/channels_deleteChannel.md @@ -24,7 +24,7 @@ Delete a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.deleteChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_deleteMessages.md b/old_docs/API_docs_v66/methods/channels_deleteMessages.md index 03625c94..8cd7ebb3 100644 --- a/old_docs/API_docs_v66/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v66/methods/channels_deleteMessages.md @@ -25,7 +25,7 @@ Delete channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v66/methods/channels_deleteUserHistory.md index 204a8786..78baa90f 100644 --- a/old_docs/API_docs_v66/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v66/methods/channels_deleteUserHistory.md @@ -25,7 +25,7 @@ Delete all messages of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_editAbout.md b/old_docs/API_docs_v66/methods/channels_editAbout.md index fd861133..549d7ea5 100644 --- a/old_docs/API_docs_v66/methods/channels_editAbout.md +++ b/old_docs/API_docs_v66/methods/channels_editAbout.md @@ -25,7 +25,7 @@ Edit the about text of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.editAbout({channel=InputChannel, about='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_editAdmin.md b/old_docs/API_docs_v66/methods/channels_editAdmin.md index bc0793fe..b41561e0 100644 --- a/old_docs/API_docs_v66/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v66/methods/channels_editAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ role - Json encoded ChannelParticipantRole Or, if you're into Lua: -``` +```lua Updates = channels.editAdmin({channel=InputChannel, user_id=InputUser, role=ChannelParticipantRole, }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_editPhoto.md b/old_docs/API_docs_v66/methods/channels_editPhoto.md index ccbaed65..7013c6e2 100644 --- a/old_docs/API_docs_v66/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v66/methods/channels_editPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = channels.editPhoto({channel=InputChannel, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_editTitle.md b/old_docs/API_docs_v66/methods/channels_editTitle.md index ffd868ba..a9c8c50f 100644 --- a/old_docs/API_docs_v66/methods/channels_editTitle.md +++ b/old_docs/API_docs_v66/methods/channels_editTitle.md @@ -25,7 +25,7 @@ Edit the title of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.editTitle({channel=InputChannel, title='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_exportInvite.md b/old_docs/API_docs_v66/methods/channels_exportInvite.md index 0b4b5c31..5a92097a 100644 --- a/old_docs/API_docs_v66/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v66/methods/channels_exportInvite.md @@ -24,7 +24,7 @@ Export the invite link of a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua ExportedChatInvite = channels.exportInvite({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_exportMessageLink.md b/old_docs/API_docs_v66/methods/channels_exportMessageLink.md index f42068f4..a2e2cc10 100644 --- a/old_docs/API_docs_v66/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v66/methods/channels_exportMessageLink.md @@ -25,7 +25,7 @@ Get the link of a message in a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua ExportedMessageLink = channels.exportMessageLink({channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v66/methods/channels_getAdminedPublicChannels.md index 67ee8bd4..dc2c29ed 100644 --- a/old_docs/API_docs_v66/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v66/methods/channels_getAdminedPublicChannels.md @@ -19,7 +19,7 @@ Get all supergroups/channels where you're admin ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v66/methods/channels_getChannels.md b/old_docs/API_docs_v66/methods/channels_getChannels.md index 71edac7b..a146be1e 100644 --- a/old_docs/API_docs_v66/methods/channels_getChannels.md +++ b/old_docs/API_docs_v66/methods/channels_getChannels.md @@ -24,7 +24,7 @@ Get info about multiple channels/supergroups ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputChannel Or, if you're into Lua: -``` +```lua messages_Chats = channels.getChannels({id={InputChannel}, }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_getMessages.md b/old_docs/API_docs_v66/methods/channels_getMessages.md index 217757eb..208cbcc4 100644 --- a/old_docs/API_docs_v66/methods/channels_getMessages.md +++ b/old_docs/API_docs_v66/methods/channels_getMessages.md @@ -25,7 +25,7 @@ Get channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_getParticipant.md b/old_docs/API_docs_v66/methods/channels_getParticipant.md index a641d213..9cf80799 100644 --- a/old_docs/API_docs_v66/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v66/methods/channels_getParticipant.md @@ -25,7 +25,7 @@ Get info about a certain channel/supergroup participant ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_getParticipants.md b/old_docs/API_docs_v66/methods/channels_getParticipants.md index c2f0cdcd..3d4dfa13 100644 --- a/old_docs/API_docs_v66/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v66/methods/channels_getParticipants.md @@ -27,7 +27,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_inviteToChannel.md b/old_docs/API_docs_v66/methods/channels_inviteToChannel.md index 0a350cc8..998e3895 100644 --- a/old_docs/API_docs_v66/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v66/methods/channels_inviteToChannel.md @@ -25,7 +25,7 @@ Add users to channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ users - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Updates = channels.inviteToChannel({channel=InputChannel, users={InputUser}, }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_joinChannel.md b/old_docs/API_docs_v66/methods/channels_joinChannel.md index aae2bc1c..3c6a3b94 100644 --- a/old_docs/API_docs_v66/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v66/methods/channels_joinChannel.md @@ -24,7 +24,7 @@ Join a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.joinChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_kickFromChannel.md b/old_docs/API_docs_v66/methods/channels_kickFromChannel.md index c51cea7c..7586bdf6 100644 --- a/old_docs/API_docs_v66/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v66/methods/channels_kickFromChannel.md @@ -26,7 +26,7 @@ Kick user from channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ kicked - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.kickFromChannel({channel=InputChannel, user_id=InputUser, kicked=Bool, }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_leaveChannel.md b/old_docs/API_docs_v66/methods/channels_leaveChannel.md index 4e6701fe..0934089f 100644 --- a/old_docs/API_docs_v66/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v66/methods/channels_leaveChannel.md @@ -24,7 +24,7 @@ Leave a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.leaveChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_readHistory.md b/old_docs/API_docs_v66/methods/channels_readHistory.md index d76919ff..cf5c1529 100644 --- a/old_docs/API_docs_v66/methods/channels_readHistory.md +++ b/old_docs/API_docs_v66/methods/channels_readHistory.md @@ -25,7 +25,7 @@ Mark channel/supergroup history as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.readHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_reportSpam.md b/old_docs/API_docs_v66/methods/channels_reportSpam.md index 48022662..b0e99eb1 100644 --- a/old_docs/API_docs_v66/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v66/methods/channels_reportSpam.md @@ -26,7 +26,7 @@ Report a message in a supergroup/channel for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.reportSpam({channel=InputChannel, user_id=InputUser, id={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_toggleInvites.md b/old_docs/API_docs_v66/methods/channels_toggleInvites.md index d0023b70..bed6ba15 100644 --- a/old_docs/API_docs_v66/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v66/methods/channels_toggleInvites.md @@ -25,7 +25,7 @@ Allow or disallow any user to invite users to this channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleInvites({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_toggleSignatures.md b/old_docs/API_docs_v66/methods/channels_toggleSignatures.md index 337e8627..c9fe18cc 100644 --- a/old_docs/API_docs_v66/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v66/methods/channels_toggleSignatures.md @@ -25,7 +25,7 @@ Toggle channel signatures ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleSignatures({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v66/methods/channels_updatePinnedMessage.md index c79c5904..9d2cc058 100644 --- a/old_docs/API_docs_v66/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v66/methods/channels_updatePinnedMessage.md @@ -26,7 +26,7 @@ Set the pinned message of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = channels.updatePinnedMessage({silent=Bool, channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/channels_updateUsername.md b/old_docs/API_docs_v66/methods/channels_updateUsername.md index 2e07e123..c0df8c7c 100644 --- a/old_docs/API_docs_v66/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v66/methods/channels_updateUsername.md @@ -25,7 +25,7 @@ Update the username of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.updateUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/contacts_block.md b/old_docs/API_docs_v66/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v66/methods/contacts_block.md +++ b/old_docs/API_docs_v66/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v66/methods/contacts_deleteContact.md b/old_docs/API_docs_v66/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v66/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v66/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v66/methods/contacts_deleteContacts.md b/old_docs/API_docs_v66/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v66/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v66/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v66/methods/contacts_exportCard.md b/old_docs/API_docs_v66/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v66/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v66/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v66/methods/contacts_getBlocked.md b/old_docs/API_docs_v66/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v66/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v66/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/contacts_getContacts.md b/old_docs/API_docs_v66/methods/contacts_getContacts.md index ccf0f99d..dfa407f2 100644 --- a/old_docs/API_docs_v66/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v66/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/contacts_getStatuses.md b/old_docs/API_docs_v66/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v66/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v66/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v66/methods/contacts_getTopPeers.md b/old_docs/API_docs_v66/methods/contacts_getTopPeers.md index 1d3f7b21..f92611a2 100644 --- a/old_docs/API_docs_v66/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v66/methods/contacts_getTopPeers.md @@ -31,7 +31,7 @@ Get most used chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/contacts_importCard.md b/old_docs/API_docs_v66/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v66/methods/contacts_importCard.md +++ b/old_docs/API_docs_v66/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/contacts_importContacts.md b/old_docs/API_docs_v66/methods/contacts_importContacts.md index d0404dd2..f1b17e2c 100644 --- a/old_docs/API_docs_v66/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v66/methods/contacts_importContacts.md @@ -25,7 +25,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ replace - Json encoded Bool Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v66/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v66/methods/contacts_resetTopPeerRating.md index 96ae48ac..94a07f54 100644 --- a/old_docs/API_docs_v66/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v66/methods/contacts_resetTopPeerRating.md @@ -25,7 +25,7 @@ Reset top peer rating for a certain category/peer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = contacts.resetTopPeerRating({category=TopPeerCategory, peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v66/methods/contacts_search.md b/old_docs/API_docs_v66/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v66/methods/contacts_search.md +++ b/old_docs/API_docs_v66/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/contacts_unblock.md b/old_docs/API_docs_v66/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v66/methods/contacts_unblock.md +++ b/old_docs/API_docs_v66/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v66/methods/contest_saveDeveloperInfo.md b/old_docs/API_docs_v66/methods/contest_saveDeveloperInfo.md index 5761cdc8..2776a131 100644 --- a/old_docs/API_docs_v66/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v66/methods/contest_saveDeveloperInfo.md @@ -28,7 +28,7 @@ Save developer info for telegram contest ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ city - Json encoded string Or, if you're into Lua: -``` +```lua Bool = contest.saveDeveloperInfo({vk_id=int, name='string', phone_number='string', age=int, city='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/destroy_auth_key.md b/old_docs/API_docs_v66/methods/destroy_auth_key.md index b5adfce0..aff3981b 100644 --- a/old_docs/API_docs_v66/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v66/methods/destroy_auth_key.md @@ -19,7 +19,7 @@ Destroy current authorization key ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua DestroyAuthKeyRes = destroy_auth_key({}) ``` diff --git a/old_docs/API_docs_v66/methods/destroy_session.md b/old_docs/API_docs_v66/methods/destroy_session.md index 6892d9a0..d7472c3e 100644 --- a/old_docs/API_docs_v66/methods/destroy_session.md +++ b/old_docs/API_docs_v66/methods/destroy_session.md @@ -24,7 +24,7 @@ Destroy the current MTProto session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ session_id - Json encoded long Or, if you're into Lua: -``` +```lua DestroySessionRes = destroy_session({session_id=long, }) ``` diff --git a/old_docs/API_docs_v66/methods/get_future_salts.md b/old_docs/API_docs_v66/methods/get_future_salts.md index 94f0f8ca..2ab445b6 100644 --- a/old_docs/API_docs_v66/methods/get_future_salts.md +++ b/old_docs/API_docs_v66/methods/get_future_salts.md @@ -24,7 +24,7 @@ Get future salts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ num - Json encoded int Or, if you're into Lua: -``` +```lua FutureSalts = get_future_salts({num=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/help_getAppChangelog.md b/old_docs/API_docs_v66/methods/help_getAppChangelog.md index 10b972c1..179eaf3a 100644 --- a/old_docs/API_docs_v66/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v66/methods/help_getAppChangelog.md @@ -24,7 +24,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ prev_app_version - Json encoded string Or, if you're into Lua: -``` +```lua Updates = help.getAppChangelog({prev_app_version='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/help_getAppUpdate.md b/old_docs/API_docs_v66/methods/help_getAppUpdate.md index 4ddc0e4d..541b5972 100644 --- a/old_docs/API_docs_v66/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v66/methods/help_getAppUpdate.md @@ -19,7 +19,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v66/methods/help_getCdnConfig.md b/old_docs/API_docs_v66/methods/help_getCdnConfig.md index be572516..766896c7 100644 --- a/old_docs/API_docs_v66/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v66/methods/help_getCdnConfig.md @@ -19,7 +19,7 @@ Get CDN configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua CdnConfig = help.getCdnConfig({}) ``` diff --git a/old_docs/API_docs_v66/methods/help_getConfig.md b/old_docs/API_docs_v66/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v66/methods/help_getConfig.md +++ b/old_docs/API_docs_v66/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v66/methods/help_getInviteText.md b/old_docs/API_docs_v66/methods/help_getInviteText.md index 1510e64f..f05ac4ac 100644 --- a/old_docs/API_docs_v66/methods/help_getInviteText.md +++ b/old_docs/API_docs_v66/methods/help_getInviteText.md @@ -19,7 +19,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v66/methods/help_getNearestDc.md b/old_docs/API_docs_v66/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v66/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v66/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v66/methods/help_getSupport.md b/old_docs/API_docs_v66/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v66/methods/help_getSupport.md +++ b/old_docs/API_docs_v66/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v66/methods/help_getTermsOfService.md b/old_docs/API_docs_v66/methods/help_getTermsOfService.md index bf421bf6..95d51e60 100644 --- a/old_docs/API_docs_v66/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v66/methods/help_getTermsOfService.md @@ -19,7 +19,7 @@ Get terms of service ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v66/methods/help_saveAppLog.md b/old_docs/API_docs_v66/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v66/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v66/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v66/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v66/methods/help_setBotUpdatesStatus.md index 0429f8a0..53736da7 100644 --- a/old_docs/API_docs_v66/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v66/methods/help_setBotUpdatesStatus.md @@ -25,7 +25,7 @@ Set the update status of webhook ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = help.setBotUpdatesStatus({pending_updates_count=int, message='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/initConnection.md b/old_docs/API_docs_v66/methods/initConnection.md index 58cdb067..e34794f8 100644 --- a/old_docs/API_docs_v66/methods/initConnection.md +++ b/old_docs/API_docs_v66/methods/initConnection.md @@ -29,7 +29,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v66/methods/invokeAfterMsg.md b/old_docs/API_docs_v66/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v66/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v66/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v66/methods/invokeAfterMsgs.md b/old_docs/API_docs_v66/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v66/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v66/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v66/methods/invokeWithLayer.md b/old_docs/API_docs_v66/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v66/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v66/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v66/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v66/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/old_docs/API_docs_v66/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v66/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_addChatUser.md b/old_docs/API_docs_v66/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v66/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v66/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_checkChatInvite.md b/old_docs/API_docs_v66/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/old_docs/API_docs_v66/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v66/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v66/methods/messages_clearRecentStickers.md index 56634143..53e1fa4f 100644 --- a/old_docs/API_docs_v66/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v66/methods/messages_clearRecentStickers.md @@ -24,7 +24,7 @@ Clear all recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ attached - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.clearRecentStickers({attached=Bool, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_createChat.md b/old_docs/API_docs_v66/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v66/methods/messages_createChat.md +++ b/old_docs/API_docs_v66/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_deleteChatUser.md b/old_docs/API_docs_v66/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v66/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v66/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_deleteHistory.md b/old_docs/API_docs_v66/methods/messages_deleteHistory.md index 866ba216..33d1ca52 100644 --- a/old_docs/API_docs_v66/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v66/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_deleteMessages.md b/old_docs/API_docs_v66/methods/messages_deleteMessages.md index eaf9cd86..9158e8bd 100644 --- a/old_docs/API_docs_v66/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v66/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_editChatAdmin.md b/old_docs/API_docs_v66/methods/messages_editChatAdmin.md index a2dad97f..f883b50e 100644 --- a/old_docs/API_docs_v66/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v66/methods/messages_editChatAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ is_admin - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.editChatAdmin({chat_id=InputPeer, user_id=InputUser, is_admin=Bool, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_editChatPhoto.md b/old_docs/API_docs_v66/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v66/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v66/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_editChatTitle.md b/old_docs/API_docs_v66/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v66/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v66/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v66/methods/messages_editInlineBotMessage.md index c669c8d7..6c04ab6f 100644 --- a/old_docs/API_docs_v66/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v66/methods/messages_editInlineBotMessage.md @@ -29,7 +29,7 @@ Edit a sent inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -66,7 +66,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.editInlineBotMessage({no_webpage=Bool, id=InputBotInlineMessageID, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_editMessage.md b/old_docs/API_docs_v66/methods/messages_editMessage.md index 7af0cfd9..db5cc876 100644 --- a/old_docs/API_docs_v66/methods/messages_editMessage.md +++ b/old_docs/API_docs_v66/methods/messages_editMessage.md @@ -30,7 +30,7 @@ Edit a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -67,7 +67,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.editMessage({no_webpage=Bool, peer=InputPeer, id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_exportChatInvite.md b/old_docs/API_docs_v66/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/old_docs/API_docs_v66/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v66/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_forwardMessage.md b/old_docs/API_docs_v66/methods/messages_forwardMessage.md index 586670b8..d9c0453f 100644 --- a/old_docs/API_docs_v66/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v66/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_forwardMessages.md b/old_docs/API_docs_v66/methods/messages_forwardMessages.md index 99815a44..caf61d66 100644 --- a/old_docs/API_docs_v66/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v66/methods/messages_forwardMessages.md @@ -29,7 +29,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ to_peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({silent=Bool, background=Bool, with_my_score=Bool, from_peer=InputPeer, id={int}, to_peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getAllChats.md b/old_docs/API_docs_v66/methods/messages_getAllChats.md index 663af07c..38cbbbae 100644 --- a/old_docs/API_docs_v66/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v66/methods/messages_getAllChats.md @@ -24,7 +24,7 @@ Get all chats (not supergroups or channels) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ except_ids - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getAllChats({except_ids={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getAllDrafts.md b/old_docs/API_docs_v66/methods/messages_getAllDrafts.md index 31aa8176..7300e01a 100644 --- a/old_docs/API_docs_v66/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v66/methods/messages_getAllDrafts.md @@ -19,7 +19,7 @@ Get all message drafts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Updates = messages.getAllDrafts({}) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getAllStickers.md b/old_docs/API_docs_v66/methods/messages_getAllStickers.md index 966af122..c25a823b 100644 --- a/old_docs/API_docs_v66/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v66/methods/messages_getArchivedStickers.md index e98ab6ec..ef79ee6e 100644 --- a/old_docs/API_docs_v66/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getArchivedStickers.md @@ -26,7 +26,7 @@ Get all archived stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v66/methods/messages_getAttachedStickers.md index 0e221a84..9ada6655 100644 --- a/old_docs/API_docs_v66/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getAttachedStickers.md @@ -24,7 +24,7 @@ Get stickers attachable to images ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ media - Json encoded InputStickeredMedia Or, if you're into Lua: -``` +```lua Vector_of_StickerSetCovered = messages.getAttachedStickers({media=InputStickeredMedia, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v66/methods/messages_getBotCallbackAnswer.md index ffcd8a2e..b4f1d02f 100644 --- a/old_docs/API_docs_v66/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v66/methods/messages_getBotCallbackAnswer.md @@ -27,7 +27,7 @@ Get the callback answer of a bot (after clicking a button) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ data - Json encoded bytes Or, if you're into Lua: -``` +```lua messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getChats.md b/old_docs/API_docs_v66/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v66/methods/messages_getChats.md +++ b/old_docs/API_docs_v66/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getCommonChats.md b/old_docs/API_docs_v66/methods/messages_getCommonChats.md index e6921d5e..83237f64 100644 --- a/old_docs/API_docs_v66/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v66/methods/messages_getCommonChats.md @@ -26,7 +26,7 @@ Get chats in common with a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getDialogs.md b/old_docs/API_docs_v66/methods/messages_getDialogs.md index 694c916f..0bc314b5 100644 --- a/old_docs/API_docs_v66/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v66/methods/messages_getDialogs.md @@ -28,7 +28,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v66/methods/messages_getDocumentByHash.md index 5b6f6f21..00f0a558 100644 --- a/old_docs/API_docs_v66/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v66/methods/messages_getDocumentByHash.md @@ -26,7 +26,7 @@ Get document by SHA256 hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ mime_type - Json encoded string Or, if you're into Lua: -``` +```lua Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v66/methods/messages_getFeaturedStickers.md index a837377b..c257621e 100644 --- a/old_docs/API_docs_v66/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getFeaturedStickers.md @@ -24,7 +24,7 @@ Get featured stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getGameHighScores.md b/old_docs/API_docs_v66/methods/messages_getGameHighScores.md index f7837998..a97fb1ff 100644 --- a/old_docs/API_docs_v66/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v66/methods/messages_getGameHighScores.md @@ -26,7 +26,7 @@ Get high scores of a game ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getHistory.md b/old_docs/API_docs_v66/methods/messages_getHistory.md index 76d20b70..23f2d6e9 100644 --- a/old_docs/API_docs_v66/methods/messages_getHistory.md +++ b/old_docs/API_docs_v66/methods/messages_getHistory.md @@ -30,7 +30,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v66/methods/messages_getInlineBotResults.md index 03b5d845..73f2deb2 100644 --- a/old_docs/API_docs_v66/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v66/methods/messages_getInlineBotResults.md @@ -28,7 +28,7 @@ Call inline bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ offset - Json encoded string Or, if you're into Lua: -``` +```lua messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v66/methods/messages_getInlineGameHighScores.md index e8be8e81..046c1cfb 100644 --- a/old_docs/API_docs_v66/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v66/methods/messages_getInlineGameHighScores.md @@ -25,7 +25,7 @@ Get high scores of a game sent in an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getMaskStickers.md b/old_docs/API_docs_v66/methods/messages_getMaskStickers.md index 55c4edea..06fd153e 100644 --- a/old_docs/API_docs_v66/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getMaskStickers.md @@ -24,7 +24,7 @@ Get masks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getMessageEditData.md b/old_docs/API_docs_v66/methods/messages_getMessageEditData.md index 2c44a1dc..77e2c030 100644 --- a/old_docs/API_docs_v66/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v66/methods/messages_getMessageEditData.md @@ -25,7 +25,7 @@ Check if about to edit a message or a media caption ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getMessages.md b/old_docs/API_docs_v66/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v66/methods/messages_getMessages.md +++ b/old_docs/API_docs_v66/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getMessagesViews.md b/old_docs/API_docs_v66/methods/messages_getMessagesViews.md index 57a99054..b2b6110e 100644 --- a/old_docs/API_docs_v66/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v66/methods/messages_getMessagesViews.md @@ -26,7 +26,7 @@ Get and increase message views ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ increment - Json encoded Bool Or, if you're into Lua: -``` +```lua Vector_of_int = messages.getMessagesViews({peer=InputPeer, id={int}, increment=Bool, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v66/methods/messages_getPeerDialogs.md index ca746b3b..a34873df 100644 --- a/old_docs/API_docs_v66/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v66/methods/messages_getPeerDialogs.md @@ -24,7 +24,7 @@ Get dialog info of peers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peers - Json encoded array of InputPeer Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getPeerSettings.md b/old_docs/API_docs_v66/methods/messages_getPeerSettings.md index 92d4697a..e2b3ec4f 100644 --- a/old_docs/API_docs_v66/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v66/methods/messages_getPeerSettings.md @@ -24,7 +24,7 @@ Get the settings of apeer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua PeerSettings = messages.getPeerSettings({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v66/methods/messages_getPinnedDialogs.md index 634f4c41..77eb98ce 100644 --- a/old_docs/API_docs_v66/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v66/methods/messages_getPinnedDialogs.md @@ -19,7 +19,7 @@ Get pinned dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPinnedDialogs({}) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getRecentStickers.md b/old_docs/API_docs_v66/methods/messages_getRecentStickers.md index d89272fd..939fd036 100644 --- a/old_docs/API_docs_v66/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getRecentStickers.md @@ -25,7 +25,7 @@ Get recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getSavedGifs.md b/old_docs/API_docs_v66/methods/messages_getSavedGifs.md index cafba4e1..1a879907 100644 --- a/old_docs/API_docs_v66/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v66/methods/messages_getSavedGifs.md @@ -24,7 +24,7 @@ Get saved gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getStickerSet.md b/old_docs/API_docs_v66/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/old_docs/API_docs_v66/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v66/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getWebPage.md b/old_docs/API_docs_v66/methods/messages_getWebPage.md index fb7152af..9237d4b7 100644 --- a/old_docs/API_docs_v66/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v66/methods/messages_getWebPage.md @@ -25,7 +25,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua WebPage = messages.getWebPage({url='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v66/methods/messages_getWebPagePreview.md index 8475c8f5..4838be94 100644 --- a/old_docs/API_docs_v66/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v66/methods/messages_getWebPagePreview.md @@ -24,7 +24,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_hideReportSpam.md b/old_docs/API_docs_v66/methods/messages_hideReportSpam.md index 17a7f8ef..1c0d72c5 100644 --- a/old_docs/API_docs_v66/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v66/methods/messages_hideReportSpam.md @@ -24,7 +24,7 @@ Hide report spam popup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.hideReportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_importChatInvite.md b/old_docs/API_docs_v66/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/old_docs/API_docs_v66/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v66/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_installStickerSet.md b/old_docs/API_docs_v66/methods/messages_installStickerSet.md index 88131136..6bdb9390 100644 --- a/old_docs/API_docs_v66/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v66/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ archived - Json encoded Bool Or, if you're into Lua: -``` +```lua messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_migrateChat.md b/old_docs/API_docs_v66/methods/messages_migrateChat.md index df91f510..e789ff7d 100644 --- a/old_docs/API_docs_v66/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v66/methods/messages_migrateChat.md @@ -24,7 +24,7 @@ Convert chat to supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.migrateChat({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v66/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v66/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v66/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v66/methods/messages_readFeaturedStickers.md index 2c34ac0f..9fef6621 100644 --- a/old_docs/API_docs_v66/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v66/methods/messages_readFeaturedStickers.md @@ -24,7 +24,7 @@ Mark new featured stickers as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.readFeaturedStickers({id={long}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_readHistory.md b/old_docs/API_docs_v66/methods/messages_readHistory.md index 48d7fb45..4a2188d8 100644 --- a/old_docs/API_docs_v66/methods/messages_readHistory.md +++ b/old_docs/API_docs_v66/methods/messages_readHistory.md @@ -25,7 +25,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_readMessageContents.md b/old_docs/API_docs_v66/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v66/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v66/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_receivedMessages.md b/old_docs/API_docs_v66/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/old_docs/API_docs_v66/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v66/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v66/methods/messages_reorderPinnedDialogs.md index 4d2cb53e..d8aeefa7 100644 --- a/old_docs/API_docs_v66/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v66/methods/messages_reorderPinnedDialogs.md @@ -25,7 +25,7 @@ Reorder pinned dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reorderPinnedDialogs({force=Bool, order={InputPeer}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v66/methods/messages_reorderStickerSets.md index c1c35ef6..cd73daa0 100644 --- a/old_docs/API_docs_v66/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v66/methods/messages_reorderStickerSets.md @@ -25,7 +25,7 @@ Reorder sticker sets ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.reorderStickerSets({masks=Bool, order={long}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v66/methods/messages_reportEncryptedSpam.md index dffdffc9..5d5f0dab 100644 --- a/old_docs/API_docs_v66/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v66/methods/messages_reportEncryptedSpam.md @@ -24,7 +24,7 @@ Report for spam a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputEncryptedChat Or, if you're into Lua: -``` +```lua Bool = messages.reportEncryptedSpam({peer=InputEncryptedChat, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_reportSpam.md b/old_docs/API_docs_v66/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/old_docs/API_docs_v66/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v66/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_saveDraft.md b/old_docs/API_docs_v66/methods/messages_saveDraft.md index ede72c41..14e69f93 100644 --- a/old_docs/API_docs_v66/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v66/methods/messages_saveDraft.md @@ -29,7 +29,7 @@ Save a message draft ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -57,7 +57,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.saveDraft({no_webpage=Bool, reply_to_msg_id=int, peer=InputPeer, message='string', entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_saveGif.md b/old_docs/API_docs_v66/methods/messages_saveGif.md index adae6d86..dfa956ab 100644 --- a/old_docs/API_docs_v66/methods/messages_saveGif.md +++ b/old_docs/API_docs_v66/methods/messages_saveGif.md @@ -25,7 +25,7 @@ Save a GIF ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveGif({id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v66/methods/messages_saveRecentSticker.md index 9cd06ea1..1abf524f 100644 --- a/old_docs/API_docs_v66/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v66/methods/messages_saveRecentSticker.md @@ -26,7 +26,7 @@ Add a sticker to recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveRecentSticker({attached=Bool, id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_search.md b/old_docs/API_docs_v66/methods/messages_search.md index 4c373c29..b4549f38 100644 --- a/old_docs/API_docs_v66/methods/messages_search.md +++ b/old_docs/API_docs_v66/methods/messages_search.md @@ -31,7 +31,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_searchGifs.md b/old_docs/API_docs_v66/methods/messages_searchGifs.md index 1ef77d23..a12cdd21 100644 --- a/old_docs/API_docs_v66/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v66/methods/messages_searchGifs.md @@ -25,7 +25,7 @@ Search gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_searchGlobal.md b/old_docs/API_docs_v66/methods/messages_searchGlobal.md index 4d05bf0d..1fb73592 100644 --- a/old_docs/API_docs_v66/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v66/methods/messages_searchGlobal.md @@ -28,7 +28,7 @@ Global message search ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_sendEncrypted.md b/old_docs/API_docs_v66/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v66/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v66/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v66/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v66/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v66/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v66/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v66/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v66/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v66/methods/messages_sendInlineBotResult.md index 8de674c6..37fae63a 100644 --- a/old_docs/API_docs_v66/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v66/methods/messages_sendInlineBotResult.md @@ -30,7 +30,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ id - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.sendInlineBotResult({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_sendMedia.md b/old_docs/API_docs_v66/methods/messages_sendMedia.md index 2290e52e..7c4e0dcf 100644 --- a/old_docs/API_docs_v66/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v66/methods/messages_sendMedia.md @@ -30,7 +30,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, media=InputMedia, reply_markup=ReplyMarkup, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_sendMessage.md b/old_docs/API_docs_v66/methods/messages_sendMessage.md index 77790562..9cdc74eb 100644 --- a/old_docs/API_docs_v66/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v66/methods/messages_sendMessage.md @@ -33,7 +33,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMessage({no_webpage=Bool, silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v66/methods/messages_setBotCallbackAnswer.md index 0395b468..47d74918 100644 --- a/old_docs/API_docs_v66/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v66/methods/messages_setBotCallbackAnswer.md @@ -28,7 +28,7 @@ Bots only: set the callback answer (after a button was clicked) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ cache_time - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message='string', url='string', cache_time=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v66/methods/messages_setBotPrecheckoutResults.md index 486ab585..92e8ea5a 100644 --- a/old_docs/API_docs_v66/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v66/methods/messages_setBotPrecheckoutResults.md @@ -26,7 +26,7 @@ Bots only: set precheckout results ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ error - Json encoded string Or, if you're into Lua: -``` +```lua Bool = messages.setBotPrecheckoutResults({success=Bool, query_id=long, error='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v66/methods/messages_setBotShippingResults.md index a9e43c49..6e223219 100644 --- a/old_docs/API_docs_v66/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v66/methods/messages_setBotShippingResults.md @@ -26,7 +26,7 @@ Bots only: set shipping results ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ shipping_options - Json encoded array of ShippingOption Or, if you're into Lua: -``` +```lua Bool = messages.setBotShippingResults({query_id=long, error='string', shipping_options={ShippingOption}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v66/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v66/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v66/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_setGameScore.md b/old_docs/API_docs_v66/methods/messages_setGameScore.md index 41ee4591..1a50326e 100644 --- a/old_docs/API_docs_v66/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v66/methods/messages_setGameScore.md @@ -29,7 +29,7 @@ Set the game score ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.setGameScore({edit_message=Bool, force=Bool, peer=InputPeer, id=int, user_id=InputUser, score=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v66/methods/messages_setInlineBotResults.md index 443a028e..e1ebe4e3 100644 --- a/old_docs/API_docs_v66/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v66/methods/messages_setInlineBotResults.md @@ -30,7 +30,7 @@ Bots only: set the results of an inline query ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: -``` +```lua Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset='string', switch_pm=InlineBotSwitchPM, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v66/methods/messages_setInlineGameScore.md index 0d97b9bf..76db49dd 100644 --- a/old_docs/API_docs_v66/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v66/methods/messages_setInlineGameScore.md @@ -28,7 +28,7 @@ Set the game score of an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setInlineGameScore({edit_message=Bool, force=Bool, id=InputBotInlineMessageID, user_id=InputUser, score=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_setTyping.md b/old_docs/API_docs_v66/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v66/methods/messages_setTyping.md +++ b/old_docs/API_docs_v66/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_startBot.md b/old_docs/API_docs_v66/methods/messages_startBot.md index 506957a7..71f82822 100644 --- a/old_docs/API_docs_v66/methods/messages_startBot.md +++ b/old_docs/API_docs_v66/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v66/methods/messages_toggleChatAdmins.md index 0f1e56fa..56438277 100644 --- a/old_docs/API_docs_v66/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v66/methods/messages_toggleChatAdmins.md @@ -25,7 +25,7 @@ Enable all users are admins in normal groups (not supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = messages.toggleChatAdmins({chat_id=InputPeer, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v66/methods/messages_toggleDialogPin.md index 57f673a0..02adfd4b 100644 --- a/old_docs/API_docs_v66/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v66/methods/messages_toggleDialogPin.md @@ -25,7 +25,7 @@ Pin or unpin dialog ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.toggleDialogPin({pinned=Bool, peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v66/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/old_docs/API_docs_v66/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v66/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v66/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v66/methods/payments_clearSavedInfo.md index 8ac2d538..1fb58ffa 100644 --- a/old_docs/API_docs_v66/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v66/methods/payments_clearSavedInfo.md @@ -25,7 +25,7 @@ Clear saved payments info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ info - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = payments.clearSavedInfo({credentials=Bool, info=Bool, }) ``` diff --git a/old_docs/API_docs_v66/methods/payments_getPaymentForm.md b/old_docs/API_docs_v66/methods/payments_getPaymentForm.md index c53c7d10..480e7d6d 100644 --- a/old_docs/API_docs_v66/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v66/methods/payments_getPaymentForm.md @@ -24,7 +24,7 @@ Get payment form ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ msg_id - Json encoded int Or, if you're into Lua: -``` +```lua payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v66/methods/payments_getPaymentReceipt.md index b6bbb3e5..074aed0e 100644 --- a/old_docs/API_docs_v66/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v66/methods/payments_getPaymentReceipt.md @@ -24,7 +24,7 @@ Get payment receipt ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ msg_id - Json encoded int Or, if you're into Lua: -``` +```lua payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/payments_getSavedInfo.md b/old_docs/API_docs_v66/methods/payments_getSavedInfo.md index acaa603f..df3796a2 100644 --- a/old_docs/API_docs_v66/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v66/methods/payments_getSavedInfo.md @@ -19,7 +19,7 @@ Get saved payments info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua payments_SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v66/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v66/methods/payments_sendPaymentForm.md index 5ac22160..582f446a 100644 --- a/old_docs/API_docs_v66/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v66/methods/payments_sendPaymentForm.md @@ -27,7 +27,7 @@ Bots only: send payment form ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ credentials - Json encoded InputPaymentCredentials Or, if you're into Lua: -``` +```lua payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` diff --git a/old_docs/API_docs_v66/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v66/methods/payments_validateRequestedInfo.md index bc60d68f..524c8515 100644 --- a/old_docs/API_docs_v66/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v66/methods/payments_validateRequestedInfo.md @@ -26,7 +26,7 @@ Validate requested payment info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ info - Json encoded PaymentRequestedInfo Or, if you're into Lua: -``` +```lua payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` diff --git a/old_docs/API_docs_v66/methods/phone_getCallConfig.md b/old_docs/API_docs_v66/methods/phone_getCallConfig.md index dc8619e8..4ee97d2f 100644 --- a/old_docs/API_docs_v66/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v66/methods/phone_getCallConfig.md @@ -19,7 +19,7 @@ Get call configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua DataJSON = phone.getCallConfig({}) ``` diff --git a/old_docs/API_docs_v66/methods/phone_receivedCall.md b/old_docs/API_docs_v66/methods/phone_receivedCall.md index b6cebd0c..c030fe43 100644 --- a/old_docs/API_docs_v66/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v66/methods/phone_receivedCall.md @@ -24,7 +24,7 @@ Notify server that you received a call (server will refuse all incoming calls un ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPhoneCall Or, if you're into Lua: -``` +```lua Bool = phone.receivedCall({peer=InputPhoneCall, }) ``` diff --git a/old_docs/API_docs_v66/methods/phone_saveCallDebug.md b/old_docs/API_docs_v66/methods/phone_saveCallDebug.md index 176f0838..3aff7998 100644 --- a/old_docs/API_docs_v66/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v66/methods/phone_saveCallDebug.md @@ -25,7 +25,7 @@ Save call debugging info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ debug - Json encoded DataJSON Or, if you're into Lua: -``` +```lua Bool = phone.saveCallDebug({peer=InputPhoneCall, debug=DataJSON, }) ``` diff --git a/old_docs/API_docs_v66/methods/phone_setCallRating.md b/old_docs/API_docs_v66/methods/phone_setCallRating.md index 0861c10e..fa83b2c7 100644 --- a/old_docs/API_docs_v66/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v66/methods/phone_setCallRating.md @@ -26,7 +26,7 @@ Set phone call rating ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ comment - Json encoded string Or, if you're into Lua: -``` +```lua Updates = phone.setCallRating({peer=InputPhoneCall, rating=int, comment='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/photos_deletePhotos.md b/old_docs/API_docs_v66/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v66/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v66/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v66/methods/photos_getUserPhotos.md b/old_docs/API_docs_v66/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/old_docs/API_docs_v66/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v66/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v66/methods/photos_updateProfilePhoto.md index 8eb42e5d..26ab417e 100644 --- a/old_docs/API_docs_v66/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v66/methods/photos_updateProfilePhoto.md @@ -24,7 +24,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputPhoto Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, }) ``` diff --git a/old_docs/API_docs_v66/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v66/methods/photos_uploadProfilePhoto.md index 9b838b89..8d047d9a 100644 --- a/old_docs/API_docs_v66/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v66/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ file - Json encoded InputFile Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` diff --git a/old_docs/API_docs_v66/methods/ping.md b/old_docs/API_docs_v66/methods/ping.md index d07839e4..de80b551 100644 --- a/old_docs/API_docs_v66/methods/ping.md +++ b/old_docs/API_docs_v66/methods/ping.md @@ -24,7 +24,7 @@ pings the server ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ ping_id - Json encoded long Or, if you're into Lua: -``` +```lua Pong = ping({ping_id=long, }) ``` diff --git a/old_docs/API_docs_v66/methods/ping_delay_disconnect.md b/old_docs/API_docs_v66/methods/ping_delay_disconnect.md index 9b89e38d..337ba565 100644 --- a/old_docs/API_docs_v66/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v66/methods/ping_delay_disconnect.md @@ -25,7 +25,7 @@ Pings the server and causes disconection if the same method is not called within ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ disconnect_delay - Json encoded int Or, if you're into Lua: -``` +```lua Pong = ping_delay_disconnect({ping_id=long, disconnect_delay=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/req_DH_params.md b/old_docs/API_docs_v66/methods/req_DH_params.md index 54dd35a0..405e5acf 100644 --- a/old_docs/API_docs_v66/methods/req_DH_params.md +++ b/old_docs/API_docs_v66/methods/req_DH_params.md @@ -29,7 +29,7 @@ Requests Diffie-hellman parameters for key exchange ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ encrypted_data - Json encoded string Or, if you're into Lua: -``` +```lua Server_DH_Params = req_DH_params({nonce=int128, server_nonce=int128, p='string', q='string', public_key_fingerprint=long, encrypted_data='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/req_pq.md b/old_docs/API_docs_v66/methods/req_pq.md index 64da6ef7..8c764814 100644 --- a/old_docs/API_docs_v66/methods/req_pq.md +++ b/old_docs/API_docs_v66/methods/req_pq.md @@ -24,7 +24,7 @@ Requests PQ for factorization ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ nonce - Json encoded int128 Or, if you're into Lua: -``` +```lua ResPQ = req_pq({nonce=int128, }) ``` diff --git a/old_docs/API_docs_v66/methods/rpc_drop_answer.md b/old_docs/API_docs_v66/methods/rpc_drop_answer.md index 8e08d16b..8b81eefd 100644 --- a/old_docs/API_docs_v66/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v66/methods/rpc_drop_answer.md @@ -24,7 +24,7 @@ Do not send answer to provided request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ req_msg_id - Json encoded long Or, if you're into Lua: -``` +```lua RpcDropAnswer = rpc_drop_answer({req_msg_id=long, }) ``` diff --git a/old_docs/API_docs_v66/methods/set_client_DH_params.md b/old_docs/API_docs_v66/methods/set_client_DH_params.md index 41bbb00f..8bf36c8a 100644 --- a/old_docs/API_docs_v66/methods/set_client_DH_params.md +++ b/old_docs/API_docs_v66/methods/set_client_DH_params.md @@ -26,7 +26,7 @@ Sets client diffie-hellman parameters ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ encrypted_data - Json encoded string Or, if you're into Lua: -``` +```lua Set_client_DH_params_answer = set_client_DH_params({nonce=int128, server_nonce=int128, encrypted_data='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/upload_getWebFile.md b/old_docs/API_docs_v66/methods/upload_getWebFile.md index d7d5d631..16952ff9 100644 --- a/old_docs/API_docs_v66/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v66/methods/upload_getWebFile.md @@ -26,7 +26,7 @@ Download a file through telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/users_getUsers.md b/old_docs/API_docs_v66/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v66/methods/users_getUsers.md +++ b/old_docs/API_docs_v66/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v66/types/Chat.md b/old_docs/API_docs_v66/types/Chat.md index cd83aacb..58654e6e 100644 --- a/old_docs/API_docs_v66/types/Chat.md +++ b/old_docs/API_docs_v66/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v66/types/InputChannel.md b/old_docs/API_docs_v66/types/InputChannel.md index 3882099d..6dc802fc 100644 --- a/old_docs/API_docs_v66/types/InputChannel.md +++ b/old_docs/API_docs_v66/types/InputChannel.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputChannel = '@username'; // Username $InputChannel = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v66/types/InputEncryptedChat.md b/old_docs/API_docs_v66/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v66/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v66/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v66/types/InputEncryptedFile.md b/old_docs/API_docs_v66/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v66/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v66/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v66/types/InputFile.md b/old_docs/API_docs_v66/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v66/types/InputFile.md +++ b/old_docs/API_docs_v66/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v66/types/InputNotifyPeer.md b/old_docs/API_docs_v66/types/InputNotifyPeer.md index ffc1f0cf..f9d0a662 100644 --- a/old_docs/API_docs_v66/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v66/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v66/types/InputPeer.md b/old_docs/API_docs_v66/types/InputPeer.md index 2076c00b..2649db1a 100644 --- a/old_docs/API_docs_v66/types/InputPeer.md +++ b/old_docs/API_docs_v66/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v66/types/InputUser.md b/old_docs/API_docs_v66/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/old_docs/API_docs_v66/types/InputUser.md +++ b/old_docs/API_docs_v66/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v66/types/KeyboardButton.md b/old_docs/API_docs_v66/types/KeyboardButton.md index ac4b9e1e..69f33796 100644 --- a/old_docs/API_docs_v66/types/KeyboardButton.md +++ b/old_docs/API_docs_v66/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/old_docs/API_docs_v66/types/NotifyPeer.md b/old_docs/API_docs_v66/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v66/types/NotifyPeer.md +++ b/old_docs/API_docs_v66/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v66/types/Peer.md b/old_docs/API_docs_v66/types/Peer.md index ebb98e91..0ab7fdcc 100644 --- a/old_docs/API_docs_v66/types/Peer.md +++ b/old_docs/API_docs_v66/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v66/types/PhoneCall.md b/old_docs/API_docs_v66/types/PhoneCall.md index 64d95972..0aa87799 100644 --- a/old_docs/API_docs_v66/types/PhoneCall.md +++ b/old_docs/API_docs_v66/types/PhoneCall.md @@ -159,7 +159,7 @@ The audio configuration is an array structured in the following way: Easy as pie: -``` +```php $call->storage["pony"] = "fluttershy"; \danog\MadelineProto\Logger::log($call->storage["pony"]); // fluttershy ``` @@ -173,7 +173,7 @@ You can only modify the data saving mode, the network type, the logging file pat Example: -``` +```php $call->configuration["log_file_path"] = "logs".$call->getOtherID().".log"; // Default is /dev/null $call->configuration["stats_dump_file_path"] = "stats".$call->getOtherID().".log"; // Default is /dev/null $call->configuration["network_type"] = \danog\MadelineProto\VoIP::NET_TYPE_WIFI; // Default is NET_TYPE_ETHERNET diff --git a/old_docs/API_docs_v66/types/User.md b/old_docs/API_docs_v66/types/User.md index 3abd182f..425c8d2b 100644 --- a/old_docs/API_docs_v66/types/User.md +++ b/old_docs/API_docs_v66/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v68/constructors/accountDaysTTL.md b/old_docs/API_docs_v68/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v68/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v68/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v68/constructors/account_authorizations.md b/old_docs/API_docs_v68/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v68/constructors/account_authorizations.md +++ b/old_docs/API_docs_v68/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v68/constructors/account_noPassword.md b/old_docs/API_docs_v68/constructors/account_noPassword.md index 81a483d6..63a4af6d 100644 --- a/old_docs/API_docs_v68/constructors/account_noPassword.md +++ b/old_docs/API_docs_v68/constructors/account_noPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -33,10 +33,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'emai ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/account_password.md b/old_docs/API_docs_v68/constructors/account_password.md index 9a8b31c6..5c4c334b 100644 --- a/old_docs/API_docs_v68/constructors/account_password.md +++ b/old_docs/API_docs_v68/constructors/account_password.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` @@ -36,10 +36,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v68/constructors/account_passwordInputSettings.md index f474e0c7..b5838f0a 100644 --- a/old_docs/API_docs_v68/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v68/constructors/account_passwordInputSettings.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v68/constructors/account_passwordSettings.md b/old_docs/API_docs_v68/constructors/account_passwordSettings.md index 27d14f59..04fc8621 100644 --- a/old_docs/API_docs_v68/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v68/constructors/account_passwordSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v68/constructors/account_privacyRules.md b/old_docs/API_docs_v68/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v68/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v68/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v68/constructors/account_tmpPassword.md b/old_docs/API_docs_v68/constructors/account_tmpPassword.md index e16b6f3c..90d36e0e 100644 --- a/old_docs/API_docs_v68/constructors/account_tmpPassword.md +++ b/old_docs/API_docs_v68/constructors/account_tmpPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/auth_authorization.md b/old_docs/API_docs_v68/constructors/auth_authorization.md index c8133016..b858e501 100644 --- a/old_docs/API_docs_v68/constructors/auth_authorization.md +++ b/old_docs/API_docs_v68/constructors/auth_authorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/auth_checkedPhone.md b/old_docs/API_docs_v68/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v68/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v68/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v68/constructors/auth_codeTypeCall.md index 6a4f28d1..788a2c37 100644 --- a/old_docs/API_docs_v68/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v68/constructors/auth_codeTypeCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeCall={_='auth.codeTypeCall'} ``` diff --git a/old_docs/API_docs_v68/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v68/constructors/auth_codeTypeFlashCall.md index 2851bf4e..abb65fcf 100644 --- a/old_docs/API_docs_v68/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v68/constructors/auth_codeTypeFlashCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} ``` diff --git a/old_docs/API_docs_v68/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v68/constructors/auth_codeTypeSms.md index 04b78a3d..34b42c95 100644 --- a/old_docs/API_docs_v68/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v68/constructors/auth_codeTypeSms.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeSms={_='auth.codeTypeSms'} ``` diff --git a/old_docs/API_docs_v68/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v68/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v68/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v68/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v68/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v68/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v68/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v68/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v68/constructors/auth_sentCode.md b/old_docs/API_docs_v68/constructors/auth_sentCode.md index 0226e79e..2b3f2017 100644 --- a/old_docs/API_docs_v68/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v68/constructors/auth_sentCode.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; ``` @@ -36,10 +36,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v68/constructors/auth_sentCodeTypeApp.md index eb4f4530..eba1784a 100644 --- a/old_docs/API_docs_v68/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v68/constructors/auth_sentCodeTypeApp.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v68/constructors/auth_sentCodeTypeCall.md index b72a7550..5948ce63 100644 --- a/old_docs/API_docs_v68/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v68/constructors/auth_sentCodeTypeCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v68/constructors/auth_sentCodeTypeFlashCall.md index 2c59cad5..bcc7acf6 100644 --- a/old_docs/API_docs_v68/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v68/constructors/auth_sentCodeTypeFlashCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v68/constructors/auth_sentCodeTypeSms.md index db6858ea..3073333f 100644 --- a/old_docs/API_docs_v68/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v68/constructors/auth_sentCodeTypeSms.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/authorization.md b/old_docs/API_docs_v68/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v68/constructors/authorization.md +++ b/old_docs/API_docs_v68/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v68/constructors/bad_msg_notification.md b/old_docs/API_docs_v68/constructors/bad_msg_notification.md index a9553b26..bf1b9309 100644 --- a/old_docs/API_docs_v68/constructors/bad_msg_notification.md +++ b/old_docs/API_docs_v68/constructors/bad_msg_notification.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int]; ``` @@ -34,10 +34,9 @@ $bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua bad_msg_notification={_='bad_msg_notification', bad_msg_id=long, bad_msg_seqno=int, error_code=int} ``` diff --git a/old_docs/API_docs_v68/constructors/bad_server_salt.md b/old_docs/API_docs_v68/constructors/bad_server_salt.md index 5abce2e0..9eba4882 100644 --- a/old_docs/API_docs_v68/constructors/bad_server_salt.md +++ b/old_docs/API_docs_v68/constructors/bad_server_salt.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, 'new_server_salt' => long]; ``` @@ -35,10 +35,9 @@ $bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seq ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua bad_server_salt={_='bad_server_salt', bad_msg_id=long, bad_msg_seqno=int, error_code=int, new_server_salt=long} ``` diff --git a/old_docs/API_docs_v68/constructors/botCommand.md b/old_docs/API_docs_v68/constructors/botCommand.md index 8569358d..fcb65461 100644 --- a/old_docs/API_docs_v68/constructors/botCommand.md +++ b/old_docs/API_docs_v68/constructors/botCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v68/constructors/botInfo.md b/old_docs/API_docs_v68/constructors/botInfo.md index 507f9f8c..ad88f390 100644 --- a/old_docs/API_docs_v68/constructors/botInfo.md +++ b/old_docs/API_docs_v68/constructors/botInfo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v68/constructors/botInlineMediaResult.md b/old_docs/API_docs_v68/constructors/botInlineMediaResult.md index 43454784..0131af98 100644 --- a/old_docs/API_docs_v68/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v68/constructors/botInlineMediaResult.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` @@ -38,10 +38,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v68/constructors/botInlineMessageMediaAuto.md index 71557e0c..89ef07e4 100644 --- a/old_docs/API_docs_v68/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v68/constructors/botInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v68/constructors/botInlineMessageMediaContact.md b/old_docs/API_docs_v68/constructors/botInlineMessageMediaContact.md index c3f25947..771472fa 100644 --- a/old_docs/API_docs_v68/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v68/constructors/botInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v68/constructors/botInlineMessageMediaGeo.md b/old_docs/API_docs_v68/constructors/botInlineMessageMediaGeo.md index c87e0dfe..24bf8b8d 100644 --- a/old_docs/API_docs_v68/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v68/constructors/botInlineMessageMediaGeo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v68/constructors/botInlineMessageMediaVenue.md b/old_docs/API_docs_v68/constructors/botInlineMessageMediaVenue.md index 4795ba75..8108a37c 100644 --- a/old_docs/API_docs_v68/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v68/constructors/botInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v68/constructors/botInlineMessageText.md b/old_docs/API_docs_v68/constructors/botInlineMessageText.md index 4a274d28..b3fa92ed 100644 --- a/old_docs/API_docs_v68/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v68/constructors/botInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/botInlineResult.md b/old_docs/API_docs_v68/constructors/botInlineResult.md index c7abbd71..8b6ead75 100644 --- a/old_docs/API_docs_v68/constructors/botInlineResult.md +++ b/old_docs/API_docs_v68/constructors/botInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` @@ -43,10 +43,9 @@ $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_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v68/constructors/cdnConfig.md b/old_docs/API_docs_v68/constructors/cdnConfig.md index 3df3585d..6487cf42 100644 --- a/old_docs/API_docs_v68/constructors/cdnConfig.md +++ b/old_docs/API_docs_v68/constructors/cdnConfig.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]]; ``` @@ -32,10 +32,9 @@ $cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}} ``` diff --git a/old_docs/API_docs_v68/constructors/cdnPublicKey.md b/old_docs/API_docs_v68/constructors/cdnPublicKey.md index 78ec2a83..2277ee59 100644 --- a/old_docs/API_docs_v68/constructors/cdnPublicKey.md +++ b/old_docs/API_docs_v68/constructors/cdnPublicKey.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v68/constructors/channel.md b/old_docs/API_docs_v68/constructors/channel.md index 74c65b22..c5a14e1d 100644 --- a/old_docs/API_docs_v68/constructors/channel.md +++ b/old_docs/API_docs_v68/constructors/channel.md @@ -39,7 +39,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channel = ['_' => 'channel', 'creator' => Bool, 'left' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'democracy' => Bool, 'signatures' => Bool, 'min' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'username' => 'string', 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => 'string', 'admin_rights' => ChannelAdminRights, 'banned_rights' => ChannelBannedRights]; ``` @@ -50,10 +50,9 @@ $channel = ['_' => 'channel', 'creator' => Bool, 'left' => Bool, 'broadcast' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channel={_='channel', creator=Bool, left=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, restricted=Bool, democracy=Bool, signatures=Bool, min=Bool, id=int, access_hash=long, title='string', username='string', photo=ChatPhoto, date=int, version=int, restriction_reason='string', admin_rights=ChannelAdminRights, banned_rights=ChannelBannedRights} ``` diff --git a/old_docs/API_docs_v68/constructors/channelAdminLogEvent.md b/old_docs/API_docs_v68/constructors/channelAdminLogEvent.md index f48cb8db..5a939425 100644 --- a/old_docs/API_docs_v68/constructors/channelAdminLogEvent.md +++ b/old_docs/API_docs_v68/constructors/channelAdminLogEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEvent = ['_' => 'channelAdminLogEvent', 'id' => long, 'date' => int, 'user_id' => int, 'action' => ChannelAdminLogEventAction]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionChangeAbout.md b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionChangeAbout.md index ebec258a..aef21894 100644 --- a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionChangeAbout.md +++ b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionChangeAbout.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChangeAbout', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeAbout={_='channelAdminLogEventActionChangeAbout', prev_value='string', new_value='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionChangePhoto.md b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionChangePhoto.md index 7c687202..7c38537e 100644 --- a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionChangePhoto.md +++ b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionChangePhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChangePhoto', 'prev_photo' => ChatPhoto, 'new_photo' => ChatPhoto]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangePhoto={_='channelAdminLogEventActionChangePhoto', prev_photo=ChatPhoto, new_photo=ChatPhoto} ``` diff --git a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionChangeTitle.md b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionChangeTitle.md index dbf4ca87..ab2d88ef 100644 --- a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionChangeTitle.md +++ b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionChangeTitle.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChangeTitle', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeTitle={_='channelAdminLogEventActionChangeTitle', prev_value='string', new_value='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionChangeUsername.md b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionChangeUsername.md index 8a48ba97..d0016c2b 100644 --- a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionChangeUsername.md +++ b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionChangeUsername.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionChangeUsername', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionC ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeUsername={_='channelAdminLogEventActionChangeUsername', prev_value='string', new_value='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionDeleteMessage.md b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionDeleteMessage.md index e6ffe7f5..3af17f94 100644 --- a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionDeleteMessage.md +++ b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionDeleteMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDeleteMessage', 'message' => Message]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionDeleteMessage={_='channelAdminLogEventActionDeleteMessage', message=Message} ``` diff --git a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionEditMessage.md b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionEditMessage.md index 67b7a176..66e5de48 100644 --- a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionEditMessage.md +++ b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionEditMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEditMessage', 'prev_message' => Message, 'new_message' => Message]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEdit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionEditMessage={_='channelAdminLogEventActionEditMessage', prev_message=Message, new_message=Message} ``` diff --git a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionParticipantInvite.md b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionParticipantInvite.md index 260a3346..82029fee 100644 --- a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionParticipantInvite.md +++ b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionParticipantInvite.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActionParticipantInvite', 'participant' => ChannelParticipant]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActi ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantInvite={_='channelAdminLogEventActionParticipantInvite', participant=ChannelParticipant} ``` diff --git a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionParticipantJoin.md b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionParticipantJoin.md index 9f59031b..4c8ca622 100644 --- a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionParticipantJoin.md +++ b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionParticipantJoin.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventActionParticipantJoin']; ``` @@ -27,10 +27,9 @@ $channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventAction ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantJoin={_='channelAdminLogEventActionParticipantJoin'} ``` diff --git a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionParticipantLeave.md b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionParticipantLeave.md index 03328132..dde98f82 100644 --- a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionParticipantLeave.md +++ b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionParticipantLeave.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActionParticipantLeave']; ``` @@ -27,10 +27,9 @@ $channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantLeave={_='channelAdminLogEventActionParticipantLeave'} ``` diff --git a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionParticipantToggleAdmin.md b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionParticipantToggleAdmin.md index b570076b..053db714 100644 --- a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionParticipantToggleAdmin.md +++ b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionParticipantToggleAdmin.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEventActionParticipantToggleAdmin', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEven ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantToggleAdmin={_='channelAdminLogEventActionParticipantToggleAdmin', prev_participant=ChannelParticipant, new_participant=ChannelParticipant} ``` diff --git a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionParticipantToggleBan.md b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionParticipantToggleBan.md index ef119daa..5321e678 100644 --- a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionParticipantToggleBan.md +++ b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionParticipantToggleBan.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventActionParticipantToggleBan', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventA ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantToggleBan={_='channelAdminLogEventActionParticipantToggleBan', prev_participant=ChannelParticipant, new_participant=ChannelParticipant} ``` diff --git a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionToggleInvites.md b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionToggleInvites.md index 5a25a689..47ba2358 100644 --- a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionToggleInvites.md +++ b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionToggleInvites.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionToggleInvites', 'new_value' => Bool]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionTo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionToggleInvites={_='channelAdminLogEventActionToggleInvites', new_value=Bool} ``` diff --git a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionToggleSignatures.md b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionToggleSignatures.md index e7119bb6..ad529669 100644 --- a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionToggleSignatures.md +++ b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionToggleSignatures.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActionToggleSignatures', 'new_value' => Bool]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionToggleSignatures={_='channelAdminLogEventActionToggleSignatures', new_value=Bool} ``` diff --git a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionUpdatePinned.md b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionUpdatePinned.md index de066195..2facbac2 100644 --- a/old_docs/API_docs_v68/constructors/channelAdminLogEventActionUpdatePinned.md +++ b/old_docs/API_docs_v68/constructors/channelAdminLogEventActionUpdatePinned.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpdatePinned', 'message' => Message]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionUpdatePinned={_='channelAdminLogEventActionUpdatePinned', message=Message} ``` diff --git a/old_docs/API_docs_v68/constructors/channelAdminLogEventsFilter.md b/old_docs/API_docs_v68/constructors/channelAdminLogEventsFilter.md index 04ece393..db2f4ee8 100644 --- a/old_docs/API_docs_v68/constructors/channelAdminLogEventsFilter.md +++ b/old_docs/API_docs_v68/constructors/channelAdminLogEventsFilter.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -45,10 +45,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/channelAdminRights.md b/old_docs/API_docs_v68/constructors/channelAdminRights.md index 88cb5969..f3204317 100644 --- a/old_docs/API_docs_v68/constructors/channelAdminRights.md +++ b/old_docs/API_docs_v68/constructors/channelAdminRights.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -40,10 +40,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/channelBannedRights.md b/old_docs/API_docs_v68/constructors/channelBannedRights.md index 13dde648..f2ae995f 100644 --- a/old_docs/API_docs_v68/constructors/channelBannedRights.md +++ b/old_docs/API_docs_v68/constructors/channelBannedRights.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -40,10 +40,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/channelForbidden.md b/old_docs/API_docs_v68/constructors/channelForbidden.md index 00b4cbbe..0bccd01f 100644 --- a/old_docs/API_docs_v68/constructors/channelForbidden.md +++ b/old_docs/API_docs_v68/constructors/channelForbidden.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'until_date' => int]; ``` @@ -37,10 +37,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/channelFull.md b/old_docs/API_docs_v68/constructors/channelFull.md index 1378008f..14749092 100644 --- a/old_docs/API_docs_v68/constructors/channelFull.md +++ b/old_docs/API_docs_v68/constructors/channelFull.md @@ -38,7 +38,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int]; ``` @@ -49,10 +49,9 @@ $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, 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} ``` diff --git a/old_docs/API_docs_v68/constructors/channelMessagesFilter.md b/old_docs/API_docs_v68/constructors/channelMessagesFilter.md index b19d3151..1b953ba3 100644 --- a/old_docs/API_docs_v68/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v68/constructors/channelMessagesFilter.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v68/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v68/constructors/channelMessagesFilterEmpty.md index 350e50de..a446b896 100644 --- a/old_docs/API_docs_v68/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v68/constructors/channelMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/channelParticipant.md b/old_docs/API_docs_v68/constructors/channelParticipant.md index c7de5400..dbcb792b 100644 --- a/old_docs/API_docs_v68/constructors/channelParticipant.md +++ b/old_docs/API_docs_v68/constructors/channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/channelParticipantAdmin.md b/old_docs/API_docs_v68/constructors/channelParticipantAdmin.md index 95ef84e9..73f4e2ab 100644 --- a/old_docs/API_docs_v68/constructors/channelParticipantAdmin.md +++ b/old_docs/API_docs_v68/constructors/channelParticipantAdmin.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantAdmin = ['_' => 'channelParticipantAdmin', 'can_edit' => Bool, 'user_id' => int, 'inviter_id' => int, 'promoted_by' => int, 'date' => int, 'admin_rights' => ChannelAdminRights]; ``` @@ -37,10 +37,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/channelParticipantBanned.md b/old_docs/API_docs_v68/constructors/channelParticipantBanned.md index be3be304..171f76d9 100644 --- a/old_docs/API_docs_v68/constructors/channelParticipantBanned.md +++ b/old_docs/API_docs_v68/constructors/channelParticipantBanned.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantBanned = ['_' => 'channelParticipantBanned', 'left' => Bool, 'user_id' => int, 'kicked_by' => int, 'date' => int, 'banned_rights' => ChannelBannedRights]; ``` @@ -36,10 +36,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/channelParticipantCreator.md b/old_docs/API_docs_v68/constructors/channelParticipantCreator.md index 86cafe0a..e999fb9c 100644 --- a/old_docs/API_docs_v68/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v68/constructors/channelParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantCreator={_='channelParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/channelParticipantSelf.md b/old_docs/API_docs_v68/constructors/channelParticipantSelf.md index 83864972..4b5949ac 100644 --- a/old_docs/API_docs_v68/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v68/constructors/channelParticipantSelf.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v68/constructors/channelParticipantsAdmins.md index c86cb9a4..4b0c30d4 100644 --- a/old_docs/API_docs_v68/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v68/constructors/channelParticipantsAdmins.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` @@ -27,10 +27,9 @@ $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v68/constructors/channelParticipantsBanned.md b/old_docs/API_docs_v68/constructors/channelParticipantsBanned.md index 75a86f75..7f956691 100644 --- a/old_docs/API_docs_v68/constructors/channelParticipantsBanned.md +++ b/old_docs/API_docs_v68/constructors/channelParticipantsBanned.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBanned={_='channelParticipantsBanned', q='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/channelParticipantsBots.md b/old_docs/API_docs_v68/constructors/channelParticipantsBots.md index 30875f94..66e510c7 100644 --- a/old_docs/API_docs_v68/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v68/constructors/channelParticipantsBots.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` @@ -27,10 +27,9 @@ $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v68/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v68/constructors/channelParticipantsKicked.md index fba5808a..7a985ca9 100644 --- a/old_docs/API_docs_v68/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v68/constructors/channelParticipantsKicked.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsKicked={_='channelParticipantsKicked', q='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v68/constructors/channelParticipantsRecent.md index e4cb6466..51e57069 100644 --- a/old_docs/API_docs_v68/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v68/constructors/channelParticipantsRecent.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` @@ -27,10 +27,9 @@ $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v68/constructors/channelParticipantsSearch.md b/old_docs/API_docs_v68/constructors/channelParticipantsSearch.md index 727a7279..9e2d3e7f 100644 --- a/old_docs/API_docs_v68/constructors/channelParticipantsSearch.md +++ b/old_docs/API_docs_v68/constructors/channelParticipantsSearch.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsSearch={_='channelParticipantsSearch', q='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/channels_adminLogResults.md b/old_docs/API_docs_v68/constructors/channels_adminLogResults.md index bd652b78..5a76ce73 100644 --- a/old_docs/API_docs_v68/constructors/channels_adminLogResults.md +++ b/old_docs/API_docs_v68/constructors/channels_adminLogResults.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v68/constructors/channels_channelParticipant.md b/old_docs/API_docs_v68/constructors/channels_channelParticipant.md index bdf27b08..107502c5 100644 --- a/old_docs/API_docs_v68/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v68/constructors/channels_channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v68/constructors/channels_channelParticipants.md b/old_docs/API_docs_v68/constructors/channels_channelParticipants.md index 1b76b1e0..0402423f 100644 --- a/old_docs/API_docs_v68/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v68/constructors/channels_channelParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v68/constructors/chat.md b/old_docs/API_docs_v68/constructors/chat.md index 5ae1811d..b6f24f3e 100644 --- a/old_docs/API_docs_v68/constructors/chat.md +++ b/old_docs/API_docs_v68/constructors/chat.md @@ -33,7 +33,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -44,10 +44,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/chatEmpty.md b/old_docs/API_docs_v68/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v68/constructors/chatEmpty.md +++ b/old_docs/API_docs_v68/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/chatForbidden.md b/old_docs/API_docs_v68/constructors/chatForbidden.md index de5bb302..61c45660 100644 --- a/old_docs/API_docs_v68/constructors/chatForbidden.md +++ b/old_docs/API_docs_v68/constructors/chatForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v68/constructors/chatFull.md b/old_docs/API_docs_v68/constructors/chatFull.md index 6e138596..2a5f67f6 100644 --- a/old_docs/API_docs_v68/constructors/chatFull.md +++ b/old_docs/API_docs_v68/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v68/constructors/chatInvite.md b/old_docs/API_docs_v68/constructors/chatInvite.md index c0f14de6..54027d67 100644 --- a/old_docs/API_docs_v68/constructors/chatInvite.md +++ b/old_docs/API_docs_v68/constructors/chatInvite.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User, User]]; ``` @@ -39,10 +39,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v68/constructors/chatInviteAlready.md b/old_docs/API_docs_v68/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/old_docs/API_docs_v68/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v68/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/old_docs/API_docs_v68/constructors/chatInviteEmpty.md b/old_docs/API_docs_v68/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/old_docs/API_docs_v68/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v68/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/chatInviteExported.md b/old_docs/API_docs_v68/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/old_docs/API_docs_v68/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v68/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/chatParticipant.md b/old_docs/API_docs_v68/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v68/constructors/chatParticipant.md +++ b/old_docs/API_docs_v68/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v68/constructors/chatParticipantAdmin.md index 62aee9a4..63a38575 100644 --- a/old_docs/API_docs_v68/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v68/constructors/chatParticipantAdmin.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/chatParticipantCreator.md b/old_docs/API_docs_v68/constructors/chatParticipantCreator.md index 0fb7b6ef..75b9c4d4 100644 --- a/old_docs/API_docs_v68/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v68/constructors/chatParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantCreator={_='chatParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/chatParticipants.md b/old_docs/API_docs_v68/constructors/chatParticipants.md index 38af2ca5..ae254290 100644 --- a/old_docs/API_docs_v68/constructors/chatParticipants.md +++ b/old_docs/API_docs_v68/constructors/chatParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v68/constructors/chatParticipantsForbidden.md index 2ecdfe10..639b30ee 100644 --- a/old_docs/API_docs_v68/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v68/constructors/chatParticipantsForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/chatPhoto.md b/old_docs/API_docs_v68/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v68/constructors/chatPhoto.md +++ b/old_docs/API_docs_v68/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v68/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v68/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v68/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/client_DH_inner_data.md b/old_docs/API_docs_v68/constructors/client_DH_inner_data.md index 6ea505c8..d888f8be 100644 --- a/old_docs/API_docs_v68/constructors/client_DH_inner_data.md +++ b/old_docs/API_docs_v68/constructors/client_DH_inner_data.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'retry_id' => long, 'g_b' => 'string']; ``` @@ -35,10 +35,9 @@ $client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'serv ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua client_DH_inner_data={_='client_DH_inner_data', nonce=int128, server_nonce=int128, retry_id=long, g_b='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/config.md b/old_docs/API_docs_v68/constructors/config.md index c74f6462..23bca37f 100644 --- a/old_docs/API_docs_v68/constructors/config.md +++ b/old_docs/API_docs_v68/constructors/config.md @@ -52,7 +52,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'tmp_sessions' => int, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'me_url_prefix' => 'string', 'suggested_lang_code' => 'string', 'lang_pack_version' => int, 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -63,10 +63,9 @@ $config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'date' => int, 'expire ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', phonecalls_enabled=Bool, date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, tmp_sessions=int, pinned_dialogs_count_max=int, call_receive_timeout_ms=int, call_ring_timeout_ms=int, call_connect_timeout_ms=int, call_packet_timeout_ms=int, me_url_prefix='string', suggested_lang_code='string', lang_pack_version=int, disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v68/constructors/contact.md b/old_docs/API_docs_v68/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v68/constructors/contact.md +++ b/old_docs/API_docs_v68/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/contactBlocked.md b/old_docs/API_docs_v68/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v68/constructors/contactBlocked.md +++ b/old_docs/API_docs_v68/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/contactLinkContact.md b/old_docs/API_docs_v68/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v68/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v68/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v68/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v68/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v68/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v68/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v68/constructors/contactLinkNone.md b/old_docs/API_docs_v68/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v68/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v68/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v68/constructors/contactLinkUnknown.md b/old_docs/API_docs_v68/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v68/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v68/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v68/constructors/contactStatus.md b/old_docs/API_docs_v68/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v68/constructors/contactStatus.md +++ b/old_docs/API_docs_v68/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v68/constructors/contacts_blocked.md b/old_docs/API_docs_v68/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v68/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v68/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v68/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v68/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v68/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v68/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v68/constructors/contacts_contacts.md b/old_docs/API_docs_v68/constructors/contacts_contacts.md index 34dae91a..ea16b38a 100644 --- a/old_docs/API_docs_v68/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v68/constructors/contacts_contacts.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} ``` diff --git a/old_docs/API_docs_v68/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v68/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v68/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v68/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v68/constructors/contacts_found.md b/old_docs/API_docs_v68/constructors/contacts_found.md index 7e0e458c..624fa475 100644 --- a/old_docs/API_docs_v68/constructors/contacts_found.md +++ b/old_docs/API_docs_v68/constructors/contacts_found.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v68/constructors/contacts_importedContacts.md b/old_docs/API_docs_v68/constructors/contacts_importedContacts.md index 7bf9c1bf..8b9012bb 100644 --- a/old_docs/API_docs_v68/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v68/constructors/contacts_importedContacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v68/constructors/contacts_link.md b/old_docs/API_docs_v68/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v68/constructors/contacts_link.md +++ b/old_docs/API_docs_v68/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v68/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v68/constructors/contacts_resolvedPeer.md index add29235..4aa323dd 100644 --- a/old_docs/API_docs_v68/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v68/constructors/contacts_resolvedPeer.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v68/constructors/contacts_topPeers.md b/old_docs/API_docs_v68/constructors/contacts_topPeers.md index 8777bff2..e4728594 100644 --- a/old_docs/API_docs_v68/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v68/constructors/contacts_topPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCatego ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v68/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v68/constructors/contacts_topPeersNotModified.md index 3aa2236a..7ec0114a 100644 --- a/old_docs/API_docs_v68/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v68/constructors/contacts_topPeersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeersNotModified={_='contacts.topPeersNotModified'} ``` diff --git a/old_docs/API_docs_v68/constructors/dataJSON.md b/old_docs/API_docs_v68/constructors/dataJSON.md index c49ec0c0..a6555aea 100644 --- a/old_docs/API_docs_v68/constructors/dataJSON.md +++ b/old_docs/API_docs_v68/constructors/dataJSON.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` @@ -32,10 +32,9 @@ $dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dataJSON={_='dataJSON', data='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/dcOption.md b/old_docs/API_docs_v68/constructors/dcOption.md index d1b1f2ef..75146eef 100644 --- a/old_docs/API_docs_v68/constructors/dcOption.md +++ b/old_docs/API_docs_v68/constructors/dcOption.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'cdn' => Bool, 'static' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` @@ -39,10 +39,9 @@ $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, cdn=Bool, static=Bool, id=int, ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v68/constructors/destroy_auth_key_fail.md b/old_docs/API_docs_v68/constructors/destroy_auth_key_fail.md index 08f2aa59..4beb933f 100644 --- a/old_docs/API_docs_v68/constructors/destroy_auth_key_fail.md +++ b/old_docs/API_docs_v68/constructors/destroy_auth_key_fail.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail']; ``` @@ -27,10 +27,9 @@ $destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_auth_key_fail={_='destroy_auth_key_fail'} ``` diff --git a/old_docs/API_docs_v68/constructors/destroy_auth_key_none.md b/old_docs/API_docs_v68/constructors/destroy_auth_key_none.md index 1656ed53..301bbf37 100644 --- a/old_docs/API_docs_v68/constructors/destroy_auth_key_none.md +++ b/old_docs/API_docs_v68/constructors/destroy_auth_key_none.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_auth_key_none = ['_' => 'destroy_auth_key_none']; ``` @@ -27,10 +27,9 @@ $destroy_auth_key_none = ['_' => 'destroy_auth_key_none']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_auth_key_none={_='destroy_auth_key_none'} ``` diff --git a/old_docs/API_docs_v68/constructors/destroy_auth_key_ok.md b/old_docs/API_docs_v68/constructors/destroy_auth_key_ok.md index 944521fb..19f56968 100644 --- a/old_docs/API_docs_v68/constructors/destroy_auth_key_ok.md +++ b/old_docs/API_docs_v68/constructors/destroy_auth_key_ok.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok']; ``` @@ -27,10 +27,9 @@ $destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_auth_key_ok={_='destroy_auth_key_ok'} ``` diff --git a/old_docs/API_docs_v68/constructors/destroy_session_none.md b/old_docs/API_docs_v68/constructors/destroy_session_none.md index e20d06f5..470a0de8 100644 --- a/old_docs/API_docs_v68/constructors/destroy_session_none.md +++ b/old_docs/API_docs_v68/constructors/destroy_session_none.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long]; ``` @@ -32,10 +32,9 @@ $destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_session_none={_='destroy_session_none', session_id=long} ``` diff --git a/old_docs/API_docs_v68/constructors/destroy_session_ok.md b/old_docs/API_docs_v68/constructors/destroy_session_ok.md index f5d8cd19..c98a804d 100644 --- a/old_docs/API_docs_v68/constructors/destroy_session_ok.md +++ b/old_docs/API_docs_v68/constructors/destroy_session_ok.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long]; ``` @@ -32,10 +32,9 @@ $destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_session_ok={_='destroy_session_ok', session_id=long} ``` diff --git a/old_docs/API_docs_v68/constructors/dh_gen_fail.md b/old_docs/API_docs_v68/constructors/dh_gen_fail.md index 28fb6771..87d4a34b 100644 --- a/old_docs/API_docs_v68/constructors/dh_gen_fail.md +++ b/old_docs/API_docs_v68/constructors/dh_gen_fail.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash3' => int128]; ``` @@ -34,10 +34,9 @@ $dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int12 ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dh_gen_fail={_='dh_gen_fail', nonce=int128, server_nonce=int128, new_nonce_hash3=int128} ``` diff --git a/old_docs/API_docs_v68/constructors/dh_gen_ok.md b/old_docs/API_docs_v68/constructors/dh_gen_ok.md index 6b9723d9..2a058971 100644 --- a/old_docs/API_docs_v68/constructors/dh_gen_ok.md +++ b/old_docs/API_docs_v68/constructors/dh_gen_ok.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash1' => int128]; ``` @@ -34,10 +34,9 @@ $dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dh_gen_ok={_='dh_gen_ok', nonce=int128, server_nonce=int128, new_nonce_hash1=int128} ``` diff --git a/old_docs/API_docs_v68/constructors/dh_gen_retry.md b/old_docs/API_docs_v68/constructors/dh_gen_retry.md index 736c54f4..ab31de74 100644 --- a/old_docs/API_docs_v68/constructors/dh_gen_retry.md +++ b/old_docs/API_docs_v68/constructors/dh_gen_retry.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash2' => int128]; ``` @@ -34,10 +34,9 @@ $dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dh_gen_retry={_='dh_gen_retry', nonce=int128, server_nonce=int128, new_nonce_hash2=int128} ``` diff --git a/old_docs/API_docs_v68/constructors/dialog.md b/old_docs/API_docs_v68/constructors/dialog.md index 64680ec2..b65961c2 100644 --- a/old_docs/API_docs_v68/constructors/dialog.md +++ b/old_docs/API_docs_v68/constructors/dialog.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'pinned' => Bool, 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage]; ``` @@ -40,10 +40,9 @@ $dialog = ['_' => 'dialog', 'pinned' => Bool, 'peer' => Peer, 'top_message' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', pinned=Bool, peer=Peer, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings, pts=int, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v68/constructors/disabledFeature.md b/old_docs/API_docs_v68/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v68/constructors/disabledFeature.md +++ b/old_docs/API_docs_v68/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/document.md b/old_docs/API_docs_v68/constructors/document.md index 1a0f1fc1..58c44a23 100644 --- a/old_docs/API_docs_v68/constructors/document.md +++ b/old_docs/API_docs_v68/constructors/document.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -40,10 +40,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, version=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v68/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v68/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v68/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v68/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v68/constructors/documentAttributeAudio.md b/old_docs/API_docs_v68/constructors/documentAttributeAudio.md index 0dc5decc..f427a05c 100644 --- a/old_docs/API_docs_v68/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v68/constructors/documentAttributeAudio.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` @@ -36,10 +36,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'du ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title='string', performer='string', waveform='bytes'} ``` diff --git a/old_docs/API_docs_v68/constructors/documentAttributeFilename.md b/old_docs/API_docs_v68/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v68/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v68/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/documentAttributeHasStickers.md b/old_docs/API_docs_v68/constructors/documentAttributeHasStickers.md index fff783df..90c58e35 100644 --- a/old_docs/API_docs_v68/constructors/documentAttributeHasStickers.md +++ b/old_docs/API_docs_v68/constructors/documentAttributeHasStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` @@ -27,10 +27,9 @@ $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeHasStickers={_='documentAttributeHasStickers'} ``` diff --git a/old_docs/API_docs_v68/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v68/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v68/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v68/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v68/constructors/documentAttributeSticker.md b/old_docs/API_docs_v68/constructors/documentAttributeSticker.md index ba5243fb..b200f7f0 100644 --- a/old_docs/API_docs_v68/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v68/constructors/documentAttributeSticker.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => 'string', 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords]; ``` @@ -35,10 +35,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', mask=Bool, alt='string', stickerset=InputStickerSet, mask_coords=MaskCoords} ``` diff --git a/old_docs/API_docs_v68/constructors/documentAttributeVideo.md b/old_docs/API_docs_v68/constructors/documentAttributeVideo.md index 21f4580a..bd43440e 100644 --- a/old_docs/API_docs_v68/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v68/constructors/documentAttributeVideo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -35,10 +35,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', round_message=Bool, duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v68/constructors/documentEmpty.md b/old_docs/API_docs_v68/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v68/constructors/documentEmpty.md +++ b/old_docs/API_docs_v68/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v68/constructors/draftMessage.md b/old_docs/API_docs_v68/constructors/draftMessage.md index 370ffaef..ecec69a1 100644 --- a/old_docs/API_docs_v68/constructors/draftMessage.md +++ b/old_docs/API_docs_v68/constructors/draftMessage.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'date' => int]; ``` @@ -36,10 +36,9 @@ $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message='string', entities={MessageEntity}, date=int} ``` diff --git a/old_docs/API_docs_v68/constructors/draftMessageEmpty.md b/old_docs/API_docs_v68/constructors/draftMessageEmpty.md index 15b2aa67..65902a71 100644 --- a/old_docs/API_docs_v68/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v68/constructors/draftMessageEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` @@ -27,10 +27,9 @@ $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessageEmpty={_='draftMessageEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/encryptedChat.md b/old_docs/API_docs_v68/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v68/constructors/encryptedChat.md +++ b/old_docs/API_docs_v68/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v68/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v68/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v68/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v68/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v68/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v68/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v68/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/encryptedChatRequested.md b/old_docs/API_docs_v68/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v68/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v68/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v68/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v68/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v68/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v68/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/encryptedFile.md b/old_docs/API_docs_v68/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v68/constructors/encryptedFile.md +++ b/old_docs/API_docs_v68/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v68/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v68/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v68/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v68/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/encryptedMessage.md b/old_docs/API_docs_v68/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v68/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v68/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v68/constructors/encryptedMessageService.md b/old_docs/API_docs_v68/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v68/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v68/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v68/constructors/error.md b/old_docs/API_docs_v68/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v68/constructors/error.md +++ b/old_docs/API_docs_v68/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/exportedMessageLink.md b/old_docs/API_docs_v68/constructors/exportedMessageLink.md index 423c9fa3..9db8d71a 100644 --- a/old_docs/API_docs_v68/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v68/constructors/exportedMessageLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua exportedMessageLink={_='exportedMessageLink', link='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/fileLocation.md b/old_docs/API_docs_v68/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v68/constructors/fileLocation.md +++ b/old_docs/API_docs_v68/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v68/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v68/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v68/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v68/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v68/constructors/foundGif.md b/old_docs/API_docs_v68/constructors/foundGif.md index d8ee3695..c2f0ce33 100644 --- a/old_docs/API_docs_v68/constructors/foundGif.md +++ b/old_docs/API_docs_v68/constructors/foundGif.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` @@ -37,10 +37,9 @@ $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'con ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGif={_='foundGif', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int} ``` diff --git a/old_docs/API_docs_v68/constructors/foundGifCached.md b/old_docs/API_docs_v68/constructors/foundGifCached.md index e4a1a552..03e67917 100644 --- a/old_docs/API_docs_v68/constructors/foundGifCached.md +++ b/old_docs/API_docs_v68/constructors/foundGifCached.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -34,10 +34,9 @@ $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGifCached={_='foundGifCached', url='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v68/constructors/future_salt.md b/old_docs/API_docs_v68/constructors/future_salt.md index de2832c4..b5dd02ed 100644 --- a/old_docs/API_docs_v68/constructors/future_salt.md +++ b/old_docs/API_docs_v68/constructors/future_salt.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int, 'salt' => long]; ``` @@ -34,10 +34,9 @@ $future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua future_salt={_='future_salt', valid_since=int, valid_until=int, salt=long} ``` diff --git a/old_docs/API_docs_v68/constructors/future_salts.md b/old_docs/API_docs_v68/constructors/future_salts.md index 811c668a..86251b37 100644 --- a/old_docs/API_docs_v68/constructors/future_salts.md +++ b/old_docs/API_docs_v68/constructors/future_salts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'salts' => [future_salt, future_salt]]; ``` @@ -34,10 +34,9 @@ $future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'sal ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua future_salts={_='future_salts', req_msg_id=long, now=int, salts={future_salt}} ``` diff --git a/old_docs/API_docs_v68/constructors/game.md b/old_docs/API_docs_v68/constructors/game.md index 790fbeeb..088ca95e 100644 --- a/old_docs/API_docs_v68/constructors/game.md +++ b/old_docs/API_docs_v68/constructors/game.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -38,10 +38,9 @@ $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua game={_='game', id=long, access_hash=long, short_name='string', title='string', description='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v68/constructors/geoPoint.md b/old_docs/API_docs_v68/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v68/constructors/geoPoint.md +++ b/old_docs/API_docs_v68/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v68/constructors/geoPointEmpty.md b/old_docs/API_docs_v68/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v68/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v68/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/help_appUpdate.md b/old_docs/API_docs_v68/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v68/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v68/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/help_configSimple.md b/old_docs/API_docs_v68/constructors/help_configSimple.md index 5c87af29..b3951e5b 100644 --- a/old_docs/API_docs_v68/constructors/help_configSimple.md +++ b/old_docs/API_docs_v68/constructors/help_configSimple.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'dc_id' => int, 'ip_port_list' => [ipPort, ipPort]]; ``` @@ -35,10 +35,9 @@ $help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_configSimple={_='help.configSimple', date=int, expires=int, dc_id=int, ip_port_list={ipPort}} ``` diff --git a/old_docs/API_docs_v68/constructors/help_inviteText.md b/old_docs/API_docs_v68/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v68/constructors/help_inviteText.md +++ b/old_docs/API_docs_v68/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/help_noAppUpdate.md b/old_docs/API_docs_v68/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v68/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v68/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v68/constructors/help_support.md b/old_docs/API_docs_v68/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v68/constructors/help_support.md +++ b/old_docs/API_docs_v68/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v68/constructors/help_termsOfService.md b/old_docs/API_docs_v68/constructors/help_termsOfService.md index 8e558bed..ec7a8121 100644 --- a/old_docs/API_docs_v68/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v68/constructors/help_termsOfService.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_termsOfService={_='help.termsOfService', text='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/highScore.md b/old_docs/API_docs_v68/constructors/highScore.md index 63a8ab05..265c0487 100644 --- a/old_docs/API_docs_v68/constructors/highScore.md +++ b/old_docs/API_docs_v68/constructors/highScore.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int]; ``` @@ -34,10 +34,9 @@ $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua highScore={_='highScore', pos=int, user_id=int, score=int} ``` diff --git a/old_docs/API_docs_v68/constructors/http_wait.md b/old_docs/API_docs_v68/constructors/http_wait.md index 08447425..b5db251e 100644 --- a/old_docs/API_docs_v68/constructors/http_wait.md +++ b/old_docs/API_docs_v68/constructors/http_wait.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $http_wait = ['_' => 'http_wait', 'max_delay' => int, 'wait_after' => int, 'max_wait' => int]; ``` @@ -34,10 +34,9 @@ $http_wait = ['_' => 'http_wait', 'max_delay' => int, 'wait_after' => int, 'max_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua http_wait={_='http_wait', max_delay=int, wait_after=int, max_wait=int} ``` diff --git a/old_docs/API_docs_v68/constructors/importedContact.md b/old_docs/API_docs_v68/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v68/constructors/importedContact.md +++ b/old_docs/API_docs_v68/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v68/constructors/inlineBotSwitchPM.md b/old_docs/API_docs_v68/constructors/inlineBotSwitchPM.md index 0dfd4714..b4fb8185 100644 --- a/old_docs/API_docs_v68/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v68/constructors/inlineBotSwitchPM.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` @@ -33,10 +33,9 @@ $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_par ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inlineBotSwitchPM={_='inlineBotSwitchPM', text='string', start_param='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputAppEvent.md b/old_docs/API_docs_v68/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v68/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v68/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputBotInlineMessageGame.md b/old_docs/API_docs_v68/constructors/inputBotInlineMessageGame.md index 8e59cd54..66c8997b 100644 --- a/old_docs/API_docs_v68/constructors/inputBotInlineMessageGame.md +++ b/old_docs/API_docs_v68/constructors/inputBotInlineMessageGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup]; ``` @@ -32,10 +32,9 @@ $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageGame={_='inputBotInlineMessageGame', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v68/constructors/inputBotInlineMessageID.md b/old_docs/API_docs_v68/constructors/inputBotInlineMessageID.md index 91c7586d..aecbb733 100644 --- a/old_docs/API_docs_v68/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v68/constructors/inputBotInlineMessageID.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v68/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v68/constructors/inputBotInlineMessageMediaAuto.md index 28d93836..17e2a1cb 100644 --- a/old_docs/API_docs_v68/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v68/constructors/inputBotInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'cap ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v68/constructors/inputBotInlineMessageMediaContact.md b/old_docs/API_docs_v68/constructors/inputBotInlineMessageMediaContact.md index 5b78709f..25dd9029 100644 --- a/old_docs/API_docs_v68/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v68/constructors/inputBotInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v68/constructors/inputBotInlineMessageMediaGeo.md b/old_docs/API_docs_v68/constructors/inputBotInlineMessageMediaGeo.md index 39365847..935dba16 100644 --- a/old_docs/API_docs_v68/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v68/constructors/inputBotInlineMessageMediaGeo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v68/constructors/inputBotInlineMessageMediaVenue.md b/old_docs/API_docs_v68/constructors/inputBotInlineMessageMediaVenue.md index 7dbc6a6c..56ec0745 100644 --- a/old_docs/API_docs_v68/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v68/constructors/inputBotInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'g ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v68/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v68/constructors/inputBotInlineMessageText.md index e6a0bbb7..acae47bc 100644 --- a/old_docs/API_docs_v68/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v68/constructors/inputBotInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v68/constructors/inputBotInlineResult.md b/old_docs/API_docs_v68/constructors/inputBotInlineResult.md index 668af514..34148d70 100644 --- a/old_docs/API_docs_v68/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v68/constructors/inputBotInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` @@ -43,10 +43,9 @@ $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v68/constructors/inputBotInlineResultDocument.md b/old_docs/API_docs_v68/constructors/inputBotInlineResultDocument.md index ad13df76..9d5f1eb6 100644 --- a/old_docs/API_docs_v68/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v68/constructors/inputBotInlineResultDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` @@ -37,10 +37,9 @@ $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultDocument={_='inputBotInlineResultDocument', id='string', type='string', title='string', description='string', document=InputDocument, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v68/constructors/inputBotInlineResultGame.md b/old_docs/API_docs_v68/constructors/inputBotInlineResultGame.md index 5967bea6..b7821035 100644 --- a/old_docs/API_docs_v68/constructors/inputBotInlineResultGame.md +++ b/old_docs/API_docs_v68/constructors/inputBotInlineResultGame.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string', 'short_name' => 'string', 'send_message' => InputBotInlineMessage]; ``` @@ -34,10 +34,9 @@ $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultGame={_='inputBotInlineResultGame', id='string', short_name='string', send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v68/constructors/inputBotInlineResultPhoto.md b/old_docs/API_docs_v68/constructors/inputBotInlineResultPhoto.md index 43f00813..271bb02e 100644 --- a/old_docs/API_docs_v68/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v68/constructors/inputBotInlineResultPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` @@ -35,10 +35,9 @@ $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id='string', type='string', photo=InputPhoto, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v68/constructors/inputChannel.md b/old_docs/API_docs_v68/constructors/inputChannel.md index b5cb3566..34ed10ca 100644 --- a/old_docs/API_docs_v68/constructors/inputChannel.md +++ b/old_docs/API_docs_v68/constructors/inputChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannel={_='inputChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v68/constructors/inputChannelEmpty.md b/old_docs/API_docs_v68/constructors/inputChannelEmpty.md index f7e18434..bd53602b 100644 --- a/old_docs/API_docs_v68/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v68/constructors/inputChannelEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` @@ -27,10 +27,9 @@ $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputChatPhoto.md b/old_docs/API_docs_v68/constructors/inputChatPhoto.md index 636d6f68..cbae66d1 100644 --- a/old_docs/API_docs_v68/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v68/constructors/inputChatPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v68/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v68/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v68/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v68/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v68/constructors/inputChatUploadedPhoto.md index 840ed815..8b5535ab 100644 --- a/old_docs/API_docs_v68/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v68/constructors/inputChatUploadedPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile]; ``` @@ -32,10 +32,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile} ``` diff --git a/old_docs/API_docs_v68/constructors/inputDocument.md b/old_docs/API_docs_v68/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v68/constructors/inputDocument.md +++ b/old_docs/API_docs_v68/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v68/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v68/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v68/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v68/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v68/constructors/inputDocumentFileLocation.md index df556f40..94ab0038 100644 --- a/old_docs/API_docs_v68/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v68/constructors/inputDocumentFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int]; ``` @@ -34,10 +34,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, version=int} ``` diff --git a/old_docs/API_docs_v68/constructors/inputEncryptedChat.md b/old_docs/API_docs_v68/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v68/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v68/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v68/constructors/inputEncryptedFile.md b/old_docs/API_docs_v68/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v68/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v68/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v68/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v68/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v68/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v68/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v68/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v68/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v68/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v68/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v68/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v68/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v68/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v68/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v68/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v68/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v68/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v68/constructors/inputFile.md b/old_docs/API_docs_v68/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v68/constructors/inputFile.md +++ b/old_docs/API_docs_v68/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputFileBig.md b/old_docs/API_docs_v68/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v68/constructors/inputFileBig.md +++ b/old_docs/API_docs_v68/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputFileLocation.md b/old_docs/API_docs_v68/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v68/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v68/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v68/constructors/inputGameID.md b/old_docs/API_docs_v68/constructors/inputGameID.md index 1fff2dd1..fba24333 100644 --- a/old_docs/API_docs_v68/constructors/inputGameID.md +++ b/old_docs/API_docs_v68/constructors/inputGameID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameID={_='inputGameID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v68/constructors/inputGameShortName.md b/old_docs/API_docs_v68/constructors/inputGameShortName.md index 742b5ae5..031e3f4c 100644 --- a/old_docs/API_docs_v68/constructors/inputGameShortName.md +++ b/old_docs/API_docs_v68/constructors/inputGameShortName.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => 'string']; ``` @@ -33,10 +33,9 @@ $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'shor ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameShortName={_='inputGameShortName', bot_id=InputUser, short_name='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputGeoPoint.md b/old_docs/API_docs_v68/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v68/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v68/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v68/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v68/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v68/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v68/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMediaContact.md b/old_docs/API_docs_v68/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v68/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v68/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMediaDocument.md b/old_docs/API_docs_v68/constructors/inputMediaDocument.md index 8c961036..9436d5e4 100644 --- a/old_docs/API_docs_v68/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v68/constructors/inputMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'capt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMediaDocumentExternal.md b/old_docs/API_docs_v68/constructors/inputMediaDocumentExternal.md index e6537807..35a560a0 100644 --- a/old_docs/API_docs_v68/constructors/inputMediaDocumentExternal.md +++ b/old_docs/API_docs_v68/constructors/inputMediaDocumentExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'string', 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocumentExternal={_='inputMediaDocumentExternal', url='string', caption='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMediaEmpty.md b/old_docs/API_docs_v68/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v68/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v68/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMediaGame.md b/old_docs/API_docs_v68/constructors/inputMediaGame.md index 883e5672..c4cc2cfc 100644 --- a/old_docs/API_docs_v68/constructors/inputMediaGame.md +++ b/old_docs/API_docs_v68/constructors/inputMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` @@ -32,10 +32,9 @@ $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGame={_='inputMediaGame', id=InputGame} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v68/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v68/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v68/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v68/constructors/inputMediaGifExternal.md index cf68972a..14153a43 100644 --- a/old_docs/API_docs_v68/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v68/constructors/inputMediaGifExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGifExternal={_='inputMediaGifExternal', url='string', q='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMediaInvoice.md b/old_docs/API_docs_v68/constructors/inputMediaInvoice.md index 8268b4bc..cb554cff 100644 --- a/old_docs/API_docs_v68/constructors/inputMediaInvoice.md +++ b/old_docs/API_docs_v68/constructors/inputMediaInvoice.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'description' => 'string', 'photo' => InputWebDocument, 'invoice' => Invoice, 'payload' => 'bytes', 'provider' => 'string', 'start_param' => 'string']; ``` @@ -38,10 +38,9 @@ $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'descript ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaInvoice={_='inputMediaInvoice', title='string', description='string', photo=InputWebDocument, invoice=Invoice, payload='bytes', provider='string', start_param='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMediaPhoto.md b/old_docs/API_docs_v68/constructors/inputMediaPhoto.md index 0be7f6fe..71f4ded5 100644 --- a/old_docs/API_docs_v68/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v68/constructors/inputMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMediaPhotoExternal.md b/old_docs/API_docs_v68/constructors/inputMediaPhotoExternal.md index fe057842..8725b488 100644 --- a/old_docs/API_docs_v68/constructors/inputMediaPhotoExternal.md +++ b/old_docs/API_docs_v68/constructors/inputMediaPhotoExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhotoExternal={_='inputMediaPhotoExternal', url='string', caption='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v68/constructors/inputMediaUploadedDocument.md index 0368b9c9..7767c58b 100644 --- a/old_docs/API_docs_v68/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v68/constructors/inputMediaUploadedDocument.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument, InputDocument]]; ``` @@ -36,10 +36,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string', stickers={InputDocument}} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v68/constructors/inputMediaUploadedPhoto.md index 52fd2410..784bbceb 100644 --- a/old_docs/API_docs_v68/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v68/constructors/inputMediaUploadedPhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string', 'stickers' => [InputDocument, InputDocument]]; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption='string', stickers={InputDocument}} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v68/constructors/inputMediaUploadedThumbDocument.md index 181d7f39..2340901f 100644 --- a/old_docs/API_docs_v68/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v68/constructors/inputMediaUploadedThumbDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument, InputDocument]]; ``` @@ -37,10 +37,9 @@ $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string', stickers={InputDocument}} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMediaVenue.md b/old_docs/API_docs_v68/constructors/inputMediaVenue.md index 3e7ee3a1..b2171fbc 100644 --- a/old_docs/API_docs_v68/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v68/constructors/inputMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMessageEntityMentionName.md b/old_docs/API_docs_v68/constructors/inputMessageEntityMentionName.md index 92d5c8d9..19a0b4e3 100644 --- a/old_docs/API_docs_v68/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v68/constructors/inputMessageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser]; ``` @@ -34,10 +34,9 @@ $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessageEntityMentionName={_='inputMessageEntityMentionName', offset=int, length=int, user_id=InputUser} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMessagesFilterChatPhotos.md b/old_docs/API_docs_v68/constructors/inputMessagesFilterChatPhotos.md index a02425b1..b72281f3 100644 --- a/old_docs/API_docs_v68/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v68/constructors/inputMessagesFilterChatPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v68/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v68/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v68/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v68/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v68/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v68/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v68/constructors/inputMessagesFilterGif.md index 94698ecd..a3a51104 100644 --- a/old_docs/API_docs_v68/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v68/constructors/inputMessagesFilterGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v68/constructors/inputMessagesFilterMusic.md index ac6373c2..b2ed1044 100644 --- a/old_docs/API_docs_v68/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v68/constructors/inputMessagesFilterMusic.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMessagesFilterPhoneCalls.md b/old_docs/API_docs_v68/constructors/inputMessagesFilterPhoneCalls.md index 8fe8537a..0cb60836 100644 --- a/old_docs/API_docs_v68/constructors/inputMessagesFilterPhoneCalls.md +++ b/old_docs/API_docs_v68/constructors/inputMessagesFilterPhoneCalls.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool]; ``` @@ -32,10 +32,9 @@ $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'misse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhoneCalls={_='inputMessagesFilterPhoneCalls', missed=Bool} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v68/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v68/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v68/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v68/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v68/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v68/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v68/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v68/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v68/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMessagesFilterRoundVideo.md b/old_docs/API_docs_v68/constructors/inputMessagesFilterRoundVideo.md index 5bcbbb20..291ebf25 100644 --- a/old_docs/API_docs_v68/constructors/inputMessagesFilterRoundVideo.md +++ b/old_docs/API_docs_v68/constructors/inputMessagesFilterRoundVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterRoundVideo={_='inputMessagesFilterRoundVideo'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMessagesFilterRoundVoice.md b/old_docs/API_docs_v68/constructors/inputMessagesFilterRoundVoice.md index 9e018fc3..4c7fbbec 100644 --- a/old_docs/API_docs_v68/constructors/inputMessagesFilterRoundVoice.md +++ b/old_docs/API_docs_v68/constructors/inputMessagesFilterRoundVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterRoundVoice={_='inputMessagesFilterRoundVoice'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v68/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v68/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v68/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v68/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v68/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v68/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v68/constructors/inputMessagesFilterVoice.md index 026a91be..be3af22a 100644 --- a/old_docs/API_docs_v68/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v68/constructors/inputMessagesFilterVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputNotifyAll.md b/old_docs/API_docs_v68/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v68/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v68/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputNotifyChats.md b/old_docs/API_docs_v68/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v68/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v68/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputNotifyPeer.md b/old_docs/API_docs_v68/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v68/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v68/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v68/constructors/inputNotifyUsers.md b/old_docs/API_docs_v68/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v68/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v68/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPaymentCredentials.md b/old_docs/API_docs_v68/constructors/inputPaymentCredentials.md index 085db55d..4e2883f9 100644 --- a/old_docs/API_docs_v68/constructors/inputPaymentCredentials.md +++ b/old_docs/API_docs_v68/constructors/inputPaymentCredentials.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'data' => DataJSON]; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentials={_='inputPaymentCredentials', save=Bool, data=DataJSON} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPaymentCredentialsSaved.md b/old_docs/API_docs_v68/constructors/inputPaymentCredentialsSaved.md index 63cd678e..c205ee9a 100644 --- a/old_docs/API_docs_v68/constructors/inputPaymentCredentialsSaved.md +++ b/old_docs/API_docs_v68/constructors/inputPaymentCredentialsSaved.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => 'string', 'tmp_password' => 'bytes']; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentialsSaved={_='inputPaymentCredentialsSaved', id='string', tmp_password='bytes'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPeerChannel.md b/old_docs/API_docs_v68/constructors/inputPeerChannel.md index 8b84fe20..14c2f105 100644 --- a/old_docs/API_docs_v68/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v68/constructors/inputPeerChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPeerChat.md b/old_docs/API_docs_v68/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v68/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v68/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPeerEmpty.md b/old_docs/API_docs_v68/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v68/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v68/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v68/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v68/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v68/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v68/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v68/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v68/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v68/constructors/inputPeerNotifySettings.md index 6b281f53..cd18b39e 100644 --- a/old_docs/API_docs_v68/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v68/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPeerSelf.md b/old_docs/API_docs_v68/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v68/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v68/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPeerUser.md b/old_docs/API_docs_v68/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/old_docs/API_docs_v68/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v68/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPhoneCall.md b/old_docs/API_docs_v68/constructors/inputPhoneCall.md index 60cdf8ca..68abe88d 100644 --- a/old_docs/API_docs_v68/constructors/inputPhoneCall.md +++ b/old_docs/API_docs_v68/constructors/inputPhoneCall.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneCall={_='inputPhoneCall', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPhoneContact.md b/old_docs/API_docs_v68/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v68/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v68/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPhoto.md b/old_docs/API_docs_v68/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v68/constructors/inputPhoto.md +++ b/old_docs/API_docs_v68/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v68/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v68/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v68/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v68/constructors/inputPrivacyKeyChatInvite.md index 9c55265f..d96148d4 100644 --- a/old_docs/API_docs_v68/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v68/constructors/inputPrivacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPrivacyKeyPhoneCall.md b/old_docs/API_docs_v68/constructors/inputPrivacyKeyPhoneCall.md index b16316be..510ff979 100644 --- a/old_docs/API_docs_v68/constructors/inputPrivacyKeyPhoneCall.md +++ b/old_docs/API_docs_v68/constructors/inputPrivacyKeyPhoneCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyPhoneCall={_='inputPrivacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v68/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v68/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v68/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v68/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v68/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v68/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v68/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v68/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v68/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v68/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v68/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v68/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v68/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v68/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v68/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v68/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v68/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v68/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v68/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v68/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v68/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v68/constructors/inputReportReasonOther.md b/old_docs/API_docs_v68/constructors/inputReportReasonOther.md index 361582bd..4dbffa18 100644 --- a/old_docs/API_docs_v68/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v68/constructors/inputReportReasonOther.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonOther={_='inputReportReasonOther', text='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v68/constructors/inputReportReasonPornography.md index c18c71d3..5c80f096 100644 --- a/old_docs/API_docs_v68/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v68/constructors/inputReportReasonPornography.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` @@ -27,10 +27,9 @@ $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v68/constructors/inputReportReasonSpam.md index 19ed6687..75d59861 100644 --- a/old_docs/API_docs_v68/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v68/constructors/inputReportReasonSpam.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` @@ -27,10 +27,9 @@ $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v68/constructors/inputReportReasonViolence.md index 10fbce47..28d27e85 100644 --- a/old_docs/API_docs_v68/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v68/constructors/inputReportReasonViolence.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` @@ -27,10 +27,9 @@ $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v68/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/old_docs/API_docs_v68/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v68/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputStickerSetID.md b/old_docs/API_docs_v68/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/old_docs/API_docs_v68/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v68/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v68/constructors/inputStickerSetItem.md b/old_docs/API_docs_v68/constructors/inputStickerSetItem.md index 2efe95ff..39b999c7 100644 --- a/old_docs/API_docs_v68/constructors/inputStickerSetItem.md +++ b/old_docs/API_docs_v68/constructors/inputStickerSetItem.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetItem = ['_' => 'inputStickerSetItem', 'document' => InputDocument, 'emoji' => 'string', 'mask_coords' => MaskCoords]; ``` @@ -34,10 +34,9 @@ $inputStickerSetItem = ['_' => 'inputStickerSetItem', 'document' => InputDocumen ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetItem={_='inputStickerSetItem', document=InputDocument, emoji='string', mask_coords=MaskCoords} ``` diff --git a/old_docs/API_docs_v68/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v68/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/old_docs/API_docs_v68/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v68/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputStickeredMediaDocument.md b/old_docs/API_docs_v68/constructors/inputStickeredMediaDocument.md index c6def51c..72da7b39 100644 --- a/old_docs/API_docs_v68/constructors/inputStickeredMediaDocument.md +++ b/old_docs/API_docs_v68/constructors/inputStickeredMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaDocument={_='inputStickeredMediaDocument', id=InputDocument} ``` diff --git a/old_docs/API_docs_v68/constructors/inputStickeredMediaPhoto.md b/old_docs/API_docs_v68/constructors/inputStickeredMediaPhoto.md index f424c329..d79cd390 100644 --- a/old_docs/API_docs_v68/constructors/inputStickeredMediaPhoto.md +++ b/old_docs/API_docs_v68/constructors/inputStickeredMediaPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaPhoto={_='inputStickeredMediaPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v68/constructors/inputUser.md b/old_docs/API_docs_v68/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/old_docs/API_docs_v68/constructors/inputUser.md +++ b/old_docs/API_docs_v68/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v68/constructors/inputUserEmpty.md b/old_docs/API_docs_v68/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v68/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v68/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputUserSelf.md b/old_docs/API_docs_v68/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v68/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v68/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v68/constructors/inputWebDocument.md b/old_docs/API_docs_v68/constructors/inputWebDocument.md index 8028cb28..cd3ceaa1 100644 --- a/old_docs/API_docs_v68/constructors/inputWebDocument.md +++ b/old_docs/API_docs_v68/constructors/inputWebDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -35,10 +35,9 @@ $inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputWebDocument={_='inputWebDocument', url='string', size=int, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v68/constructors/inputWebFileLocation.md b/old_docs/API_docs_v68/constructors/inputWebFileLocation.md index c484849b..888dcfbe 100644 --- a/old_docs/API_docs_v68/constructors/inputWebFileLocation.md +++ b/old_docs/API_docs_v68/constructors/inputWebFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'acce ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputWebFileLocation={_='inputWebFileLocation', url='string', access_hash=long} ``` diff --git a/old_docs/API_docs_v68/constructors/invoice.md b/old_docs/API_docs_v68/constructors/invoice.md index 7254fd66..ef683c37 100644 --- a/old_docs/API_docs_v68/constructors/invoice.md +++ b/old_docs/API_docs_v68/constructors/invoice.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_requested' => Bool, 'email_requested' => Bool, 'shipping_address_requested' => Bool, 'flexible' => Bool, 'currency' => 'string', 'prices' => [LabeledPrice, LabeledPrice]]; ``` @@ -39,10 +39,9 @@ $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_r ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua invoice={_='invoice', test=Bool, name_requested=Bool, phone_requested=Bool, email_requested=Bool, shipping_address_requested=Bool, flexible=Bool, currency='string', prices={LabeledPrice}} ``` diff --git a/old_docs/API_docs_v68/constructors/ipPort.md b/old_docs/API_docs_v68/constructors/ipPort.md index a22e57e7..16cec197 100644 --- a/old_docs/API_docs_v68/constructors/ipPort.md +++ b/old_docs/API_docs_v68/constructors/ipPort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $ipPort = ['_' => 'ipPort', 'ipv4' => int, 'port' => int]; ``` @@ -33,10 +33,9 @@ $ipPort = ['_' => 'ipPort', 'ipv4' => int, 'port' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua ipPort={_='ipPort', ipv4=int, port=int} ``` diff --git a/old_docs/API_docs_v68/constructors/keyboardButton.md b/old_docs/API_docs_v68/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/old_docs/API_docs_v68/constructors/keyboardButton.md +++ b/old_docs/API_docs_v68/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/keyboardButtonBuy.md b/old_docs/API_docs_v68/constructors/keyboardButtonBuy.md index efff4c6c..cf11ddf6 100644 --- a/old_docs/API_docs_v68/constructors/keyboardButtonBuy.md +++ b/old_docs/API_docs_v68/constructors/keyboardButtonBuy.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonBuy={_='keyboardButtonBuy', text='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/keyboardButtonCallback.md b/old_docs/API_docs_v68/constructors/keyboardButtonCallback.md index 63e87aac..c8f86f50 100644 --- a/old_docs/API_docs_v68/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v68/constructors/keyboardButtonCallback.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` @@ -33,10 +33,9 @@ $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonCallback={_='keyboardButtonCallback', text='string', data='bytes'} ``` diff --git a/old_docs/API_docs_v68/constructors/keyboardButtonGame.md b/old_docs/API_docs_v68/constructors/keyboardButtonGame.md index 08110141..05a565a3 100644 --- a/old_docs/API_docs_v68/constructors/keyboardButtonGame.md +++ b/old_docs/API_docs_v68/constructors/keyboardButtonGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonGame={_='keyboardButtonGame', text='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/keyboardButtonRequestGeoLocation.md b/old_docs/API_docs_v68/constructors/keyboardButtonRequestGeoLocation.md index fc422d90..63d4a82f 100644 --- a/old_docs/API_docs_v68/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v68/constructors/keyboardButtonRequestGeoLocation.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/keyboardButtonRequestPhone.md b/old_docs/API_docs_v68/constructors/keyboardButtonRequestPhone.md index a1719e24..ba58979f 100644 --- a/old_docs/API_docs_v68/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v68/constructors/keyboardButtonRequestPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/keyboardButtonRow.md b/old_docs/API_docs_v68/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/old_docs/API_docs_v68/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v68/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/old_docs/API_docs_v68/constructors/keyboardButtonSwitchInline.md b/old_docs/API_docs_v68/constructors/keyboardButtonSwitchInline.md index 463c473c..52dc897a 100644 --- a/old_docs/API_docs_v68/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v68/constructors/keyboardButtonSwitchInline.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => 'string', 'query' => 'string']; ``` @@ -34,10 +34,9 @@ $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=Bool, text='string', query='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/keyboardButtonUrl.md b/old_docs/API_docs_v68/constructors/keyboardButtonUrl.md index 709d4fa9..56b86f1c 100644 --- a/old_docs/API_docs_v68/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v68/constructors/keyboardButtonUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` @@ -33,10 +33,9 @@ $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonUrl={_='keyboardButtonUrl', text='string', url='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/labeledPrice.md b/old_docs/API_docs_v68/constructors/labeledPrice.md index 22e91c77..d54f53f5 100644 --- a/old_docs/API_docs_v68/constructors/labeledPrice.md +++ b/old_docs/API_docs_v68/constructors/labeledPrice.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` @@ -33,10 +33,9 @@ $labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua labeledPrice={_='labeledPrice', label='string', amount=long} ``` diff --git a/old_docs/API_docs_v68/constructors/langPackDifference.md b/old_docs/API_docs_v68/constructors/langPackDifference.md index 59f57e24..c31de915 100644 --- a/old_docs/API_docs_v68/constructors/langPackDifference.md +++ b/old_docs/API_docs_v68/constructors/langPackDifference.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackDifference = ['_' => 'langPackDifference', 'lang_code' => 'string', 'from_version' => int, 'version' => int, 'strings' => [LangPackString, LangPackString]]; ``` @@ -35,10 +35,9 @@ $langPackDifference = ['_' => 'langPackDifference', 'lang_code' => 'string', 'fr ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackDifference={_='langPackDifference', lang_code='string', from_version=int, version=int, strings={LangPackString}} ``` diff --git a/old_docs/API_docs_v68/constructors/langPackLanguage.md b/old_docs/API_docs_v68/constructors/langPackLanguage.md index a72465ca..51a8486c 100644 --- a/old_docs/API_docs_v68/constructors/langPackLanguage.md +++ b/old_docs/API_docs_v68/constructors/langPackLanguage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackLanguage = ['_' => 'langPackLanguage', 'name' => 'string', 'native_name' => 'string', 'lang_code' => 'string']; ``` @@ -34,10 +34,9 @@ $langPackLanguage = ['_' => 'langPackLanguage', 'name' => 'string', 'native_name ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackLanguage={_='langPackLanguage', name='string', native_name='string', lang_code='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/langPackString.md b/old_docs/API_docs_v68/constructors/langPackString.md index 4034f228..35d7d117 100644 --- a/old_docs/API_docs_v68/constructors/langPackString.md +++ b/old_docs/API_docs_v68/constructors/langPackString.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackString = ['_' => 'langPackString', 'key' => 'string', 'value' => 'string']; ``` @@ -33,10 +33,9 @@ $langPackString = ['_' => 'langPackString', 'key' => 'string', 'value' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackString={_='langPackString', key='string', value='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/langPackStringDeleted.md b/old_docs/API_docs_v68/constructors/langPackStringDeleted.md index 3da641bb..c23ce8f8 100644 --- a/old_docs/API_docs_v68/constructors/langPackStringDeleted.md +++ b/old_docs/API_docs_v68/constructors/langPackStringDeleted.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackStringDeleted = ['_' => 'langPackStringDeleted', 'key' => 'string']; ``` @@ -32,10 +32,9 @@ $langPackStringDeleted = ['_' => 'langPackStringDeleted', 'key' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackStringDeleted={_='langPackStringDeleted', key='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/langPackStringPluralized.md b/old_docs/API_docs_v68/constructors/langPackStringPluralized.md index 92b0b356..37225b53 100644 --- a/old_docs/API_docs_v68/constructors/langPackStringPluralized.md +++ b/old_docs/API_docs_v68/constructors/langPackStringPluralized.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => 'string', 'zero_value' => 'string', 'one_value' => 'string', 'two_value' => 'string', 'few_value' => 'string', 'many_value' => 'string', 'other_value' => 'string']; ``` @@ -38,10 +38,9 @@ $langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackStringPluralized={_='langPackStringPluralized', key='string', zero_value='string', one_value='string', two_value='string', few_value='string', many_value='string', other_value='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/maskCoords.md b/old_docs/API_docs_v68/constructors/maskCoords.md index 21b9ad78..2d393f3a 100644 --- a/old_docs/API_docs_v68/constructors/maskCoords.md +++ b/old_docs/API_docs_v68/constructors/maskCoords.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double]; ``` @@ -35,10 +35,9 @@ $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'z ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua maskCoords={_='maskCoords', n=int, x=double, y=double, zoom=double} ``` diff --git a/old_docs/API_docs_v68/constructors/message.md b/old_docs/API_docs_v68/constructors/message.md index 9b54331e..b3ce8110 100644 --- a/old_docs/API_docs_v68/constructors/message.md +++ b/old_docs/API_docs_v68/constructors/message.md @@ -38,7 +38,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'views' => int, 'edit_date' => int]; ``` @@ -49,10 +49,9 @@ $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v68/constructors/messageActionChannelCreate.md index b1750d73..2600ab63 100644 --- a/old_docs/API_docs_v68/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v68/constructors/messageActionChannelCreate.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v68/constructors/messageActionChannelMigrateFrom.md index add136dc..1fdcf3f4 100644 --- a/old_docs/API_docs_v68/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v68/constructors/messageActionChannelMigrateFrom.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 't ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v68/constructors/messageActionChatAddUser.md index 9c7de7f8..283365cd 100644 --- a/old_docs/API_docs_v68/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v68/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', users={int}} ``` diff --git a/old_docs/API_docs_v68/constructors/messageActionChatCreate.md b/old_docs/API_docs_v68/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v68/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v68/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v68/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v68/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v68/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v68/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v68/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v68/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v68/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v68/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v68/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v68/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v68/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v68/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v68/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v68/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v68/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v68/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/old_docs/API_docs_v68/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v68/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v68/constructors/messageActionChatMigrateTo.md index 21d2cb22..8ace1091 100644 --- a/old_docs/API_docs_v68/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v68/constructors/messageActionChatMigrateTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messageActionEmpty.md b/old_docs/API_docs_v68/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v68/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v68/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/messageActionGameScore.md b/old_docs/API_docs_v68/constructors/messageActionGameScore.md index 7a459a3d..c0086b66 100644 --- a/old_docs/API_docs_v68/constructors/messageActionGameScore.md +++ b/old_docs/API_docs_v68/constructors/messageActionGameScore.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int]; ``` @@ -33,10 +33,9 @@ $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionGameScore={_='messageActionGameScore', game_id=long, score=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messageActionHistoryClear.md b/old_docs/API_docs_v68/constructors/messageActionHistoryClear.md index 8b8dcc9d..90875cf6 100644 --- a/old_docs/API_docs_v68/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v68/constructors/messageActionHistoryClear.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` @@ -27,10 +27,9 @@ $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionHistoryClear={_='messageActionHistoryClear'} ``` diff --git a/old_docs/API_docs_v68/constructors/messageActionPaymentSent.md b/old_docs/API_docs_v68/constructors/messageActionPaymentSent.md index b224a125..a5c83837 100644 --- a/old_docs/API_docs_v68/constructors/messageActionPaymentSent.md +++ b/old_docs/API_docs_v68/constructors/messageActionPaymentSent.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 'string', 'total_amount' => long]; ``` @@ -33,10 +33,9 @@ $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPaymentSent={_='messageActionPaymentSent', currency='string', total_amount=long} ``` diff --git a/old_docs/API_docs_v68/constructors/messageActionPaymentSentMe.md b/old_docs/API_docs_v68/constructors/messageActionPaymentSentMe.md index f21ccce0..b1a61d01 100644 --- a/old_docs/API_docs_v68/constructors/messageActionPaymentSentMe.md +++ b/old_docs/API_docs_v68/constructors/messageActionPaymentSentMe.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' => 'string', 'total_amount' => long, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'charge' => PaymentCharge]; ``` @@ -37,10 +37,9 @@ $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPaymentSentMe={_='messageActionPaymentSentMe', currency='string', total_amount=long, payload='bytes', info=PaymentRequestedInfo, shipping_option_id='string', charge=PaymentCharge} ``` diff --git a/old_docs/API_docs_v68/constructors/messageActionPhoneCall.md b/old_docs/API_docs_v68/constructors/messageActionPhoneCall.md index f2f3eb4f..18a6c687 100644 --- a/old_docs/API_docs_v68/constructors/messageActionPhoneCall.md +++ b/old_docs/API_docs_v68/constructors/messageActionPhoneCall.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` @@ -34,10 +34,9 @@ $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPhoneCall={_='messageActionPhoneCall', call_id=long, reason=PhoneCallDiscardReason, duration=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messageActionPinMessage.md b/old_docs/API_docs_v68/constructors/messageActionPinMessage.md index ffa41746..be763787 100644 --- a/old_docs/API_docs_v68/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v68/constructors/messageActionPinMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` @@ -27,10 +27,9 @@ $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/old_docs/API_docs_v68/constructors/messageEmpty.md b/old_docs/API_docs_v68/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v68/constructors/messageEmpty.md +++ b/old_docs/API_docs_v68/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messageEntityBold.md b/old_docs/API_docs_v68/constructors/messageEntityBold.md index 950699fb..90f74ad5 100644 --- a/old_docs/API_docs_v68/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v68/constructors/messageEntityBold.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v68/constructors/messageEntityBotCommand.md index 8be471d3..9fb8f6a6 100644 --- a/old_docs/API_docs_v68/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v68/constructors/messageEntityBotCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messageEntityCode.md b/old_docs/API_docs_v68/constructors/messageEntityCode.md index 7c701844..d236e57e 100644 --- a/old_docs/API_docs_v68/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v68/constructors/messageEntityCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messageEntityEmail.md b/old_docs/API_docs_v68/constructors/messageEntityEmail.md index 35a968c7..74e910f3 100644 --- a/old_docs/API_docs_v68/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v68/constructors/messageEntityEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messageEntityHashtag.md b/old_docs/API_docs_v68/constructors/messageEntityHashtag.md index 6b124e73..77e29387 100644 --- a/old_docs/API_docs_v68/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v68/constructors/messageEntityHashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messageEntityItalic.md b/old_docs/API_docs_v68/constructors/messageEntityItalic.md index 25f73428..5975bae2 100644 --- a/old_docs/API_docs_v68/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v68/constructors/messageEntityItalic.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messageEntityMention.md b/old_docs/API_docs_v68/constructors/messageEntityMention.md index 9eb4d266..1a21cb10 100644 --- a/old_docs/API_docs_v68/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v68/constructors/messageEntityMention.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messageEntityMentionName.md b/old_docs/API_docs_v68/constructors/messageEntityMentionName.md index b546570b..0fe142c5 100644 --- a/old_docs/API_docs_v68/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v68/constructors/messageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int]; ``` @@ -34,10 +34,9 @@ $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messageEntityPre.md b/old_docs/API_docs_v68/constructors/messageEntityPre.md index abfc9136..13b165fe 100644 --- a/old_docs/API_docs_v68/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v68/constructors/messageEntityPre.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPre={_='messageEntityPre', offset=int, length=int, language='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v68/constructors/messageEntityTextUrl.md index 91f6d36c..b6d82843 100644 --- a/old_docs/API_docs_v68/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v68/constructors/messageEntityTextUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/messageEntityUnknown.md b/old_docs/API_docs_v68/constructors/messageEntityUnknown.md index 69ca8a1b..4c434fd7 100644 --- a/old_docs/API_docs_v68/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v68/constructors/messageEntityUnknown.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messageEntityUrl.md b/old_docs/API_docs_v68/constructors/messageEntityUrl.md index 377c3dda..2cf334a5 100644 --- a/old_docs/API_docs_v68/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v68/constructors/messageEntityUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messageFwdHeader.md b/old_docs/API_docs_v68/constructors/messageFwdHeader.md index b55da4c5..999c62ad 100644 --- a/old_docs/API_docs_v68/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v68/constructors/messageFwdHeader.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int]; ``` @@ -35,10 +35,9 @@ $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messageMediaContact.md b/old_docs/API_docs_v68/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v68/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v68/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messageMediaDocument.md b/old_docs/API_docs_v68/constructors/messageMediaDocument.md index 1f584a82..44199179 100644 --- a/old_docs/API_docs_v68/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v68/constructors/messageMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document, caption='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/messageMediaEmpty.md b/old_docs/API_docs_v68/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v68/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v68/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/messageMediaGame.md b/old_docs/API_docs_v68/constructors/messageMediaGame.md index e97b2bd1..980dbbcc 100644 --- a/old_docs/API_docs_v68/constructors/messageMediaGame.md +++ b/old_docs/API_docs_v68/constructors/messageMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` @@ -32,10 +32,9 @@ $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGame={_='messageMediaGame', game=Game} ``` diff --git a/old_docs/API_docs_v68/constructors/messageMediaGeo.md b/old_docs/API_docs_v68/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v68/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v68/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v68/constructors/messageMediaInvoice.md b/old_docs/API_docs_v68/constructors/messageMediaInvoice.md index dff83700..e7514d50 100644 --- a/old_docs/API_docs_v68/constructors/messageMediaInvoice.md +++ b/old_docs/API_docs_v68/constructors/messageMediaInvoice.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requested' => Bool, 'test' => Bool, 'title' => 'string', 'description' => 'string', 'photo' => WebDocument, 'receipt_msg_id' => int, 'currency' => 'string', 'total_amount' => long, 'start_param' => 'string']; ``` @@ -40,10 +40,9 @@ $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requeste ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaInvoice={_='messageMediaInvoice', shipping_address_requested=Bool, test=Bool, title='string', description='string', photo=WebDocument, receipt_msg_id=int, currency='string', total_amount=long, start_param='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/messageMediaPhoto.md b/old_docs/API_docs_v68/constructors/messageMediaPhoto.md index 47579066..7350efce 100644 --- a/old_docs/API_docs_v68/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v68/constructors/messageMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string']; ``` @@ -33,10 +33,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v68/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v68/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v68/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v68/constructors/messageMediaVenue.md b/old_docs/API_docs_v68/constructors/messageMediaVenue.md index 2db2d25d..2ef2b27f 100644 --- a/old_docs/API_docs_v68/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v68/constructors/messageMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/messageMediaWebPage.md b/old_docs/API_docs_v68/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v68/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v68/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v68/constructors/messageRange.md b/old_docs/API_docs_v68/constructors/messageRange.md index 40c3f81a..527e8646 100644 --- a/old_docs/API_docs_v68/constructors/messageRange.md +++ b/old_docs/API_docs_v68/constructors/messageRange.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageRange={_='messageRange', min_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messageService.md b/old_docs/API_docs_v68/constructors/messageService.md index 8f47e32f..f9946e72 100644 --- a/old_docs/API_docs_v68/constructors/messageService.md +++ b/old_docs/API_docs_v68/constructors/messageService.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction]; ``` @@ -42,10 +42,9 @@ $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_affectedHistory.md b/old_docs/API_docs_v68/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v68/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v68/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_affectedMessages.md b/old_docs/API_docs_v68/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v68/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v68/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_allStickers.md b/old_docs/API_docs_v68/constructors/messages_allStickers.md index 2a7d1313..45a66ddf 100644 --- a/old_docs/API_docs_v68/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v68/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v68/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v68/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v68/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_archivedStickers.md b/old_docs/API_docs_v68/constructors/messages_archivedStickers.md index 458c74b9..639d174b 100644 --- a/old_docs/API_docs_v68/constructors/messages_archivedStickers.md +++ b/old_docs/API_docs_v68/constructors/messages_archivedStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -33,10 +33,9 @@ $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v68/constructors/messages_botCallbackAnswer.md index 90095d01..41b90b45 100644 --- a/old_docs/API_docs_v68/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v68/constructors/messages_botCallbackAnswer.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; ``` @@ -36,10 +36,9 @@ $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_botResults.md b/old_docs/API_docs_v68/constructors/messages_botResults.md index bec3e32a..cb2b295c 100644 --- a/old_docs/API_docs_v68/constructors/messages_botResults.md +++ b/old_docs/API_docs_v68/constructors/messages_botResults.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int]; ``` @@ -37,10 +37,9 @@ $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_channelMessages.md b/old_docs/API_docs_v68/constructors/messages_channelMessages.md index 43f4cdc6..0da0608d 100644 --- a/old_docs/API_docs_v68/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v68/constructors/messages_channelMessages.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'c ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_chatFull.md b/old_docs/API_docs_v68/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v68/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v68/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_chats.md b/old_docs/API_docs_v68/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v68/constructors/messages_chats.md +++ b/old_docs/API_docs_v68/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_chatsSlice.md b/old_docs/API_docs_v68/constructors/messages_chatsSlice.md index 83905f64..d6a204d4 100644 --- a/old_docs/API_docs_v68/constructors/messages_chatsSlice.md +++ b/old_docs/API_docs_v68/constructors/messages_chatsSlice.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; ``` @@ -33,10 +33,9 @@ $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_dhConfig.md b/old_docs/API_docs_v68/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v68/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v68/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v68/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v68/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v68/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_dialogs.md b/old_docs/API_docs_v68/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v68/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v68/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v68/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v68/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v68/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_featuredStickers.md b/old_docs/API_docs_v68/constructors/messages_featuredStickers.md index 0ec8be8b..f40ec583 100644 --- a/old_docs/API_docs_v68/constructors/messages_featuredStickers.md +++ b/old_docs/API_docs_v68/constructors/messages_featuredStickers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; ``` @@ -34,10 +34,9 @@ $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v68/constructors/messages_featuredStickersNotModified.md index 87d2e6c7..3457ff96 100644 --- a/old_docs/API_docs_v68/constructors/messages_featuredStickersNotModified.md +++ b/old_docs/API_docs_v68/constructors/messages_featuredStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotMod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_foundGifs.md b/old_docs/API_docs_v68/constructors/messages_foundGifs.md index f86a9fed..4d513264 100644 --- a/old_docs/API_docs_v68/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v68/constructors/messages_foundGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; ``` @@ -33,10 +33,9 @@ $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'resul ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_highScores.md b/old_docs/API_docs_v68/constructors/messages_highScores.md index 1af58a14..08692c07 100644 --- a/old_docs/API_docs_v68/constructors/messages_highScores.md +++ b/old_docs/API_docs_v68/constructors/messages_highScores.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, Hi ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_messageEditData.md b/old_docs/API_docs_v68/constructors/messages_messageEditData.md index aee6e179..fe0f3ab3 100644 --- a/old_docs/API_docs_v68/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v68/constructors/messages_messageEditData.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` @@ -32,10 +32,9 @@ $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messageEditData={_='messages.messageEditData', caption=Bool} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_messages.md b/old_docs/API_docs_v68/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v68/constructors/messages_messages.md +++ b/old_docs/API_docs_v68/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_messagesSlice.md b/old_docs/API_docs_v68/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v68/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v68/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_peerDialogs.md b/old_docs/API_docs_v68/constructors/messages_peerDialogs.md index 93601b21..60aa48e6 100644 --- a/old_docs/API_docs_v68/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v68/constructors/messages_peerDialogs.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -36,10 +36,9 @@ $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Di ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_recentStickers.md b/old_docs/API_docs_v68/constructors/messages_recentStickers.md index b2ea1fa7..47a5c591 100644 --- a/old_docs/API_docs_v68/constructors/messages_recentStickers.md +++ b/old_docs/API_docs_v68/constructors/messages_recentStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v68/constructors/messages_recentStickersNotModified.md index 9bf964da..c3c4f654 100644 --- a/old_docs/API_docs_v68/constructors/messages_recentStickersNotModified.md +++ b/old_docs/API_docs_v68/constructors/messages_recentStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModifie ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickersNotModified={_='messages.recentStickersNotModified'} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_savedGifs.md b/old_docs/API_docs_v68/constructors/messages_savedGifs.md index 4a254ab5..ae7e595f 100644 --- a/old_docs/API_docs_v68/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v68/constructors/messages_savedGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Do ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v68/constructors/messages_savedGifsNotModified.md index 65c17d0c..ef0db669 100644 --- a/old_docs/API_docs_v68/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v68/constructors/messages_savedGifsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` @@ -27,10 +27,9 @@ $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifsNotModified={_='messages.savedGifsNotModified'} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v68/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v68/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v68/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v68/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v68/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v68/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_stickerSet.md b/old_docs/API_docs_v68/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/old_docs/API_docs_v68/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v68/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v68/constructors/messages_stickerSetInstallResultArchive.md index 2f66cfa0..f43e11c0 100644 --- a/old_docs/API_docs_v68/constructors/messages_stickerSetInstallResultArchive.md +++ b/old_docs/API_docs_v68/constructors/messages_stickerSetInstallResultArchive.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -32,10 +32,9 @@ $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v68/constructors/messages_stickerSetInstallResultSuccess.md index ef5752a2..bb6b00f3 100644 --- a/old_docs/API_docs_v68/constructors/messages_stickerSetInstallResultSuccess.md +++ b/old_docs/API_docs_v68/constructors/messages_stickerSetInstallResultSuccess.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; ``` @@ -27,10 +27,9 @@ $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_stickers.md b/old_docs/API_docs_v68/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v68/constructors/messages_stickers.md +++ b/old_docs/API_docs_v68/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v68/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v68/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v68/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v68/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v68/constructors/msg_detailed_info.md b/old_docs/API_docs_v68/constructors/msg_detailed_info.md index 22a4fdb0..238ea35d 100644 --- a/old_docs/API_docs_v68/constructors/msg_detailed_info.md +++ b/old_docs/API_docs_v68/constructors/msg_detailed_info.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_id' => long, 'bytes' => int, 'status' => int]; ``` @@ -35,10 +35,9 @@ $msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_detailed_info={_='msg_detailed_info', msg_id=long, answer_msg_id=long, bytes=int, status=int} ``` diff --git a/old_docs/API_docs_v68/constructors/msg_new_detailed_info.md b/old_docs/API_docs_v68/constructors/msg_new_detailed_info.md index fc671bb9..6e4ad249 100644 --- a/old_docs/API_docs_v68/constructors/msg_new_detailed_info.md +++ b/old_docs/API_docs_v68/constructors/msg_new_detailed_info.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => long, 'bytes' => int, 'status' => int]; ``` @@ -34,10 +34,9 @@ $msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_new_detailed_info={_='msg_new_detailed_info', answer_msg_id=long, bytes=int, status=int} ``` diff --git a/old_docs/API_docs_v68/constructors/msg_resend_req.md b/old_docs/API_docs_v68/constructors/msg_resend_req.md index 3ae86dfc..d9de1768 100644 --- a/old_docs/API_docs_v68/constructors/msg_resend_req.md +++ b/old_docs/API_docs_v68/constructors/msg_resend_req.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long, long]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_resend_req={_='msg_resend_req', msg_ids={long}} ``` diff --git a/old_docs/API_docs_v68/constructors/msgs_ack.md b/old_docs/API_docs_v68/constructors/msgs_ack.md index 83c78c01..78b0bed6 100644 --- a/old_docs/API_docs_v68/constructors/msgs_ack.md +++ b/old_docs/API_docs_v68/constructors/msgs_ack.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long, long]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_ack={_='msgs_ack', msg_ids={long}} ``` diff --git a/old_docs/API_docs_v68/constructors/msgs_all_info.md b/old_docs/API_docs_v68/constructors/msgs_all_info.md index f4be85aa..063eb59d 100644 --- a/old_docs/API_docs_v68/constructors/msgs_all_info.md +++ b/old_docs/API_docs_v68/constructors/msgs_all_info.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long, long], 'info' => 'string']; ``` @@ -33,10 +33,9 @@ $msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long, long], 'info' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_all_info={_='msgs_all_info', msg_ids={long}, info='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/msgs_state_info.md b/old_docs/API_docs_v68/constructors/msgs_state_info.md index a1157206..04f1c818 100644 --- a/old_docs/API_docs_v68/constructors/msgs_state_info.md +++ b/old_docs/API_docs_v68/constructors/msgs_state_info.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => 'string']; ``` @@ -33,10 +33,9 @@ $msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_state_info={_='msgs_state_info', req_msg_id=long, info='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/msgs_state_req.md b/old_docs/API_docs_v68/constructors/msgs_state_req.md index ede2520f..feedf3d3 100644 --- a/old_docs/API_docs_v68/constructors/msgs_state_req.md +++ b/old_docs/API_docs_v68/constructors/msgs_state_req.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long, long]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_state_req={_='msgs_state_req', msg_ids={long}} ``` diff --git a/old_docs/API_docs_v68/constructors/nearestDc.md b/old_docs/API_docs_v68/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v68/constructors/nearestDc.md +++ b/old_docs/API_docs_v68/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v68/constructors/new_session_created.md b/old_docs/API_docs_v68/constructors/new_session_created.md index b917ad59..aa443caa 100644 --- a/old_docs/API_docs_v68/constructors/new_session_created.md +++ b/old_docs/API_docs_v68/constructors/new_session_created.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'unique_id' => long, 'server_salt' => long]; ``` @@ -34,10 +34,9 @@ $new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'u ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua new_session_created={_='new_session_created', first_msg_id=long, unique_id=long, server_salt=long} ``` diff --git a/old_docs/API_docs_v68/constructors/notifyAll.md b/old_docs/API_docs_v68/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v68/constructors/notifyAll.md +++ b/old_docs/API_docs_v68/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v68/constructors/notifyChats.md b/old_docs/API_docs_v68/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v68/constructors/notifyChats.md +++ b/old_docs/API_docs_v68/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v68/constructors/notifyPeer.md b/old_docs/API_docs_v68/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v68/constructors/notifyPeer.md +++ b/old_docs/API_docs_v68/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v68/constructors/notifyUsers.md b/old_docs/API_docs_v68/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v68/constructors/notifyUsers.md +++ b/old_docs/API_docs_v68/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v68/constructors/p_q_inner_data.md b/old_docs/API_docs_v68/constructors/p_q_inner_data.md index 9a05a5ec..3c4f16f5 100644 --- a/old_docs/API_docs_v68/constructors/p_q_inner_data.md +++ b/old_docs/API_docs_v68/constructors/p_q_inner_data.md @@ -28,7 +28,7 @@ PQ inner data ### Example: -``` +```php $p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => 'string', 'p' => 'string', 'q' => 'string', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256]; ``` @@ -39,10 +39,9 @@ $p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => 'string', 'p' => 'string', ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua p_q_inner_data={_='p_q_inner_data', pq='string', p='string', q='string', nonce=int128, server_nonce=int128, new_nonce=int256} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockAnchor.md b/old_docs/API_docs_v68/constructors/pageBlockAnchor.md index af7f7c2b..5a5757fb 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockAnchor.md +++ b/old_docs/API_docs_v68/constructors/pageBlockAnchor.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` @@ -32,10 +32,9 @@ $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAnchor={_='pageBlockAnchor', name='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockAudio.md b/old_docs/API_docs_v68/constructors/pageBlockAudio.md index 5a7b97c0..af68cf19 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockAudio.md +++ b/old_docs/API_docs_v68/constructors/pageBlockAudio.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAudio = ['_' => 'pageBlockAudio', 'audio_id' => long, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockAudio = ['_' => 'pageBlockAudio', 'audio_id' => long, 'caption' => Ric ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAudio={_='pageBlockAudio', audio_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockAuthorDate.md b/old_docs/API_docs_v68/constructors/pageBlockAuthorDate.md index 4f746156..03daab4b 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockAuthorDate.md +++ b/old_docs/API_docs_v68/constructors/pageBlockAuthorDate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int]; ``` @@ -33,10 +33,9 @@ $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'pub ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAuthorDate={_='pageBlockAuthorDate', author=RichText, published_date=int} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockBlockquote.md b/old_docs/API_docs_v68/constructors/pageBlockBlockquote.md index f78ad5bd..c34f378d 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockBlockquote.md +++ b/old_docs/API_docs_v68/constructors/pageBlockBlockquote.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'capti ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockBlockquote={_='pageBlockBlockquote', text=RichText, caption=RichText} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockChannel.md b/old_docs/API_docs_v68/constructors/pageBlockChannel.md index 6cd78457..95ddd37b 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockChannel.md +++ b/old_docs/API_docs_v68/constructors/pageBlockChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat]; ``` @@ -32,10 +32,9 @@ $pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockChannel={_='pageBlockChannel', channel=Chat} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockCollage.md b/old_docs/API_docs_v68/constructors/pageBlockCollage.md index 45bdee72..beaf8ba2 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockCollage.md +++ b/old_docs/API_docs_v68/constructors/pageBlockCollage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock, PageBlock ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockCollage={_='pageBlockCollage', items={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockCover.md b/old_docs/API_docs_v68/constructors/pageBlockCover.md index 8e8db49e..8c96a1af 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockCover.md +++ b/old_docs/API_docs_v68/constructors/pageBlockCover.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` @@ -32,10 +32,9 @@ $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockCover={_='pageBlockCover', cover=PageBlock} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockDivider.md b/old_docs/API_docs_v68/constructors/pageBlockDivider.md index 5f444cce..ee3e75b7 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockDivider.md +++ b/old_docs/API_docs_v68/constructors/pageBlockDivider.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockDivider = ['_' => 'pageBlockDivider']; ``` @@ -27,10 +27,9 @@ $pageBlockDivider = ['_' => 'pageBlockDivider']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockDivider={_='pageBlockDivider'} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockEmbed.md b/old_docs/API_docs_v68/constructors/pageBlockEmbed.md index 3e508369..9c72b889 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockEmbed.md +++ b/old_docs/API_docs_v68/constructors/pageBlockEmbed.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => 'string', 'html' => 'string', 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText]; ``` @@ -39,10 +39,9 @@ $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolli ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockEmbed={_='pageBlockEmbed', full_width=Bool, allow_scrolling=Bool, url='string', html='string', poster_photo_id=long, w=int, h=int, caption=RichText} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockEmbedPost.md b/old_docs/API_docs_v68/constructors/pageBlockEmbedPost.md index 24c622e6..684952c1 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockEmbedPost.md +++ b/old_docs/API_docs_v68/constructors/pageBlockEmbedPost.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_id' => long, 'author_photo_id' => long, 'author' => 'string', 'date' => int, 'blocks' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -38,10 +38,9 @@ $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockEmbedPost={_='pageBlockEmbedPost', url='string', webpage_id=long, author_photo_id=long, author='string', date=int, blocks={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockFooter.md b/old_docs/API_docs_v68/constructors/pageBlockFooter.md index 3caeb971..e467eb94 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockFooter.md +++ b/old_docs/API_docs_v68/constructors/pageBlockFooter.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockFooter={_='pageBlockFooter', text=RichText} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockHeader.md b/old_docs/API_docs_v68/constructors/pageBlockHeader.md index 950037d0..761196e1 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockHeader.md +++ b/old_docs/API_docs_v68/constructors/pageBlockHeader.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockHeader={_='pageBlockHeader', text=RichText} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockList.md b/old_docs/API_docs_v68/constructors/pageBlockList.md index 37371b18..f841cf2f 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockList.md +++ b/old_docs/API_docs_v68/constructors/pageBlockList.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText, RichText]]; ``` @@ -33,10 +33,9 @@ $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichTex ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockList={_='pageBlockList', ordered=Bool, items={RichText}} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockParagraph.md b/old_docs/API_docs_v68/constructors/pageBlockParagraph.md index 6b22950e..897a7870 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockParagraph.md +++ b/old_docs/API_docs_v68/constructors/pageBlockParagraph.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockParagraph={_='pageBlockParagraph', text=RichText} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockPhoto.md b/old_docs/API_docs_v68/constructors/pageBlockPhoto.md index e80e16f4..470dbc15 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockPhoto.md +++ b/old_docs/API_docs_v68/constructors/pageBlockPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => Ric ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPhoto={_='pageBlockPhoto', photo_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockPreformatted.md b/old_docs/API_docs_v68/constructors/pageBlockPreformatted.md index 49cb8b08..bd505a25 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockPreformatted.md +++ b/old_docs/API_docs_v68/constructors/pageBlockPreformatted.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => 'string']; ``` @@ -33,10 +33,9 @@ $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPreformatted={_='pageBlockPreformatted', text=RichText, language='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockPullquote.md b/old_docs/API_docs_v68/constructors/pageBlockPullquote.md index d73389da..744215e3 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockPullquote.md +++ b/old_docs/API_docs_v68/constructors/pageBlockPullquote.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPullquote={_='pageBlockPullquote', text=RichText, caption=RichText} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockSlideshow.md b/old_docs/API_docs_v68/constructors/pageBlockSlideshow.md index d855e4d8..4a827931 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockSlideshow.md +++ b/old_docs/API_docs_v68/constructors/pageBlockSlideshow.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock, PageB ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSlideshow={_='pageBlockSlideshow', items={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockSubheader.md b/old_docs/API_docs_v68/constructors/pageBlockSubheader.md index 6b6a332e..094c5d2e 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockSubheader.md +++ b/old_docs/API_docs_v68/constructors/pageBlockSubheader.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSubheader={_='pageBlockSubheader', text=RichText} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockSubtitle.md b/old_docs/API_docs_v68/constructors/pageBlockSubtitle.md index 017112c2..6ad657c0 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockSubtitle.md +++ b/old_docs/API_docs_v68/constructors/pageBlockSubtitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSubtitle={_='pageBlockSubtitle', text=RichText} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockTitle.md b/old_docs/API_docs_v68/constructors/pageBlockTitle.md index 9dfe94d2..5c6d228b 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockTitle.md +++ b/old_docs/API_docs_v68/constructors/pageBlockTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockTitle={_='pageBlockTitle', text=RichText} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockUnsupported.md b/old_docs/API_docs_v68/constructors/pageBlockUnsupported.md index 8d127c6d..a0895079 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockUnsupported.md +++ b/old_docs/API_docs_v68/constructors/pageBlockUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` @@ -27,10 +27,9 @@ $pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockUnsupported={_='pageBlockUnsupported'} ``` diff --git a/old_docs/API_docs_v68/constructors/pageBlockVideo.md b/old_docs/API_docs_v68/constructors/pageBlockVideo.md index 03a04d1b..27c2ed6f 100644 --- a/old_docs/API_docs_v68/constructors/pageBlockVideo.md +++ b/old_docs/API_docs_v68/constructors/pageBlockVideo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText]; ``` @@ -35,10 +35,9 @@ $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockVideo={_='pageBlockVideo', autoplay=Bool, loop=Bool, video_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v68/constructors/pageFull.md b/old_docs/API_docs_v68/constructors/pageFull.md index 493f1403..40bae0d4 100644 --- a/old_docs/API_docs_v68/constructors/pageFull.md +++ b/old_docs/API_docs_v68/constructors/pageFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock, PageBlock], 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageFull={_='pageFull', blocks={PageBlock}, photos={Photo}, documents={Document}} ``` diff --git a/old_docs/API_docs_v68/constructors/pagePart.md b/old_docs/API_docs_v68/constructors/pagePart.md index 3e2261ef..430bd942 100644 --- a/old_docs/API_docs_v68/constructors/pagePart.md +++ b/old_docs/API_docs_v68/constructors/pagePart.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock, PageBlock], 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pagePart={_='pagePart', blocks={PageBlock}, photos={Photo}, documents={Document}} ``` diff --git a/old_docs/API_docs_v68/constructors/paymentCharge.md b/old_docs/API_docs_v68/constructors/paymentCharge.md index 83a0d433..56e8e040 100644 --- a/old_docs/API_docs_v68/constructors/paymentCharge.md +++ b/old_docs/API_docs_v68/constructors/paymentCharge.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' => 'string']; ``` @@ -33,10 +33,9 @@ $paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentCharge={_='paymentCharge', id='string', provider_charge_id='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/paymentRequestedInfo.md b/old_docs/API_docs_v68/constructors/paymentRequestedInfo.md index e4b6562a..767ec982 100644 --- a/old_docs/API_docs_v68/constructors/paymentRequestedInfo.md +++ b/old_docs/API_docs_v68/constructors/paymentRequestedInfo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'phone' => 'string', 'email' => 'string', 'shipping_address' => PostAddress]; ``` @@ -35,10 +35,9 @@ $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'pho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentRequestedInfo={_='paymentRequestedInfo', name='string', phone='string', email='string', shipping_address=PostAddress} ``` diff --git a/old_docs/API_docs_v68/constructors/paymentSavedCredentialsCard.md b/old_docs/API_docs_v68/constructors/paymentSavedCredentialsCard.md index 6fc4e934..43b2baf6 100644 --- a/old_docs/API_docs_v68/constructors/paymentSavedCredentialsCard.md +++ b/old_docs/API_docs_v68/constructors/paymentSavedCredentialsCard.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 'string', 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentSavedCredentialsCard={_='paymentSavedCredentialsCard', id='string', title='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/payments_paymentForm.md b/old_docs/API_docs_v68/constructors/payments_paymentForm.md index 74cca6f4..00d9349d 100644 --- a/old_docs/API_docs_v68/constructors/payments_paymentForm.md +++ b/old_docs/API_docs_v68/constructors/payments_paymentForm.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; ``` @@ -42,10 +42,9 @@ $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} ``` diff --git a/old_docs/API_docs_v68/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v68/constructors/payments_paymentReceipt.md index fdf741b4..068f5869 100644 --- a/old_docs/API_docs_v68/constructors/payments_paymentReceipt.md +++ b/old_docs/API_docs_v68/constructors/payments_paymentReceipt.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; ``` @@ -41,10 +41,9 @@ $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} ``` diff --git a/old_docs/API_docs_v68/constructors/payments_paymentResult.md b/old_docs/API_docs_v68/constructors/payments_paymentResult.md index 7ae00170..a5679a5f 100644 --- a/old_docs/API_docs_v68/constructors/payments_paymentResult.md +++ b/old_docs/API_docs_v68/constructors/payments_paymentResult.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; ``` @@ -32,10 +32,9 @@ $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentResult={_='payments.paymentResult', updates=Updates} ``` diff --git a/old_docs/API_docs_v68/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v68/constructors/payments_paymentVerficationNeeded.md index 4a3f8cdf..e4ca7a8e 100644 --- a/old_docs/API_docs_v68/constructors/payments_paymentVerficationNeeded.md +++ b/old_docs/API_docs_v68/constructors/payments_paymentVerficationNeeded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; ``` @@ -32,10 +32,9 @@ $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/payments_savedInfo.md b/old_docs/API_docs_v68/constructors/payments_savedInfo.md index 3daf671f..c81761c4 100644 --- a/old_docs/API_docs_v68/constructors/payments_savedInfo.md +++ b/old_docs/API_docs_v68/constructors/payments_savedInfo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; ``` @@ -33,10 +33,9 @@ $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} ``` diff --git a/old_docs/API_docs_v68/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v68/constructors/payments_validatedRequestedInfo.md index 676388b7..b84afd83 100644 --- a/old_docs/API_docs_v68/constructors/payments_validatedRequestedInfo.md +++ b/old_docs/API_docs_v68/constructors/payments_validatedRequestedInfo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; ``` @@ -33,10 +33,9 @@ $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} ``` diff --git a/old_docs/API_docs_v68/constructors/peerChannel.md b/old_docs/API_docs_v68/constructors/peerChannel.md index f30e3f41..360d5c42 100644 --- a/old_docs/API_docs_v68/constructors/peerChannel.md +++ b/old_docs/API_docs_v68/constructors/peerChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/peerChat.md b/old_docs/API_docs_v68/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v68/constructors/peerChat.md +++ b/old_docs/API_docs_v68/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v68/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v68/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v68/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v68/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v68/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v68/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v68/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/peerNotifySettings.md b/old_docs/API_docs_v68/constructors/peerNotifySettings.md index f011beb7..2007e4ee 100644 --- a/old_docs/API_docs_v68/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v68/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'si ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v68/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v68/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v68/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/peerSettings.md b/old_docs/API_docs_v68/constructors/peerSettings.md index 8f74bb50..2468fee4 100644 --- a/old_docs/API_docs_v68/constructors/peerSettings.md +++ b/old_docs/API_docs_v68/constructors/peerSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` @@ -32,10 +32,9 @@ $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerSettings={_='peerSettings', report_spam=Bool} ``` diff --git a/old_docs/API_docs_v68/constructors/peerUser.md b/old_docs/API_docs_v68/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v68/constructors/peerUser.md +++ b/old_docs/API_docs_v68/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/phoneCall.md b/old_docs/API_docs_v68/constructors/phoneCall.md index 8104b557..b233076d 100644 --- a/old_docs/API_docs_v68/constructors/phoneCall.md +++ b/old_docs/API_docs_v68/constructors/phoneCall.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, 'connection' => PhoneConnection, 'alternative_connections' => [PhoneConnection, PhoneConnection], 'start_date' => int]; ``` @@ -42,10 +42,9 @@ $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCall={_='phoneCall', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, connection=PhoneConnection, alternative_connections={PhoneConnection}, start_date=int} ``` diff --git a/old_docs/API_docs_v68/constructors/phoneCallAccepted.md b/old_docs/API_docs_v68/constructors/phoneCallAccepted.md index cae97485..80795514 100644 --- a/old_docs/API_docs_v68/constructors/phoneCallAccepted.md +++ b/old_docs/API_docs_v68/constructors/phoneCallAccepted.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` @@ -38,10 +38,9 @@ $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallAccepted={_='phoneCallAccepted', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_b='bytes', protocol=PhoneCallProtocol} ``` diff --git a/old_docs/API_docs_v68/constructors/phoneCallDiscardReasonBusy.md b/old_docs/API_docs_v68/constructors/phoneCallDiscardReasonBusy.md index 10d47acd..8912371f 100644 --- a/old_docs/API_docs_v68/constructors/phoneCallDiscardReasonBusy.md +++ b/old_docs/API_docs_v68/constructors/phoneCallDiscardReasonBusy.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonBusy={_='phoneCallDiscardReasonBusy'} ``` diff --git a/old_docs/API_docs_v68/constructors/phoneCallDiscardReasonDisconnect.md b/old_docs/API_docs_v68/constructors/phoneCallDiscardReasonDisconnect.md index b059c909..3a77aced 100644 --- a/old_docs/API_docs_v68/constructors/phoneCallDiscardReasonDisconnect.md +++ b/old_docs/API_docs_v68/constructors/phoneCallDiscardReasonDisconnect.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonDisconnect={_='phoneCallDiscardReasonDisconnect'} ``` diff --git a/old_docs/API_docs_v68/constructors/phoneCallDiscardReasonHangup.md b/old_docs/API_docs_v68/constructors/phoneCallDiscardReasonHangup.md index 8e6e311c..cac342da 100644 --- a/old_docs/API_docs_v68/constructors/phoneCallDiscardReasonHangup.md +++ b/old_docs/API_docs_v68/constructors/phoneCallDiscardReasonHangup.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonHangup={_='phoneCallDiscardReasonHangup'} ``` diff --git a/old_docs/API_docs_v68/constructors/phoneCallDiscardReasonMissed.md b/old_docs/API_docs_v68/constructors/phoneCallDiscardReasonMissed.md index b8199e88..e10648eb 100644 --- a/old_docs/API_docs_v68/constructors/phoneCallDiscardReasonMissed.md +++ b/old_docs/API_docs_v68/constructors/phoneCallDiscardReasonMissed.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonMissed={_='phoneCallDiscardReasonMissed'} ``` diff --git a/old_docs/API_docs_v68/constructors/phoneCallDiscarded.md b/old_docs/API_docs_v68/constructors/phoneCallDiscarded.md index 69fd1caa..e20027a5 100644 --- a/old_docs/API_docs_v68/constructors/phoneCallDiscarded.md +++ b/old_docs/API_docs_v68/constructors/phoneCallDiscarded.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` @@ -36,10 +36,9 @@ $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscarded={_='phoneCallDiscarded', need_rating=Bool, need_debug=Bool, id=long, reason=PhoneCallDiscardReason, duration=int} ``` diff --git a/old_docs/API_docs_v68/constructors/phoneCallEmpty.md b/old_docs/API_docs_v68/constructors/phoneCallEmpty.md index cfb8125b..a51f3ea2 100644 --- a/old_docs/API_docs_v68/constructors/phoneCallEmpty.md +++ b/old_docs/API_docs_v68/constructors/phoneCallEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallEmpty={_='phoneCallEmpty', id=long} ``` diff --git a/old_docs/API_docs_v68/constructors/phoneCallProtocol.md b/old_docs/API_docs_v68/constructors/phoneCallProtocol.md index 9f0e2eed..01574fa2 100644 --- a/old_docs/API_docs_v68/constructors/phoneCallProtocol.md +++ b/old_docs/API_docs_v68/constructors/phoneCallProtocol.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int]; ``` @@ -35,10 +35,9 @@ $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflec ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallProtocol={_='phoneCallProtocol', udp_p2p=Bool, udp_reflector=Bool, min_layer=int, max_layer=int} ``` diff --git a/old_docs/API_docs_v68/constructors/phoneCallRequested.md b/old_docs/API_docs_v68/constructors/phoneCallRequested.md index c96f398f..0465e0fb 100644 --- a/old_docs/API_docs_v68/constructors/phoneCallRequested.md +++ b/old_docs/API_docs_v68/constructors/phoneCallRequested.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` @@ -38,10 +38,9 @@ $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallRequested={_='phoneCallRequested', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_hash='bytes', protocol=PhoneCallProtocol} ``` diff --git a/old_docs/API_docs_v68/constructors/phoneCallWaiting.md b/old_docs/API_docs_v68/constructors/phoneCallWaiting.md index 8dcf8e30..9d9658c8 100644 --- a/old_docs/API_docs_v68/constructors/phoneCallWaiting.md +++ b/old_docs/API_docs_v68/constructors/phoneCallWaiting.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int]; ``` @@ -38,10 +38,9 @@ $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallWaiting={_='phoneCallWaiting', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, protocol=PhoneCallProtocol, receive_date=int} ``` diff --git a/old_docs/API_docs_v68/constructors/phoneConnection.md b/old_docs/API_docs_v68/constructors/phoneConnection.md index b117e12f..562975aa 100644 --- a/old_docs/API_docs_v68/constructors/phoneConnection.md +++ b/old_docs/API_docs_v68/constructors/phoneConnection.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'ipv6' => 'string', 'port' => int, 'peer_tag' => 'bytes']; ``` @@ -36,10 +36,9 @@ $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneConnection={_='phoneConnection', id=long, ip='string', ipv6='string', port=int, peer_tag='bytes'} ``` diff --git a/old_docs/API_docs_v68/constructors/phone_phoneCall.md b/old_docs/API_docs_v68/constructors/phone_phoneCall.md index 00c21143..58912b3f 100644 --- a/old_docs/API_docs_v68/constructors/phone_phoneCall.md +++ b/old_docs/API_docs_v68/constructors/phone_phoneCall.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} ``` diff --git a/old_docs/API_docs_v68/constructors/photo.md b/old_docs/API_docs_v68/constructors/photo.md index 0cad6364..980980f4 100644 --- a/old_docs/API_docs_v68/constructors/photo.md +++ b/old_docs/API_docs_v68/constructors/photo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -36,10 +36,9 @@ $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', has_stickers=Bool, id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v68/constructors/photoCachedSize.md b/old_docs/API_docs_v68/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v68/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v68/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v68/constructors/photoEmpty.md b/old_docs/API_docs_v68/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v68/constructors/photoEmpty.md +++ b/old_docs/API_docs_v68/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v68/constructors/photoSize.md b/old_docs/API_docs_v68/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v68/constructors/photoSize.md +++ b/old_docs/API_docs_v68/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v68/constructors/photoSizeEmpty.md b/old_docs/API_docs_v68/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v68/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v68/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/photos_photo.md b/old_docs/API_docs_v68/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v68/constructors/photos_photo.md +++ b/old_docs/API_docs_v68/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v68/constructors/photos_photos.md b/old_docs/API_docs_v68/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v68/constructors/photos_photos.md +++ b/old_docs/API_docs_v68/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v68/constructors/photos_photosSlice.md b/old_docs/API_docs_v68/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v68/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v68/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v68/constructors/pong.md b/old_docs/API_docs_v68/constructors/pong.md index ba5a4195..932940d8 100644 --- a/old_docs/API_docs_v68/constructors/pong.md +++ b/old_docs/API_docs_v68/constructors/pong.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long]; ``` @@ -33,10 +33,9 @@ $pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pong={_='pong', msg_id=long, ping_id=long} ``` diff --git a/old_docs/API_docs_v68/constructors/postAddress.md b/old_docs/API_docs_v68/constructors/postAddress.md index 0bd47333..aa8080ec 100644 --- a/old_docs/API_docs_v68/constructors/postAddress.md +++ b/old_docs/API_docs_v68/constructors/postAddress.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' => 'string', 'city' => 'string', 'state' => 'string', 'country_iso2' => 'string', 'post_code' => 'string']; ``` @@ -37,10 +37,9 @@ $postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua postAddress={_='postAddress', street_line1='string', street_line2='string', city='string', state='string', country_iso2='string', post_code='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/privacyKeyChatInvite.md b/old_docs/API_docs_v68/constructors/privacyKeyChatInvite.md index cc6e39b6..44826e55 100644 --- a/old_docs/API_docs_v68/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v68/constructors/privacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v68/constructors/privacyKeyPhoneCall.md b/old_docs/API_docs_v68/constructors/privacyKeyPhoneCall.md index 2fe6db7d..fc38f6a4 100644 --- a/old_docs/API_docs_v68/constructors/privacyKeyPhoneCall.md +++ b/old_docs/API_docs_v68/constructors/privacyKeyPhoneCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` @@ -27,10 +27,9 @@ $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyPhoneCall={_='privacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v68/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v68/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v68/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v68/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v68/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v68/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v68/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v68/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v68/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v68/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v68/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v68/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v68/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v68/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v68/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v68/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v68/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v68/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v68/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v68/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v68/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v68/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v68/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v68/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v68/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v68/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v68/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v68/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v68/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v68/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/old_docs/API_docs_v68/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v68/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/replyInlineMarkup.md b/old_docs/API_docs_v68/constructors/replyInlineMarkup.md index 6d353569..6e481165 100644 --- a/old_docs/API_docs_v68/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v68/constructors/replyInlineMarkup.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -32,10 +32,9 @@ $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v68/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v68/constructors/replyKeyboardForceReply.md index 56e255c1..3f7fae8c 100644 --- a/old_docs/API_docs_v68/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v68/constructors/replyKeyboardForceReply.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` @@ -33,10 +33,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool} ``` diff --git a/old_docs/API_docs_v68/constructors/replyKeyboardHide.md b/old_docs/API_docs_v68/constructors/replyKeyboardHide.md index 7251db49..30e9f399 100644 --- a/old_docs/API_docs_v68/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v68/constructors/replyKeyboardHide.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` @@ -32,10 +32,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide', selective=Bool} ``` diff --git a/old_docs/API_docs_v68/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v68/constructors/replyKeyboardMarkup.md index 87a55463..80f3f654 100644 --- a/old_docs/API_docs_v68/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v68/constructors/replyKeyboardMarkup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -35,10 +35,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v68/constructors/resPQ.md b/old_docs/API_docs_v68/constructors/resPQ.md index d712cdd7..4f3e3874 100644 --- a/old_docs/API_docs_v68/constructors/resPQ.md +++ b/old_docs/API_docs_v68/constructors/resPQ.md @@ -26,7 +26,7 @@ Contains pq to factorize ### Example: -``` +```php $resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => 'string', 'server_public_key_fingerprints' => [long, long]]; ``` @@ -37,10 +37,9 @@ $resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua resPQ={_='resPQ', nonce=int128, server_nonce=int128, pq='string', server_public_key_fingerprints={long}} ``` diff --git a/old_docs/API_docs_v68/constructors/rpc_answer_dropped.md b/old_docs/API_docs_v68/constructors/rpc_answer_dropped.md index e05695b5..e41855e9 100644 --- a/old_docs/API_docs_v68/constructors/rpc_answer_dropped.md +++ b/old_docs/API_docs_v68/constructors/rpc_answer_dropped.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' => int, 'bytes' => int]; ``` @@ -34,10 +34,9 @@ $rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_answer_dropped={_='rpc_answer_dropped', msg_id=long, seq_no=int, bytes=int} ``` diff --git a/old_docs/API_docs_v68/constructors/rpc_answer_dropped_running.md b/old_docs/API_docs_v68/constructors/rpc_answer_dropped_running.md index b98a0cf0..675eea40 100644 --- a/old_docs/API_docs_v68/constructors/rpc_answer_dropped_running.md +++ b/old_docs/API_docs_v68/constructors/rpc_answer_dropped_running.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running']; ``` @@ -27,10 +27,9 @@ $rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_answer_dropped_running={_='rpc_answer_dropped_running'} ``` diff --git a/old_docs/API_docs_v68/constructors/rpc_answer_unknown.md b/old_docs/API_docs_v68/constructors/rpc_answer_unknown.md index f9f425cc..3f2d3c02 100644 --- a/old_docs/API_docs_v68/constructors/rpc_answer_unknown.md +++ b/old_docs/API_docs_v68/constructors/rpc_answer_unknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_answer_unknown = ['_' => 'rpc_answer_unknown']; ``` @@ -27,10 +27,9 @@ $rpc_answer_unknown = ['_' => 'rpc_answer_unknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_answer_unknown={_='rpc_answer_unknown'} ``` diff --git a/old_docs/API_docs_v68/constructors/rpc_error.md b/old_docs/API_docs_v68/constructors/rpc_error.md index 5d9c2e9e..5b40250d 100644 --- a/old_docs/API_docs_v68/constructors/rpc_error.md +++ b/old_docs/API_docs_v68/constructors/rpc_error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => 'string']; ``` @@ -33,10 +33,9 @@ $rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_error={_='rpc_error', error_code=int, error_message='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v68/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v68/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v68/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v68/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v68/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v68/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v68/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v68/constructors/sendMessageGamePlayAction.md b/old_docs/API_docs_v68/constructors/sendMessageGamePlayAction.md index 8238ea55..0c395c75 100644 --- a/old_docs/API_docs_v68/constructors/sendMessageGamePlayAction.md +++ b/old_docs/API_docs_v68/constructors/sendMessageGamePlayAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGamePlayAction={_='sendMessageGamePlayAction'} ``` diff --git a/old_docs/API_docs_v68/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v68/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v68/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v68/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v68/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v68/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v68/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v68/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v68/constructors/sendMessageRecordRoundAction.md b/old_docs/API_docs_v68/constructors/sendMessageRecordRoundAction.md index a388d0ec..30e71ae8 100644 --- a/old_docs/API_docs_v68/constructors/sendMessageRecordRoundAction.md +++ b/old_docs/API_docs_v68/constructors/sendMessageRecordRoundAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordRoundAction={_='sendMessageRecordRoundAction'} ``` diff --git a/old_docs/API_docs_v68/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v68/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v68/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v68/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v68/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v68/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v68/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v68/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v68/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v68/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/old_docs/API_docs_v68/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v68/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/old_docs/API_docs_v68/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v68/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/old_docs/API_docs_v68/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v68/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/old_docs/API_docs_v68/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v68/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/old_docs/API_docs_v68/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v68/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/old_docs/API_docs_v68/constructors/sendMessageUploadRoundAction.md b/old_docs/API_docs_v68/constructors/sendMessageUploadRoundAction.md index ffd14270..b101d308 100644 --- a/old_docs/API_docs_v68/constructors/sendMessageUploadRoundAction.md +++ b/old_docs/API_docs_v68/constructors/sendMessageUploadRoundAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadRoundAction={_='sendMessageUploadRoundAction', progress=int} ``` diff --git a/old_docs/API_docs_v68/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v68/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/old_docs/API_docs_v68/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v68/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/old_docs/API_docs_v68/constructors/server_DH_inner_data.md b/old_docs/API_docs_v68/constructors/server_DH_inner_data.md index 8130e1f8..2b442699 100644 --- a/old_docs/API_docs_v68/constructors/server_DH_inner_data.md +++ b/old_docs/API_docs_v68/constructors/server_DH_inner_data.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'g' => int, 'dh_prime' => 'string', 'g_a' => 'string', 'server_time' => int]; ``` @@ -37,10 +37,9 @@ $server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'serv ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua server_DH_inner_data={_='server_DH_inner_data', nonce=int128, server_nonce=int128, g=int, dh_prime='string', g_a='string', server_time=int} ``` diff --git a/old_docs/API_docs_v68/constructors/server_DH_params_fail.md b/old_docs/API_docs_v68/constructors/server_DH_params_fail.md index 24be7fad..d87ee6c1 100644 --- a/old_docs/API_docs_v68/constructors/server_DH_params_fail.md +++ b/old_docs/API_docs_v68/constructors/server_DH_params_fail.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash' => int128]; ``` @@ -34,10 +34,9 @@ $server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua server_DH_params_fail={_='server_DH_params_fail', nonce=int128, server_nonce=int128, new_nonce_hash=int128} ``` diff --git a/old_docs/API_docs_v68/constructors/server_DH_params_ok.md b/old_docs/API_docs_v68/constructors/server_DH_params_ok.md index 1876910b..6c296a39 100644 --- a/old_docs/API_docs_v68/constructors/server_DH_params_ok.md +++ b/old_docs/API_docs_v68/constructors/server_DH_params_ok.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server_nonce' => int128, 'encrypted_answer' => 'string']; ``` @@ -34,10 +34,9 @@ $server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua server_DH_params_ok={_='server_DH_params_ok', nonce=int128, server_nonce=int128, encrypted_answer='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/shippingOption.md b/old_docs/API_docs_v68/constructors/shippingOption.md index 6f0cbc4c..863fd128 100644 --- a/old_docs/API_docs_v68/constructors/shippingOption.md +++ b/old_docs/API_docs_v68/constructors/shippingOption.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string', 'prices' => [LabeledPrice, LabeledPrice]]; ``` @@ -34,10 +34,9 @@ $shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua shippingOption={_='shippingOption', id='string', title='string', prices={LabeledPrice}} ``` diff --git a/old_docs/API_docs_v68/constructors/stickerPack.md b/old_docs/API_docs_v68/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v68/constructors/stickerPack.md +++ b/old_docs/API_docs_v68/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v68/constructors/stickerSet.md b/old_docs/API_docs_v68/constructors/stickerSet.md index afa3b21f..059e4ae7 100644 --- a/old_docs/API_docs_v68/constructors/stickerSet.md +++ b/old_docs/API_docs_v68/constructors/stickerSet.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -41,10 +41,9 @@ $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'of ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', installed=Bool, archived=Bool, official=Bool, masks=Bool, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/old_docs/API_docs_v68/constructors/stickerSetCovered.md b/old_docs/API_docs_v68/constructors/stickerSetCovered.md index cc1c806e..127b821f 100644 --- a/old_docs/API_docs_v68/constructors/stickerSetCovered.md +++ b/old_docs/API_docs_v68/constructors/stickerSetCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document]; ``` @@ -33,10 +33,9 @@ $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetCovered={_='stickerSetCovered', set=StickerSet, cover=Document} ``` diff --git a/old_docs/API_docs_v68/constructors/stickerSetMultiCovered.md b/old_docs/API_docs_v68/constructors/stickerSetMultiCovered.md index 74d10e38..9fc0ad35 100644 --- a/old_docs/API_docs_v68/constructors/stickerSetMultiCovered.md +++ b/old_docs/API_docs_v68/constructors/stickerSetMultiCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetMultiCovered={_='stickerSetMultiCovered', set=StickerSet, covers={Document}} ``` diff --git a/old_docs/API_docs_v68/constructors/storage_fileGif.md b/old_docs/API_docs_v68/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v68/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v68/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v68/constructors/storage_fileJpeg.md b/old_docs/API_docs_v68/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v68/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v68/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v68/constructors/storage_fileMov.md b/old_docs/API_docs_v68/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v68/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v68/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v68/constructors/storage_fileMp3.md b/old_docs/API_docs_v68/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v68/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v68/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v68/constructors/storage_fileMp4.md b/old_docs/API_docs_v68/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v68/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v68/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v68/constructors/storage_filePartial.md b/old_docs/API_docs_v68/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v68/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v68/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v68/constructors/storage_filePdf.md b/old_docs/API_docs_v68/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v68/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v68/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v68/constructors/storage_filePng.md b/old_docs/API_docs_v68/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v68/constructors/storage_filePng.md +++ b/old_docs/API_docs_v68/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v68/constructors/storage_fileUnknown.md b/old_docs/API_docs_v68/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v68/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v68/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v68/constructors/storage_fileWebp.md b/old_docs/API_docs_v68/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v68/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v68/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v68/constructors/textBold.md b/old_docs/API_docs_v68/constructors/textBold.md index 52b668f6..f847ab68 100644 --- a/old_docs/API_docs_v68/constructors/textBold.md +++ b/old_docs/API_docs_v68/constructors/textBold.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textBold = ['_' => 'textBold', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textBold = ['_' => 'textBold', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textBold={_='textBold', text=RichText} ``` diff --git a/old_docs/API_docs_v68/constructors/textConcat.md b/old_docs/API_docs_v68/constructors/textConcat.md index 3f2656ed..ee998a7e 100644 --- a/old_docs/API_docs_v68/constructors/textConcat.md +++ b/old_docs/API_docs_v68/constructors/textConcat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textConcat = ['_' => 'textConcat', 'texts' => [RichText, RichText]]; ``` @@ -32,10 +32,9 @@ $textConcat = ['_' => 'textConcat', 'texts' => [RichText, RichText]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textConcat={_='textConcat', texts={RichText}} ``` diff --git a/old_docs/API_docs_v68/constructors/textEmail.md b/old_docs/API_docs_v68/constructors/textEmail.md index 0b546415..6a1a2ba2 100644 --- a/old_docs/API_docs_v68/constructors/textEmail.md +++ b/old_docs/API_docs_v68/constructors/textEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` @@ -33,10 +33,9 @@ $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textEmail={_='textEmail', text=RichText, email='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/textEmpty.md b/old_docs/API_docs_v68/constructors/textEmpty.md index 4e96adb3..dfe867ed 100644 --- a/old_docs/API_docs_v68/constructors/textEmpty.md +++ b/old_docs/API_docs_v68/constructors/textEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textEmpty = ['_' => 'textEmpty']; ``` @@ -27,10 +27,9 @@ $textEmpty = ['_' => 'textEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textEmpty={_='textEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/textFixed.md b/old_docs/API_docs_v68/constructors/textFixed.md index e40767d9..a83607fa 100644 --- a/old_docs/API_docs_v68/constructors/textFixed.md +++ b/old_docs/API_docs_v68/constructors/textFixed.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textFixed={_='textFixed', text=RichText} ``` diff --git a/old_docs/API_docs_v68/constructors/textItalic.md b/old_docs/API_docs_v68/constructors/textItalic.md index e32fbec2..4aa819b6 100644 --- a/old_docs/API_docs_v68/constructors/textItalic.md +++ b/old_docs/API_docs_v68/constructors/textItalic.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textItalic={_='textItalic', text=RichText} ``` diff --git a/old_docs/API_docs_v68/constructors/textPlain.md b/old_docs/API_docs_v68/constructors/textPlain.md index 2e654fde..9f83d5fa 100644 --- a/old_docs/API_docs_v68/constructors/textPlain.md +++ b/old_docs/API_docs_v68/constructors/textPlain.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textPlain={_='textPlain', text='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/textStrike.md b/old_docs/API_docs_v68/constructors/textStrike.md index 0090e980..0329cbd9 100644 --- a/old_docs/API_docs_v68/constructors/textStrike.md +++ b/old_docs/API_docs_v68/constructors/textStrike.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textStrike={_='textStrike', text=RichText} ``` diff --git a/old_docs/API_docs_v68/constructors/textUnderline.md b/old_docs/API_docs_v68/constructors/textUnderline.md index 843d0a9a..adee0d2f 100644 --- a/old_docs/API_docs_v68/constructors/textUnderline.md +++ b/old_docs/API_docs_v68/constructors/textUnderline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textUnderline={_='textUnderline', text=RichText} ``` diff --git a/old_docs/API_docs_v68/constructors/textUrl.md b/old_docs/API_docs_v68/constructors/textUrl.md index 6938f27e..bb497739 100644 --- a/old_docs/API_docs_v68/constructors/textUrl.md +++ b/old_docs/API_docs_v68/constructors/textUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id' => long]; ``` @@ -34,10 +34,9 @@ $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textUrl={_='textUrl', text=RichText, url='string', webpage_id=long} ``` diff --git a/old_docs/API_docs_v68/constructors/topPeer.md b/old_docs/API_docs_v68/constructors/topPeer.md index aa49751b..fff00b7d 100644 --- a/old_docs/API_docs_v68/constructors/topPeer.md +++ b/old_docs/API_docs_v68/constructors/topPeer.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` @@ -33,10 +33,9 @@ $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeer={_='topPeer', peer=Peer, rating=double} ``` diff --git a/old_docs/API_docs_v68/constructors/topPeerCategoryBotsInline.md b/old_docs/API_docs_v68/constructors/topPeerCategoryBotsInline.md index 1d57e310..3f7906e2 100644 --- a/old_docs/API_docs_v68/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v68/constructors/topPeerCategoryBotsInline.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsInline={_='topPeerCategoryBotsInline'} ``` diff --git a/old_docs/API_docs_v68/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v68/constructors/topPeerCategoryBotsPM.md index f6207626..78f54b44 100644 --- a/old_docs/API_docs_v68/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v68/constructors/topPeerCategoryBotsPM.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsPM={_='topPeerCategoryBotsPM'} ``` diff --git a/old_docs/API_docs_v68/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v68/constructors/topPeerCategoryChannels.md index 8f0e1fcb..02947d85 100644 --- a/old_docs/API_docs_v68/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v68/constructors/topPeerCategoryChannels.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryChannels={_='topPeerCategoryChannels'} ``` diff --git a/old_docs/API_docs_v68/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v68/constructors/topPeerCategoryCorrespondents.md index 9435610d..c0362f78 100644 --- a/old_docs/API_docs_v68/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v68/constructors/topPeerCategoryCorrespondents.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents'} ``` diff --git a/old_docs/API_docs_v68/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v68/constructors/topPeerCategoryGroups.md index 3b6859df..dddb951c 100644 --- a/old_docs/API_docs_v68/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v68/constructors/topPeerCategoryGroups.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryGroups={_='topPeerCategoryGroups'} ``` diff --git a/old_docs/API_docs_v68/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v68/constructors/topPeerCategoryPeers.md index 886ab6f9..36d071f6 100644 --- a/old_docs/API_docs_v68/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v68/constructors/topPeerCategoryPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer, TopPeer]]; ``` @@ -34,10 +34,9 @@ $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}} ``` diff --git a/old_docs/API_docs_v68/constructors/topPeerCategoryPhoneCalls.md b/old_docs/API_docs_v68/constructors/topPeerCategoryPhoneCalls.md index 4c4a1c2d..518279f8 100644 --- a/old_docs/API_docs_v68/constructors/topPeerCategoryPhoneCalls.md +++ b/old_docs/API_docs_v68/constructors/topPeerCategoryPhoneCalls.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryPhoneCalls = ['_' => 'topPeerCategoryPhoneCalls']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryPhoneCalls = ['_' => 'topPeerCategoryPhoneCalls']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryPhoneCalls={_='topPeerCategoryPhoneCalls'} ``` diff --git a/old_docs/API_docs_v68/constructors/true.md b/old_docs/API_docs_v68/constructors/true.md index 2e27ecbf..4863f16b 100644 --- a/old_docs/API_docs_v68/constructors/true.md +++ b/old_docs/API_docs_v68/constructors/true.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $true = ['_' => 'true']; ``` @@ -27,10 +27,9 @@ $true = ['_' => 'true']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua true={_='true'} ``` diff --git a/old_docs/API_docs_v68/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v68/constructors/updateBotCallbackQuery.md index 2216e362..389295a0 100644 --- a/old_docs/API_docs_v68/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v68/constructors/updateBotCallbackQuery.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -38,10 +38,9 @@ $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v68/constructors/updateBotInlineQuery.md index 1cc45358..ed15d35f 100644 --- a/old_docs/API_docs_v68/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v68/constructors/updateBotInlineQuery.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` @@ -36,10 +36,9 @@ $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query='string', geo=GeoPoint, offset='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/updateBotInlineSend.md b/old_docs/API_docs_v68/constructors/updateBotInlineSend.md index fe6c01d3..dda18420 100644 --- a/old_docs/API_docs_v68/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v68/constructors/updateBotInlineSend.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` @@ -36,10 +36,9 @@ $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineSend={_='updateBotInlineSend', user_id=int, query='string', geo=GeoPoint, id='string', msg_id=InputBotInlineMessageID} ``` diff --git a/old_docs/API_docs_v68/constructors/updateBotPrecheckoutQuery.md b/old_docs/API_docs_v68/constructors/updateBotPrecheckoutQuery.md index f7e13668..94098aac 100644 --- a/old_docs/API_docs_v68/constructors/updateBotPrecheckoutQuery.md +++ b/old_docs/API_docs_v68/constructors/updateBotPrecheckoutQuery.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'currency' => 'string', 'total_amount' => long]; ``` @@ -38,10 +38,9 @@ $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotPrecheckoutQuery={_='updateBotPrecheckoutQuery', query_id=long, user_id=int, payload='bytes', info=PaymentRequestedInfo, shipping_option_id='string', currency='string', total_amount=long} ``` diff --git a/old_docs/API_docs_v68/constructors/updateBotShippingQuery.md b/old_docs/API_docs_v68/constructors/updateBotShippingQuery.md index b7413761..41735d33 100644 --- a/old_docs/API_docs_v68/constructors/updateBotShippingQuery.md +++ b/old_docs/API_docs_v68/constructors/updateBotShippingQuery.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'shipping_address' => PostAddress]; ``` @@ -35,10 +35,9 @@ $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotShippingQuery={_='updateBotShippingQuery', query_id=long, user_id=int, payload='bytes', shipping_address=PostAddress} ``` diff --git a/old_docs/API_docs_v68/constructors/updateBotWebhookJSON.md b/old_docs/API_docs_v68/constructors/updateBotWebhookJSON.md index c444fe16..3b917e17 100644 --- a/old_docs/API_docs_v68/constructors/updateBotWebhookJSON.md +++ b/old_docs/API_docs_v68/constructors/updateBotWebhookJSON.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` @@ -32,10 +32,9 @@ $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotWebhookJSON={_='updateBotWebhookJSON', data=DataJSON} ``` diff --git a/old_docs/API_docs_v68/constructors/updateBotWebhookJSONQuery.md b/old_docs/API_docs_v68/constructors/updateBotWebhookJSONQuery.md index c8014f35..9ede5002 100644 --- a/old_docs/API_docs_v68/constructors/updateBotWebhookJSONQuery.md +++ b/old_docs/API_docs_v68/constructors/updateBotWebhookJSONQuery.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => long, 'data' => DataJSON, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotWebhookJSONQuery={_='updateBotWebhookJSONQuery', query_id=long, data=DataJSON, timeout=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateChannel.md b/old_docs/API_docs_v68/constructors/updateChannel.md index e615920a..fb876328 100644 --- a/old_docs/API_docs_v68/constructors/updateChannel.md +++ b/old_docs/API_docs_v68/constructors/updateChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannel={_='updateChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v68/constructors/updateChannelMessageViews.md index 19e0b648..d62f055a 100644 --- a/old_docs/API_docs_v68/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v68/constructors/updateChannelMessageViews.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` @@ -34,10 +34,9 @@ $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateChannelPinnedMessage.md b/old_docs/API_docs_v68/constructors/updateChannelPinnedMessage.md index c6e66353..0d767fb8 100644 --- a/old_docs/API_docs_v68/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v68/constructors/updateChannelPinnedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateChannelTooLong.md b/old_docs/API_docs_v68/constructors/updateChannelTooLong.md index e42904d0..179a43dd 100644 --- a/old_docs/API_docs_v68/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v68/constructors/updateChannelTooLong.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateChannelWebPage.md b/old_docs/API_docs_v68/constructors/updateChannelWebPage.md index f1ae421b..7b037a9d 100644 --- a/old_docs/API_docs_v68/constructors/updateChannelWebPage.md +++ b/old_docs/API_docs_v68/constructors/updateChannelWebPage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'we ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelWebPage={_='updateChannelWebPage', channel_id=int, webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateChatAdmins.md b/old_docs/API_docs_v68/constructors/updateChatAdmins.md index 87ffd626..aac09762 100644 --- a/old_docs/API_docs_v68/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v68/constructors/updateChatAdmins.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v68/constructors/updateChatParticipantAdd.md index ea5157ad..fe76dc62 100644 --- a/old_docs/API_docs_v68/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v68/constructors/updateChatParticipantAdd.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` @@ -36,10 +36,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v68/constructors/updateChatParticipantAdmin.md index b1022850..d262b2e6 100644 --- a/old_docs/API_docs_v68/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v68/constructors/updateChatParticipantAdmin.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v68/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v68/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v68/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateChatParticipants.md b/old_docs/API_docs_v68/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v68/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v68/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v68/constructors/updateChatUserTyping.md b/old_docs/API_docs_v68/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v68/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v68/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v68/constructors/updateConfig.md b/old_docs/API_docs_v68/constructors/updateConfig.md index 6f25cf11..6d67156d 100644 --- a/old_docs/API_docs_v68/constructors/updateConfig.md +++ b/old_docs/API_docs_v68/constructors/updateConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateConfig = ['_' => 'updateConfig']; ``` @@ -27,10 +27,9 @@ $updateConfig = ['_' => 'updateConfig']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateConfig={_='updateConfig'} ``` diff --git a/old_docs/API_docs_v68/constructors/updateContactLink.md b/old_docs/API_docs_v68/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v68/constructors/updateContactLink.md +++ b/old_docs/API_docs_v68/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v68/constructors/updateContactRegistered.md b/old_docs/API_docs_v68/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v68/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v68/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateDcOptions.md b/old_docs/API_docs_v68/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v68/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v68/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v68/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v68/constructors/updateDeleteChannelMessages.md index 0f84f3f7..8fb10b65 100644 --- a/old_docs/API_docs_v68/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v68/constructors/updateDeleteChannelMessages.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateDeleteMessages.md b/old_docs/API_docs_v68/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v68/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v68/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateDialogPinned.md b/old_docs/API_docs_v68/constructors/updateDialogPinned.md index 8ecafcfd..ba2c9090 100644 --- a/old_docs/API_docs_v68/constructors/updateDialogPinned.md +++ b/old_docs/API_docs_v68/constructors/updateDialogPinned.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer]; ``` @@ -33,10 +33,9 @@ $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDialogPinned={_='updateDialogPinned', pinned=Bool, peer=Peer} ``` diff --git a/old_docs/API_docs_v68/constructors/updateDraftMessage.md b/old_docs/API_docs_v68/constructors/updateDraftMessage.md index 7e759a4f..1bf7c2a4 100644 --- a/old_docs/API_docs_v68/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v68/constructors/updateDraftMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage]; ``` @@ -33,10 +33,9 @@ $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => D ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v68/constructors/updateEditChannelMessage.md b/old_docs/API_docs_v68/constructors/updateEditChannelMessage.md index 959c433a..485afae1 100644 --- a/old_docs/API_docs_v68/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v68/constructors/updateEditChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateEditMessage.md b/old_docs/API_docs_v68/constructors/updateEditMessage.md index f9f820e8..9f986f86 100644 --- a/old_docs/API_docs_v68/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v68/constructors/updateEditMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v68/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v68/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v68/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v68/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v68/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v68/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateEncryption.md b/old_docs/API_docs_v68/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v68/constructors/updateEncryption.md +++ b/old_docs/API_docs_v68/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateInlineBotCallbackQuery.md b/old_docs/API_docs_v68/constructors/updateInlineBotCallbackQuery.md index b1b40479..fb112694 100644 --- a/old_docs/API_docs_v68/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v68/constructors/updateInlineBotCallbackQuery.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -37,10 +37,9 @@ $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/updateLangPack.md b/old_docs/API_docs_v68/constructors/updateLangPack.md index 172c1a9a..9f180e97 100644 --- a/old_docs/API_docs_v68/constructors/updateLangPack.md +++ b/old_docs/API_docs_v68/constructors/updateLangPack.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateLangPack = ['_' => 'updateLangPack', 'difference' => LangPackDifference]; ``` @@ -32,10 +32,9 @@ $updateLangPack = ['_' => 'updateLangPack', 'difference' => LangPackDifference]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateLangPack={_='updateLangPack', difference=LangPackDifference} ``` diff --git a/old_docs/API_docs_v68/constructors/updateLangPackTooLong.md b/old_docs/API_docs_v68/constructors/updateLangPackTooLong.md index b55c7e33..55614347 100644 --- a/old_docs/API_docs_v68/constructors/updateLangPackTooLong.md +++ b/old_docs/API_docs_v68/constructors/updateLangPackTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateLangPackTooLong = ['_' => 'updateLangPackTooLong']; ``` @@ -27,10 +27,9 @@ $updateLangPackTooLong = ['_' => 'updateLangPackTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateLangPackTooLong={_='updateLangPackTooLong'} ``` diff --git a/old_docs/API_docs_v68/constructors/updateMessageID.md b/old_docs/API_docs_v68/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v68/constructors/updateMessageID.md +++ b/old_docs/API_docs_v68/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v68/constructors/updateNewChannelMessage.md index 59dbc820..9fa1c7ec 100644 --- a/old_docs/API_docs_v68/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v68/constructors/updateNewChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Messa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v68/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v68/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v68/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateNewMessage.md b/old_docs/API_docs_v68/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v68/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v68/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateNewStickerSet.md b/old_docs/API_docs_v68/constructors/updateNewStickerSet.md index c36d4617..5ba327ea 100644 --- a/old_docs/API_docs_v68/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v68/constructors/updateNewStickerSet.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` @@ -32,10 +32,9 @@ $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_S ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} ``` diff --git a/old_docs/API_docs_v68/constructors/updateNotifySettings.md b/old_docs/API_docs_v68/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v68/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v68/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v68/constructors/updatePhoneCall.md b/old_docs/API_docs_v68/constructors/updatePhoneCall.md index 61730eae..445e1fc0 100644 --- a/old_docs/API_docs_v68/constructors/updatePhoneCall.md +++ b/old_docs/API_docs_v68/constructors/updatePhoneCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` @@ -32,10 +32,9 @@ $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePhoneCall={_='updatePhoneCall', phone_call=PhoneCall} ``` diff --git a/old_docs/API_docs_v68/constructors/updatePinnedDialogs.md b/old_docs/API_docs_v68/constructors/updatePinnedDialogs.md index 4d082bed..4a99a7bd 100644 --- a/old_docs/API_docs_v68/constructors/updatePinnedDialogs.md +++ b/old_docs/API_docs_v68/constructors/updatePinnedDialogs.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer, Peer]]; ``` @@ -32,10 +32,9 @@ $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer, Peer]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePinnedDialogs={_='updatePinnedDialogs', order={Peer}} ``` diff --git a/old_docs/API_docs_v68/constructors/updatePrivacy.md b/old_docs/API_docs_v68/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v68/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v68/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v68/constructors/updatePtsChanged.md b/old_docs/API_docs_v68/constructors/updatePtsChanged.md index 76b49a1f..dac1d461 100644 --- a/old_docs/API_docs_v68/constructors/updatePtsChanged.md +++ b/old_docs/API_docs_v68/constructors/updatePtsChanged.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` @@ -27,10 +27,9 @@ $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePtsChanged={_='updatePtsChanged'} ``` diff --git a/old_docs/API_docs_v68/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v68/constructors/updateReadChannelInbox.md index be964e20..c8c26acb 100644 --- a/old_docs/API_docs_v68/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v68/constructors/updateReadChannelInbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateReadChannelOutbox.md b/old_docs/API_docs_v68/constructors/updateReadChannelOutbox.md index c725d108..664108d1 100644 --- a/old_docs/API_docs_v68/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v68/constructors/updateReadChannelOutbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelOutbox={_='updateReadChannelOutbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateReadFeaturedStickers.md b/old_docs/API_docs_v68/constructors/updateReadFeaturedStickers.md index ea46d41f..af7fd3d7 100644 --- a/old_docs/API_docs_v68/constructors/updateReadFeaturedStickers.md +++ b/old_docs/API_docs_v68/constructors/updateReadFeaturedStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` @@ -27,10 +27,9 @@ $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadFeaturedStickers={_='updateReadFeaturedStickers'} ``` diff --git a/old_docs/API_docs_v68/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v68/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v68/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v68/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v68/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v68/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v68/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v68/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/old_docs/API_docs_v68/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v68/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateRecentStickers.md b/old_docs/API_docs_v68/constructors/updateRecentStickers.md index cb15d01f..6f9acb77 100644 --- a/old_docs/API_docs_v68/constructors/updateRecentStickers.md +++ b/old_docs/API_docs_v68/constructors/updateRecentStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` @@ -27,10 +27,9 @@ $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateRecentStickers={_='updateRecentStickers'} ``` diff --git a/old_docs/API_docs_v68/constructors/updateSavedGifs.md b/old_docs/API_docs_v68/constructors/updateSavedGifs.md index dd17f321..ea5619fc 100644 --- a/old_docs/API_docs_v68/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v68/constructors/updateSavedGifs.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` @@ -27,10 +27,9 @@ $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v68/constructors/updateServiceNotification.md b/old_docs/API_docs_v68/constructors/updateServiceNotification.md index 1da6885f..0833007b 100644 --- a/old_docs/API_docs_v68/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v68/constructors/updateServiceNotification.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -37,10 +37,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', popup=Bool, inbox_date=int, type='string', message='string', media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v68/constructors/updateShort.md b/old_docs/API_docs_v68/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v68/constructors/updateShort.md +++ b/old_docs/API_docs_v68/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updateShortChatMessage.md b/old_docs/API_docs_v68/constructors/updateShortChatMessage.md index d62e0729..cbeb4739 100644 --- a/old_docs/API_docs_v68/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v68/constructors/updateShortChatMessage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -46,10 +46,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'ment ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v68/constructors/updateShortMessage.md b/old_docs/API_docs_v68/constructors/updateShortMessage.md index d4effcb8..a8348773 100644 --- a/old_docs/API_docs_v68/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v68/constructors/updateShortMessage.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -45,10 +45,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v68/constructors/updateShortSentMessage.md b/old_docs/API_docs_v68/constructors/updateShortSentMessage.md index fd7035c3..2a318e56 100644 --- a/old_docs/API_docs_v68/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v68/constructors/updateShortSentMessage.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -38,10 +38,9 @@ $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v68/constructors/updateStickerSets.md b/old_docs/API_docs_v68/constructors/updateStickerSets.md index 4f045d67..e4cc23a0 100644 --- a/old_docs/API_docs_v68/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v68/constructors/updateStickerSets.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSets = ['_' => 'updateStickerSets']; ``` @@ -27,10 +27,9 @@ $updateStickerSets = ['_' => 'updateStickerSets']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v68/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v68/constructors/updateStickerSetsOrder.md index e36470ad..74405f69 100644 --- a/old_docs/API_docs_v68/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v68/constructors/updateStickerSetsOrder.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long, long]]; ``` @@ -33,10 +33,9 @@ $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'or ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSetsOrder={_='updateStickerSetsOrder', masks=Bool, order={long}} ``` diff --git a/old_docs/API_docs_v68/constructors/updateUserBlocked.md b/old_docs/API_docs_v68/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v68/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v68/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v68/constructors/updateUserName.md b/old_docs/API_docs_v68/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v68/constructors/updateUserName.md +++ b/old_docs/API_docs_v68/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/updateUserPhone.md b/old_docs/API_docs_v68/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v68/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v68/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/updateUserPhoto.md b/old_docs/API_docs_v68/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v68/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v68/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v68/constructors/updateUserStatus.md b/old_docs/API_docs_v68/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v68/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v68/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v68/constructors/updateUserTyping.md b/old_docs/API_docs_v68/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v68/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v68/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v68/constructors/updateWebPage.md b/old_docs/API_docs_v68/constructors/updateWebPage.md index 9f468619..932d8ff2 100644 --- a/old_docs/API_docs_v68/constructors/updateWebPage.md +++ b/old_docs/API_docs_v68/constructors/updateWebPage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updates.md b/old_docs/API_docs_v68/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v68/constructors/updates.md +++ b/old_docs/API_docs_v68/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updatesCombined.md b/old_docs/API_docs_v68/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v68/constructors/updatesCombined.md +++ b/old_docs/API_docs_v68/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updatesTooLong.md b/old_docs/API_docs_v68/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v68/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v68/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v68/constructors/updates_channelDifference.md b/old_docs/API_docs_v68/constructors/updates_channelDifference.md index 21b618c2..df1dafd6 100644 --- a/old_docs/API_docs_v68/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v68/constructors/updates_channelDifference.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v68/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v68/constructors/updates_channelDifferenceEmpty.md index a2e49340..a5be0377 100644 --- a/old_docs/API_docs_v68/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v68/constructors/updates_channelDifferenceEmpty.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'fin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v68/constructors/updates_channelDifferenceTooLong.md index 0debd690..8f7e8b2f 100644 --- a/old_docs/API_docs_v68/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v68/constructors/updates_channelDifferenceTooLong.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -41,10 +41,9 @@ $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v68/constructors/updates_difference.md b/old_docs/API_docs_v68/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v68/constructors/updates_difference.md +++ b/old_docs/API_docs_v68/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v68/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v68/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v68/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v68/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updates_differenceSlice.md b/old_docs/API_docs_v68/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v68/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v68/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v68/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v68/constructors/updates_differenceTooLong.md index da55eddf..2e96fdd5 100644 --- a/old_docs/API_docs_v68/constructors/updates_differenceTooLong.md +++ b/old_docs/API_docs_v68/constructors/updates_differenceTooLong.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` @@ -32,10 +32,9 @@ $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceTooLong={_='updates.differenceTooLong', pts=int} ``` diff --git a/old_docs/API_docs_v68/constructors/updates_state.md b/old_docs/API_docs_v68/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v68/constructors/updates_state.md +++ b/old_docs/API_docs_v68/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v68/constructors/upload_cdnFile.md b/old_docs/API_docs_v68/constructors/upload_cdnFile.md index b42b285d..586e6c32 100644 --- a/old_docs/API_docs_v68/constructors/upload_cdnFile.md +++ b/old_docs/API_docs_v68/constructors/upload_cdnFile.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; ``` @@ -32,10 +32,9 @@ $upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_cdnFile={_='upload.cdnFile', bytes='bytes'} ``` diff --git a/old_docs/API_docs_v68/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v68/constructors/upload_cdnFileReuploadNeeded.md index b770fdf6..a770ff3d 100644 --- a/old_docs/API_docs_v68/constructors/upload_cdnFileReuploadNeeded.md +++ b/old_docs/API_docs_v68/constructors/upload_cdnFileReuploadNeeded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; ``` @@ -32,10 +32,9 @@ $upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} ``` diff --git a/old_docs/API_docs_v68/constructors/upload_file.md b/old_docs/API_docs_v68/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v68/constructors/upload_file.md +++ b/old_docs/API_docs_v68/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v68/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v68/constructors/upload_fileCdnRedirect.md index dd159e83..4ab18bd1 100644 --- a/old_docs/API_docs_v68/constructors/upload_fileCdnRedirect.md +++ b/old_docs/API_docs_v68/constructors/upload_fileCdnRedirect.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes']; ``` @@ -35,10 +35,9 @@ $upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'fil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes'} ``` diff --git a/old_docs/API_docs_v68/constructors/upload_webFile.md b/old_docs/API_docs_v68/constructors/upload_webFile.md index 296105ee..d94afb72 100644 --- a/old_docs/API_docs_v68/constructors/upload_webFile.md +++ b/old_docs/API_docs_v68/constructors/upload_webFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v68/constructors/user.md b/old_docs/API_docs_v68/constructors/user.md index e15841b7..ebe7d5ed 100644 --- a/old_docs/API_docs_v68/constructors/user.md +++ b/old_docs/API_docs_v68/constructors/user.md @@ -43,7 +43,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => 'string', 'bot_inline_placeholder' => 'string', 'lang_code' => 'string']; ``` @@ -54,10 +54,9 @@ $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, min=Bool, bot_inline_geo=Bool, id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason='string', bot_inline_placeholder='string', lang_code='string'} ``` diff --git a/old_docs/API_docs_v68/constructors/userEmpty.md b/old_docs/API_docs_v68/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v68/constructors/userEmpty.md +++ b/old_docs/API_docs_v68/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/userFull.md b/old_docs/API_docs_v68/constructors/userFull.md index 0ab25737..00b03c07 100644 --- a/old_docs/API_docs_v68/constructors/userFull.md +++ b/old_docs/API_docs_v68/constructors/userFull.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` @@ -41,10 +41,9 @@ $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v68/constructors/userProfilePhoto.md b/old_docs/API_docs_v68/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v68/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v68/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v68/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v68/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v68/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v68/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/userStatusEmpty.md b/old_docs/API_docs_v68/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v68/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v68/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v68/constructors/userStatusLastMonth.md b/old_docs/API_docs_v68/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v68/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v68/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v68/constructors/userStatusLastWeek.md b/old_docs/API_docs_v68/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v68/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v68/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v68/constructors/userStatusOffline.md b/old_docs/API_docs_v68/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v68/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v68/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v68/constructors/userStatusOnline.md b/old_docs/API_docs_v68/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v68/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v68/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v68/constructors/userStatusRecently.md b/old_docs/API_docs_v68/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v68/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v68/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v68/constructors/wallPaper.md b/old_docs/API_docs_v68/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v68/constructors/wallPaper.md +++ b/old_docs/API_docs_v68/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v68/constructors/wallPaperSolid.md b/old_docs/API_docs_v68/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v68/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v68/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v68/constructors/webDocument.md b/old_docs/API_docs_v68/constructors/webDocument.md index 064367a3..67e158fa 100644 --- a/old_docs/API_docs_v68/constructors/webDocument.md +++ b/old_docs/API_docs_v68/constructors/webDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'dc_id' => int]; ``` @@ -37,10 +37,9 @@ $webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webDocument={_='webDocument', url='string', access_hash=long, size=int, mime_type='string', attributes={DocumentAttribute}, dc_id=int} ``` diff --git a/old_docs/API_docs_v68/constructors/webPage.md b/old_docs/API_docs_v68/constructors/webPage.md index 371b1e56..ee070624 100644 --- a/old_docs/API_docs_v68/constructors/webPage.md +++ b/old_docs/API_docs_v68/constructors/webPage.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'hash' => int, 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document, 'cached_page' => Page]; ``` @@ -48,10 +48,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', hash=int, type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document, cached_page=Page} ``` diff --git a/old_docs/API_docs_v68/constructors/webPageEmpty.md b/old_docs/API_docs_v68/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v68/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v68/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v68/constructors/webPageNotModified.md b/old_docs/API_docs_v68/constructors/webPageNotModified.md index 557c2947..a180dd51 100644 --- a/old_docs/API_docs_v68/constructors/webPageNotModified.md +++ b/old_docs/API_docs_v68/constructors/webPageNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageNotModified = ['_' => 'webPageNotModified']; ``` @@ -27,10 +27,9 @@ $webPageNotModified = ['_' => 'webPageNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageNotModified={_='webPageNotModified'} ``` diff --git a/old_docs/API_docs_v68/constructors/webPagePending.md b/old_docs/API_docs_v68/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v68/constructors/webPagePending.md +++ b/old_docs/API_docs_v68/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v68/methods/account_changePhone.md b/old_docs/API_docs_v68/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v68/methods/account_changePhone.md +++ b/old_docs/API_docs_v68/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/account_checkUsername.md b/old_docs/API_docs_v68/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v68/methods/account_checkUsername.md +++ b/old_docs/API_docs_v68/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/account_confirmPhone.md b/old_docs/API_docs_v68/methods/account_confirmPhone.md index a42b69b7..214f54e3 100644 --- a/old_docs/API_docs_v68/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v68/methods/account_confirmPhone.md @@ -25,7 +25,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.confirmPhone({phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/account_deleteAccount.md b/old_docs/API_docs_v68/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v68/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v68/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/account_getAccountTTL.md b/old_docs/API_docs_v68/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v68/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v68/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v68/methods/account_getAuthorizations.md b/old_docs/API_docs_v68/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v68/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v68/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v68/methods/account_getNotifySettings.md b/old_docs/API_docs_v68/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v68/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v68/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v68/methods/account_getPassword.md b/old_docs/API_docs_v68/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v68/methods/account_getPassword.md +++ b/old_docs/API_docs_v68/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v68/methods/account_getPasswordSettings.md b/old_docs/API_docs_v68/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v68/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v68/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v68/methods/account_getPrivacy.md b/old_docs/API_docs_v68/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v68/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v68/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v68/methods/account_getTmpPassword.md b/old_docs/API_docs_v68/methods/account_getTmpPassword.md index 504fbbc3..be75dc69 100644 --- a/old_docs/API_docs_v68/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v68/methods/account_getTmpPassword.md @@ -25,7 +25,7 @@ Get temporary password for buying products through bots ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua account_TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/account_getWallPapers.md b/old_docs/API_docs_v68/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v68/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v68/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v68/methods/account_registerDevice.md b/old_docs/API_docs_v68/methods/account_registerDevice.md index 25549dab..ed1fced0 100644 --- a/old_docs/API_docs_v68/methods/account_registerDevice.md +++ b/old_docs/API_docs_v68/methods/account_registerDevice.md @@ -25,7 +25,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/account_reportPeer.md b/old_docs/API_docs_v68/methods/account_reportPeer.md index d8c49851..673b48bf 100644 --- a/old_docs/API_docs_v68/methods/account_reportPeer.md +++ b/old_docs/API_docs_v68/methods/account_reportPeer.md @@ -25,7 +25,7 @@ Report for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reason - Json encoded ReportReason Or, if you're into Lua: -``` +```lua Bool = account.reportPeer({peer=InputPeer, reason=ReportReason, }) ``` diff --git a/old_docs/API_docs_v68/methods/account_resetAuthorization.md b/old_docs/API_docs_v68/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v68/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v68/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v68/methods/account_resetNotifySettings.md b/old_docs/API_docs_v68/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v68/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v68/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v68/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v68/methods/account_sendChangePhoneCode.md index 33a001b9..123a5880 100644 --- a/old_docs/API_docs_v68/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v68/methods/account_sendChangePhoneCode.md @@ -26,7 +26,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v68/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v68/methods/account_sendConfirmPhoneCode.md index a70ad5a3..5c2612c2 100644 --- a/old_docs/API_docs_v68/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v68/methods/account_sendConfirmPhoneCode.md @@ -26,7 +26,7 @@ Send confirmation phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v68/methods/account_setAccountTTL.md b/old_docs/API_docs_v68/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v68/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v68/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v68/methods/account_setPrivacy.md b/old_docs/API_docs_v68/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v68/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v68/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v68/methods/account_unregisterDevice.md b/old_docs/API_docs_v68/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v68/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v68/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v68/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v68/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v68/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/account_updateNotifySettings.md b/old_docs/API_docs_v68/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v68/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v68/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v68/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v68/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v68/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v68/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v68/methods/account_updateProfile.md b/old_docs/API_docs_v68/methods/account_updateProfile.md index f415381f..f54515e5 100644 --- a/old_docs/API_docs_v68/methods/account_updateProfile.md +++ b/old_docs/API_docs_v68/methods/account_updateProfile.md @@ -26,7 +26,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', about='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/account_updateStatus.md b/old_docs/API_docs_v68/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v68/methods/account_updateStatus.md +++ b/old_docs/API_docs_v68/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v68/methods/account_updateUsername.md b/old_docs/API_docs_v68/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v68/methods/account_updateUsername.md +++ b/old_docs/API_docs_v68/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/auth_cancelCode.md b/old_docs/API_docs_v68/methods/auth_cancelCode.md index 0b53954c..352c88e9 100644 --- a/old_docs/API_docs_v68/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v68/methods/auth_cancelCode.md @@ -25,7 +25,7 @@ Invalidate sent phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/auth_checkPhone.md b/old_docs/API_docs_v68/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v68/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v68/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v68/methods/auth_dropTempAuthKeys.md index 26d63e12..64ce7528 100644 --- a/old_docs/API_docs_v68/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v68/methods/auth_dropTempAuthKeys.md @@ -24,7 +24,7 @@ Delete all temporary authorization keys except the ones provided ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ except_auth_keys - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = auth.dropTempAuthKeys({except_auth_keys={long}, }) ``` diff --git a/old_docs/API_docs_v68/methods/auth_recoverPassword.md b/old_docs/API_docs_v68/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v68/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v68/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v68/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v68/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v68/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v68/methods/auth_resendCode.md b/old_docs/API_docs_v68/methods/auth_resendCode.md index 28350d37..4ce58975 100644 --- a/old_docs/API_docs_v68/methods/auth_resendCode.md +++ b/old_docs/API_docs_v68/methods/auth_resendCode.md @@ -25,7 +25,7 @@ Resend the SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v68/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v68/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v68/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v68/methods/auth_sendInvites.md b/old_docs/API_docs_v68/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v68/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v68/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v68/methods/bots_answerWebhookJSONQuery.md index 6ed252ff..33b6c2a3 100644 --- a/old_docs/API_docs_v68/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v68/methods/bots_answerWebhookJSONQuery.md @@ -25,7 +25,7 @@ Send webhook request via bot API ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ data - Json encoded DataJSON Or, if you're into Lua: -``` +```lua Bool = bots.answerWebhookJSONQuery({query_id=long, data=DataJSON, }) ``` diff --git a/old_docs/API_docs_v68/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v68/methods/bots_sendCustomRequest.md index d14215ec..bd368df5 100644 --- a/old_docs/API_docs_v68/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v68/methods/bots_sendCustomRequest.md @@ -25,7 +25,7 @@ Send a custom request to the bot API ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ params - Json encoded DataJSON Or, if you're into Lua: -``` +```lua DataJSON = bots.sendCustomRequest({custom_method='string', params=DataJSON, }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_checkUsername.md b/old_docs/API_docs_v68/methods/channels_checkUsername.md index d287b3ca..573bf8f0 100644 --- a/old_docs/API_docs_v68/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v68/methods/channels_checkUsername.md @@ -25,7 +25,7 @@ Check if this username is free and can be assigned to a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.checkUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_createChannel.md b/old_docs/API_docs_v68/methods/channels_createChannel.md index 356f473a..1821c864 100644 --- a/old_docs/API_docs_v68/methods/channels_createChannel.md +++ b/old_docs/API_docs_v68/methods/channels_createChannel.md @@ -27,7 +27,7 @@ Create channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title='string', about='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_deleteChannel.md b/old_docs/API_docs_v68/methods/channels_deleteChannel.md index b55d91b8..a79ccb9f 100644 --- a/old_docs/API_docs_v68/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v68/methods/channels_deleteChannel.md @@ -24,7 +24,7 @@ Delete a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.deleteChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_deleteMessages.md b/old_docs/API_docs_v68/methods/channels_deleteMessages.md index 03625c94..8cd7ebb3 100644 --- a/old_docs/API_docs_v68/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v68/methods/channels_deleteMessages.md @@ -25,7 +25,7 @@ Delete channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v68/methods/channels_deleteUserHistory.md index 204a8786..78baa90f 100644 --- a/old_docs/API_docs_v68/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v68/methods/channels_deleteUserHistory.md @@ -25,7 +25,7 @@ Delete all messages of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_editAbout.md b/old_docs/API_docs_v68/methods/channels_editAbout.md index fd861133..549d7ea5 100644 --- a/old_docs/API_docs_v68/methods/channels_editAbout.md +++ b/old_docs/API_docs_v68/methods/channels_editAbout.md @@ -25,7 +25,7 @@ Edit the about text of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.editAbout({channel=InputChannel, about='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_editAdmin.md b/old_docs/API_docs_v68/methods/channels_editAdmin.md index 08860c79..19670a43 100644 --- a/old_docs/API_docs_v68/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v68/methods/channels_editAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ admin_rights - Json encoded ChannelAdminRights Or, if you're into Lua: -``` +```lua Updates = channels.editAdmin({channel=InputChannel, user_id=InputUser, admin_rights=ChannelAdminRights, }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_editBanned.md b/old_docs/API_docs_v68/methods/channels_editBanned.md index e938acc0..e18f236e 100644 --- a/old_docs/API_docs_v68/methods/channels_editBanned.md +++ b/old_docs/API_docs_v68/methods/channels_editBanned.md @@ -26,7 +26,7 @@ Kick or ban a user from a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ banned_rights - Json encoded ChannelBannedRights Or, if you're into Lua: -``` +```lua Updates = channels.editBanned({channel=InputChannel, user_id=InputUser, banned_rights=ChannelBannedRights, }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_editPhoto.md b/old_docs/API_docs_v68/methods/channels_editPhoto.md index ccbaed65..7013c6e2 100644 --- a/old_docs/API_docs_v68/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v68/methods/channels_editPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = channels.editPhoto({channel=InputChannel, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_editTitle.md b/old_docs/API_docs_v68/methods/channels_editTitle.md index ffd868ba..a9c8c50f 100644 --- a/old_docs/API_docs_v68/methods/channels_editTitle.md +++ b/old_docs/API_docs_v68/methods/channels_editTitle.md @@ -25,7 +25,7 @@ Edit the title of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.editTitle({channel=InputChannel, title='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_exportInvite.md b/old_docs/API_docs_v68/methods/channels_exportInvite.md index 0b4b5c31..5a92097a 100644 --- a/old_docs/API_docs_v68/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v68/methods/channels_exportInvite.md @@ -24,7 +24,7 @@ Export the invite link of a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua ExportedChatInvite = channels.exportInvite({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_exportMessageLink.md b/old_docs/API_docs_v68/methods/channels_exportMessageLink.md index f42068f4..a2e2cc10 100644 --- a/old_docs/API_docs_v68/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v68/methods/channels_exportMessageLink.md @@ -25,7 +25,7 @@ Get the link of a message in a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua ExportedMessageLink = channels.exportMessageLink({channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_getAdminLog.md b/old_docs/API_docs_v68/methods/channels_getAdminLog.md index 266c07d7..79a6b402 100644 --- a/old_docs/API_docs_v68/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v68/methods/channels_getAdminLog.md @@ -30,7 +30,7 @@ Get admin log of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v68/methods/channels_getAdminedPublicChannels.md index 67ee8bd4..dc2c29ed 100644 --- a/old_docs/API_docs_v68/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v68/methods/channels_getAdminedPublicChannels.md @@ -19,7 +19,7 @@ Get all supergroups/channels where you're admin ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v68/methods/channels_getChannels.md b/old_docs/API_docs_v68/methods/channels_getChannels.md index 71edac7b..a146be1e 100644 --- a/old_docs/API_docs_v68/methods/channels_getChannels.md +++ b/old_docs/API_docs_v68/methods/channels_getChannels.md @@ -24,7 +24,7 @@ Get info about multiple channels/supergroups ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputChannel Or, if you're into Lua: -``` +```lua messages_Chats = channels.getChannels({id={InputChannel}, }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_getMessages.md b/old_docs/API_docs_v68/methods/channels_getMessages.md index 217757eb..208cbcc4 100644 --- a/old_docs/API_docs_v68/methods/channels_getMessages.md +++ b/old_docs/API_docs_v68/methods/channels_getMessages.md @@ -25,7 +25,7 @@ Get channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_getParticipant.md b/old_docs/API_docs_v68/methods/channels_getParticipant.md index a641d213..9cf80799 100644 --- a/old_docs/API_docs_v68/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v68/methods/channels_getParticipant.md @@ -25,7 +25,7 @@ Get info about a certain channel/supergroup participant ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_getParticipants.md b/old_docs/API_docs_v68/methods/channels_getParticipants.md index c2f0cdcd..3d4dfa13 100644 --- a/old_docs/API_docs_v68/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v68/methods/channels_getParticipants.md @@ -27,7 +27,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_inviteToChannel.md b/old_docs/API_docs_v68/methods/channels_inviteToChannel.md index 0a350cc8..998e3895 100644 --- a/old_docs/API_docs_v68/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v68/methods/channels_inviteToChannel.md @@ -25,7 +25,7 @@ Add users to channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ users - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Updates = channels.inviteToChannel({channel=InputChannel, users={InputUser}, }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_joinChannel.md b/old_docs/API_docs_v68/methods/channels_joinChannel.md index aae2bc1c..3c6a3b94 100644 --- a/old_docs/API_docs_v68/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v68/methods/channels_joinChannel.md @@ -24,7 +24,7 @@ Join a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.joinChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_leaveChannel.md b/old_docs/API_docs_v68/methods/channels_leaveChannel.md index 4e6701fe..0934089f 100644 --- a/old_docs/API_docs_v68/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v68/methods/channels_leaveChannel.md @@ -24,7 +24,7 @@ Leave a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.leaveChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_readHistory.md b/old_docs/API_docs_v68/methods/channels_readHistory.md index d76919ff..cf5c1529 100644 --- a/old_docs/API_docs_v68/methods/channels_readHistory.md +++ b/old_docs/API_docs_v68/methods/channels_readHistory.md @@ -25,7 +25,7 @@ Mark channel/supergroup history as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.readHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_reportSpam.md b/old_docs/API_docs_v68/methods/channels_reportSpam.md index 48022662..b0e99eb1 100644 --- a/old_docs/API_docs_v68/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v68/methods/channels_reportSpam.md @@ -26,7 +26,7 @@ Report a message in a supergroup/channel for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.reportSpam({channel=InputChannel, user_id=InputUser, id={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_toggleInvites.md b/old_docs/API_docs_v68/methods/channels_toggleInvites.md index d0023b70..bed6ba15 100644 --- a/old_docs/API_docs_v68/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v68/methods/channels_toggleInvites.md @@ -25,7 +25,7 @@ Allow or disallow any user to invite users to this channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleInvites({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_toggleSignatures.md b/old_docs/API_docs_v68/methods/channels_toggleSignatures.md index 337e8627..c9fe18cc 100644 --- a/old_docs/API_docs_v68/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v68/methods/channels_toggleSignatures.md @@ -25,7 +25,7 @@ Toggle channel signatures ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleSignatures({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v68/methods/channels_updatePinnedMessage.md index c79c5904..9d2cc058 100644 --- a/old_docs/API_docs_v68/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v68/methods/channels_updatePinnedMessage.md @@ -26,7 +26,7 @@ Set the pinned message of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = channels.updatePinnedMessage({silent=Bool, channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/channels_updateUsername.md b/old_docs/API_docs_v68/methods/channels_updateUsername.md index 2e07e123..c0df8c7c 100644 --- a/old_docs/API_docs_v68/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v68/methods/channels_updateUsername.md @@ -25,7 +25,7 @@ Update the username of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.updateUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/contacts_block.md b/old_docs/API_docs_v68/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v68/methods/contacts_block.md +++ b/old_docs/API_docs_v68/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v68/methods/contacts_deleteContact.md b/old_docs/API_docs_v68/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v68/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v68/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v68/methods/contacts_deleteContacts.md b/old_docs/API_docs_v68/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v68/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v68/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v68/methods/contacts_exportCard.md b/old_docs/API_docs_v68/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v68/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v68/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v68/methods/contacts_getBlocked.md b/old_docs/API_docs_v68/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v68/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v68/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/contacts_getContacts.md b/old_docs/API_docs_v68/methods/contacts_getContacts.md index ccf0f99d..dfa407f2 100644 --- a/old_docs/API_docs_v68/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v68/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/contacts_getStatuses.md b/old_docs/API_docs_v68/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v68/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v68/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v68/methods/contacts_getTopPeers.md b/old_docs/API_docs_v68/methods/contacts_getTopPeers.md index 1cc9c756..c64e7486 100644 --- a/old_docs/API_docs_v68/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v68/methods/contacts_getTopPeers.md @@ -32,7 +32,7 @@ Get most used chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/contacts_importCard.md b/old_docs/API_docs_v68/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v68/methods/contacts_importCard.md +++ b/old_docs/API_docs_v68/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/contacts_importContacts.md b/old_docs/API_docs_v68/methods/contacts_importContacts.md index d0404dd2..f1b17e2c 100644 --- a/old_docs/API_docs_v68/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v68/methods/contacts_importContacts.md @@ -25,7 +25,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ replace - Json encoded Bool Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v68/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v68/methods/contacts_resetTopPeerRating.md index 96ae48ac..94a07f54 100644 --- a/old_docs/API_docs_v68/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v68/methods/contacts_resetTopPeerRating.md @@ -25,7 +25,7 @@ Reset top peer rating for a certain category/peer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = contacts.resetTopPeerRating({category=TopPeerCategory, peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v68/methods/contacts_search.md b/old_docs/API_docs_v68/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v68/methods/contacts_search.md +++ b/old_docs/API_docs_v68/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/contacts_unblock.md b/old_docs/API_docs_v68/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v68/methods/contacts_unblock.md +++ b/old_docs/API_docs_v68/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v68/methods/contest_saveDeveloperInfo.md b/old_docs/API_docs_v68/methods/contest_saveDeveloperInfo.md index 5761cdc8..2776a131 100644 --- a/old_docs/API_docs_v68/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v68/methods/contest_saveDeveloperInfo.md @@ -28,7 +28,7 @@ Save developer info for telegram contest ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ city - Json encoded string Or, if you're into Lua: -``` +```lua Bool = contest.saveDeveloperInfo({vk_id=int, name='string', phone_number='string', age=int, city='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/destroy_auth_key.md b/old_docs/API_docs_v68/methods/destroy_auth_key.md index b5adfce0..aff3981b 100644 --- a/old_docs/API_docs_v68/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v68/methods/destroy_auth_key.md @@ -19,7 +19,7 @@ Destroy current authorization key ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua DestroyAuthKeyRes = destroy_auth_key({}) ``` diff --git a/old_docs/API_docs_v68/methods/destroy_session.md b/old_docs/API_docs_v68/methods/destroy_session.md index 6892d9a0..d7472c3e 100644 --- a/old_docs/API_docs_v68/methods/destroy_session.md +++ b/old_docs/API_docs_v68/methods/destroy_session.md @@ -24,7 +24,7 @@ Destroy the current MTProto session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ session_id - Json encoded long Or, if you're into Lua: -``` +```lua DestroySessionRes = destroy_session({session_id=long, }) ``` diff --git a/old_docs/API_docs_v68/methods/get_future_salts.md b/old_docs/API_docs_v68/methods/get_future_salts.md index 94f0f8ca..2ab445b6 100644 --- a/old_docs/API_docs_v68/methods/get_future_salts.md +++ b/old_docs/API_docs_v68/methods/get_future_salts.md @@ -24,7 +24,7 @@ Get future salts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ num - Json encoded int Or, if you're into Lua: -``` +```lua FutureSalts = get_future_salts({num=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/help_getAppChangelog.md b/old_docs/API_docs_v68/methods/help_getAppChangelog.md index 10b972c1..179eaf3a 100644 --- a/old_docs/API_docs_v68/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v68/methods/help_getAppChangelog.md @@ -24,7 +24,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ prev_app_version - Json encoded string Or, if you're into Lua: -``` +```lua Updates = help.getAppChangelog({prev_app_version='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/help_getAppUpdate.md b/old_docs/API_docs_v68/methods/help_getAppUpdate.md index 4ddc0e4d..541b5972 100644 --- a/old_docs/API_docs_v68/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v68/methods/help_getAppUpdate.md @@ -19,7 +19,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v68/methods/help_getCdnConfig.md b/old_docs/API_docs_v68/methods/help_getCdnConfig.md index be572516..766896c7 100644 --- a/old_docs/API_docs_v68/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v68/methods/help_getCdnConfig.md @@ -19,7 +19,7 @@ Get CDN configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua CdnConfig = help.getCdnConfig({}) ``` diff --git a/old_docs/API_docs_v68/methods/help_getConfig.md b/old_docs/API_docs_v68/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v68/methods/help_getConfig.md +++ b/old_docs/API_docs_v68/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v68/methods/help_getInviteText.md b/old_docs/API_docs_v68/methods/help_getInviteText.md index 1510e64f..f05ac4ac 100644 --- a/old_docs/API_docs_v68/methods/help_getInviteText.md +++ b/old_docs/API_docs_v68/methods/help_getInviteText.md @@ -19,7 +19,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v68/methods/help_getNearestDc.md b/old_docs/API_docs_v68/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v68/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v68/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v68/methods/help_getSupport.md b/old_docs/API_docs_v68/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v68/methods/help_getSupport.md +++ b/old_docs/API_docs_v68/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v68/methods/help_getTermsOfService.md b/old_docs/API_docs_v68/methods/help_getTermsOfService.md index bf421bf6..95d51e60 100644 --- a/old_docs/API_docs_v68/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v68/methods/help_getTermsOfService.md @@ -19,7 +19,7 @@ Get terms of service ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v68/methods/help_saveAppLog.md b/old_docs/API_docs_v68/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v68/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v68/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v68/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v68/methods/help_setBotUpdatesStatus.md index 0429f8a0..53736da7 100644 --- a/old_docs/API_docs_v68/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v68/methods/help_setBotUpdatesStatus.md @@ -25,7 +25,7 @@ Set the update status of webhook ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = help.setBotUpdatesStatus({pending_updates_count=int, message='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/initConnection.md b/old_docs/API_docs_v68/methods/initConnection.md index 692a41e8..858a9e5d 100644 --- a/old_docs/API_docs_v68/methods/initConnection.md +++ b/old_docs/API_docs_v68/methods/initConnection.md @@ -31,7 +31,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -83,7 +83,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', system_lang_code='string', lang_pack='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v68/methods/invokeAfterMsg.md b/old_docs/API_docs_v68/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v68/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v68/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v68/methods/invokeAfterMsgs.md b/old_docs/API_docs_v68/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v68/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v68/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v68/methods/invokeWithLayer.md b/old_docs/API_docs_v68/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v68/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v68/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v68/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v68/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/old_docs/API_docs_v68/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v68/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/old_docs/API_docs_v68/methods/langpack_getDifference.md b/old_docs/API_docs_v68/methods/langpack_getDifference.md index 0614d869..30184f61 100644 --- a/old_docs/API_docs_v68/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v68/methods/langpack_getDifference.md @@ -24,7 +24,7 @@ Get language pack updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ from_version - Json encoded int Or, if you're into Lua: -``` +```lua LangPackDifference = langpack.getDifference({from_version=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/langpack_getLangPack.md b/old_docs/API_docs_v68/methods/langpack_getLangPack.md index 70f9eb73..98001615 100644 --- a/old_docs/API_docs_v68/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v68/methods/langpack_getLangPack.md @@ -24,7 +24,7 @@ Get language pack ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua LangPackDifference = langpack.getLangPack({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/langpack_getLanguages.md b/old_docs/API_docs_v68/methods/langpack_getLanguages.md index 5eaf2049..8a592a86 100644 --- a/old_docs/API_docs_v68/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v68/methods/langpack_getLanguages.md @@ -19,7 +19,7 @@ Get available languages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_LangPackLanguage = langpack.getLanguages({}) ``` diff --git a/old_docs/API_docs_v68/methods/langpack_getStrings.md b/old_docs/API_docs_v68/methods/langpack_getStrings.md index 3042b040..ccd0a684 100644 --- a/old_docs/API_docs_v68/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v68/methods/langpack_getStrings.md @@ -25,7 +25,7 @@ Get language pack strings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ keys - Json encoded array of string Or, if you're into Lua: -``` +```lua Vector_of_LangPackString = langpack.getStrings({lang_code='string', keys={'string'}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_addChatUser.md b/old_docs/API_docs_v68/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v68/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v68/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_checkChatInvite.md b/old_docs/API_docs_v68/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/old_docs/API_docs_v68/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v68/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v68/methods/messages_clearRecentStickers.md index 56634143..53e1fa4f 100644 --- a/old_docs/API_docs_v68/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v68/methods/messages_clearRecentStickers.md @@ -24,7 +24,7 @@ Clear all recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ attached - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.clearRecentStickers({attached=Bool, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_createChat.md b/old_docs/API_docs_v68/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v68/methods/messages_createChat.md +++ b/old_docs/API_docs_v68/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_deleteChatUser.md b/old_docs/API_docs_v68/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v68/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v68/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_deleteHistory.md b/old_docs/API_docs_v68/methods/messages_deleteHistory.md index 866ba216..33d1ca52 100644 --- a/old_docs/API_docs_v68/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v68/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_deleteMessages.md b/old_docs/API_docs_v68/methods/messages_deleteMessages.md index eaf9cd86..9158e8bd 100644 --- a/old_docs/API_docs_v68/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v68/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_editChatAdmin.md b/old_docs/API_docs_v68/methods/messages_editChatAdmin.md index a2dad97f..f883b50e 100644 --- a/old_docs/API_docs_v68/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v68/methods/messages_editChatAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ is_admin - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.editChatAdmin({chat_id=InputPeer, user_id=InputUser, is_admin=Bool, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_editChatPhoto.md b/old_docs/API_docs_v68/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v68/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v68/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_editChatTitle.md b/old_docs/API_docs_v68/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v68/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v68/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v68/methods/messages_editInlineBotMessage.md index c669c8d7..6c04ab6f 100644 --- a/old_docs/API_docs_v68/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v68/methods/messages_editInlineBotMessage.md @@ -29,7 +29,7 @@ Edit a sent inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -66,7 +66,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.editInlineBotMessage({no_webpage=Bool, id=InputBotInlineMessageID, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_editMessage.md b/old_docs/API_docs_v68/methods/messages_editMessage.md index 7af0cfd9..db5cc876 100644 --- a/old_docs/API_docs_v68/methods/messages_editMessage.md +++ b/old_docs/API_docs_v68/methods/messages_editMessage.md @@ -30,7 +30,7 @@ Edit a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -67,7 +67,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.editMessage({no_webpage=Bool, peer=InputPeer, id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_exportChatInvite.md b/old_docs/API_docs_v68/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/old_docs/API_docs_v68/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v68/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_forwardMessage.md b/old_docs/API_docs_v68/methods/messages_forwardMessage.md index 586670b8..d9c0453f 100644 --- a/old_docs/API_docs_v68/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v68/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_forwardMessages.md b/old_docs/API_docs_v68/methods/messages_forwardMessages.md index 99815a44..caf61d66 100644 --- a/old_docs/API_docs_v68/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v68/methods/messages_forwardMessages.md @@ -29,7 +29,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ to_peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({silent=Bool, background=Bool, with_my_score=Bool, from_peer=InputPeer, id={int}, to_peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getAllChats.md b/old_docs/API_docs_v68/methods/messages_getAllChats.md index 663af07c..38cbbbae 100644 --- a/old_docs/API_docs_v68/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v68/methods/messages_getAllChats.md @@ -24,7 +24,7 @@ Get all chats (not supergroups or channels) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ except_ids - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getAllChats({except_ids={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getAllDrafts.md b/old_docs/API_docs_v68/methods/messages_getAllDrafts.md index 31aa8176..7300e01a 100644 --- a/old_docs/API_docs_v68/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v68/methods/messages_getAllDrafts.md @@ -19,7 +19,7 @@ Get all message drafts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Updates = messages.getAllDrafts({}) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getAllStickers.md b/old_docs/API_docs_v68/methods/messages_getAllStickers.md index 966af122..c25a823b 100644 --- a/old_docs/API_docs_v68/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v68/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v68/methods/messages_getArchivedStickers.md index e98ab6ec..ef79ee6e 100644 --- a/old_docs/API_docs_v68/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v68/methods/messages_getArchivedStickers.md @@ -26,7 +26,7 @@ Get all archived stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v68/methods/messages_getAttachedStickers.md index 0e221a84..9ada6655 100644 --- a/old_docs/API_docs_v68/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v68/methods/messages_getAttachedStickers.md @@ -24,7 +24,7 @@ Get stickers attachable to images ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ media - Json encoded InputStickeredMedia Or, if you're into Lua: -``` +```lua Vector_of_StickerSetCovered = messages.getAttachedStickers({media=InputStickeredMedia, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v68/methods/messages_getBotCallbackAnswer.md index ffcd8a2e..b4f1d02f 100644 --- a/old_docs/API_docs_v68/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v68/methods/messages_getBotCallbackAnswer.md @@ -27,7 +27,7 @@ Get the callback answer of a bot (after clicking a button) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ data - Json encoded bytes Or, if you're into Lua: -``` +```lua messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getChats.md b/old_docs/API_docs_v68/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v68/methods/messages_getChats.md +++ b/old_docs/API_docs_v68/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getCommonChats.md b/old_docs/API_docs_v68/methods/messages_getCommonChats.md index e6921d5e..83237f64 100644 --- a/old_docs/API_docs_v68/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v68/methods/messages_getCommonChats.md @@ -26,7 +26,7 @@ Get chats in common with a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getDialogs.md b/old_docs/API_docs_v68/methods/messages_getDialogs.md index 694c916f..0bc314b5 100644 --- a/old_docs/API_docs_v68/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v68/methods/messages_getDialogs.md @@ -28,7 +28,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v68/methods/messages_getDocumentByHash.md index 5b6f6f21..00f0a558 100644 --- a/old_docs/API_docs_v68/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v68/methods/messages_getDocumentByHash.md @@ -26,7 +26,7 @@ Get document by SHA256 hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ mime_type - Json encoded string Or, if you're into Lua: -``` +```lua Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v68/methods/messages_getFeaturedStickers.md index a837377b..c257621e 100644 --- a/old_docs/API_docs_v68/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v68/methods/messages_getFeaturedStickers.md @@ -24,7 +24,7 @@ Get featured stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getGameHighScores.md b/old_docs/API_docs_v68/methods/messages_getGameHighScores.md index f7837998..a97fb1ff 100644 --- a/old_docs/API_docs_v68/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v68/methods/messages_getGameHighScores.md @@ -26,7 +26,7 @@ Get high scores of a game ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getHistory.md b/old_docs/API_docs_v68/methods/messages_getHistory.md index 76d20b70..23f2d6e9 100644 --- a/old_docs/API_docs_v68/methods/messages_getHistory.md +++ b/old_docs/API_docs_v68/methods/messages_getHistory.md @@ -30,7 +30,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v68/methods/messages_getInlineBotResults.md index 03b5d845..73f2deb2 100644 --- a/old_docs/API_docs_v68/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v68/methods/messages_getInlineBotResults.md @@ -28,7 +28,7 @@ Call inline bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ offset - Json encoded string Or, if you're into Lua: -``` +```lua messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v68/methods/messages_getInlineGameHighScores.md index e8be8e81..046c1cfb 100644 --- a/old_docs/API_docs_v68/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v68/methods/messages_getInlineGameHighScores.md @@ -25,7 +25,7 @@ Get high scores of a game sent in an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getMaskStickers.md b/old_docs/API_docs_v68/methods/messages_getMaskStickers.md index 55c4edea..06fd153e 100644 --- a/old_docs/API_docs_v68/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v68/methods/messages_getMaskStickers.md @@ -24,7 +24,7 @@ Get masks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getMessageEditData.md b/old_docs/API_docs_v68/methods/messages_getMessageEditData.md index 2c44a1dc..77e2c030 100644 --- a/old_docs/API_docs_v68/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v68/methods/messages_getMessageEditData.md @@ -25,7 +25,7 @@ Check if about to edit a message or a media caption ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getMessages.md b/old_docs/API_docs_v68/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v68/methods/messages_getMessages.md +++ b/old_docs/API_docs_v68/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getMessagesViews.md b/old_docs/API_docs_v68/methods/messages_getMessagesViews.md index 57a99054..b2b6110e 100644 --- a/old_docs/API_docs_v68/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v68/methods/messages_getMessagesViews.md @@ -26,7 +26,7 @@ Get and increase message views ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ increment - Json encoded Bool Or, if you're into Lua: -``` +```lua Vector_of_int = messages.getMessagesViews({peer=InputPeer, id={int}, increment=Bool, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v68/methods/messages_getPeerDialogs.md index ca746b3b..a34873df 100644 --- a/old_docs/API_docs_v68/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v68/methods/messages_getPeerDialogs.md @@ -24,7 +24,7 @@ Get dialog info of peers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peers - Json encoded array of InputPeer Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getPeerSettings.md b/old_docs/API_docs_v68/methods/messages_getPeerSettings.md index 92d4697a..e2b3ec4f 100644 --- a/old_docs/API_docs_v68/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v68/methods/messages_getPeerSettings.md @@ -24,7 +24,7 @@ Get the settings of apeer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua PeerSettings = messages.getPeerSettings({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v68/methods/messages_getPinnedDialogs.md index 634f4c41..77eb98ce 100644 --- a/old_docs/API_docs_v68/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v68/methods/messages_getPinnedDialogs.md @@ -19,7 +19,7 @@ Get pinned dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPinnedDialogs({}) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getRecentStickers.md b/old_docs/API_docs_v68/methods/messages_getRecentStickers.md index d89272fd..939fd036 100644 --- a/old_docs/API_docs_v68/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v68/methods/messages_getRecentStickers.md @@ -25,7 +25,7 @@ Get recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getSavedGifs.md b/old_docs/API_docs_v68/methods/messages_getSavedGifs.md index cafba4e1..1a879907 100644 --- a/old_docs/API_docs_v68/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v68/methods/messages_getSavedGifs.md @@ -24,7 +24,7 @@ Get saved gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getStickerSet.md b/old_docs/API_docs_v68/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/old_docs/API_docs_v68/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v68/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getWebPage.md b/old_docs/API_docs_v68/methods/messages_getWebPage.md index fb7152af..9237d4b7 100644 --- a/old_docs/API_docs_v68/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v68/methods/messages_getWebPage.md @@ -25,7 +25,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua WebPage = messages.getWebPage({url='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v68/methods/messages_getWebPagePreview.md index 8475c8f5..4838be94 100644 --- a/old_docs/API_docs_v68/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v68/methods/messages_getWebPagePreview.md @@ -24,7 +24,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_hideReportSpam.md b/old_docs/API_docs_v68/methods/messages_hideReportSpam.md index 17a7f8ef..1c0d72c5 100644 --- a/old_docs/API_docs_v68/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v68/methods/messages_hideReportSpam.md @@ -24,7 +24,7 @@ Hide report spam popup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.hideReportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_importChatInvite.md b/old_docs/API_docs_v68/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/old_docs/API_docs_v68/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v68/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_installStickerSet.md b/old_docs/API_docs_v68/methods/messages_installStickerSet.md index 88131136..6bdb9390 100644 --- a/old_docs/API_docs_v68/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v68/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ archived - Json encoded Bool Or, if you're into Lua: -``` +```lua messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_migrateChat.md b/old_docs/API_docs_v68/methods/messages_migrateChat.md index df91f510..e789ff7d 100644 --- a/old_docs/API_docs_v68/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v68/methods/messages_migrateChat.md @@ -24,7 +24,7 @@ Convert chat to supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.migrateChat({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v68/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v68/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v68/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v68/methods/messages_readFeaturedStickers.md index 2c34ac0f..9fef6621 100644 --- a/old_docs/API_docs_v68/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v68/methods/messages_readFeaturedStickers.md @@ -24,7 +24,7 @@ Mark new featured stickers as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.readFeaturedStickers({id={long}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_readHistory.md b/old_docs/API_docs_v68/methods/messages_readHistory.md index 48d7fb45..4a2188d8 100644 --- a/old_docs/API_docs_v68/methods/messages_readHistory.md +++ b/old_docs/API_docs_v68/methods/messages_readHistory.md @@ -25,7 +25,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_readMessageContents.md b/old_docs/API_docs_v68/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v68/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v68/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_receivedMessages.md b/old_docs/API_docs_v68/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/old_docs/API_docs_v68/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v68/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v68/methods/messages_reorderPinnedDialogs.md index 4d2cb53e..d8aeefa7 100644 --- a/old_docs/API_docs_v68/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v68/methods/messages_reorderPinnedDialogs.md @@ -25,7 +25,7 @@ Reorder pinned dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reorderPinnedDialogs({force=Bool, order={InputPeer}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v68/methods/messages_reorderStickerSets.md index c1c35ef6..cd73daa0 100644 --- a/old_docs/API_docs_v68/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v68/methods/messages_reorderStickerSets.md @@ -25,7 +25,7 @@ Reorder sticker sets ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.reorderStickerSets({masks=Bool, order={long}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v68/methods/messages_reportEncryptedSpam.md index dffdffc9..5d5f0dab 100644 --- a/old_docs/API_docs_v68/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v68/methods/messages_reportEncryptedSpam.md @@ -24,7 +24,7 @@ Report for spam a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputEncryptedChat Or, if you're into Lua: -``` +```lua Bool = messages.reportEncryptedSpam({peer=InputEncryptedChat, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_reportSpam.md b/old_docs/API_docs_v68/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/old_docs/API_docs_v68/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v68/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_saveDraft.md b/old_docs/API_docs_v68/methods/messages_saveDraft.md index ede72c41..14e69f93 100644 --- a/old_docs/API_docs_v68/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v68/methods/messages_saveDraft.md @@ -29,7 +29,7 @@ Save a message draft ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -57,7 +57,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.saveDraft({no_webpage=Bool, reply_to_msg_id=int, peer=InputPeer, message='string', entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_saveGif.md b/old_docs/API_docs_v68/methods/messages_saveGif.md index adae6d86..dfa956ab 100644 --- a/old_docs/API_docs_v68/methods/messages_saveGif.md +++ b/old_docs/API_docs_v68/methods/messages_saveGif.md @@ -25,7 +25,7 @@ Save a GIF ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveGif({id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v68/methods/messages_saveRecentSticker.md index 9cd06ea1..1abf524f 100644 --- a/old_docs/API_docs_v68/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v68/methods/messages_saveRecentSticker.md @@ -26,7 +26,7 @@ Add a sticker to recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveRecentSticker({attached=Bool, id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_search.md b/old_docs/API_docs_v68/methods/messages_search.md index ab9ebba0..358913c9 100644 --- a/old_docs/API_docs_v68/methods/messages_search.md +++ b/old_docs/API_docs_v68/methods/messages_search.md @@ -32,7 +32,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_searchGifs.md b/old_docs/API_docs_v68/methods/messages_searchGifs.md index 1ef77d23..a12cdd21 100644 --- a/old_docs/API_docs_v68/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v68/methods/messages_searchGifs.md @@ -25,7 +25,7 @@ Search gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_searchGlobal.md b/old_docs/API_docs_v68/methods/messages_searchGlobal.md index 4d05bf0d..1fb73592 100644 --- a/old_docs/API_docs_v68/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v68/methods/messages_searchGlobal.md @@ -28,7 +28,7 @@ Global message search ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_sendEncrypted.md b/old_docs/API_docs_v68/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v68/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v68/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v68/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v68/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v68/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v68/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v68/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v68/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v68/methods/messages_sendInlineBotResult.md index 8de674c6..37fae63a 100644 --- a/old_docs/API_docs_v68/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v68/methods/messages_sendInlineBotResult.md @@ -30,7 +30,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ id - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.sendInlineBotResult({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_sendMedia.md b/old_docs/API_docs_v68/methods/messages_sendMedia.md index 2290e52e..7c4e0dcf 100644 --- a/old_docs/API_docs_v68/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v68/methods/messages_sendMedia.md @@ -30,7 +30,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, media=InputMedia, reply_markup=ReplyMarkup, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_sendMessage.md b/old_docs/API_docs_v68/methods/messages_sendMessage.md index 77790562..9cdc74eb 100644 --- a/old_docs/API_docs_v68/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v68/methods/messages_sendMessage.md @@ -33,7 +33,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMessage({no_webpage=Bool, silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v68/methods/messages_setBotCallbackAnswer.md index 0395b468..47d74918 100644 --- a/old_docs/API_docs_v68/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v68/methods/messages_setBotCallbackAnswer.md @@ -28,7 +28,7 @@ Bots only: set the callback answer (after a button was clicked) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ cache_time - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message='string', url='string', cache_time=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v68/methods/messages_setBotPrecheckoutResults.md index 486ab585..92e8ea5a 100644 --- a/old_docs/API_docs_v68/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v68/methods/messages_setBotPrecheckoutResults.md @@ -26,7 +26,7 @@ Bots only: set precheckout results ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ error - Json encoded string Or, if you're into Lua: -``` +```lua Bool = messages.setBotPrecheckoutResults({success=Bool, query_id=long, error='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v68/methods/messages_setBotShippingResults.md index a9e43c49..6e223219 100644 --- a/old_docs/API_docs_v68/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v68/methods/messages_setBotShippingResults.md @@ -26,7 +26,7 @@ Bots only: set shipping results ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ shipping_options - Json encoded array of ShippingOption Or, if you're into Lua: -``` +```lua Bool = messages.setBotShippingResults({query_id=long, error='string', shipping_options={ShippingOption}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v68/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v68/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v68/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_setGameScore.md b/old_docs/API_docs_v68/methods/messages_setGameScore.md index 41ee4591..1a50326e 100644 --- a/old_docs/API_docs_v68/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v68/methods/messages_setGameScore.md @@ -29,7 +29,7 @@ Set the game score ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.setGameScore({edit_message=Bool, force=Bool, peer=InputPeer, id=int, user_id=InputUser, score=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v68/methods/messages_setInlineBotResults.md index 443a028e..e1ebe4e3 100644 --- a/old_docs/API_docs_v68/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v68/methods/messages_setInlineBotResults.md @@ -30,7 +30,7 @@ Bots only: set the results of an inline query ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: -``` +```lua Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset='string', switch_pm=InlineBotSwitchPM, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v68/methods/messages_setInlineGameScore.md index 0d97b9bf..76db49dd 100644 --- a/old_docs/API_docs_v68/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v68/methods/messages_setInlineGameScore.md @@ -28,7 +28,7 @@ Set the game score of an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setInlineGameScore({edit_message=Bool, force=Bool, id=InputBotInlineMessageID, user_id=InputUser, score=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_setTyping.md b/old_docs/API_docs_v68/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v68/methods/messages_setTyping.md +++ b/old_docs/API_docs_v68/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_startBot.md b/old_docs/API_docs_v68/methods/messages_startBot.md index 506957a7..71f82822 100644 --- a/old_docs/API_docs_v68/methods/messages_startBot.md +++ b/old_docs/API_docs_v68/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v68/methods/messages_toggleChatAdmins.md index 0f1e56fa..56438277 100644 --- a/old_docs/API_docs_v68/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v68/methods/messages_toggleChatAdmins.md @@ -25,7 +25,7 @@ Enable all users are admins in normal groups (not supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = messages.toggleChatAdmins({chat_id=InputPeer, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v68/methods/messages_toggleDialogPin.md index 57f673a0..02adfd4b 100644 --- a/old_docs/API_docs_v68/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v68/methods/messages_toggleDialogPin.md @@ -25,7 +25,7 @@ Pin or unpin dialog ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.toggleDialogPin({pinned=Bool, peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v68/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/old_docs/API_docs_v68/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v68/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages_uploadMedia.md b/old_docs/API_docs_v68/methods/messages_uploadMedia.md index 65fed5f8..af710357 100644 --- a/old_docs/API_docs_v68/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v68/methods/messages_uploadMedia.md @@ -25,7 +25,7 @@ Upload a file without sending it to anyone ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua MessageMedia = messages.uploadMedia({peer=InputPeer, media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v68/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v68/methods/payments_clearSavedInfo.md index 8ac2d538..1fb58ffa 100644 --- a/old_docs/API_docs_v68/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v68/methods/payments_clearSavedInfo.md @@ -25,7 +25,7 @@ Clear saved payments info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ info - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = payments.clearSavedInfo({credentials=Bool, info=Bool, }) ``` diff --git a/old_docs/API_docs_v68/methods/payments_getPaymentForm.md b/old_docs/API_docs_v68/methods/payments_getPaymentForm.md index c53c7d10..480e7d6d 100644 --- a/old_docs/API_docs_v68/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v68/methods/payments_getPaymentForm.md @@ -24,7 +24,7 @@ Get payment form ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ msg_id - Json encoded int Or, if you're into Lua: -``` +```lua payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v68/methods/payments_getPaymentReceipt.md index b6bbb3e5..074aed0e 100644 --- a/old_docs/API_docs_v68/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v68/methods/payments_getPaymentReceipt.md @@ -24,7 +24,7 @@ Get payment receipt ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ msg_id - Json encoded int Or, if you're into Lua: -``` +```lua payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/payments_getSavedInfo.md b/old_docs/API_docs_v68/methods/payments_getSavedInfo.md index acaa603f..df3796a2 100644 --- a/old_docs/API_docs_v68/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v68/methods/payments_getSavedInfo.md @@ -19,7 +19,7 @@ Get saved payments info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua payments_SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v68/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v68/methods/payments_sendPaymentForm.md index 5ac22160..582f446a 100644 --- a/old_docs/API_docs_v68/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v68/methods/payments_sendPaymentForm.md @@ -27,7 +27,7 @@ Bots only: send payment form ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ credentials - Json encoded InputPaymentCredentials Or, if you're into Lua: -``` +```lua payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` diff --git a/old_docs/API_docs_v68/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v68/methods/payments_validateRequestedInfo.md index bc60d68f..524c8515 100644 --- a/old_docs/API_docs_v68/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v68/methods/payments_validateRequestedInfo.md @@ -26,7 +26,7 @@ Validate requested payment info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ info - Json encoded PaymentRequestedInfo Or, if you're into Lua: -``` +```lua payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` diff --git a/old_docs/API_docs_v68/methods/phone_getCallConfig.md b/old_docs/API_docs_v68/methods/phone_getCallConfig.md index dc8619e8..4ee97d2f 100644 --- a/old_docs/API_docs_v68/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v68/methods/phone_getCallConfig.md @@ -19,7 +19,7 @@ Get call configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua DataJSON = phone.getCallConfig({}) ``` diff --git a/old_docs/API_docs_v68/methods/phone_receivedCall.md b/old_docs/API_docs_v68/methods/phone_receivedCall.md index b6cebd0c..c030fe43 100644 --- a/old_docs/API_docs_v68/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v68/methods/phone_receivedCall.md @@ -24,7 +24,7 @@ Notify server that you received a call (server will refuse all incoming calls un ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPhoneCall Or, if you're into Lua: -``` +```lua Bool = phone.receivedCall({peer=InputPhoneCall, }) ``` diff --git a/old_docs/API_docs_v68/methods/phone_saveCallDebug.md b/old_docs/API_docs_v68/methods/phone_saveCallDebug.md index 176f0838..3aff7998 100644 --- a/old_docs/API_docs_v68/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v68/methods/phone_saveCallDebug.md @@ -25,7 +25,7 @@ Save call debugging info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ debug - Json encoded DataJSON Or, if you're into Lua: -``` +```lua Bool = phone.saveCallDebug({peer=InputPhoneCall, debug=DataJSON, }) ``` diff --git a/old_docs/API_docs_v68/methods/phone_setCallRating.md b/old_docs/API_docs_v68/methods/phone_setCallRating.md index 0861c10e..fa83b2c7 100644 --- a/old_docs/API_docs_v68/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v68/methods/phone_setCallRating.md @@ -26,7 +26,7 @@ Set phone call rating ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ comment - Json encoded string Or, if you're into Lua: -``` +```lua Updates = phone.setCallRating({peer=InputPhoneCall, rating=int, comment='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/photos_deletePhotos.md b/old_docs/API_docs_v68/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v68/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v68/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v68/methods/photos_getUserPhotos.md b/old_docs/API_docs_v68/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/old_docs/API_docs_v68/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v68/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v68/methods/photos_updateProfilePhoto.md index 8eb42e5d..26ab417e 100644 --- a/old_docs/API_docs_v68/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v68/methods/photos_updateProfilePhoto.md @@ -24,7 +24,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputPhoto Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, }) ``` diff --git a/old_docs/API_docs_v68/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v68/methods/photos_uploadProfilePhoto.md index 9b838b89..8d047d9a 100644 --- a/old_docs/API_docs_v68/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v68/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ file - Json encoded InputFile Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` diff --git a/old_docs/API_docs_v68/methods/ping.md b/old_docs/API_docs_v68/methods/ping.md index d07839e4..de80b551 100644 --- a/old_docs/API_docs_v68/methods/ping.md +++ b/old_docs/API_docs_v68/methods/ping.md @@ -24,7 +24,7 @@ pings the server ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ ping_id - Json encoded long Or, if you're into Lua: -``` +```lua Pong = ping({ping_id=long, }) ``` diff --git a/old_docs/API_docs_v68/methods/ping_delay_disconnect.md b/old_docs/API_docs_v68/methods/ping_delay_disconnect.md index 9b89e38d..337ba565 100644 --- a/old_docs/API_docs_v68/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v68/methods/ping_delay_disconnect.md @@ -25,7 +25,7 @@ Pings the server and causes disconection if the same method is not called within ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ disconnect_delay - Json encoded int Or, if you're into Lua: -``` +```lua Pong = ping_delay_disconnect({ping_id=long, disconnect_delay=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/req_DH_params.md b/old_docs/API_docs_v68/methods/req_DH_params.md index 54dd35a0..405e5acf 100644 --- a/old_docs/API_docs_v68/methods/req_DH_params.md +++ b/old_docs/API_docs_v68/methods/req_DH_params.md @@ -29,7 +29,7 @@ Requests Diffie-hellman parameters for key exchange ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ encrypted_data - Json encoded string Or, if you're into Lua: -``` +```lua Server_DH_Params = req_DH_params({nonce=int128, server_nonce=int128, p='string', q='string', public_key_fingerprint=long, encrypted_data='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/req_pq.md b/old_docs/API_docs_v68/methods/req_pq.md index 64da6ef7..8c764814 100644 --- a/old_docs/API_docs_v68/methods/req_pq.md +++ b/old_docs/API_docs_v68/methods/req_pq.md @@ -24,7 +24,7 @@ Requests PQ for factorization ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ nonce - Json encoded int128 Or, if you're into Lua: -``` +```lua ResPQ = req_pq({nonce=int128, }) ``` diff --git a/old_docs/API_docs_v68/methods/rpc_drop_answer.md b/old_docs/API_docs_v68/methods/rpc_drop_answer.md index 8e08d16b..8b81eefd 100644 --- a/old_docs/API_docs_v68/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v68/methods/rpc_drop_answer.md @@ -24,7 +24,7 @@ Do not send answer to provided request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ req_msg_id - Json encoded long Or, if you're into Lua: -``` +```lua RpcDropAnswer = rpc_drop_answer({req_msg_id=long, }) ``` diff --git a/old_docs/API_docs_v68/methods/set_client_DH_params.md b/old_docs/API_docs_v68/methods/set_client_DH_params.md index 41bbb00f..8bf36c8a 100644 --- a/old_docs/API_docs_v68/methods/set_client_DH_params.md +++ b/old_docs/API_docs_v68/methods/set_client_DH_params.md @@ -26,7 +26,7 @@ Sets client diffie-hellman parameters ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ encrypted_data - Json encoded string Or, if you're into Lua: -``` +```lua Set_client_DH_params_answer = set_client_DH_params({nonce=int128, server_nonce=int128, encrypted_data='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v68/methods/stickers_addStickerToSet.md index 7029d543..0946e28a 100644 --- a/old_docs/API_docs_v68/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v68/methods/stickers_addStickerToSet.md @@ -25,7 +25,7 @@ Add sticker to stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ sticker - Json encoded InputStickerSetItem Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` diff --git a/old_docs/API_docs_v68/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v68/methods/stickers_changeStickerPosition.md index 589b06e2..1507d9df 100644 --- a/old_docs/API_docs_v68/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v68/methods/stickers_changeStickerPosition.md @@ -25,7 +25,7 @@ Change sticker position in photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ position - Json encoded int Or, if you're into Lua: -``` +```lua Bool = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/stickers_createStickerSet.md b/old_docs/API_docs_v68/methods/stickers_createStickerSet.md index 58ed89b7..7dd29ccd 100644 --- a/old_docs/API_docs_v68/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v68/methods/stickers_createStickerSet.md @@ -28,7 +28,7 @@ Create stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ stickers - Json encoded array of InputStickerSetItem Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` diff --git a/old_docs/API_docs_v68/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v68/methods/stickers_removeStickerFromSet.md index 3ea1c684..d3b80524 100644 --- a/old_docs/API_docs_v68/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v68/methods/stickers_removeStickerFromSet.md @@ -24,7 +24,7 @@ Remove sticker from stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ sticker - Json encoded InputDocument Or, if you're into Lua: -``` +```lua Bool = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` diff --git a/old_docs/API_docs_v68/methods/upload_getWebFile.md b/old_docs/API_docs_v68/methods/upload_getWebFile.md index d7d5d631..16952ff9 100644 --- a/old_docs/API_docs_v68/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v68/methods/upload_getWebFile.md @@ -26,7 +26,7 @@ Download a file through telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/users_getUsers.md b/old_docs/API_docs_v68/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v68/methods/users_getUsers.md +++ b/old_docs/API_docs_v68/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v68/types/Chat.md b/old_docs/API_docs_v68/types/Chat.md index cd83aacb..58654e6e 100644 --- a/old_docs/API_docs_v68/types/Chat.md +++ b/old_docs/API_docs_v68/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v68/types/InputChannel.md b/old_docs/API_docs_v68/types/InputChannel.md index 3882099d..6dc802fc 100644 --- a/old_docs/API_docs_v68/types/InputChannel.md +++ b/old_docs/API_docs_v68/types/InputChannel.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputChannel = '@username'; // Username $InputChannel = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v68/types/InputEncryptedChat.md b/old_docs/API_docs_v68/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v68/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v68/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v68/types/InputEncryptedFile.md b/old_docs/API_docs_v68/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v68/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v68/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v68/types/InputFile.md b/old_docs/API_docs_v68/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v68/types/InputFile.md +++ b/old_docs/API_docs_v68/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v68/types/InputNotifyPeer.md b/old_docs/API_docs_v68/types/InputNotifyPeer.md index ffc1f0cf..f9d0a662 100644 --- a/old_docs/API_docs_v68/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v68/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v68/types/InputPeer.md b/old_docs/API_docs_v68/types/InputPeer.md index 2076c00b..2649db1a 100644 --- a/old_docs/API_docs_v68/types/InputPeer.md +++ b/old_docs/API_docs_v68/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v68/types/InputUser.md b/old_docs/API_docs_v68/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/old_docs/API_docs_v68/types/InputUser.md +++ b/old_docs/API_docs_v68/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v68/types/KeyboardButton.md b/old_docs/API_docs_v68/types/KeyboardButton.md index ac4b9e1e..69f33796 100644 --- a/old_docs/API_docs_v68/types/KeyboardButton.md +++ b/old_docs/API_docs_v68/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/old_docs/API_docs_v68/types/NotifyPeer.md b/old_docs/API_docs_v68/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v68/types/NotifyPeer.md +++ b/old_docs/API_docs_v68/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v68/types/Peer.md b/old_docs/API_docs_v68/types/Peer.md index ebb98e91..0ab7fdcc 100644 --- a/old_docs/API_docs_v68/types/Peer.md +++ b/old_docs/API_docs_v68/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v68/types/PhoneCall.md b/old_docs/API_docs_v68/types/PhoneCall.md index 64d95972..0aa87799 100644 --- a/old_docs/API_docs_v68/types/PhoneCall.md +++ b/old_docs/API_docs_v68/types/PhoneCall.md @@ -159,7 +159,7 @@ The audio configuration is an array structured in the following way: Easy as pie: -``` +```php $call->storage["pony"] = "fluttershy"; \danog\MadelineProto\Logger::log($call->storage["pony"]); // fluttershy ``` @@ -173,7 +173,7 @@ You can only modify the data saving mode, the network type, the logging file pat Example: -``` +```php $call->configuration["log_file_path"] = "logs".$call->getOtherID().".log"; // Default is /dev/null $call->configuration["stats_dump_file_path"] = "stats".$call->getOtherID().".log"; // Default is /dev/null $call->configuration["network_type"] = \danog\MadelineProto\VoIP::NET_TYPE_WIFI; // Default is NET_TYPE_ETHERNET diff --git a/old_docs/API_docs_v68/types/User.md b/old_docs/API_docs_v68/types/User.md index 3abd182f..425c8d2b 100644 --- a/old_docs/API_docs_v68/types/User.md +++ b/old_docs/API_docs_v68/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v70/constructors/accountDaysTTL.md b/old_docs/API_docs_v70/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v70/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v70/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v70/constructors/account_authorizations.md b/old_docs/API_docs_v70/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v70/constructors/account_authorizations.md +++ b/old_docs/API_docs_v70/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v70/constructors/account_noPassword.md b/old_docs/API_docs_v70/constructors/account_noPassword.md index 81a483d6..63a4af6d 100644 --- a/old_docs/API_docs_v70/constructors/account_noPassword.md +++ b/old_docs/API_docs_v70/constructors/account_noPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -33,10 +33,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'emai ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/account_password.md b/old_docs/API_docs_v70/constructors/account_password.md index 9a8b31c6..5c4c334b 100644 --- a/old_docs/API_docs_v70/constructors/account_password.md +++ b/old_docs/API_docs_v70/constructors/account_password.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` @@ -36,10 +36,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v70/constructors/account_passwordInputSettings.md index f474e0c7..b5838f0a 100644 --- a/old_docs/API_docs_v70/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v70/constructors/account_passwordInputSettings.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v70/constructors/account_passwordSettings.md b/old_docs/API_docs_v70/constructors/account_passwordSettings.md index 27d14f59..04fc8621 100644 --- a/old_docs/API_docs_v70/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v70/constructors/account_passwordSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v70/constructors/account_privacyRules.md b/old_docs/API_docs_v70/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v70/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v70/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v70/constructors/account_tmpPassword.md b/old_docs/API_docs_v70/constructors/account_tmpPassword.md index e16b6f3c..90d36e0e 100644 --- a/old_docs/API_docs_v70/constructors/account_tmpPassword.md +++ b/old_docs/API_docs_v70/constructors/account_tmpPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/auth_authorization.md b/old_docs/API_docs_v70/constructors/auth_authorization.md index c8133016..b858e501 100644 --- a/old_docs/API_docs_v70/constructors/auth_authorization.md +++ b/old_docs/API_docs_v70/constructors/auth_authorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/auth_checkedPhone.md b/old_docs/API_docs_v70/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v70/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v70/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v70/constructors/auth_codeTypeCall.md index 6a4f28d1..788a2c37 100644 --- a/old_docs/API_docs_v70/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v70/constructors/auth_codeTypeCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeCall={_='auth.codeTypeCall'} ``` diff --git a/old_docs/API_docs_v70/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v70/constructors/auth_codeTypeFlashCall.md index 2851bf4e..abb65fcf 100644 --- a/old_docs/API_docs_v70/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v70/constructors/auth_codeTypeFlashCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} ``` diff --git a/old_docs/API_docs_v70/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v70/constructors/auth_codeTypeSms.md index 04b78a3d..34b42c95 100644 --- a/old_docs/API_docs_v70/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v70/constructors/auth_codeTypeSms.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeSms={_='auth.codeTypeSms'} ``` diff --git a/old_docs/API_docs_v70/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v70/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v70/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v70/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v70/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v70/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v70/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v70/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v70/constructors/auth_sentCode.md b/old_docs/API_docs_v70/constructors/auth_sentCode.md index 0226e79e..2b3f2017 100644 --- a/old_docs/API_docs_v70/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v70/constructors/auth_sentCode.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; ``` @@ -36,10 +36,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v70/constructors/auth_sentCodeTypeApp.md index eb4f4530..eba1784a 100644 --- a/old_docs/API_docs_v70/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v70/constructors/auth_sentCodeTypeApp.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v70/constructors/auth_sentCodeTypeCall.md index b72a7550..5948ce63 100644 --- a/old_docs/API_docs_v70/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v70/constructors/auth_sentCodeTypeCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v70/constructors/auth_sentCodeTypeFlashCall.md index 2c59cad5..bcc7acf6 100644 --- a/old_docs/API_docs_v70/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v70/constructors/auth_sentCodeTypeFlashCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v70/constructors/auth_sentCodeTypeSms.md index db6858ea..3073333f 100644 --- a/old_docs/API_docs_v70/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v70/constructors/auth_sentCodeTypeSms.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/authorization.md b/old_docs/API_docs_v70/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v70/constructors/authorization.md +++ b/old_docs/API_docs_v70/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v70/constructors/bad_msg_notification.md b/old_docs/API_docs_v70/constructors/bad_msg_notification.md index a9553b26..bf1b9309 100644 --- a/old_docs/API_docs_v70/constructors/bad_msg_notification.md +++ b/old_docs/API_docs_v70/constructors/bad_msg_notification.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int]; ``` @@ -34,10 +34,9 @@ $bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua bad_msg_notification={_='bad_msg_notification', bad_msg_id=long, bad_msg_seqno=int, error_code=int} ``` diff --git a/old_docs/API_docs_v70/constructors/bad_server_salt.md b/old_docs/API_docs_v70/constructors/bad_server_salt.md index 5abce2e0..9eba4882 100644 --- a/old_docs/API_docs_v70/constructors/bad_server_salt.md +++ b/old_docs/API_docs_v70/constructors/bad_server_salt.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, 'new_server_salt' => long]; ``` @@ -35,10 +35,9 @@ $bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seq ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua bad_server_salt={_='bad_server_salt', bad_msg_id=long, bad_msg_seqno=int, error_code=int, new_server_salt=long} ``` diff --git a/old_docs/API_docs_v70/constructors/botCommand.md b/old_docs/API_docs_v70/constructors/botCommand.md index 8569358d..fcb65461 100644 --- a/old_docs/API_docs_v70/constructors/botCommand.md +++ b/old_docs/API_docs_v70/constructors/botCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v70/constructors/botInfo.md b/old_docs/API_docs_v70/constructors/botInfo.md index 507f9f8c..ad88f390 100644 --- a/old_docs/API_docs_v70/constructors/botInfo.md +++ b/old_docs/API_docs_v70/constructors/botInfo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v70/constructors/botInlineMediaResult.md b/old_docs/API_docs_v70/constructors/botInlineMediaResult.md index 43454784..0131af98 100644 --- a/old_docs/API_docs_v70/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v70/constructors/botInlineMediaResult.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` @@ -38,10 +38,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v70/constructors/botInlineMessageMediaAuto.md index 71557e0c..89ef07e4 100644 --- a/old_docs/API_docs_v70/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v70/constructors/botInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v70/constructors/botInlineMessageMediaContact.md b/old_docs/API_docs_v70/constructors/botInlineMessageMediaContact.md index c3f25947..771472fa 100644 --- a/old_docs/API_docs_v70/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v70/constructors/botInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v70/constructors/botInlineMessageMediaGeo.md b/old_docs/API_docs_v70/constructors/botInlineMessageMediaGeo.md index c87e0dfe..24bf8b8d 100644 --- a/old_docs/API_docs_v70/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v70/constructors/botInlineMessageMediaGeo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v70/constructors/botInlineMessageMediaVenue.md b/old_docs/API_docs_v70/constructors/botInlineMessageMediaVenue.md index 4795ba75..8108a37c 100644 --- a/old_docs/API_docs_v70/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v70/constructors/botInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v70/constructors/botInlineMessageText.md b/old_docs/API_docs_v70/constructors/botInlineMessageText.md index 4a274d28..b3fa92ed 100644 --- a/old_docs/API_docs_v70/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v70/constructors/botInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/botInlineResult.md b/old_docs/API_docs_v70/constructors/botInlineResult.md index c7abbd71..8b6ead75 100644 --- a/old_docs/API_docs_v70/constructors/botInlineResult.md +++ b/old_docs/API_docs_v70/constructors/botInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` @@ -43,10 +43,9 @@ $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_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v70/constructors/cdnConfig.md b/old_docs/API_docs_v70/constructors/cdnConfig.md index 3df3585d..6487cf42 100644 --- a/old_docs/API_docs_v70/constructors/cdnConfig.md +++ b/old_docs/API_docs_v70/constructors/cdnConfig.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]]; ``` @@ -32,10 +32,9 @@ $cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}} ``` diff --git a/old_docs/API_docs_v70/constructors/cdnFileHash.md b/old_docs/API_docs_v70/constructors/cdnFileHash.md index 0806a8ad..c19c8a16 100644 --- a/old_docs/API_docs_v70/constructors/cdnFileHash.md +++ b/old_docs/API_docs_v70/constructors/cdnFileHash.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnFileHash = ['_' => 'cdnFileHash', 'offset' => int, 'limit' => int, 'hash' => 'bytes']; ``` @@ -34,10 +34,9 @@ $cdnFileHash = ['_' => 'cdnFileHash', 'offset' => int, 'limit' => int, 'hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua cdnFileHash={_='cdnFileHash', offset=int, limit=int, hash='bytes'} ``` diff --git a/old_docs/API_docs_v70/constructors/cdnPublicKey.md b/old_docs/API_docs_v70/constructors/cdnPublicKey.md index 78ec2a83..2277ee59 100644 --- a/old_docs/API_docs_v70/constructors/cdnPublicKey.md +++ b/old_docs/API_docs_v70/constructors/cdnPublicKey.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v70/constructors/channel.md b/old_docs/API_docs_v70/constructors/channel.md index 99611a6e..2970225d 100644 --- a/old_docs/API_docs_v70/constructors/channel.md +++ b/old_docs/API_docs_v70/constructors/channel.md @@ -40,7 +40,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -51,10 +51,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/channelAdminLogEvent.md b/old_docs/API_docs_v70/constructors/channelAdminLogEvent.md index f48cb8db..5a939425 100644 --- a/old_docs/API_docs_v70/constructors/channelAdminLogEvent.md +++ b/old_docs/API_docs_v70/constructors/channelAdminLogEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEvent = ['_' => 'channelAdminLogEvent', 'id' => long, 'date' => int, 'user_id' => int, 'action' => ChannelAdminLogEventAction]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionChangeAbout.md b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionChangeAbout.md index ebec258a..aef21894 100644 --- a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionChangeAbout.md +++ b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionChangeAbout.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChangeAbout', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeAbout={_='channelAdminLogEventActionChangeAbout', prev_value='string', new_value='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionChangePhoto.md b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionChangePhoto.md index 7c687202..7c38537e 100644 --- a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionChangePhoto.md +++ b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionChangePhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChangePhoto', 'prev_photo' => ChatPhoto, 'new_photo' => ChatPhoto]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangePhoto={_='channelAdminLogEventActionChangePhoto', prev_photo=ChatPhoto, new_photo=ChatPhoto} ``` diff --git a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionChangeTitle.md b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionChangeTitle.md index dbf4ca87..ab2d88ef 100644 --- a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionChangeTitle.md +++ b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionChangeTitle.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChangeTitle', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeTitle={_='channelAdminLogEventActionChangeTitle', prev_value='string', new_value='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionChangeUsername.md b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionChangeUsername.md index 8a48ba97..d0016c2b 100644 --- a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionChangeUsername.md +++ b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionChangeUsername.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionChangeUsername', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionC ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeUsername={_='channelAdminLogEventActionChangeUsername', prev_value='string', new_value='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionDeleteMessage.md b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionDeleteMessage.md index e6ffe7f5..3af17f94 100644 --- a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionDeleteMessage.md +++ b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionDeleteMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDeleteMessage', 'message' => Message]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionDeleteMessage={_='channelAdminLogEventActionDeleteMessage', message=Message} ``` diff --git a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionEditMessage.md b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionEditMessage.md index 67b7a176..66e5de48 100644 --- a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionEditMessage.md +++ b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionEditMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEditMessage', 'prev_message' => Message, 'new_message' => Message]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEdit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionEditMessage={_='channelAdminLogEventActionEditMessage', prev_message=Message, new_message=Message} ``` diff --git a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionParticipantInvite.md b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionParticipantInvite.md index 260a3346..82029fee 100644 --- a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionParticipantInvite.md +++ b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionParticipantInvite.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActionParticipantInvite', 'participant' => ChannelParticipant]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActi ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantInvite={_='channelAdminLogEventActionParticipantInvite', participant=ChannelParticipant} ``` diff --git a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionParticipantJoin.md b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionParticipantJoin.md index 9f59031b..4c8ca622 100644 --- a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionParticipantJoin.md +++ b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionParticipantJoin.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventActionParticipantJoin']; ``` @@ -27,10 +27,9 @@ $channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventAction ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantJoin={_='channelAdminLogEventActionParticipantJoin'} ``` diff --git a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionParticipantLeave.md b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionParticipantLeave.md index 03328132..dde98f82 100644 --- a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionParticipantLeave.md +++ b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionParticipantLeave.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActionParticipantLeave']; ``` @@ -27,10 +27,9 @@ $channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantLeave={_='channelAdminLogEventActionParticipantLeave'} ``` diff --git a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionParticipantToggleAdmin.md b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionParticipantToggleAdmin.md index b570076b..053db714 100644 --- a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionParticipantToggleAdmin.md +++ b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionParticipantToggleAdmin.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEventActionParticipantToggleAdmin', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEven ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantToggleAdmin={_='channelAdminLogEventActionParticipantToggleAdmin', prev_participant=ChannelParticipant, new_participant=ChannelParticipant} ``` diff --git a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionParticipantToggleBan.md b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionParticipantToggleBan.md index ef119daa..5321e678 100644 --- a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionParticipantToggleBan.md +++ b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionParticipantToggleBan.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventActionParticipantToggleBan', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventA ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantToggleBan={_='channelAdminLogEventActionParticipantToggleBan', prev_participant=ChannelParticipant, new_participant=ChannelParticipant} ``` diff --git a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionToggleInvites.md b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionToggleInvites.md index 5a25a689..47ba2358 100644 --- a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionToggleInvites.md +++ b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionToggleInvites.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionToggleInvites', 'new_value' => Bool]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionTo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionToggleInvites={_='channelAdminLogEventActionToggleInvites', new_value=Bool} ``` diff --git a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionToggleSignatures.md b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionToggleSignatures.md index e7119bb6..ad529669 100644 --- a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionToggleSignatures.md +++ b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionToggleSignatures.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActionToggleSignatures', 'new_value' => Bool]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionToggleSignatures={_='channelAdminLogEventActionToggleSignatures', new_value=Bool} ``` diff --git a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionUpdatePinned.md b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionUpdatePinned.md index de066195..2facbac2 100644 --- a/old_docs/API_docs_v70/constructors/channelAdminLogEventActionUpdatePinned.md +++ b/old_docs/API_docs_v70/constructors/channelAdminLogEventActionUpdatePinned.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpdatePinned', 'message' => Message]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionUpdatePinned={_='channelAdminLogEventActionUpdatePinned', message=Message} ``` diff --git a/old_docs/API_docs_v70/constructors/channelAdminLogEventsFilter.md b/old_docs/API_docs_v70/constructors/channelAdminLogEventsFilter.md index 04ece393..db2f4ee8 100644 --- a/old_docs/API_docs_v70/constructors/channelAdminLogEventsFilter.md +++ b/old_docs/API_docs_v70/constructors/channelAdminLogEventsFilter.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -45,10 +45,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/channelAdminRights.md b/old_docs/API_docs_v70/constructors/channelAdminRights.md index 88cb5969..f3204317 100644 --- a/old_docs/API_docs_v70/constructors/channelAdminRights.md +++ b/old_docs/API_docs_v70/constructors/channelAdminRights.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -40,10 +40,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/channelBannedRights.md b/old_docs/API_docs_v70/constructors/channelBannedRights.md index 13dde648..f2ae995f 100644 --- a/old_docs/API_docs_v70/constructors/channelBannedRights.md +++ b/old_docs/API_docs_v70/constructors/channelBannedRights.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -40,10 +40,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/channelForbidden.md b/old_docs/API_docs_v70/constructors/channelForbidden.md index 00b4cbbe..0bccd01f 100644 --- a/old_docs/API_docs_v70/constructors/channelForbidden.md +++ b/old_docs/API_docs_v70/constructors/channelForbidden.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'until_date' => int]; ``` @@ -37,10 +37,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/channelFull.md b/old_docs/API_docs_v70/constructors/channelFull.md index 1378008f..14749092 100644 --- a/old_docs/API_docs_v70/constructors/channelFull.md +++ b/old_docs/API_docs_v70/constructors/channelFull.md @@ -38,7 +38,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int]; ``` @@ -49,10 +49,9 @@ $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, 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} ``` diff --git a/old_docs/API_docs_v70/constructors/channelMessagesFilter.md b/old_docs/API_docs_v70/constructors/channelMessagesFilter.md index b19d3151..1b953ba3 100644 --- a/old_docs/API_docs_v70/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v70/constructors/channelMessagesFilter.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v70/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v70/constructors/channelMessagesFilterEmpty.md index 350e50de..a446b896 100644 --- a/old_docs/API_docs_v70/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v70/constructors/channelMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/channelParticipant.md b/old_docs/API_docs_v70/constructors/channelParticipant.md index c7de5400..dbcb792b 100644 --- a/old_docs/API_docs_v70/constructors/channelParticipant.md +++ b/old_docs/API_docs_v70/constructors/channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/channelParticipantAdmin.md b/old_docs/API_docs_v70/constructors/channelParticipantAdmin.md index 95ef84e9..73f4e2ab 100644 --- a/old_docs/API_docs_v70/constructors/channelParticipantAdmin.md +++ b/old_docs/API_docs_v70/constructors/channelParticipantAdmin.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantAdmin = ['_' => 'channelParticipantAdmin', 'can_edit' => Bool, 'user_id' => int, 'inviter_id' => int, 'promoted_by' => int, 'date' => int, 'admin_rights' => ChannelAdminRights]; ``` @@ -37,10 +37,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/channelParticipantBanned.md b/old_docs/API_docs_v70/constructors/channelParticipantBanned.md index be3be304..171f76d9 100644 --- a/old_docs/API_docs_v70/constructors/channelParticipantBanned.md +++ b/old_docs/API_docs_v70/constructors/channelParticipantBanned.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantBanned = ['_' => 'channelParticipantBanned', 'left' => Bool, 'user_id' => int, 'kicked_by' => int, 'date' => int, 'banned_rights' => ChannelBannedRights]; ``` @@ -36,10 +36,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/channelParticipantCreator.md b/old_docs/API_docs_v70/constructors/channelParticipantCreator.md index 86cafe0a..e999fb9c 100644 --- a/old_docs/API_docs_v70/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v70/constructors/channelParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantCreator={_='channelParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/channelParticipantSelf.md b/old_docs/API_docs_v70/constructors/channelParticipantSelf.md index 83864972..4b5949ac 100644 --- a/old_docs/API_docs_v70/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v70/constructors/channelParticipantSelf.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v70/constructors/channelParticipantsAdmins.md index c86cb9a4..4b0c30d4 100644 --- a/old_docs/API_docs_v70/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v70/constructors/channelParticipantsAdmins.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` @@ -27,10 +27,9 @@ $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v70/constructors/channelParticipantsBanned.md b/old_docs/API_docs_v70/constructors/channelParticipantsBanned.md index 75a86f75..7f956691 100644 --- a/old_docs/API_docs_v70/constructors/channelParticipantsBanned.md +++ b/old_docs/API_docs_v70/constructors/channelParticipantsBanned.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBanned={_='channelParticipantsBanned', q='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/channelParticipantsBots.md b/old_docs/API_docs_v70/constructors/channelParticipantsBots.md index 30875f94..66e510c7 100644 --- a/old_docs/API_docs_v70/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v70/constructors/channelParticipantsBots.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` @@ -27,10 +27,9 @@ $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v70/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v70/constructors/channelParticipantsKicked.md index fba5808a..7a985ca9 100644 --- a/old_docs/API_docs_v70/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v70/constructors/channelParticipantsKicked.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsKicked={_='channelParticipantsKicked', q='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v70/constructors/channelParticipantsRecent.md index e4cb6466..51e57069 100644 --- a/old_docs/API_docs_v70/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v70/constructors/channelParticipantsRecent.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` @@ -27,10 +27,9 @@ $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v70/constructors/channelParticipantsSearch.md b/old_docs/API_docs_v70/constructors/channelParticipantsSearch.md index 727a7279..9e2d3e7f 100644 --- a/old_docs/API_docs_v70/constructors/channelParticipantsSearch.md +++ b/old_docs/API_docs_v70/constructors/channelParticipantsSearch.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsSearch={_='channelParticipantsSearch', q='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/channels_adminLogResults.md b/old_docs/API_docs_v70/constructors/channels_adminLogResults.md index bd652b78..5a76ce73 100644 --- a/old_docs/API_docs_v70/constructors/channels_adminLogResults.md +++ b/old_docs/API_docs_v70/constructors/channels_adminLogResults.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v70/constructors/channels_channelParticipant.md b/old_docs/API_docs_v70/constructors/channels_channelParticipant.md index bdf27b08..107502c5 100644 --- a/old_docs/API_docs_v70/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v70/constructors/channels_channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v70/constructors/channels_channelParticipants.md b/old_docs/API_docs_v70/constructors/channels_channelParticipants.md index 1b76b1e0..0402423f 100644 --- a/old_docs/API_docs_v70/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v70/constructors/channels_channelParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v70/constructors/chat.md b/old_docs/API_docs_v70/constructors/chat.md index 5ae1811d..b6f24f3e 100644 --- a/old_docs/API_docs_v70/constructors/chat.md +++ b/old_docs/API_docs_v70/constructors/chat.md @@ -33,7 +33,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -44,10 +44,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/chatEmpty.md b/old_docs/API_docs_v70/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v70/constructors/chatEmpty.md +++ b/old_docs/API_docs_v70/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/chatForbidden.md b/old_docs/API_docs_v70/constructors/chatForbidden.md index de5bb302..61c45660 100644 --- a/old_docs/API_docs_v70/constructors/chatForbidden.md +++ b/old_docs/API_docs_v70/constructors/chatForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v70/constructors/chatFull.md b/old_docs/API_docs_v70/constructors/chatFull.md index 6e138596..2a5f67f6 100644 --- a/old_docs/API_docs_v70/constructors/chatFull.md +++ b/old_docs/API_docs_v70/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v70/constructors/chatInvite.md b/old_docs/API_docs_v70/constructors/chatInvite.md index c0f14de6..54027d67 100644 --- a/old_docs/API_docs_v70/constructors/chatInvite.md +++ b/old_docs/API_docs_v70/constructors/chatInvite.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User, User]]; ``` @@ -39,10 +39,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v70/constructors/chatInviteAlready.md b/old_docs/API_docs_v70/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/old_docs/API_docs_v70/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v70/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/old_docs/API_docs_v70/constructors/chatInviteEmpty.md b/old_docs/API_docs_v70/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/old_docs/API_docs_v70/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v70/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/chatInviteExported.md b/old_docs/API_docs_v70/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/old_docs/API_docs_v70/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v70/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/chatParticipant.md b/old_docs/API_docs_v70/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v70/constructors/chatParticipant.md +++ b/old_docs/API_docs_v70/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v70/constructors/chatParticipantAdmin.md index 62aee9a4..63a38575 100644 --- a/old_docs/API_docs_v70/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v70/constructors/chatParticipantAdmin.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/chatParticipantCreator.md b/old_docs/API_docs_v70/constructors/chatParticipantCreator.md index 0fb7b6ef..75b9c4d4 100644 --- a/old_docs/API_docs_v70/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v70/constructors/chatParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantCreator={_='chatParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/chatParticipants.md b/old_docs/API_docs_v70/constructors/chatParticipants.md index 38af2ca5..ae254290 100644 --- a/old_docs/API_docs_v70/constructors/chatParticipants.md +++ b/old_docs/API_docs_v70/constructors/chatParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v70/constructors/chatParticipantsForbidden.md index 2ecdfe10..639b30ee 100644 --- a/old_docs/API_docs_v70/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v70/constructors/chatParticipantsForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/chatPhoto.md b/old_docs/API_docs_v70/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v70/constructors/chatPhoto.md +++ b/old_docs/API_docs_v70/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v70/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v70/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v70/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/client_DH_inner_data.md b/old_docs/API_docs_v70/constructors/client_DH_inner_data.md index 6ea505c8..d888f8be 100644 --- a/old_docs/API_docs_v70/constructors/client_DH_inner_data.md +++ b/old_docs/API_docs_v70/constructors/client_DH_inner_data.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'retry_id' => long, 'g_b' => 'string']; ``` @@ -35,10 +35,9 @@ $client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'serv ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua client_DH_inner_data={_='client_DH_inner_data', nonce=int128, server_nonce=int128, retry_id=long, g_b='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/config.md b/old_docs/API_docs_v70/constructors/config.md index c74f6462..23bca37f 100644 --- a/old_docs/API_docs_v70/constructors/config.md +++ b/old_docs/API_docs_v70/constructors/config.md @@ -52,7 +52,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'tmp_sessions' => int, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'me_url_prefix' => 'string', 'suggested_lang_code' => 'string', 'lang_pack_version' => int, 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -63,10 +63,9 @@ $config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'date' => int, 'expire ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', phonecalls_enabled=Bool, date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, tmp_sessions=int, pinned_dialogs_count_max=int, call_receive_timeout_ms=int, call_ring_timeout_ms=int, call_connect_timeout_ms=int, call_packet_timeout_ms=int, me_url_prefix='string', suggested_lang_code='string', lang_pack_version=int, disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v70/constructors/contact.md b/old_docs/API_docs_v70/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v70/constructors/contact.md +++ b/old_docs/API_docs_v70/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/contactBlocked.md b/old_docs/API_docs_v70/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v70/constructors/contactBlocked.md +++ b/old_docs/API_docs_v70/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/contactLinkContact.md b/old_docs/API_docs_v70/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v70/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v70/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v70/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v70/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v70/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v70/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v70/constructors/contactLinkNone.md b/old_docs/API_docs_v70/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v70/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v70/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v70/constructors/contactLinkUnknown.md b/old_docs/API_docs_v70/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v70/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v70/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v70/constructors/contactStatus.md b/old_docs/API_docs_v70/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v70/constructors/contactStatus.md +++ b/old_docs/API_docs_v70/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v70/constructors/contacts_blocked.md b/old_docs/API_docs_v70/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v70/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v70/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v70/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v70/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v70/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v70/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v70/constructors/contacts_contacts.md b/old_docs/API_docs_v70/constructors/contacts_contacts.md index 34dae91a..ea16b38a 100644 --- a/old_docs/API_docs_v70/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v70/constructors/contacts_contacts.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} ``` diff --git a/old_docs/API_docs_v70/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v70/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v70/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v70/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v70/constructors/contacts_found.md b/old_docs/API_docs_v70/constructors/contacts_found.md index 7e0e458c..624fa475 100644 --- a/old_docs/API_docs_v70/constructors/contacts_found.md +++ b/old_docs/API_docs_v70/constructors/contacts_found.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v70/constructors/contacts_importedContacts.md b/old_docs/API_docs_v70/constructors/contacts_importedContacts.md index fdc042d2..250deb52 100644 --- a/old_docs/API_docs_v70/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v70/constructors/contacts_importedContacts.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v70/constructors/contacts_link.md b/old_docs/API_docs_v70/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v70/constructors/contacts_link.md +++ b/old_docs/API_docs_v70/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v70/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v70/constructors/contacts_resolvedPeer.md index add29235..4aa323dd 100644 --- a/old_docs/API_docs_v70/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v70/constructors/contacts_resolvedPeer.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v70/constructors/contacts_topPeers.md b/old_docs/API_docs_v70/constructors/contacts_topPeers.md index 8777bff2..e4728594 100644 --- a/old_docs/API_docs_v70/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v70/constructors/contacts_topPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCatego ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v70/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v70/constructors/contacts_topPeersNotModified.md index 3aa2236a..7ec0114a 100644 --- a/old_docs/API_docs_v70/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v70/constructors/contacts_topPeersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeersNotModified={_='contacts.topPeersNotModified'} ``` diff --git a/old_docs/API_docs_v70/constructors/dataJSON.md b/old_docs/API_docs_v70/constructors/dataJSON.md index c49ec0c0..a6555aea 100644 --- a/old_docs/API_docs_v70/constructors/dataJSON.md +++ b/old_docs/API_docs_v70/constructors/dataJSON.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` @@ -32,10 +32,9 @@ $dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dataJSON={_='dataJSON', data='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/dcOption.md b/old_docs/API_docs_v70/constructors/dcOption.md index d1b1f2ef..75146eef 100644 --- a/old_docs/API_docs_v70/constructors/dcOption.md +++ b/old_docs/API_docs_v70/constructors/dcOption.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'cdn' => Bool, 'static' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` @@ -39,10 +39,9 @@ $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, cdn=Bool, static=Bool, id=int, ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v70/constructors/destroy_auth_key_fail.md b/old_docs/API_docs_v70/constructors/destroy_auth_key_fail.md index 08f2aa59..4beb933f 100644 --- a/old_docs/API_docs_v70/constructors/destroy_auth_key_fail.md +++ b/old_docs/API_docs_v70/constructors/destroy_auth_key_fail.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail']; ``` @@ -27,10 +27,9 @@ $destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_auth_key_fail={_='destroy_auth_key_fail'} ``` diff --git a/old_docs/API_docs_v70/constructors/destroy_auth_key_none.md b/old_docs/API_docs_v70/constructors/destroy_auth_key_none.md index 1656ed53..301bbf37 100644 --- a/old_docs/API_docs_v70/constructors/destroy_auth_key_none.md +++ b/old_docs/API_docs_v70/constructors/destroy_auth_key_none.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_auth_key_none = ['_' => 'destroy_auth_key_none']; ``` @@ -27,10 +27,9 @@ $destroy_auth_key_none = ['_' => 'destroy_auth_key_none']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_auth_key_none={_='destroy_auth_key_none'} ``` diff --git a/old_docs/API_docs_v70/constructors/destroy_auth_key_ok.md b/old_docs/API_docs_v70/constructors/destroy_auth_key_ok.md index 944521fb..19f56968 100644 --- a/old_docs/API_docs_v70/constructors/destroy_auth_key_ok.md +++ b/old_docs/API_docs_v70/constructors/destroy_auth_key_ok.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok']; ``` @@ -27,10 +27,9 @@ $destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_auth_key_ok={_='destroy_auth_key_ok'} ``` diff --git a/old_docs/API_docs_v70/constructors/destroy_session_none.md b/old_docs/API_docs_v70/constructors/destroy_session_none.md index e20d06f5..470a0de8 100644 --- a/old_docs/API_docs_v70/constructors/destroy_session_none.md +++ b/old_docs/API_docs_v70/constructors/destroy_session_none.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long]; ``` @@ -32,10 +32,9 @@ $destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_session_none={_='destroy_session_none', session_id=long} ``` diff --git a/old_docs/API_docs_v70/constructors/destroy_session_ok.md b/old_docs/API_docs_v70/constructors/destroy_session_ok.md index f5d8cd19..c98a804d 100644 --- a/old_docs/API_docs_v70/constructors/destroy_session_ok.md +++ b/old_docs/API_docs_v70/constructors/destroy_session_ok.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long]; ``` @@ -32,10 +32,9 @@ $destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_session_ok={_='destroy_session_ok', session_id=long} ``` diff --git a/old_docs/API_docs_v70/constructors/dh_gen_fail.md b/old_docs/API_docs_v70/constructors/dh_gen_fail.md index 28fb6771..87d4a34b 100644 --- a/old_docs/API_docs_v70/constructors/dh_gen_fail.md +++ b/old_docs/API_docs_v70/constructors/dh_gen_fail.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash3' => int128]; ``` @@ -34,10 +34,9 @@ $dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int12 ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dh_gen_fail={_='dh_gen_fail', nonce=int128, server_nonce=int128, new_nonce_hash3=int128} ``` diff --git a/old_docs/API_docs_v70/constructors/dh_gen_ok.md b/old_docs/API_docs_v70/constructors/dh_gen_ok.md index 6b9723d9..2a058971 100644 --- a/old_docs/API_docs_v70/constructors/dh_gen_ok.md +++ b/old_docs/API_docs_v70/constructors/dh_gen_ok.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash1' => int128]; ``` @@ -34,10 +34,9 @@ $dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dh_gen_ok={_='dh_gen_ok', nonce=int128, server_nonce=int128, new_nonce_hash1=int128} ``` diff --git a/old_docs/API_docs_v70/constructors/dh_gen_retry.md b/old_docs/API_docs_v70/constructors/dh_gen_retry.md index 736c54f4..ab31de74 100644 --- a/old_docs/API_docs_v70/constructors/dh_gen_retry.md +++ b/old_docs/API_docs_v70/constructors/dh_gen_retry.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash2' => int128]; ``` @@ -34,10 +34,9 @@ $dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dh_gen_retry={_='dh_gen_retry', nonce=int128, server_nonce=int128, new_nonce_hash2=int128} ``` diff --git a/old_docs/API_docs_v70/constructors/dialog.md b/old_docs/API_docs_v70/constructors/dialog.md index 64680ec2..b65961c2 100644 --- a/old_docs/API_docs_v70/constructors/dialog.md +++ b/old_docs/API_docs_v70/constructors/dialog.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'pinned' => Bool, 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage]; ``` @@ -40,10 +40,9 @@ $dialog = ['_' => 'dialog', 'pinned' => Bool, 'peer' => Peer, 'top_message' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', pinned=Bool, peer=Peer, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings, pts=int, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v70/constructors/disabledFeature.md b/old_docs/API_docs_v70/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v70/constructors/disabledFeature.md +++ b/old_docs/API_docs_v70/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/document.md b/old_docs/API_docs_v70/constructors/document.md index 1a0f1fc1..58c44a23 100644 --- a/old_docs/API_docs_v70/constructors/document.md +++ b/old_docs/API_docs_v70/constructors/document.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -40,10 +40,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, version=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v70/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v70/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v70/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v70/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v70/constructors/documentAttributeAudio.md b/old_docs/API_docs_v70/constructors/documentAttributeAudio.md index 0dc5decc..f427a05c 100644 --- a/old_docs/API_docs_v70/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v70/constructors/documentAttributeAudio.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` @@ -36,10 +36,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'du ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title='string', performer='string', waveform='bytes'} ``` diff --git a/old_docs/API_docs_v70/constructors/documentAttributeFilename.md b/old_docs/API_docs_v70/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v70/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v70/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/documentAttributeHasStickers.md b/old_docs/API_docs_v70/constructors/documentAttributeHasStickers.md index fff783df..90c58e35 100644 --- a/old_docs/API_docs_v70/constructors/documentAttributeHasStickers.md +++ b/old_docs/API_docs_v70/constructors/documentAttributeHasStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` @@ -27,10 +27,9 @@ $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeHasStickers={_='documentAttributeHasStickers'} ``` diff --git a/old_docs/API_docs_v70/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v70/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v70/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v70/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v70/constructors/documentAttributeSticker.md b/old_docs/API_docs_v70/constructors/documentAttributeSticker.md index ba5243fb..b200f7f0 100644 --- a/old_docs/API_docs_v70/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v70/constructors/documentAttributeSticker.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => 'string', 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords]; ``` @@ -35,10 +35,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', mask=Bool, alt='string', stickerset=InputStickerSet, mask_coords=MaskCoords} ``` diff --git a/old_docs/API_docs_v70/constructors/documentAttributeVideo.md b/old_docs/API_docs_v70/constructors/documentAttributeVideo.md index 21f4580a..bd43440e 100644 --- a/old_docs/API_docs_v70/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v70/constructors/documentAttributeVideo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -35,10 +35,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', round_message=Bool, duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v70/constructors/documentEmpty.md b/old_docs/API_docs_v70/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v70/constructors/documentEmpty.md +++ b/old_docs/API_docs_v70/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v70/constructors/draftMessage.md b/old_docs/API_docs_v70/constructors/draftMessage.md index 370ffaef..ecec69a1 100644 --- a/old_docs/API_docs_v70/constructors/draftMessage.md +++ b/old_docs/API_docs_v70/constructors/draftMessage.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'date' => int]; ``` @@ -36,10 +36,9 @@ $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message='string', entities={MessageEntity}, date=int} ``` diff --git a/old_docs/API_docs_v70/constructors/draftMessageEmpty.md b/old_docs/API_docs_v70/constructors/draftMessageEmpty.md index 15b2aa67..65902a71 100644 --- a/old_docs/API_docs_v70/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v70/constructors/draftMessageEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` @@ -27,10 +27,9 @@ $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessageEmpty={_='draftMessageEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/encryptedChat.md b/old_docs/API_docs_v70/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v70/constructors/encryptedChat.md +++ b/old_docs/API_docs_v70/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v70/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v70/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v70/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v70/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v70/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v70/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v70/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/encryptedChatRequested.md b/old_docs/API_docs_v70/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v70/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v70/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v70/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v70/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v70/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v70/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/encryptedFile.md b/old_docs/API_docs_v70/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v70/constructors/encryptedFile.md +++ b/old_docs/API_docs_v70/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v70/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v70/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v70/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v70/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/encryptedMessage.md b/old_docs/API_docs_v70/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v70/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v70/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v70/constructors/encryptedMessageService.md b/old_docs/API_docs_v70/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v70/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v70/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v70/constructors/error.md b/old_docs/API_docs_v70/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v70/constructors/error.md +++ b/old_docs/API_docs_v70/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/exportedMessageLink.md b/old_docs/API_docs_v70/constructors/exportedMessageLink.md index 423c9fa3..9db8d71a 100644 --- a/old_docs/API_docs_v70/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v70/constructors/exportedMessageLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua exportedMessageLink={_='exportedMessageLink', link='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/fileLocation.md b/old_docs/API_docs_v70/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v70/constructors/fileLocation.md +++ b/old_docs/API_docs_v70/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v70/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v70/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v70/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v70/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v70/constructors/foundGif.md b/old_docs/API_docs_v70/constructors/foundGif.md index d8ee3695..c2f0ce33 100644 --- a/old_docs/API_docs_v70/constructors/foundGif.md +++ b/old_docs/API_docs_v70/constructors/foundGif.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` @@ -37,10 +37,9 @@ $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'con ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGif={_='foundGif', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int} ``` diff --git a/old_docs/API_docs_v70/constructors/foundGifCached.md b/old_docs/API_docs_v70/constructors/foundGifCached.md index e4a1a552..03e67917 100644 --- a/old_docs/API_docs_v70/constructors/foundGifCached.md +++ b/old_docs/API_docs_v70/constructors/foundGifCached.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -34,10 +34,9 @@ $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGifCached={_='foundGifCached', url='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v70/constructors/future_salt.md b/old_docs/API_docs_v70/constructors/future_salt.md index de2832c4..b5dd02ed 100644 --- a/old_docs/API_docs_v70/constructors/future_salt.md +++ b/old_docs/API_docs_v70/constructors/future_salt.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int, 'salt' => long]; ``` @@ -34,10 +34,9 @@ $future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua future_salt={_='future_salt', valid_since=int, valid_until=int, salt=long} ``` diff --git a/old_docs/API_docs_v70/constructors/future_salts.md b/old_docs/API_docs_v70/constructors/future_salts.md index 811c668a..86251b37 100644 --- a/old_docs/API_docs_v70/constructors/future_salts.md +++ b/old_docs/API_docs_v70/constructors/future_salts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'salts' => [future_salt, future_salt]]; ``` @@ -34,10 +34,9 @@ $future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'sal ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua future_salts={_='future_salts', req_msg_id=long, now=int, salts={future_salt}} ``` diff --git a/old_docs/API_docs_v70/constructors/game.md b/old_docs/API_docs_v70/constructors/game.md index 790fbeeb..088ca95e 100644 --- a/old_docs/API_docs_v70/constructors/game.md +++ b/old_docs/API_docs_v70/constructors/game.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -38,10 +38,9 @@ $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua game={_='game', id=long, access_hash=long, short_name='string', title='string', description='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v70/constructors/geoPoint.md b/old_docs/API_docs_v70/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v70/constructors/geoPoint.md +++ b/old_docs/API_docs_v70/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v70/constructors/geoPointEmpty.md b/old_docs/API_docs_v70/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v70/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v70/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/help_appUpdate.md b/old_docs/API_docs_v70/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v70/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v70/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/help_configSimple.md b/old_docs/API_docs_v70/constructors/help_configSimple.md index 5c87af29..b3951e5b 100644 --- a/old_docs/API_docs_v70/constructors/help_configSimple.md +++ b/old_docs/API_docs_v70/constructors/help_configSimple.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'dc_id' => int, 'ip_port_list' => [ipPort, ipPort]]; ``` @@ -35,10 +35,9 @@ $help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_configSimple={_='help.configSimple', date=int, expires=int, dc_id=int, ip_port_list={ipPort}} ``` diff --git a/old_docs/API_docs_v70/constructors/help_inviteText.md b/old_docs/API_docs_v70/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v70/constructors/help_inviteText.md +++ b/old_docs/API_docs_v70/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/help_noAppUpdate.md b/old_docs/API_docs_v70/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v70/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v70/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v70/constructors/help_support.md b/old_docs/API_docs_v70/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v70/constructors/help_support.md +++ b/old_docs/API_docs_v70/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v70/constructors/help_termsOfService.md b/old_docs/API_docs_v70/constructors/help_termsOfService.md index 8e558bed..ec7a8121 100644 --- a/old_docs/API_docs_v70/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v70/constructors/help_termsOfService.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_termsOfService={_='help.termsOfService', text='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/highScore.md b/old_docs/API_docs_v70/constructors/highScore.md index 63a8ab05..265c0487 100644 --- a/old_docs/API_docs_v70/constructors/highScore.md +++ b/old_docs/API_docs_v70/constructors/highScore.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int]; ``` @@ -34,10 +34,9 @@ $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua highScore={_='highScore', pos=int, user_id=int, score=int} ``` diff --git a/old_docs/API_docs_v70/constructors/http_wait.md b/old_docs/API_docs_v70/constructors/http_wait.md index 08447425..b5db251e 100644 --- a/old_docs/API_docs_v70/constructors/http_wait.md +++ b/old_docs/API_docs_v70/constructors/http_wait.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $http_wait = ['_' => 'http_wait', 'max_delay' => int, 'wait_after' => int, 'max_wait' => int]; ``` @@ -34,10 +34,9 @@ $http_wait = ['_' => 'http_wait', 'max_delay' => int, 'wait_after' => int, 'max_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua http_wait={_='http_wait', max_delay=int, wait_after=int, max_wait=int} ``` diff --git a/old_docs/API_docs_v70/constructors/importedContact.md b/old_docs/API_docs_v70/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v70/constructors/importedContact.md +++ b/old_docs/API_docs_v70/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v70/constructors/inlineBotSwitchPM.md b/old_docs/API_docs_v70/constructors/inlineBotSwitchPM.md index 0dfd4714..b4fb8185 100644 --- a/old_docs/API_docs_v70/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v70/constructors/inlineBotSwitchPM.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` @@ -33,10 +33,9 @@ $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_par ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inlineBotSwitchPM={_='inlineBotSwitchPM', text='string', start_param='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputAppEvent.md b/old_docs/API_docs_v70/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v70/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v70/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputBotInlineMessageGame.md b/old_docs/API_docs_v70/constructors/inputBotInlineMessageGame.md index 8e59cd54..66c8997b 100644 --- a/old_docs/API_docs_v70/constructors/inputBotInlineMessageGame.md +++ b/old_docs/API_docs_v70/constructors/inputBotInlineMessageGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup]; ``` @@ -32,10 +32,9 @@ $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageGame={_='inputBotInlineMessageGame', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v70/constructors/inputBotInlineMessageID.md b/old_docs/API_docs_v70/constructors/inputBotInlineMessageID.md index 91c7586d..aecbb733 100644 --- a/old_docs/API_docs_v70/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v70/constructors/inputBotInlineMessageID.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v70/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v70/constructors/inputBotInlineMessageMediaAuto.md index 28d93836..17e2a1cb 100644 --- a/old_docs/API_docs_v70/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v70/constructors/inputBotInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'cap ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v70/constructors/inputBotInlineMessageMediaContact.md b/old_docs/API_docs_v70/constructors/inputBotInlineMessageMediaContact.md index 5b78709f..25dd9029 100644 --- a/old_docs/API_docs_v70/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v70/constructors/inputBotInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v70/constructors/inputBotInlineMessageMediaGeo.md b/old_docs/API_docs_v70/constructors/inputBotInlineMessageMediaGeo.md index 39365847..935dba16 100644 --- a/old_docs/API_docs_v70/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v70/constructors/inputBotInlineMessageMediaGeo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v70/constructors/inputBotInlineMessageMediaVenue.md b/old_docs/API_docs_v70/constructors/inputBotInlineMessageMediaVenue.md index 7dbc6a6c..56ec0745 100644 --- a/old_docs/API_docs_v70/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v70/constructors/inputBotInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'g ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v70/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v70/constructors/inputBotInlineMessageText.md index e6a0bbb7..acae47bc 100644 --- a/old_docs/API_docs_v70/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v70/constructors/inputBotInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v70/constructors/inputBotInlineResult.md b/old_docs/API_docs_v70/constructors/inputBotInlineResult.md index 668af514..34148d70 100644 --- a/old_docs/API_docs_v70/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v70/constructors/inputBotInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` @@ -43,10 +43,9 @@ $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v70/constructors/inputBotInlineResultDocument.md b/old_docs/API_docs_v70/constructors/inputBotInlineResultDocument.md index ad13df76..9d5f1eb6 100644 --- a/old_docs/API_docs_v70/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v70/constructors/inputBotInlineResultDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` @@ -37,10 +37,9 @@ $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultDocument={_='inputBotInlineResultDocument', id='string', type='string', title='string', description='string', document=InputDocument, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v70/constructors/inputBotInlineResultGame.md b/old_docs/API_docs_v70/constructors/inputBotInlineResultGame.md index 5967bea6..b7821035 100644 --- a/old_docs/API_docs_v70/constructors/inputBotInlineResultGame.md +++ b/old_docs/API_docs_v70/constructors/inputBotInlineResultGame.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string', 'short_name' => 'string', 'send_message' => InputBotInlineMessage]; ``` @@ -34,10 +34,9 @@ $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultGame={_='inputBotInlineResultGame', id='string', short_name='string', send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v70/constructors/inputBotInlineResultPhoto.md b/old_docs/API_docs_v70/constructors/inputBotInlineResultPhoto.md index 43f00813..271bb02e 100644 --- a/old_docs/API_docs_v70/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v70/constructors/inputBotInlineResultPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` @@ -35,10 +35,9 @@ $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id='string', type='string', photo=InputPhoto, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v70/constructors/inputChannel.md b/old_docs/API_docs_v70/constructors/inputChannel.md index b5cb3566..34ed10ca 100644 --- a/old_docs/API_docs_v70/constructors/inputChannel.md +++ b/old_docs/API_docs_v70/constructors/inputChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannel={_='inputChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v70/constructors/inputChannelEmpty.md b/old_docs/API_docs_v70/constructors/inputChannelEmpty.md index f7e18434..bd53602b 100644 --- a/old_docs/API_docs_v70/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v70/constructors/inputChannelEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` @@ -27,10 +27,9 @@ $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputChatPhoto.md b/old_docs/API_docs_v70/constructors/inputChatPhoto.md index 636d6f68..cbae66d1 100644 --- a/old_docs/API_docs_v70/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v70/constructors/inputChatPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v70/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v70/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v70/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v70/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v70/constructors/inputChatUploadedPhoto.md index 840ed815..8b5535ab 100644 --- a/old_docs/API_docs_v70/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v70/constructors/inputChatUploadedPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile]; ``` @@ -32,10 +32,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile} ``` diff --git a/old_docs/API_docs_v70/constructors/inputDocument.md b/old_docs/API_docs_v70/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v70/constructors/inputDocument.md +++ b/old_docs/API_docs_v70/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v70/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v70/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v70/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v70/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v70/constructors/inputDocumentFileLocation.md index df556f40..94ab0038 100644 --- a/old_docs/API_docs_v70/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v70/constructors/inputDocumentFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int]; ``` @@ -34,10 +34,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, version=int} ``` diff --git a/old_docs/API_docs_v70/constructors/inputEncryptedChat.md b/old_docs/API_docs_v70/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v70/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v70/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v70/constructors/inputEncryptedFile.md b/old_docs/API_docs_v70/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v70/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v70/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v70/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v70/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v70/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v70/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v70/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v70/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v70/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v70/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v70/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v70/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v70/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v70/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v70/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v70/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v70/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v70/constructors/inputFile.md b/old_docs/API_docs_v70/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v70/constructors/inputFile.md +++ b/old_docs/API_docs_v70/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputFileBig.md b/old_docs/API_docs_v70/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v70/constructors/inputFileBig.md +++ b/old_docs/API_docs_v70/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputFileLocation.md b/old_docs/API_docs_v70/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v70/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v70/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v70/constructors/inputGameID.md b/old_docs/API_docs_v70/constructors/inputGameID.md index 1fff2dd1..fba24333 100644 --- a/old_docs/API_docs_v70/constructors/inputGameID.md +++ b/old_docs/API_docs_v70/constructors/inputGameID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameID={_='inputGameID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v70/constructors/inputGameShortName.md b/old_docs/API_docs_v70/constructors/inputGameShortName.md index 742b5ae5..031e3f4c 100644 --- a/old_docs/API_docs_v70/constructors/inputGameShortName.md +++ b/old_docs/API_docs_v70/constructors/inputGameShortName.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => 'string']; ``` @@ -33,10 +33,9 @@ $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'shor ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameShortName={_='inputGameShortName', bot_id=InputUser, short_name='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputGeoPoint.md b/old_docs/API_docs_v70/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v70/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v70/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v70/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v70/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v70/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v70/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMediaContact.md b/old_docs/API_docs_v70/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v70/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v70/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMediaDocument.md b/old_docs/API_docs_v70/constructors/inputMediaDocument.md index 72c79560..4b43d0c2 100644 --- a/old_docs/API_docs_v70/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v70/constructors/inputMediaDocument.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'capt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMediaDocumentExternal.md b/old_docs/API_docs_v70/constructors/inputMediaDocumentExternal.md index 441087f7..c3378783 100644 --- a/old_docs/API_docs_v70/constructors/inputMediaDocumentExternal.md +++ b/old_docs/API_docs_v70/constructors/inputMediaDocumentExternal.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'string', 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocumentExternal={_='inputMediaDocumentExternal', url='string', caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMediaEmpty.md b/old_docs/API_docs_v70/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v70/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v70/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMediaGame.md b/old_docs/API_docs_v70/constructors/inputMediaGame.md index 883e5672..c4cc2cfc 100644 --- a/old_docs/API_docs_v70/constructors/inputMediaGame.md +++ b/old_docs/API_docs_v70/constructors/inputMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` @@ -32,10 +32,9 @@ $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGame={_='inputMediaGame', id=InputGame} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v70/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v70/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v70/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v70/constructors/inputMediaGifExternal.md index cf68972a..14153a43 100644 --- a/old_docs/API_docs_v70/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v70/constructors/inputMediaGifExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGifExternal={_='inputMediaGifExternal', url='string', q='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMediaInvoice.md b/old_docs/API_docs_v70/constructors/inputMediaInvoice.md index 8268b4bc..cb554cff 100644 --- a/old_docs/API_docs_v70/constructors/inputMediaInvoice.md +++ b/old_docs/API_docs_v70/constructors/inputMediaInvoice.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'description' => 'string', 'photo' => InputWebDocument, 'invoice' => Invoice, 'payload' => 'bytes', 'provider' => 'string', 'start_param' => 'string']; ``` @@ -38,10 +38,9 @@ $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'descript ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaInvoice={_='inputMediaInvoice', title='string', description='string', photo=InputWebDocument, invoice=Invoice, payload='bytes', provider='string', start_param='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMediaPhoto.md b/old_docs/API_docs_v70/constructors/inputMediaPhoto.md index 36950fb6..1ae02323 100644 --- a/old_docs/API_docs_v70/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v70/constructors/inputMediaPhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMediaPhotoExternal.md b/old_docs/API_docs_v70/constructors/inputMediaPhotoExternal.md index d4fd1a49..85251482 100644 --- a/old_docs/API_docs_v70/constructors/inputMediaPhotoExternal.md +++ b/old_docs/API_docs_v70/constructors/inputMediaPhotoExternal.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhotoExternal={_='inputMediaPhotoExternal', url='string', caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v70/constructors/inputMediaUploadedDocument.md index 4239134c..9369d528 100644 --- a/old_docs/API_docs_v70/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v70/constructors/inputMediaUploadedDocument.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument, InputDocument], 'ttl_seconds' => int]; ``` @@ -38,10 +38,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string', stickers={InputDocument}, ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v70/constructors/inputMediaUploadedPhoto.md index e2519a91..2701cc6b 100644 --- a/old_docs/API_docs_v70/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v70/constructors/inputMediaUploadedPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string', 'stickers' => [InputDocument, InputDocument], 'ttl_seconds' => int]; ``` @@ -35,10 +35,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption='string', stickers={InputDocument}, ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMediaVenue.md b/old_docs/API_docs_v70/constructors/inputMediaVenue.md index 3e7ee3a1..b2171fbc 100644 --- a/old_docs/API_docs_v70/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v70/constructors/inputMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMessageEntityMentionName.md b/old_docs/API_docs_v70/constructors/inputMessageEntityMentionName.md index 92d5c8d9..19a0b4e3 100644 --- a/old_docs/API_docs_v70/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v70/constructors/inputMessageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser]; ``` @@ -34,10 +34,9 @@ $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessageEntityMentionName={_='inputMessageEntityMentionName', offset=int, length=int, user_id=InputUser} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMessagesFilterChatPhotos.md b/old_docs/API_docs_v70/constructors/inputMessagesFilterChatPhotos.md index a02425b1..b72281f3 100644 --- a/old_docs/API_docs_v70/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v70/constructors/inputMessagesFilterChatPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v70/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v70/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v70/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v70/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v70/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v70/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v70/constructors/inputMessagesFilterGif.md index 94698ecd..a3a51104 100644 --- a/old_docs/API_docs_v70/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v70/constructors/inputMessagesFilterGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v70/constructors/inputMessagesFilterMusic.md index ac6373c2..b2ed1044 100644 --- a/old_docs/API_docs_v70/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v70/constructors/inputMessagesFilterMusic.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMessagesFilterPhoneCalls.md b/old_docs/API_docs_v70/constructors/inputMessagesFilterPhoneCalls.md index 8fe8537a..0cb60836 100644 --- a/old_docs/API_docs_v70/constructors/inputMessagesFilterPhoneCalls.md +++ b/old_docs/API_docs_v70/constructors/inputMessagesFilterPhoneCalls.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool]; ``` @@ -32,10 +32,9 @@ $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'misse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhoneCalls={_='inputMessagesFilterPhoneCalls', missed=Bool} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v70/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v70/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v70/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v70/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v70/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v70/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v70/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v70/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v70/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMessagesFilterRoundVideo.md b/old_docs/API_docs_v70/constructors/inputMessagesFilterRoundVideo.md index 5bcbbb20..291ebf25 100644 --- a/old_docs/API_docs_v70/constructors/inputMessagesFilterRoundVideo.md +++ b/old_docs/API_docs_v70/constructors/inputMessagesFilterRoundVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterRoundVideo={_='inputMessagesFilterRoundVideo'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMessagesFilterRoundVoice.md b/old_docs/API_docs_v70/constructors/inputMessagesFilterRoundVoice.md index 9e018fc3..4c7fbbec 100644 --- a/old_docs/API_docs_v70/constructors/inputMessagesFilterRoundVoice.md +++ b/old_docs/API_docs_v70/constructors/inputMessagesFilterRoundVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterRoundVoice={_='inputMessagesFilterRoundVoice'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v70/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v70/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v70/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v70/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v70/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v70/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v70/constructors/inputMessagesFilterVoice.md index 026a91be..be3af22a 100644 --- a/old_docs/API_docs_v70/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v70/constructors/inputMessagesFilterVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputNotifyAll.md b/old_docs/API_docs_v70/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v70/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v70/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputNotifyChats.md b/old_docs/API_docs_v70/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v70/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v70/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputNotifyPeer.md b/old_docs/API_docs_v70/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v70/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v70/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v70/constructors/inputNotifyUsers.md b/old_docs/API_docs_v70/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v70/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v70/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPaymentCredentials.md b/old_docs/API_docs_v70/constructors/inputPaymentCredentials.md index 085db55d..4e2883f9 100644 --- a/old_docs/API_docs_v70/constructors/inputPaymentCredentials.md +++ b/old_docs/API_docs_v70/constructors/inputPaymentCredentials.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'data' => DataJSON]; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentials={_='inputPaymentCredentials', save=Bool, data=DataJSON} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPaymentCredentialsSaved.md b/old_docs/API_docs_v70/constructors/inputPaymentCredentialsSaved.md index 63cd678e..c205ee9a 100644 --- a/old_docs/API_docs_v70/constructors/inputPaymentCredentialsSaved.md +++ b/old_docs/API_docs_v70/constructors/inputPaymentCredentialsSaved.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => 'string', 'tmp_password' => 'bytes']; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentialsSaved={_='inputPaymentCredentialsSaved', id='string', tmp_password='bytes'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPeerChannel.md b/old_docs/API_docs_v70/constructors/inputPeerChannel.md index 8b84fe20..14c2f105 100644 --- a/old_docs/API_docs_v70/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v70/constructors/inputPeerChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPeerChat.md b/old_docs/API_docs_v70/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v70/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v70/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPeerEmpty.md b/old_docs/API_docs_v70/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v70/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v70/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v70/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v70/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v70/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v70/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v70/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v70/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v70/constructors/inputPeerNotifySettings.md index 6b281f53..cd18b39e 100644 --- a/old_docs/API_docs_v70/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v70/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPeerSelf.md b/old_docs/API_docs_v70/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v70/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v70/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPeerUser.md b/old_docs/API_docs_v70/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/old_docs/API_docs_v70/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v70/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPhoneCall.md b/old_docs/API_docs_v70/constructors/inputPhoneCall.md index 60cdf8ca..68abe88d 100644 --- a/old_docs/API_docs_v70/constructors/inputPhoneCall.md +++ b/old_docs/API_docs_v70/constructors/inputPhoneCall.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneCall={_='inputPhoneCall', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPhoneContact.md b/old_docs/API_docs_v70/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v70/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v70/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPhoto.md b/old_docs/API_docs_v70/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v70/constructors/inputPhoto.md +++ b/old_docs/API_docs_v70/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v70/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v70/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v70/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v70/constructors/inputPrivacyKeyChatInvite.md index 9c55265f..d96148d4 100644 --- a/old_docs/API_docs_v70/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v70/constructors/inputPrivacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPrivacyKeyPhoneCall.md b/old_docs/API_docs_v70/constructors/inputPrivacyKeyPhoneCall.md index b16316be..510ff979 100644 --- a/old_docs/API_docs_v70/constructors/inputPrivacyKeyPhoneCall.md +++ b/old_docs/API_docs_v70/constructors/inputPrivacyKeyPhoneCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyPhoneCall={_='inputPrivacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v70/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v70/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v70/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v70/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v70/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v70/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v70/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v70/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v70/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v70/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v70/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v70/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v70/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v70/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v70/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v70/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v70/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v70/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v70/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v70/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v70/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v70/constructors/inputReportReasonOther.md b/old_docs/API_docs_v70/constructors/inputReportReasonOther.md index 361582bd..4dbffa18 100644 --- a/old_docs/API_docs_v70/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v70/constructors/inputReportReasonOther.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonOther={_='inputReportReasonOther', text='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v70/constructors/inputReportReasonPornography.md index c18c71d3..5c80f096 100644 --- a/old_docs/API_docs_v70/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v70/constructors/inputReportReasonPornography.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` @@ -27,10 +27,9 @@ $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v70/constructors/inputReportReasonSpam.md index 19ed6687..75d59861 100644 --- a/old_docs/API_docs_v70/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v70/constructors/inputReportReasonSpam.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` @@ -27,10 +27,9 @@ $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v70/constructors/inputReportReasonViolence.md index 10fbce47..28d27e85 100644 --- a/old_docs/API_docs_v70/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v70/constructors/inputReportReasonViolence.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` @@ -27,10 +27,9 @@ $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v70/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/old_docs/API_docs_v70/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v70/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputStickerSetID.md b/old_docs/API_docs_v70/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/old_docs/API_docs_v70/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v70/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v70/constructors/inputStickerSetItem.md b/old_docs/API_docs_v70/constructors/inputStickerSetItem.md index 2efe95ff..39b999c7 100644 --- a/old_docs/API_docs_v70/constructors/inputStickerSetItem.md +++ b/old_docs/API_docs_v70/constructors/inputStickerSetItem.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetItem = ['_' => 'inputStickerSetItem', 'document' => InputDocument, 'emoji' => 'string', 'mask_coords' => MaskCoords]; ``` @@ -34,10 +34,9 @@ $inputStickerSetItem = ['_' => 'inputStickerSetItem', 'document' => InputDocumen ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetItem={_='inputStickerSetItem', document=InputDocument, emoji='string', mask_coords=MaskCoords} ``` diff --git a/old_docs/API_docs_v70/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v70/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/old_docs/API_docs_v70/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v70/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputStickeredMediaDocument.md b/old_docs/API_docs_v70/constructors/inputStickeredMediaDocument.md index c6def51c..72da7b39 100644 --- a/old_docs/API_docs_v70/constructors/inputStickeredMediaDocument.md +++ b/old_docs/API_docs_v70/constructors/inputStickeredMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaDocument={_='inputStickeredMediaDocument', id=InputDocument} ``` diff --git a/old_docs/API_docs_v70/constructors/inputStickeredMediaPhoto.md b/old_docs/API_docs_v70/constructors/inputStickeredMediaPhoto.md index f424c329..d79cd390 100644 --- a/old_docs/API_docs_v70/constructors/inputStickeredMediaPhoto.md +++ b/old_docs/API_docs_v70/constructors/inputStickeredMediaPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaPhoto={_='inputStickeredMediaPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v70/constructors/inputUser.md b/old_docs/API_docs_v70/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/old_docs/API_docs_v70/constructors/inputUser.md +++ b/old_docs/API_docs_v70/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v70/constructors/inputUserEmpty.md b/old_docs/API_docs_v70/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v70/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v70/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputUserSelf.md b/old_docs/API_docs_v70/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v70/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v70/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v70/constructors/inputWebDocument.md b/old_docs/API_docs_v70/constructors/inputWebDocument.md index 8028cb28..cd3ceaa1 100644 --- a/old_docs/API_docs_v70/constructors/inputWebDocument.md +++ b/old_docs/API_docs_v70/constructors/inputWebDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -35,10 +35,9 @@ $inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputWebDocument={_='inputWebDocument', url='string', size=int, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v70/constructors/inputWebFileLocation.md b/old_docs/API_docs_v70/constructors/inputWebFileLocation.md index c484849b..888dcfbe 100644 --- a/old_docs/API_docs_v70/constructors/inputWebFileLocation.md +++ b/old_docs/API_docs_v70/constructors/inputWebFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'acce ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputWebFileLocation={_='inputWebFileLocation', url='string', access_hash=long} ``` diff --git a/old_docs/API_docs_v70/constructors/invoice.md b/old_docs/API_docs_v70/constructors/invoice.md index 7254fd66..ef683c37 100644 --- a/old_docs/API_docs_v70/constructors/invoice.md +++ b/old_docs/API_docs_v70/constructors/invoice.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_requested' => Bool, 'email_requested' => Bool, 'shipping_address_requested' => Bool, 'flexible' => Bool, 'currency' => 'string', 'prices' => [LabeledPrice, LabeledPrice]]; ``` @@ -39,10 +39,9 @@ $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_r ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua invoice={_='invoice', test=Bool, name_requested=Bool, phone_requested=Bool, email_requested=Bool, shipping_address_requested=Bool, flexible=Bool, currency='string', prices={LabeledPrice}} ``` diff --git a/old_docs/API_docs_v70/constructors/ipPort.md b/old_docs/API_docs_v70/constructors/ipPort.md index a22e57e7..16cec197 100644 --- a/old_docs/API_docs_v70/constructors/ipPort.md +++ b/old_docs/API_docs_v70/constructors/ipPort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $ipPort = ['_' => 'ipPort', 'ipv4' => int, 'port' => int]; ``` @@ -33,10 +33,9 @@ $ipPort = ['_' => 'ipPort', 'ipv4' => int, 'port' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua ipPort={_='ipPort', ipv4=int, port=int} ``` diff --git a/old_docs/API_docs_v70/constructors/keyboardButton.md b/old_docs/API_docs_v70/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/old_docs/API_docs_v70/constructors/keyboardButton.md +++ b/old_docs/API_docs_v70/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/keyboardButtonBuy.md b/old_docs/API_docs_v70/constructors/keyboardButtonBuy.md index efff4c6c..cf11ddf6 100644 --- a/old_docs/API_docs_v70/constructors/keyboardButtonBuy.md +++ b/old_docs/API_docs_v70/constructors/keyboardButtonBuy.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonBuy={_='keyboardButtonBuy', text='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/keyboardButtonCallback.md b/old_docs/API_docs_v70/constructors/keyboardButtonCallback.md index 63e87aac..c8f86f50 100644 --- a/old_docs/API_docs_v70/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v70/constructors/keyboardButtonCallback.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` @@ -33,10 +33,9 @@ $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonCallback={_='keyboardButtonCallback', text='string', data='bytes'} ``` diff --git a/old_docs/API_docs_v70/constructors/keyboardButtonGame.md b/old_docs/API_docs_v70/constructors/keyboardButtonGame.md index 08110141..05a565a3 100644 --- a/old_docs/API_docs_v70/constructors/keyboardButtonGame.md +++ b/old_docs/API_docs_v70/constructors/keyboardButtonGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonGame={_='keyboardButtonGame', text='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/keyboardButtonRequestGeoLocation.md b/old_docs/API_docs_v70/constructors/keyboardButtonRequestGeoLocation.md index fc422d90..63d4a82f 100644 --- a/old_docs/API_docs_v70/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v70/constructors/keyboardButtonRequestGeoLocation.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/keyboardButtonRequestPhone.md b/old_docs/API_docs_v70/constructors/keyboardButtonRequestPhone.md index a1719e24..ba58979f 100644 --- a/old_docs/API_docs_v70/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v70/constructors/keyboardButtonRequestPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/keyboardButtonRow.md b/old_docs/API_docs_v70/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/old_docs/API_docs_v70/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v70/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/old_docs/API_docs_v70/constructors/keyboardButtonSwitchInline.md b/old_docs/API_docs_v70/constructors/keyboardButtonSwitchInline.md index 463c473c..52dc897a 100644 --- a/old_docs/API_docs_v70/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v70/constructors/keyboardButtonSwitchInline.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => 'string', 'query' => 'string']; ``` @@ -34,10 +34,9 @@ $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=Bool, text='string', query='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/keyboardButtonUrl.md b/old_docs/API_docs_v70/constructors/keyboardButtonUrl.md index 709d4fa9..56b86f1c 100644 --- a/old_docs/API_docs_v70/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v70/constructors/keyboardButtonUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` @@ -33,10 +33,9 @@ $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonUrl={_='keyboardButtonUrl', text='string', url='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/labeledPrice.md b/old_docs/API_docs_v70/constructors/labeledPrice.md index 22e91c77..d54f53f5 100644 --- a/old_docs/API_docs_v70/constructors/labeledPrice.md +++ b/old_docs/API_docs_v70/constructors/labeledPrice.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` @@ -33,10 +33,9 @@ $labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua labeledPrice={_='labeledPrice', label='string', amount=long} ``` diff --git a/old_docs/API_docs_v70/constructors/langPackDifference.md b/old_docs/API_docs_v70/constructors/langPackDifference.md index 59f57e24..c31de915 100644 --- a/old_docs/API_docs_v70/constructors/langPackDifference.md +++ b/old_docs/API_docs_v70/constructors/langPackDifference.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackDifference = ['_' => 'langPackDifference', 'lang_code' => 'string', 'from_version' => int, 'version' => int, 'strings' => [LangPackString, LangPackString]]; ``` @@ -35,10 +35,9 @@ $langPackDifference = ['_' => 'langPackDifference', 'lang_code' => 'string', 'fr ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackDifference={_='langPackDifference', lang_code='string', from_version=int, version=int, strings={LangPackString}} ``` diff --git a/old_docs/API_docs_v70/constructors/langPackLanguage.md b/old_docs/API_docs_v70/constructors/langPackLanguage.md index a72465ca..51a8486c 100644 --- a/old_docs/API_docs_v70/constructors/langPackLanguage.md +++ b/old_docs/API_docs_v70/constructors/langPackLanguage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackLanguage = ['_' => 'langPackLanguage', 'name' => 'string', 'native_name' => 'string', 'lang_code' => 'string']; ``` @@ -34,10 +34,9 @@ $langPackLanguage = ['_' => 'langPackLanguage', 'name' => 'string', 'native_name ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackLanguage={_='langPackLanguage', name='string', native_name='string', lang_code='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/langPackString.md b/old_docs/API_docs_v70/constructors/langPackString.md index 4034f228..35d7d117 100644 --- a/old_docs/API_docs_v70/constructors/langPackString.md +++ b/old_docs/API_docs_v70/constructors/langPackString.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackString = ['_' => 'langPackString', 'key' => 'string', 'value' => 'string']; ``` @@ -33,10 +33,9 @@ $langPackString = ['_' => 'langPackString', 'key' => 'string', 'value' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackString={_='langPackString', key='string', value='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/langPackStringDeleted.md b/old_docs/API_docs_v70/constructors/langPackStringDeleted.md index 3da641bb..c23ce8f8 100644 --- a/old_docs/API_docs_v70/constructors/langPackStringDeleted.md +++ b/old_docs/API_docs_v70/constructors/langPackStringDeleted.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackStringDeleted = ['_' => 'langPackStringDeleted', 'key' => 'string']; ``` @@ -32,10 +32,9 @@ $langPackStringDeleted = ['_' => 'langPackStringDeleted', 'key' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackStringDeleted={_='langPackStringDeleted', key='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/langPackStringPluralized.md b/old_docs/API_docs_v70/constructors/langPackStringPluralized.md index 92b0b356..37225b53 100644 --- a/old_docs/API_docs_v70/constructors/langPackStringPluralized.md +++ b/old_docs/API_docs_v70/constructors/langPackStringPluralized.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => 'string', 'zero_value' => 'string', 'one_value' => 'string', 'two_value' => 'string', 'few_value' => 'string', 'many_value' => 'string', 'other_value' => 'string']; ``` @@ -38,10 +38,9 @@ $langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackStringPluralized={_='langPackStringPluralized', key='string', zero_value='string', one_value='string', two_value='string', few_value='string', many_value='string', other_value='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/maskCoords.md b/old_docs/API_docs_v70/constructors/maskCoords.md index 21b9ad78..2d393f3a 100644 --- a/old_docs/API_docs_v70/constructors/maskCoords.md +++ b/old_docs/API_docs_v70/constructors/maskCoords.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double]; ``` @@ -35,10 +35,9 @@ $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'z ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua maskCoords={_='maskCoords', n=int, x=double, y=double, zoom=double} ``` diff --git a/old_docs/API_docs_v70/constructors/message.md b/old_docs/API_docs_v70/constructors/message.md index aed48527..b7997777 100644 --- a/old_docs/API_docs_v70/constructors/message.md +++ b/old_docs/API_docs_v70/constructors/message.md @@ -39,7 +39,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'views' => int, 'edit_date' => int, 'post_author' => 'string']; ``` @@ -50,10 +50,9 @@ $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int, post_author='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v70/constructors/messageActionChannelCreate.md index b1750d73..2600ab63 100644 --- a/old_docs/API_docs_v70/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v70/constructors/messageActionChannelCreate.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v70/constructors/messageActionChannelMigrateFrom.md index add136dc..1fdcf3f4 100644 --- a/old_docs/API_docs_v70/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v70/constructors/messageActionChannelMigrateFrom.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 't ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v70/constructors/messageActionChatAddUser.md index 9c7de7f8..283365cd 100644 --- a/old_docs/API_docs_v70/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v70/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', users={int}} ``` diff --git a/old_docs/API_docs_v70/constructors/messageActionChatCreate.md b/old_docs/API_docs_v70/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v70/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v70/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v70/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v70/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v70/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v70/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v70/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v70/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v70/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v70/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v70/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v70/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v70/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v70/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v70/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v70/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v70/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v70/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/old_docs/API_docs_v70/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v70/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v70/constructors/messageActionChatMigrateTo.md index 21d2cb22..8ace1091 100644 --- a/old_docs/API_docs_v70/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v70/constructors/messageActionChatMigrateTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messageActionEmpty.md b/old_docs/API_docs_v70/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v70/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v70/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/messageActionGameScore.md b/old_docs/API_docs_v70/constructors/messageActionGameScore.md index 7a459a3d..c0086b66 100644 --- a/old_docs/API_docs_v70/constructors/messageActionGameScore.md +++ b/old_docs/API_docs_v70/constructors/messageActionGameScore.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int]; ``` @@ -33,10 +33,9 @@ $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionGameScore={_='messageActionGameScore', game_id=long, score=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messageActionHistoryClear.md b/old_docs/API_docs_v70/constructors/messageActionHistoryClear.md index 8b8dcc9d..90875cf6 100644 --- a/old_docs/API_docs_v70/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v70/constructors/messageActionHistoryClear.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` @@ -27,10 +27,9 @@ $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionHistoryClear={_='messageActionHistoryClear'} ``` diff --git a/old_docs/API_docs_v70/constructors/messageActionPaymentSent.md b/old_docs/API_docs_v70/constructors/messageActionPaymentSent.md index b224a125..a5c83837 100644 --- a/old_docs/API_docs_v70/constructors/messageActionPaymentSent.md +++ b/old_docs/API_docs_v70/constructors/messageActionPaymentSent.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 'string', 'total_amount' => long]; ``` @@ -33,10 +33,9 @@ $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPaymentSent={_='messageActionPaymentSent', currency='string', total_amount=long} ``` diff --git a/old_docs/API_docs_v70/constructors/messageActionPaymentSentMe.md b/old_docs/API_docs_v70/constructors/messageActionPaymentSentMe.md index f21ccce0..b1a61d01 100644 --- a/old_docs/API_docs_v70/constructors/messageActionPaymentSentMe.md +++ b/old_docs/API_docs_v70/constructors/messageActionPaymentSentMe.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' => 'string', 'total_amount' => long, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'charge' => PaymentCharge]; ``` @@ -37,10 +37,9 @@ $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPaymentSentMe={_='messageActionPaymentSentMe', currency='string', total_amount=long, payload='bytes', info=PaymentRequestedInfo, shipping_option_id='string', charge=PaymentCharge} ``` diff --git a/old_docs/API_docs_v70/constructors/messageActionPhoneCall.md b/old_docs/API_docs_v70/constructors/messageActionPhoneCall.md index f2f3eb4f..18a6c687 100644 --- a/old_docs/API_docs_v70/constructors/messageActionPhoneCall.md +++ b/old_docs/API_docs_v70/constructors/messageActionPhoneCall.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` @@ -34,10 +34,9 @@ $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPhoneCall={_='messageActionPhoneCall', call_id=long, reason=PhoneCallDiscardReason, duration=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messageActionPinMessage.md b/old_docs/API_docs_v70/constructors/messageActionPinMessage.md index ffa41746..be763787 100644 --- a/old_docs/API_docs_v70/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v70/constructors/messageActionPinMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` @@ -27,10 +27,9 @@ $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/old_docs/API_docs_v70/constructors/messageActionScreenshotTaken.md b/old_docs/API_docs_v70/constructors/messageActionScreenshotTaken.md index f86b1746..cbe504c6 100644 --- a/old_docs/API_docs_v70/constructors/messageActionScreenshotTaken.md +++ b/old_docs/API_docs_v70/constructors/messageActionScreenshotTaken.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionScreenshotTaken = ['_' => 'messageActionScreenshotTaken']; ``` @@ -27,10 +27,9 @@ $messageActionScreenshotTaken = ['_' => 'messageActionScreenshotTaken']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionScreenshotTaken={_='messageActionScreenshotTaken'} ``` diff --git a/old_docs/API_docs_v70/constructors/messageEmpty.md b/old_docs/API_docs_v70/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v70/constructors/messageEmpty.md +++ b/old_docs/API_docs_v70/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messageEntityBold.md b/old_docs/API_docs_v70/constructors/messageEntityBold.md index 950699fb..90f74ad5 100644 --- a/old_docs/API_docs_v70/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v70/constructors/messageEntityBold.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v70/constructors/messageEntityBotCommand.md index 8be471d3..9fb8f6a6 100644 --- a/old_docs/API_docs_v70/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v70/constructors/messageEntityBotCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messageEntityCode.md b/old_docs/API_docs_v70/constructors/messageEntityCode.md index 7c701844..d236e57e 100644 --- a/old_docs/API_docs_v70/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v70/constructors/messageEntityCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messageEntityEmail.md b/old_docs/API_docs_v70/constructors/messageEntityEmail.md index 35a968c7..74e910f3 100644 --- a/old_docs/API_docs_v70/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v70/constructors/messageEntityEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messageEntityHashtag.md b/old_docs/API_docs_v70/constructors/messageEntityHashtag.md index 6b124e73..77e29387 100644 --- a/old_docs/API_docs_v70/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v70/constructors/messageEntityHashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messageEntityItalic.md b/old_docs/API_docs_v70/constructors/messageEntityItalic.md index 25f73428..5975bae2 100644 --- a/old_docs/API_docs_v70/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v70/constructors/messageEntityItalic.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messageEntityMention.md b/old_docs/API_docs_v70/constructors/messageEntityMention.md index 9eb4d266..1a21cb10 100644 --- a/old_docs/API_docs_v70/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v70/constructors/messageEntityMention.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messageEntityMentionName.md b/old_docs/API_docs_v70/constructors/messageEntityMentionName.md index b546570b..0fe142c5 100644 --- a/old_docs/API_docs_v70/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v70/constructors/messageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int]; ``` @@ -34,10 +34,9 @@ $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messageEntityPre.md b/old_docs/API_docs_v70/constructors/messageEntityPre.md index abfc9136..13b165fe 100644 --- a/old_docs/API_docs_v70/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v70/constructors/messageEntityPre.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPre={_='messageEntityPre', offset=int, length=int, language='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v70/constructors/messageEntityTextUrl.md index 91f6d36c..b6d82843 100644 --- a/old_docs/API_docs_v70/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v70/constructors/messageEntityTextUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/messageEntityUnknown.md b/old_docs/API_docs_v70/constructors/messageEntityUnknown.md index 69ca8a1b..4c434fd7 100644 --- a/old_docs/API_docs_v70/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v70/constructors/messageEntityUnknown.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messageEntityUrl.md b/old_docs/API_docs_v70/constructors/messageEntityUrl.md index 377c3dda..2cf334a5 100644 --- a/old_docs/API_docs_v70/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v70/constructors/messageEntityUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messageFwdHeader.md b/old_docs/API_docs_v70/constructors/messageFwdHeader.md index 7c089549..78c54ac3 100644 --- a/old_docs/API_docs_v70/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v70/constructors/messageFwdHeader.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, 'post_author' => 'string']; ``` @@ -36,10 +36,9 @@ $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int, post_author='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/messageMediaContact.md b/old_docs/API_docs_v70/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v70/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v70/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messageMediaDocument.md b/old_docs/API_docs_v70/constructors/messageMediaDocument.md index 18ae1020..4c486785 100644 --- a/old_docs/API_docs_v70/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v70/constructors/messageMediaDocument.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document, caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messageMediaEmpty.md b/old_docs/API_docs_v70/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v70/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v70/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/messageMediaGame.md b/old_docs/API_docs_v70/constructors/messageMediaGame.md index e97b2bd1..980dbbcc 100644 --- a/old_docs/API_docs_v70/constructors/messageMediaGame.md +++ b/old_docs/API_docs_v70/constructors/messageMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` @@ -32,10 +32,9 @@ $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGame={_='messageMediaGame', game=Game} ``` diff --git a/old_docs/API_docs_v70/constructors/messageMediaGeo.md b/old_docs/API_docs_v70/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v70/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v70/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v70/constructors/messageMediaInvoice.md b/old_docs/API_docs_v70/constructors/messageMediaInvoice.md index dff83700..e7514d50 100644 --- a/old_docs/API_docs_v70/constructors/messageMediaInvoice.md +++ b/old_docs/API_docs_v70/constructors/messageMediaInvoice.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requested' => Bool, 'test' => Bool, 'title' => 'string', 'description' => 'string', 'photo' => WebDocument, 'receipt_msg_id' => int, 'currency' => 'string', 'total_amount' => long, 'start_param' => 'string']; ``` @@ -40,10 +40,9 @@ $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requeste ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaInvoice={_='messageMediaInvoice', shipping_address_requested=Bool, test=Bool, title='string', description='string', photo=WebDocument, receipt_msg_id=int, currency='string', total_amount=long, start_param='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/messageMediaPhoto.md b/old_docs/API_docs_v70/constructors/messageMediaPhoto.md index 4fa78685..2c7d687d 100644 --- a/old_docs/API_docs_v70/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v70/constructors/messageMediaPhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v70/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v70/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v70/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v70/constructors/messageMediaVenue.md b/old_docs/API_docs_v70/constructors/messageMediaVenue.md index 2db2d25d..2ef2b27f 100644 --- a/old_docs/API_docs_v70/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v70/constructors/messageMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/messageMediaWebPage.md b/old_docs/API_docs_v70/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v70/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v70/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v70/constructors/messageRange.md b/old_docs/API_docs_v70/constructors/messageRange.md index 40c3f81a..527e8646 100644 --- a/old_docs/API_docs_v70/constructors/messageRange.md +++ b/old_docs/API_docs_v70/constructors/messageRange.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageRange={_='messageRange', min_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messageService.md b/old_docs/API_docs_v70/constructors/messageService.md index 8f47e32f..f9946e72 100644 --- a/old_docs/API_docs_v70/constructors/messageService.md +++ b/old_docs/API_docs_v70/constructors/messageService.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction]; ``` @@ -42,10 +42,9 @@ $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_affectedHistory.md b/old_docs/API_docs_v70/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v70/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v70/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_affectedMessages.md b/old_docs/API_docs_v70/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v70/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v70/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_allStickers.md b/old_docs/API_docs_v70/constructors/messages_allStickers.md index 2a7d1313..45a66ddf 100644 --- a/old_docs/API_docs_v70/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v70/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v70/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v70/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v70/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_archivedStickers.md b/old_docs/API_docs_v70/constructors/messages_archivedStickers.md index 458c74b9..639d174b 100644 --- a/old_docs/API_docs_v70/constructors/messages_archivedStickers.md +++ b/old_docs/API_docs_v70/constructors/messages_archivedStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -33,10 +33,9 @@ $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v70/constructors/messages_botCallbackAnswer.md index 90095d01..41b90b45 100644 --- a/old_docs/API_docs_v70/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v70/constructors/messages_botCallbackAnswer.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; ``` @@ -36,10 +36,9 @@ $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_botResults.md b/old_docs/API_docs_v70/constructors/messages_botResults.md index bec3e32a..cb2b295c 100644 --- a/old_docs/API_docs_v70/constructors/messages_botResults.md +++ b/old_docs/API_docs_v70/constructors/messages_botResults.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int]; ``` @@ -37,10 +37,9 @@ $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_channelMessages.md b/old_docs/API_docs_v70/constructors/messages_channelMessages.md index 43f4cdc6..0da0608d 100644 --- a/old_docs/API_docs_v70/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v70/constructors/messages_channelMessages.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'c ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_chatFull.md b/old_docs/API_docs_v70/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v70/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v70/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_chats.md b/old_docs/API_docs_v70/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v70/constructors/messages_chats.md +++ b/old_docs/API_docs_v70/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_chatsSlice.md b/old_docs/API_docs_v70/constructors/messages_chatsSlice.md index 83905f64..d6a204d4 100644 --- a/old_docs/API_docs_v70/constructors/messages_chatsSlice.md +++ b/old_docs/API_docs_v70/constructors/messages_chatsSlice.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; ``` @@ -33,10 +33,9 @@ $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_dhConfig.md b/old_docs/API_docs_v70/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v70/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v70/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v70/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v70/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v70/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_dialogs.md b/old_docs/API_docs_v70/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v70/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v70/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v70/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v70/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v70/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_featuredStickers.md b/old_docs/API_docs_v70/constructors/messages_featuredStickers.md index 0ec8be8b..f40ec583 100644 --- a/old_docs/API_docs_v70/constructors/messages_featuredStickers.md +++ b/old_docs/API_docs_v70/constructors/messages_featuredStickers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; ``` @@ -34,10 +34,9 @@ $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v70/constructors/messages_featuredStickersNotModified.md index 87d2e6c7..3457ff96 100644 --- a/old_docs/API_docs_v70/constructors/messages_featuredStickersNotModified.md +++ b/old_docs/API_docs_v70/constructors/messages_featuredStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotMod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_foundGifs.md b/old_docs/API_docs_v70/constructors/messages_foundGifs.md index f86a9fed..4d513264 100644 --- a/old_docs/API_docs_v70/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v70/constructors/messages_foundGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; ``` @@ -33,10 +33,9 @@ $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'resul ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_highScores.md b/old_docs/API_docs_v70/constructors/messages_highScores.md index 1af58a14..08692c07 100644 --- a/old_docs/API_docs_v70/constructors/messages_highScores.md +++ b/old_docs/API_docs_v70/constructors/messages_highScores.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, Hi ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_messageEditData.md b/old_docs/API_docs_v70/constructors/messages_messageEditData.md index aee6e179..fe0f3ab3 100644 --- a/old_docs/API_docs_v70/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v70/constructors/messages_messageEditData.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` @@ -32,10 +32,9 @@ $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messageEditData={_='messages.messageEditData', caption=Bool} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_messages.md b/old_docs/API_docs_v70/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v70/constructors/messages_messages.md +++ b/old_docs/API_docs_v70/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_messagesSlice.md b/old_docs/API_docs_v70/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v70/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v70/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_peerDialogs.md b/old_docs/API_docs_v70/constructors/messages_peerDialogs.md index 93601b21..60aa48e6 100644 --- a/old_docs/API_docs_v70/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v70/constructors/messages_peerDialogs.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -36,10 +36,9 @@ $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Di ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_recentStickers.md b/old_docs/API_docs_v70/constructors/messages_recentStickers.md index b2ea1fa7..47a5c591 100644 --- a/old_docs/API_docs_v70/constructors/messages_recentStickers.md +++ b/old_docs/API_docs_v70/constructors/messages_recentStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v70/constructors/messages_recentStickersNotModified.md index 9bf964da..c3c4f654 100644 --- a/old_docs/API_docs_v70/constructors/messages_recentStickersNotModified.md +++ b/old_docs/API_docs_v70/constructors/messages_recentStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModifie ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickersNotModified={_='messages.recentStickersNotModified'} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_savedGifs.md b/old_docs/API_docs_v70/constructors/messages_savedGifs.md index 4a254ab5..ae7e595f 100644 --- a/old_docs/API_docs_v70/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v70/constructors/messages_savedGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Do ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v70/constructors/messages_savedGifsNotModified.md index 65c17d0c..ef0db669 100644 --- a/old_docs/API_docs_v70/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v70/constructors/messages_savedGifsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` @@ -27,10 +27,9 @@ $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifsNotModified={_='messages.savedGifsNotModified'} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v70/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v70/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v70/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v70/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v70/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v70/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_stickerSet.md b/old_docs/API_docs_v70/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/old_docs/API_docs_v70/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v70/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v70/constructors/messages_stickerSetInstallResultArchive.md index 2f66cfa0..f43e11c0 100644 --- a/old_docs/API_docs_v70/constructors/messages_stickerSetInstallResultArchive.md +++ b/old_docs/API_docs_v70/constructors/messages_stickerSetInstallResultArchive.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -32,10 +32,9 @@ $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v70/constructors/messages_stickerSetInstallResultSuccess.md index ef5752a2..bb6b00f3 100644 --- a/old_docs/API_docs_v70/constructors/messages_stickerSetInstallResultSuccess.md +++ b/old_docs/API_docs_v70/constructors/messages_stickerSetInstallResultSuccess.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; ``` @@ -27,10 +27,9 @@ $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_stickers.md b/old_docs/API_docs_v70/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v70/constructors/messages_stickers.md +++ b/old_docs/API_docs_v70/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v70/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v70/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v70/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v70/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v70/constructors/msg_detailed_info.md b/old_docs/API_docs_v70/constructors/msg_detailed_info.md index 22a4fdb0..238ea35d 100644 --- a/old_docs/API_docs_v70/constructors/msg_detailed_info.md +++ b/old_docs/API_docs_v70/constructors/msg_detailed_info.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_id' => long, 'bytes' => int, 'status' => int]; ``` @@ -35,10 +35,9 @@ $msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_detailed_info={_='msg_detailed_info', msg_id=long, answer_msg_id=long, bytes=int, status=int} ``` diff --git a/old_docs/API_docs_v70/constructors/msg_new_detailed_info.md b/old_docs/API_docs_v70/constructors/msg_new_detailed_info.md index fc671bb9..6e4ad249 100644 --- a/old_docs/API_docs_v70/constructors/msg_new_detailed_info.md +++ b/old_docs/API_docs_v70/constructors/msg_new_detailed_info.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => long, 'bytes' => int, 'status' => int]; ``` @@ -34,10 +34,9 @@ $msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_new_detailed_info={_='msg_new_detailed_info', answer_msg_id=long, bytes=int, status=int} ``` diff --git a/old_docs/API_docs_v70/constructors/msg_resend_req.md b/old_docs/API_docs_v70/constructors/msg_resend_req.md index 3ae86dfc..d9de1768 100644 --- a/old_docs/API_docs_v70/constructors/msg_resend_req.md +++ b/old_docs/API_docs_v70/constructors/msg_resend_req.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long, long]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_resend_req={_='msg_resend_req', msg_ids={long}} ``` diff --git a/old_docs/API_docs_v70/constructors/msgs_ack.md b/old_docs/API_docs_v70/constructors/msgs_ack.md index 83c78c01..78b0bed6 100644 --- a/old_docs/API_docs_v70/constructors/msgs_ack.md +++ b/old_docs/API_docs_v70/constructors/msgs_ack.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long, long]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_ack={_='msgs_ack', msg_ids={long}} ``` diff --git a/old_docs/API_docs_v70/constructors/msgs_all_info.md b/old_docs/API_docs_v70/constructors/msgs_all_info.md index f4be85aa..063eb59d 100644 --- a/old_docs/API_docs_v70/constructors/msgs_all_info.md +++ b/old_docs/API_docs_v70/constructors/msgs_all_info.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long, long], 'info' => 'string']; ``` @@ -33,10 +33,9 @@ $msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long, long], 'info' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_all_info={_='msgs_all_info', msg_ids={long}, info='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/msgs_state_info.md b/old_docs/API_docs_v70/constructors/msgs_state_info.md index a1157206..04f1c818 100644 --- a/old_docs/API_docs_v70/constructors/msgs_state_info.md +++ b/old_docs/API_docs_v70/constructors/msgs_state_info.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => 'string']; ``` @@ -33,10 +33,9 @@ $msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_state_info={_='msgs_state_info', req_msg_id=long, info='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/msgs_state_req.md b/old_docs/API_docs_v70/constructors/msgs_state_req.md index ede2520f..feedf3d3 100644 --- a/old_docs/API_docs_v70/constructors/msgs_state_req.md +++ b/old_docs/API_docs_v70/constructors/msgs_state_req.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long, long]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_state_req={_='msgs_state_req', msg_ids={long}} ``` diff --git a/old_docs/API_docs_v70/constructors/nearestDc.md b/old_docs/API_docs_v70/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v70/constructors/nearestDc.md +++ b/old_docs/API_docs_v70/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v70/constructors/new_session_created.md b/old_docs/API_docs_v70/constructors/new_session_created.md index b917ad59..aa443caa 100644 --- a/old_docs/API_docs_v70/constructors/new_session_created.md +++ b/old_docs/API_docs_v70/constructors/new_session_created.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'unique_id' => long, 'server_salt' => long]; ``` @@ -34,10 +34,9 @@ $new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'u ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua new_session_created={_='new_session_created', first_msg_id=long, unique_id=long, server_salt=long} ``` diff --git a/old_docs/API_docs_v70/constructors/notifyAll.md b/old_docs/API_docs_v70/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v70/constructors/notifyAll.md +++ b/old_docs/API_docs_v70/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v70/constructors/notifyChats.md b/old_docs/API_docs_v70/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v70/constructors/notifyChats.md +++ b/old_docs/API_docs_v70/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v70/constructors/notifyPeer.md b/old_docs/API_docs_v70/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v70/constructors/notifyPeer.md +++ b/old_docs/API_docs_v70/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v70/constructors/notifyUsers.md b/old_docs/API_docs_v70/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v70/constructors/notifyUsers.md +++ b/old_docs/API_docs_v70/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v70/constructors/p_q_inner_data.md b/old_docs/API_docs_v70/constructors/p_q_inner_data.md index 9a05a5ec..3c4f16f5 100644 --- a/old_docs/API_docs_v70/constructors/p_q_inner_data.md +++ b/old_docs/API_docs_v70/constructors/p_q_inner_data.md @@ -28,7 +28,7 @@ PQ inner data ### Example: -``` +```php $p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => 'string', 'p' => 'string', 'q' => 'string', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256]; ``` @@ -39,10 +39,9 @@ $p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => 'string', 'p' => 'string', ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua p_q_inner_data={_='p_q_inner_data', pq='string', p='string', q='string', nonce=int128, server_nonce=int128, new_nonce=int256} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockAnchor.md b/old_docs/API_docs_v70/constructors/pageBlockAnchor.md index af7f7c2b..5a5757fb 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockAnchor.md +++ b/old_docs/API_docs_v70/constructors/pageBlockAnchor.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` @@ -32,10 +32,9 @@ $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAnchor={_='pageBlockAnchor', name='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockAudio.md b/old_docs/API_docs_v70/constructors/pageBlockAudio.md index 5a7b97c0..af68cf19 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockAudio.md +++ b/old_docs/API_docs_v70/constructors/pageBlockAudio.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAudio = ['_' => 'pageBlockAudio', 'audio_id' => long, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockAudio = ['_' => 'pageBlockAudio', 'audio_id' => long, 'caption' => Ric ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAudio={_='pageBlockAudio', audio_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockAuthorDate.md b/old_docs/API_docs_v70/constructors/pageBlockAuthorDate.md index 4f746156..03daab4b 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockAuthorDate.md +++ b/old_docs/API_docs_v70/constructors/pageBlockAuthorDate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int]; ``` @@ -33,10 +33,9 @@ $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'pub ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAuthorDate={_='pageBlockAuthorDate', author=RichText, published_date=int} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockBlockquote.md b/old_docs/API_docs_v70/constructors/pageBlockBlockquote.md index f78ad5bd..c34f378d 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockBlockquote.md +++ b/old_docs/API_docs_v70/constructors/pageBlockBlockquote.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'capti ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockBlockquote={_='pageBlockBlockquote', text=RichText, caption=RichText} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockChannel.md b/old_docs/API_docs_v70/constructors/pageBlockChannel.md index 6cd78457..95ddd37b 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockChannel.md +++ b/old_docs/API_docs_v70/constructors/pageBlockChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat]; ``` @@ -32,10 +32,9 @@ $pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockChannel={_='pageBlockChannel', channel=Chat} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockCollage.md b/old_docs/API_docs_v70/constructors/pageBlockCollage.md index 45bdee72..beaf8ba2 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockCollage.md +++ b/old_docs/API_docs_v70/constructors/pageBlockCollage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock, PageBlock ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockCollage={_='pageBlockCollage', items={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockCover.md b/old_docs/API_docs_v70/constructors/pageBlockCover.md index 8e8db49e..8c96a1af 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockCover.md +++ b/old_docs/API_docs_v70/constructors/pageBlockCover.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` @@ -32,10 +32,9 @@ $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockCover={_='pageBlockCover', cover=PageBlock} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockDivider.md b/old_docs/API_docs_v70/constructors/pageBlockDivider.md index 5f444cce..ee3e75b7 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockDivider.md +++ b/old_docs/API_docs_v70/constructors/pageBlockDivider.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockDivider = ['_' => 'pageBlockDivider']; ``` @@ -27,10 +27,9 @@ $pageBlockDivider = ['_' => 'pageBlockDivider']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockDivider={_='pageBlockDivider'} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockEmbed.md b/old_docs/API_docs_v70/constructors/pageBlockEmbed.md index 3e508369..9c72b889 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockEmbed.md +++ b/old_docs/API_docs_v70/constructors/pageBlockEmbed.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => 'string', 'html' => 'string', 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText]; ``` @@ -39,10 +39,9 @@ $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolli ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockEmbed={_='pageBlockEmbed', full_width=Bool, allow_scrolling=Bool, url='string', html='string', poster_photo_id=long, w=int, h=int, caption=RichText} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockEmbedPost.md b/old_docs/API_docs_v70/constructors/pageBlockEmbedPost.md index 24c622e6..684952c1 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockEmbedPost.md +++ b/old_docs/API_docs_v70/constructors/pageBlockEmbedPost.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_id' => long, 'author_photo_id' => long, 'author' => 'string', 'date' => int, 'blocks' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -38,10 +38,9 @@ $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockEmbedPost={_='pageBlockEmbedPost', url='string', webpage_id=long, author_photo_id=long, author='string', date=int, blocks={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockFooter.md b/old_docs/API_docs_v70/constructors/pageBlockFooter.md index 3caeb971..e467eb94 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockFooter.md +++ b/old_docs/API_docs_v70/constructors/pageBlockFooter.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockFooter={_='pageBlockFooter', text=RichText} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockHeader.md b/old_docs/API_docs_v70/constructors/pageBlockHeader.md index 950037d0..761196e1 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockHeader.md +++ b/old_docs/API_docs_v70/constructors/pageBlockHeader.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockHeader={_='pageBlockHeader', text=RichText} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockList.md b/old_docs/API_docs_v70/constructors/pageBlockList.md index 37371b18..f841cf2f 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockList.md +++ b/old_docs/API_docs_v70/constructors/pageBlockList.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText, RichText]]; ``` @@ -33,10 +33,9 @@ $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichTex ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockList={_='pageBlockList', ordered=Bool, items={RichText}} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockParagraph.md b/old_docs/API_docs_v70/constructors/pageBlockParagraph.md index 6b22950e..897a7870 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockParagraph.md +++ b/old_docs/API_docs_v70/constructors/pageBlockParagraph.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockParagraph={_='pageBlockParagraph', text=RichText} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockPhoto.md b/old_docs/API_docs_v70/constructors/pageBlockPhoto.md index e80e16f4..470dbc15 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockPhoto.md +++ b/old_docs/API_docs_v70/constructors/pageBlockPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => Ric ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPhoto={_='pageBlockPhoto', photo_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockPreformatted.md b/old_docs/API_docs_v70/constructors/pageBlockPreformatted.md index 49cb8b08..bd505a25 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockPreformatted.md +++ b/old_docs/API_docs_v70/constructors/pageBlockPreformatted.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => 'string']; ``` @@ -33,10 +33,9 @@ $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPreformatted={_='pageBlockPreformatted', text=RichText, language='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockPullquote.md b/old_docs/API_docs_v70/constructors/pageBlockPullquote.md index d73389da..744215e3 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockPullquote.md +++ b/old_docs/API_docs_v70/constructors/pageBlockPullquote.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPullquote={_='pageBlockPullquote', text=RichText, caption=RichText} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockSlideshow.md b/old_docs/API_docs_v70/constructors/pageBlockSlideshow.md index d855e4d8..4a827931 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockSlideshow.md +++ b/old_docs/API_docs_v70/constructors/pageBlockSlideshow.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock, PageB ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSlideshow={_='pageBlockSlideshow', items={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockSubheader.md b/old_docs/API_docs_v70/constructors/pageBlockSubheader.md index 6b6a332e..094c5d2e 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockSubheader.md +++ b/old_docs/API_docs_v70/constructors/pageBlockSubheader.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSubheader={_='pageBlockSubheader', text=RichText} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockSubtitle.md b/old_docs/API_docs_v70/constructors/pageBlockSubtitle.md index 017112c2..6ad657c0 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockSubtitle.md +++ b/old_docs/API_docs_v70/constructors/pageBlockSubtitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSubtitle={_='pageBlockSubtitle', text=RichText} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockTitle.md b/old_docs/API_docs_v70/constructors/pageBlockTitle.md index 9dfe94d2..5c6d228b 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockTitle.md +++ b/old_docs/API_docs_v70/constructors/pageBlockTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockTitle={_='pageBlockTitle', text=RichText} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockUnsupported.md b/old_docs/API_docs_v70/constructors/pageBlockUnsupported.md index 8d127c6d..a0895079 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockUnsupported.md +++ b/old_docs/API_docs_v70/constructors/pageBlockUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` @@ -27,10 +27,9 @@ $pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockUnsupported={_='pageBlockUnsupported'} ``` diff --git a/old_docs/API_docs_v70/constructors/pageBlockVideo.md b/old_docs/API_docs_v70/constructors/pageBlockVideo.md index 03a04d1b..27c2ed6f 100644 --- a/old_docs/API_docs_v70/constructors/pageBlockVideo.md +++ b/old_docs/API_docs_v70/constructors/pageBlockVideo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText]; ``` @@ -35,10 +35,9 @@ $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockVideo={_='pageBlockVideo', autoplay=Bool, loop=Bool, video_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v70/constructors/pageFull.md b/old_docs/API_docs_v70/constructors/pageFull.md index 493f1403..40bae0d4 100644 --- a/old_docs/API_docs_v70/constructors/pageFull.md +++ b/old_docs/API_docs_v70/constructors/pageFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock, PageBlock], 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageFull={_='pageFull', blocks={PageBlock}, photos={Photo}, documents={Document}} ``` diff --git a/old_docs/API_docs_v70/constructors/pagePart.md b/old_docs/API_docs_v70/constructors/pagePart.md index 3e2261ef..430bd942 100644 --- a/old_docs/API_docs_v70/constructors/pagePart.md +++ b/old_docs/API_docs_v70/constructors/pagePart.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock, PageBlock], 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pagePart={_='pagePart', blocks={PageBlock}, photos={Photo}, documents={Document}} ``` diff --git a/old_docs/API_docs_v70/constructors/paymentCharge.md b/old_docs/API_docs_v70/constructors/paymentCharge.md index 83a0d433..56e8e040 100644 --- a/old_docs/API_docs_v70/constructors/paymentCharge.md +++ b/old_docs/API_docs_v70/constructors/paymentCharge.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' => 'string']; ``` @@ -33,10 +33,9 @@ $paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentCharge={_='paymentCharge', id='string', provider_charge_id='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/paymentRequestedInfo.md b/old_docs/API_docs_v70/constructors/paymentRequestedInfo.md index e4b6562a..767ec982 100644 --- a/old_docs/API_docs_v70/constructors/paymentRequestedInfo.md +++ b/old_docs/API_docs_v70/constructors/paymentRequestedInfo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'phone' => 'string', 'email' => 'string', 'shipping_address' => PostAddress]; ``` @@ -35,10 +35,9 @@ $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'pho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentRequestedInfo={_='paymentRequestedInfo', name='string', phone='string', email='string', shipping_address=PostAddress} ``` diff --git a/old_docs/API_docs_v70/constructors/paymentSavedCredentialsCard.md b/old_docs/API_docs_v70/constructors/paymentSavedCredentialsCard.md index 6fc4e934..43b2baf6 100644 --- a/old_docs/API_docs_v70/constructors/paymentSavedCredentialsCard.md +++ b/old_docs/API_docs_v70/constructors/paymentSavedCredentialsCard.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 'string', 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentSavedCredentialsCard={_='paymentSavedCredentialsCard', id='string', title='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/payments_paymentForm.md b/old_docs/API_docs_v70/constructors/payments_paymentForm.md index 74cca6f4..00d9349d 100644 --- a/old_docs/API_docs_v70/constructors/payments_paymentForm.md +++ b/old_docs/API_docs_v70/constructors/payments_paymentForm.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; ``` @@ -42,10 +42,9 @@ $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} ``` diff --git a/old_docs/API_docs_v70/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v70/constructors/payments_paymentReceipt.md index fdf741b4..068f5869 100644 --- a/old_docs/API_docs_v70/constructors/payments_paymentReceipt.md +++ b/old_docs/API_docs_v70/constructors/payments_paymentReceipt.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; ``` @@ -41,10 +41,9 @@ $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} ``` diff --git a/old_docs/API_docs_v70/constructors/payments_paymentResult.md b/old_docs/API_docs_v70/constructors/payments_paymentResult.md index 7ae00170..a5679a5f 100644 --- a/old_docs/API_docs_v70/constructors/payments_paymentResult.md +++ b/old_docs/API_docs_v70/constructors/payments_paymentResult.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; ``` @@ -32,10 +32,9 @@ $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentResult={_='payments.paymentResult', updates=Updates} ``` diff --git a/old_docs/API_docs_v70/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v70/constructors/payments_paymentVerficationNeeded.md index 4a3f8cdf..e4ca7a8e 100644 --- a/old_docs/API_docs_v70/constructors/payments_paymentVerficationNeeded.md +++ b/old_docs/API_docs_v70/constructors/payments_paymentVerficationNeeded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; ``` @@ -32,10 +32,9 @@ $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/payments_savedInfo.md b/old_docs/API_docs_v70/constructors/payments_savedInfo.md index 3daf671f..c81761c4 100644 --- a/old_docs/API_docs_v70/constructors/payments_savedInfo.md +++ b/old_docs/API_docs_v70/constructors/payments_savedInfo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; ``` @@ -33,10 +33,9 @@ $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} ``` diff --git a/old_docs/API_docs_v70/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v70/constructors/payments_validatedRequestedInfo.md index 676388b7..b84afd83 100644 --- a/old_docs/API_docs_v70/constructors/payments_validatedRequestedInfo.md +++ b/old_docs/API_docs_v70/constructors/payments_validatedRequestedInfo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; ``` @@ -33,10 +33,9 @@ $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} ``` diff --git a/old_docs/API_docs_v70/constructors/peerChannel.md b/old_docs/API_docs_v70/constructors/peerChannel.md index f30e3f41..360d5c42 100644 --- a/old_docs/API_docs_v70/constructors/peerChannel.md +++ b/old_docs/API_docs_v70/constructors/peerChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/peerChat.md b/old_docs/API_docs_v70/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v70/constructors/peerChat.md +++ b/old_docs/API_docs_v70/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v70/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v70/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v70/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v70/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v70/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v70/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v70/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/peerNotifySettings.md b/old_docs/API_docs_v70/constructors/peerNotifySettings.md index f011beb7..2007e4ee 100644 --- a/old_docs/API_docs_v70/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v70/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'si ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v70/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v70/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v70/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/peerSettings.md b/old_docs/API_docs_v70/constructors/peerSettings.md index 8f74bb50..2468fee4 100644 --- a/old_docs/API_docs_v70/constructors/peerSettings.md +++ b/old_docs/API_docs_v70/constructors/peerSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` @@ -32,10 +32,9 @@ $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerSettings={_='peerSettings', report_spam=Bool} ``` diff --git a/old_docs/API_docs_v70/constructors/peerUser.md b/old_docs/API_docs_v70/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v70/constructors/peerUser.md +++ b/old_docs/API_docs_v70/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/phoneCall.md b/old_docs/API_docs_v70/constructors/phoneCall.md index 8104b557..b233076d 100644 --- a/old_docs/API_docs_v70/constructors/phoneCall.md +++ b/old_docs/API_docs_v70/constructors/phoneCall.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, 'connection' => PhoneConnection, 'alternative_connections' => [PhoneConnection, PhoneConnection], 'start_date' => int]; ``` @@ -42,10 +42,9 @@ $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCall={_='phoneCall', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, connection=PhoneConnection, alternative_connections={PhoneConnection}, start_date=int} ``` diff --git a/old_docs/API_docs_v70/constructors/phoneCallAccepted.md b/old_docs/API_docs_v70/constructors/phoneCallAccepted.md index cae97485..80795514 100644 --- a/old_docs/API_docs_v70/constructors/phoneCallAccepted.md +++ b/old_docs/API_docs_v70/constructors/phoneCallAccepted.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` @@ -38,10 +38,9 @@ $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallAccepted={_='phoneCallAccepted', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_b='bytes', protocol=PhoneCallProtocol} ``` diff --git a/old_docs/API_docs_v70/constructors/phoneCallDiscardReasonBusy.md b/old_docs/API_docs_v70/constructors/phoneCallDiscardReasonBusy.md index 10d47acd..8912371f 100644 --- a/old_docs/API_docs_v70/constructors/phoneCallDiscardReasonBusy.md +++ b/old_docs/API_docs_v70/constructors/phoneCallDiscardReasonBusy.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonBusy={_='phoneCallDiscardReasonBusy'} ``` diff --git a/old_docs/API_docs_v70/constructors/phoneCallDiscardReasonDisconnect.md b/old_docs/API_docs_v70/constructors/phoneCallDiscardReasonDisconnect.md index b059c909..3a77aced 100644 --- a/old_docs/API_docs_v70/constructors/phoneCallDiscardReasonDisconnect.md +++ b/old_docs/API_docs_v70/constructors/phoneCallDiscardReasonDisconnect.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonDisconnect={_='phoneCallDiscardReasonDisconnect'} ``` diff --git a/old_docs/API_docs_v70/constructors/phoneCallDiscardReasonHangup.md b/old_docs/API_docs_v70/constructors/phoneCallDiscardReasonHangup.md index 8e6e311c..cac342da 100644 --- a/old_docs/API_docs_v70/constructors/phoneCallDiscardReasonHangup.md +++ b/old_docs/API_docs_v70/constructors/phoneCallDiscardReasonHangup.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonHangup={_='phoneCallDiscardReasonHangup'} ``` diff --git a/old_docs/API_docs_v70/constructors/phoneCallDiscardReasonMissed.md b/old_docs/API_docs_v70/constructors/phoneCallDiscardReasonMissed.md index b8199e88..e10648eb 100644 --- a/old_docs/API_docs_v70/constructors/phoneCallDiscardReasonMissed.md +++ b/old_docs/API_docs_v70/constructors/phoneCallDiscardReasonMissed.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonMissed={_='phoneCallDiscardReasonMissed'} ``` diff --git a/old_docs/API_docs_v70/constructors/phoneCallDiscarded.md b/old_docs/API_docs_v70/constructors/phoneCallDiscarded.md index 69fd1caa..e20027a5 100644 --- a/old_docs/API_docs_v70/constructors/phoneCallDiscarded.md +++ b/old_docs/API_docs_v70/constructors/phoneCallDiscarded.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` @@ -36,10 +36,9 @@ $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscarded={_='phoneCallDiscarded', need_rating=Bool, need_debug=Bool, id=long, reason=PhoneCallDiscardReason, duration=int} ``` diff --git a/old_docs/API_docs_v70/constructors/phoneCallEmpty.md b/old_docs/API_docs_v70/constructors/phoneCallEmpty.md index cfb8125b..a51f3ea2 100644 --- a/old_docs/API_docs_v70/constructors/phoneCallEmpty.md +++ b/old_docs/API_docs_v70/constructors/phoneCallEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallEmpty={_='phoneCallEmpty', id=long} ``` diff --git a/old_docs/API_docs_v70/constructors/phoneCallProtocol.md b/old_docs/API_docs_v70/constructors/phoneCallProtocol.md index 9f0e2eed..01574fa2 100644 --- a/old_docs/API_docs_v70/constructors/phoneCallProtocol.md +++ b/old_docs/API_docs_v70/constructors/phoneCallProtocol.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int]; ``` @@ -35,10 +35,9 @@ $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflec ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallProtocol={_='phoneCallProtocol', udp_p2p=Bool, udp_reflector=Bool, min_layer=int, max_layer=int} ``` diff --git a/old_docs/API_docs_v70/constructors/phoneCallRequested.md b/old_docs/API_docs_v70/constructors/phoneCallRequested.md index c96f398f..0465e0fb 100644 --- a/old_docs/API_docs_v70/constructors/phoneCallRequested.md +++ b/old_docs/API_docs_v70/constructors/phoneCallRequested.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` @@ -38,10 +38,9 @@ $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallRequested={_='phoneCallRequested', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_hash='bytes', protocol=PhoneCallProtocol} ``` diff --git a/old_docs/API_docs_v70/constructors/phoneCallWaiting.md b/old_docs/API_docs_v70/constructors/phoneCallWaiting.md index 8dcf8e30..9d9658c8 100644 --- a/old_docs/API_docs_v70/constructors/phoneCallWaiting.md +++ b/old_docs/API_docs_v70/constructors/phoneCallWaiting.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int]; ``` @@ -38,10 +38,9 @@ $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallWaiting={_='phoneCallWaiting', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, protocol=PhoneCallProtocol, receive_date=int} ``` diff --git a/old_docs/API_docs_v70/constructors/phoneConnection.md b/old_docs/API_docs_v70/constructors/phoneConnection.md index b117e12f..562975aa 100644 --- a/old_docs/API_docs_v70/constructors/phoneConnection.md +++ b/old_docs/API_docs_v70/constructors/phoneConnection.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'ipv6' => 'string', 'port' => int, 'peer_tag' => 'bytes']; ``` @@ -36,10 +36,9 @@ $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneConnection={_='phoneConnection', id=long, ip='string', ipv6='string', port=int, peer_tag='bytes'} ``` diff --git a/old_docs/API_docs_v70/constructors/phone_phoneCall.md b/old_docs/API_docs_v70/constructors/phone_phoneCall.md index 00c21143..58912b3f 100644 --- a/old_docs/API_docs_v70/constructors/phone_phoneCall.md +++ b/old_docs/API_docs_v70/constructors/phone_phoneCall.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} ``` diff --git a/old_docs/API_docs_v70/constructors/photo.md b/old_docs/API_docs_v70/constructors/photo.md index 0cad6364..980980f4 100644 --- a/old_docs/API_docs_v70/constructors/photo.md +++ b/old_docs/API_docs_v70/constructors/photo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -36,10 +36,9 @@ $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', has_stickers=Bool, id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v70/constructors/photoCachedSize.md b/old_docs/API_docs_v70/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v70/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v70/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v70/constructors/photoEmpty.md b/old_docs/API_docs_v70/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v70/constructors/photoEmpty.md +++ b/old_docs/API_docs_v70/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v70/constructors/photoSize.md b/old_docs/API_docs_v70/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v70/constructors/photoSize.md +++ b/old_docs/API_docs_v70/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v70/constructors/photoSizeEmpty.md b/old_docs/API_docs_v70/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v70/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v70/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/photos_photo.md b/old_docs/API_docs_v70/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v70/constructors/photos_photo.md +++ b/old_docs/API_docs_v70/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v70/constructors/photos_photos.md b/old_docs/API_docs_v70/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v70/constructors/photos_photos.md +++ b/old_docs/API_docs_v70/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v70/constructors/photos_photosSlice.md b/old_docs/API_docs_v70/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v70/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v70/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v70/constructors/pong.md b/old_docs/API_docs_v70/constructors/pong.md index ba5a4195..932940d8 100644 --- a/old_docs/API_docs_v70/constructors/pong.md +++ b/old_docs/API_docs_v70/constructors/pong.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long]; ``` @@ -33,10 +33,9 @@ $pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pong={_='pong', msg_id=long, ping_id=long} ``` diff --git a/old_docs/API_docs_v70/constructors/popularContact.md b/old_docs/API_docs_v70/constructors/popularContact.md index d7fdf7c9..fbdee8e3 100644 --- a/old_docs/API_docs_v70/constructors/popularContact.md +++ b/old_docs/API_docs_v70/constructors/popularContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $popularContact = ['_' => 'popularContact', 'client_id' => long, 'importers' => int]; ``` @@ -33,10 +33,9 @@ $popularContact = ['_' => 'popularContact', 'client_id' => long, 'importers' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua popularContact={_='popularContact', client_id=long, importers=int} ``` diff --git a/old_docs/API_docs_v70/constructors/postAddress.md b/old_docs/API_docs_v70/constructors/postAddress.md index 0bd47333..aa8080ec 100644 --- a/old_docs/API_docs_v70/constructors/postAddress.md +++ b/old_docs/API_docs_v70/constructors/postAddress.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' => 'string', 'city' => 'string', 'state' => 'string', 'country_iso2' => 'string', 'post_code' => 'string']; ``` @@ -37,10 +37,9 @@ $postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua postAddress={_='postAddress', street_line1='string', street_line2='string', city='string', state='string', country_iso2='string', post_code='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/privacyKeyChatInvite.md b/old_docs/API_docs_v70/constructors/privacyKeyChatInvite.md index cc6e39b6..44826e55 100644 --- a/old_docs/API_docs_v70/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v70/constructors/privacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v70/constructors/privacyKeyPhoneCall.md b/old_docs/API_docs_v70/constructors/privacyKeyPhoneCall.md index 2fe6db7d..fc38f6a4 100644 --- a/old_docs/API_docs_v70/constructors/privacyKeyPhoneCall.md +++ b/old_docs/API_docs_v70/constructors/privacyKeyPhoneCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` @@ -27,10 +27,9 @@ $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyPhoneCall={_='privacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v70/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v70/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v70/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v70/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v70/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v70/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v70/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v70/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v70/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v70/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v70/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v70/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v70/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v70/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v70/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v70/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v70/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v70/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v70/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v70/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v70/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v70/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v70/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v70/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v70/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v70/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v70/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v70/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v70/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v70/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/old_docs/API_docs_v70/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v70/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/replyInlineMarkup.md b/old_docs/API_docs_v70/constructors/replyInlineMarkup.md index 6d353569..6e481165 100644 --- a/old_docs/API_docs_v70/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v70/constructors/replyInlineMarkup.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -32,10 +32,9 @@ $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v70/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v70/constructors/replyKeyboardForceReply.md index 56e255c1..3f7fae8c 100644 --- a/old_docs/API_docs_v70/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v70/constructors/replyKeyboardForceReply.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` @@ -33,10 +33,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool} ``` diff --git a/old_docs/API_docs_v70/constructors/replyKeyboardHide.md b/old_docs/API_docs_v70/constructors/replyKeyboardHide.md index 7251db49..30e9f399 100644 --- a/old_docs/API_docs_v70/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v70/constructors/replyKeyboardHide.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` @@ -32,10 +32,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide', selective=Bool} ``` diff --git a/old_docs/API_docs_v70/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v70/constructors/replyKeyboardMarkup.md index 87a55463..80f3f654 100644 --- a/old_docs/API_docs_v70/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v70/constructors/replyKeyboardMarkup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -35,10 +35,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v70/constructors/resPQ.md b/old_docs/API_docs_v70/constructors/resPQ.md index d712cdd7..4f3e3874 100644 --- a/old_docs/API_docs_v70/constructors/resPQ.md +++ b/old_docs/API_docs_v70/constructors/resPQ.md @@ -26,7 +26,7 @@ Contains pq to factorize ### Example: -``` +```php $resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => 'string', 'server_public_key_fingerprints' => [long, long]]; ``` @@ -37,10 +37,9 @@ $resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua resPQ={_='resPQ', nonce=int128, server_nonce=int128, pq='string', server_public_key_fingerprints={long}} ``` diff --git a/old_docs/API_docs_v70/constructors/rpc_answer_dropped.md b/old_docs/API_docs_v70/constructors/rpc_answer_dropped.md index e05695b5..e41855e9 100644 --- a/old_docs/API_docs_v70/constructors/rpc_answer_dropped.md +++ b/old_docs/API_docs_v70/constructors/rpc_answer_dropped.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' => int, 'bytes' => int]; ``` @@ -34,10 +34,9 @@ $rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_answer_dropped={_='rpc_answer_dropped', msg_id=long, seq_no=int, bytes=int} ``` diff --git a/old_docs/API_docs_v70/constructors/rpc_answer_dropped_running.md b/old_docs/API_docs_v70/constructors/rpc_answer_dropped_running.md index b98a0cf0..675eea40 100644 --- a/old_docs/API_docs_v70/constructors/rpc_answer_dropped_running.md +++ b/old_docs/API_docs_v70/constructors/rpc_answer_dropped_running.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running']; ``` @@ -27,10 +27,9 @@ $rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_answer_dropped_running={_='rpc_answer_dropped_running'} ``` diff --git a/old_docs/API_docs_v70/constructors/rpc_answer_unknown.md b/old_docs/API_docs_v70/constructors/rpc_answer_unknown.md index f9f425cc..3f2d3c02 100644 --- a/old_docs/API_docs_v70/constructors/rpc_answer_unknown.md +++ b/old_docs/API_docs_v70/constructors/rpc_answer_unknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_answer_unknown = ['_' => 'rpc_answer_unknown']; ``` @@ -27,10 +27,9 @@ $rpc_answer_unknown = ['_' => 'rpc_answer_unknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_answer_unknown={_='rpc_answer_unknown'} ``` diff --git a/old_docs/API_docs_v70/constructors/rpc_error.md b/old_docs/API_docs_v70/constructors/rpc_error.md index 5d9c2e9e..5b40250d 100644 --- a/old_docs/API_docs_v70/constructors/rpc_error.md +++ b/old_docs/API_docs_v70/constructors/rpc_error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => 'string']; ``` @@ -33,10 +33,9 @@ $rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_error={_='rpc_error', error_code=int, error_message='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v70/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v70/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v70/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v70/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v70/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v70/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v70/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v70/constructors/sendMessageGamePlayAction.md b/old_docs/API_docs_v70/constructors/sendMessageGamePlayAction.md index 8238ea55..0c395c75 100644 --- a/old_docs/API_docs_v70/constructors/sendMessageGamePlayAction.md +++ b/old_docs/API_docs_v70/constructors/sendMessageGamePlayAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGamePlayAction={_='sendMessageGamePlayAction'} ``` diff --git a/old_docs/API_docs_v70/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v70/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v70/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v70/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v70/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v70/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v70/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v70/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v70/constructors/sendMessageRecordRoundAction.md b/old_docs/API_docs_v70/constructors/sendMessageRecordRoundAction.md index a388d0ec..30e71ae8 100644 --- a/old_docs/API_docs_v70/constructors/sendMessageRecordRoundAction.md +++ b/old_docs/API_docs_v70/constructors/sendMessageRecordRoundAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordRoundAction={_='sendMessageRecordRoundAction'} ``` diff --git a/old_docs/API_docs_v70/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v70/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v70/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v70/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v70/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v70/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v70/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v70/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v70/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v70/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/old_docs/API_docs_v70/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v70/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/old_docs/API_docs_v70/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v70/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/old_docs/API_docs_v70/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v70/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/old_docs/API_docs_v70/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v70/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/old_docs/API_docs_v70/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v70/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/old_docs/API_docs_v70/constructors/sendMessageUploadRoundAction.md b/old_docs/API_docs_v70/constructors/sendMessageUploadRoundAction.md index ffd14270..b101d308 100644 --- a/old_docs/API_docs_v70/constructors/sendMessageUploadRoundAction.md +++ b/old_docs/API_docs_v70/constructors/sendMessageUploadRoundAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadRoundAction={_='sendMessageUploadRoundAction', progress=int} ``` diff --git a/old_docs/API_docs_v70/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v70/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/old_docs/API_docs_v70/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v70/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/old_docs/API_docs_v70/constructors/server_DH_inner_data.md b/old_docs/API_docs_v70/constructors/server_DH_inner_data.md index 8130e1f8..2b442699 100644 --- a/old_docs/API_docs_v70/constructors/server_DH_inner_data.md +++ b/old_docs/API_docs_v70/constructors/server_DH_inner_data.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'g' => int, 'dh_prime' => 'string', 'g_a' => 'string', 'server_time' => int]; ``` @@ -37,10 +37,9 @@ $server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'serv ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua server_DH_inner_data={_='server_DH_inner_data', nonce=int128, server_nonce=int128, g=int, dh_prime='string', g_a='string', server_time=int} ``` diff --git a/old_docs/API_docs_v70/constructors/server_DH_params_fail.md b/old_docs/API_docs_v70/constructors/server_DH_params_fail.md index 24be7fad..d87ee6c1 100644 --- a/old_docs/API_docs_v70/constructors/server_DH_params_fail.md +++ b/old_docs/API_docs_v70/constructors/server_DH_params_fail.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash' => int128]; ``` @@ -34,10 +34,9 @@ $server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua server_DH_params_fail={_='server_DH_params_fail', nonce=int128, server_nonce=int128, new_nonce_hash=int128} ``` diff --git a/old_docs/API_docs_v70/constructors/server_DH_params_ok.md b/old_docs/API_docs_v70/constructors/server_DH_params_ok.md index 1876910b..6c296a39 100644 --- a/old_docs/API_docs_v70/constructors/server_DH_params_ok.md +++ b/old_docs/API_docs_v70/constructors/server_DH_params_ok.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server_nonce' => int128, 'encrypted_answer' => 'string']; ``` @@ -34,10 +34,9 @@ $server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua server_DH_params_ok={_='server_DH_params_ok', nonce=int128, server_nonce=int128, encrypted_answer='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/shippingOption.md b/old_docs/API_docs_v70/constructors/shippingOption.md index 6f0cbc4c..863fd128 100644 --- a/old_docs/API_docs_v70/constructors/shippingOption.md +++ b/old_docs/API_docs_v70/constructors/shippingOption.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string', 'prices' => [LabeledPrice, LabeledPrice]]; ``` @@ -34,10 +34,9 @@ $shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua shippingOption={_='shippingOption', id='string', title='string', prices={LabeledPrice}} ``` diff --git a/old_docs/API_docs_v70/constructors/stickerPack.md b/old_docs/API_docs_v70/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v70/constructors/stickerPack.md +++ b/old_docs/API_docs_v70/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v70/constructors/stickerSet.md b/old_docs/API_docs_v70/constructors/stickerSet.md index afa3b21f..059e4ae7 100644 --- a/old_docs/API_docs_v70/constructors/stickerSet.md +++ b/old_docs/API_docs_v70/constructors/stickerSet.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -41,10 +41,9 @@ $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'of ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', installed=Bool, archived=Bool, official=Bool, masks=Bool, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/old_docs/API_docs_v70/constructors/stickerSetCovered.md b/old_docs/API_docs_v70/constructors/stickerSetCovered.md index cc1c806e..127b821f 100644 --- a/old_docs/API_docs_v70/constructors/stickerSetCovered.md +++ b/old_docs/API_docs_v70/constructors/stickerSetCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document]; ``` @@ -33,10 +33,9 @@ $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetCovered={_='stickerSetCovered', set=StickerSet, cover=Document} ``` diff --git a/old_docs/API_docs_v70/constructors/stickerSetMultiCovered.md b/old_docs/API_docs_v70/constructors/stickerSetMultiCovered.md index 74d10e38..9fc0ad35 100644 --- a/old_docs/API_docs_v70/constructors/stickerSetMultiCovered.md +++ b/old_docs/API_docs_v70/constructors/stickerSetMultiCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetMultiCovered={_='stickerSetMultiCovered', set=StickerSet, covers={Document}} ``` diff --git a/old_docs/API_docs_v70/constructors/storage_fileGif.md b/old_docs/API_docs_v70/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v70/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v70/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v70/constructors/storage_fileJpeg.md b/old_docs/API_docs_v70/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v70/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v70/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v70/constructors/storage_fileMov.md b/old_docs/API_docs_v70/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v70/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v70/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v70/constructors/storage_fileMp3.md b/old_docs/API_docs_v70/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v70/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v70/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v70/constructors/storage_fileMp4.md b/old_docs/API_docs_v70/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v70/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v70/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v70/constructors/storage_filePartial.md b/old_docs/API_docs_v70/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v70/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v70/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v70/constructors/storage_filePdf.md b/old_docs/API_docs_v70/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v70/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v70/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v70/constructors/storage_filePng.md b/old_docs/API_docs_v70/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v70/constructors/storage_filePng.md +++ b/old_docs/API_docs_v70/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v70/constructors/storage_fileUnknown.md b/old_docs/API_docs_v70/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v70/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v70/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v70/constructors/storage_fileWebp.md b/old_docs/API_docs_v70/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v70/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v70/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v70/constructors/textBold.md b/old_docs/API_docs_v70/constructors/textBold.md index 52b668f6..f847ab68 100644 --- a/old_docs/API_docs_v70/constructors/textBold.md +++ b/old_docs/API_docs_v70/constructors/textBold.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textBold = ['_' => 'textBold', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textBold = ['_' => 'textBold', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textBold={_='textBold', text=RichText} ``` diff --git a/old_docs/API_docs_v70/constructors/textConcat.md b/old_docs/API_docs_v70/constructors/textConcat.md index 3f2656ed..ee998a7e 100644 --- a/old_docs/API_docs_v70/constructors/textConcat.md +++ b/old_docs/API_docs_v70/constructors/textConcat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textConcat = ['_' => 'textConcat', 'texts' => [RichText, RichText]]; ``` @@ -32,10 +32,9 @@ $textConcat = ['_' => 'textConcat', 'texts' => [RichText, RichText]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textConcat={_='textConcat', texts={RichText}} ``` diff --git a/old_docs/API_docs_v70/constructors/textEmail.md b/old_docs/API_docs_v70/constructors/textEmail.md index 0b546415..6a1a2ba2 100644 --- a/old_docs/API_docs_v70/constructors/textEmail.md +++ b/old_docs/API_docs_v70/constructors/textEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` @@ -33,10 +33,9 @@ $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textEmail={_='textEmail', text=RichText, email='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/textEmpty.md b/old_docs/API_docs_v70/constructors/textEmpty.md index 4e96adb3..dfe867ed 100644 --- a/old_docs/API_docs_v70/constructors/textEmpty.md +++ b/old_docs/API_docs_v70/constructors/textEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textEmpty = ['_' => 'textEmpty']; ``` @@ -27,10 +27,9 @@ $textEmpty = ['_' => 'textEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textEmpty={_='textEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/textFixed.md b/old_docs/API_docs_v70/constructors/textFixed.md index e40767d9..a83607fa 100644 --- a/old_docs/API_docs_v70/constructors/textFixed.md +++ b/old_docs/API_docs_v70/constructors/textFixed.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textFixed={_='textFixed', text=RichText} ``` diff --git a/old_docs/API_docs_v70/constructors/textItalic.md b/old_docs/API_docs_v70/constructors/textItalic.md index e32fbec2..4aa819b6 100644 --- a/old_docs/API_docs_v70/constructors/textItalic.md +++ b/old_docs/API_docs_v70/constructors/textItalic.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textItalic={_='textItalic', text=RichText} ``` diff --git a/old_docs/API_docs_v70/constructors/textPlain.md b/old_docs/API_docs_v70/constructors/textPlain.md index 2e654fde..9f83d5fa 100644 --- a/old_docs/API_docs_v70/constructors/textPlain.md +++ b/old_docs/API_docs_v70/constructors/textPlain.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textPlain={_='textPlain', text='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/textStrike.md b/old_docs/API_docs_v70/constructors/textStrike.md index 0090e980..0329cbd9 100644 --- a/old_docs/API_docs_v70/constructors/textStrike.md +++ b/old_docs/API_docs_v70/constructors/textStrike.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textStrike={_='textStrike', text=RichText} ``` diff --git a/old_docs/API_docs_v70/constructors/textUnderline.md b/old_docs/API_docs_v70/constructors/textUnderline.md index 843d0a9a..adee0d2f 100644 --- a/old_docs/API_docs_v70/constructors/textUnderline.md +++ b/old_docs/API_docs_v70/constructors/textUnderline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textUnderline={_='textUnderline', text=RichText} ``` diff --git a/old_docs/API_docs_v70/constructors/textUrl.md b/old_docs/API_docs_v70/constructors/textUrl.md index 6938f27e..bb497739 100644 --- a/old_docs/API_docs_v70/constructors/textUrl.md +++ b/old_docs/API_docs_v70/constructors/textUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id' => long]; ``` @@ -34,10 +34,9 @@ $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textUrl={_='textUrl', text=RichText, url='string', webpage_id=long} ``` diff --git a/old_docs/API_docs_v70/constructors/topPeer.md b/old_docs/API_docs_v70/constructors/topPeer.md index aa49751b..fff00b7d 100644 --- a/old_docs/API_docs_v70/constructors/topPeer.md +++ b/old_docs/API_docs_v70/constructors/topPeer.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` @@ -33,10 +33,9 @@ $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeer={_='topPeer', peer=Peer, rating=double} ``` diff --git a/old_docs/API_docs_v70/constructors/topPeerCategoryBotsInline.md b/old_docs/API_docs_v70/constructors/topPeerCategoryBotsInline.md index 1d57e310..3f7906e2 100644 --- a/old_docs/API_docs_v70/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v70/constructors/topPeerCategoryBotsInline.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsInline={_='topPeerCategoryBotsInline'} ``` diff --git a/old_docs/API_docs_v70/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v70/constructors/topPeerCategoryBotsPM.md index f6207626..78f54b44 100644 --- a/old_docs/API_docs_v70/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v70/constructors/topPeerCategoryBotsPM.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsPM={_='topPeerCategoryBotsPM'} ``` diff --git a/old_docs/API_docs_v70/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v70/constructors/topPeerCategoryChannels.md index 8f0e1fcb..02947d85 100644 --- a/old_docs/API_docs_v70/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v70/constructors/topPeerCategoryChannels.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryChannels={_='topPeerCategoryChannels'} ``` diff --git a/old_docs/API_docs_v70/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v70/constructors/topPeerCategoryCorrespondents.md index 9435610d..c0362f78 100644 --- a/old_docs/API_docs_v70/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v70/constructors/topPeerCategoryCorrespondents.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents'} ``` diff --git a/old_docs/API_docs_v70/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v70/constructors/topPeerCategoryGroups.md index 3b6859df..dddb951c 100644 --- a/old_docs/API_docs_v70/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v70/constructors/topPeerCategoryGroups.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryGroups={_='topPeerCategoryGroups'} ``` diff --git a/old_docs/API_docs_v70/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v70/constructors/topPeerCategoryPeers.md index 886ab6f9..36d071f6 100644 --- a/old_docs/API_docs_v70/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v70/constructors/topPeerCategoryPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer, TopPeer]]; ``` @@ -34,10 +34,9 @@ $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}} ``` diff --git a/old_docs/API_docs_v70/constructors/topPeerCategoryPhoneCalls.md b/old_docs/API_docs_v70/constructors/topPeerCategoryPhoneCalls.md index 4c4a1c2d..518279f8 100644 --- a/old_docs/API_docs_v70/constructors/topPeerCategoryPhoneCalls.md +++ b/old_docs/API_docs_v70/constructors/topPeerCategoryPhoneCalls.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryPhoneCalls = ['_' => 'topPeerCategoryPhoneCalls']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryPhoneCalls = ['_' => 'topPeerCategoryPhoneCalls']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryPhoneCalls={_='topPeerCategoryPhoneCalls'} ``` diff --git a/old_docs/API_docs_v70/constructors/true.md b/old_docs/API_docs_v70/constructors/true.md index 2e27ecbf..4863f16b 100644 --- a/old_docs/API_docs_v70/constructors/true.md +++ b/old_docs/API_docs_v70/constructors/true.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $true = ['_' => 'true']; ``` @@ -27,10 +27,9 @@ $true = ['_' => 'true']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua true={_='true'} ``` diff --git a/old_docs/API_docs_v70/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v70/constructors/updateBotCallbackQuery.md index 2216e362..389295a0 100644 --- a/old_docs/API_docs_v70/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v70/constructors/updateBotCallbackQuery.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -38,10 +38,9 @@ $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v70/constructors/updateBotInlineQuery.md index 1cc45358..ed15d35f 100644 --- a/old_docs/API_docs_v70/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v70/constructors/updateBotInlineQuery.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` @@ -36,10 +36,9 @@ $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query='string', geo=GeoPoint, offset='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/updateBotInlineSend.md b/old_docs/API_docs_v70/constructors/updateBotInlineSend.md index fe6c01d3..dda18420 100644 --- a/old_docs/API_docs_v70/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v70/constructors/updateBotInlineSend.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` @@ -36,10 +36,9 @@ $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineSend={_='updateBotInlineSend', user_id=int, query='string', geo=GeoPoint, id='string', msg_id=InputBotInlineMessageID} ``` diff --git a/old_docs/API_docs_v70/constructors/updateBotPrecheckoutQuery.md b/old_docs/API_docs_v70/constructors/updateBotPrecheckoutQuery.md index f7e13668..94098aac 100644 --- a/old_docs/API_docs_v70/constructors/updateBotPrecheckoutQuery.md +++ b/old_docs/API_docs_v70/constructors/updateBotPrecheckoutQuery.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'currency' => 'string', 'total_amount' => long]; ``` @@ -38,10 +38,9 @@ $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotPrecheckoutQuery={_='updateBotPrecheckoutQuery', query_id=long, user_id=int, payload='bytes', info=PaymentRequestedInfo, shipping_option_id='string', currency='string', total_amount=long} ``` diff --git a/old_docs/API_docs_v70/constructors/updateBotShippingQuery.md b/old_docs/API_docs_v70/constructors/updateBotShippingQuery.md index b7413761..41735d33 100644 --- a/old_docs/API_docs_v70/constructors/updateBotShippingQuery.md +++ b/old_docs/API_docs_v70/constructors/updateBotShippingQuery.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'shipping_address' => PostAddress]; ``` @@ -35,10 +35,9 @@ $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotShippingQuery={_='updateBotShippingQuery', query_id=long, user_id=int, payload='bytes', shipping_address=PostAddress} ``` diff --git a/old_docs/API_docs_v70/constructors/updateBotWebhookJSON.md b/old_docs/API_docs_v70/constructors/updateBotWebhookJSON.md index c444fe16..3b917e17 100644 --- a/old_docs/API_docs_v70/constructors/updateBotWebhookJSON.md +++ b/old_docs/API_docs_v70/constructors/updateBotWebhookJSON.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` @@ -32,10 +32,9 @@ $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotWebhookJSON={_='updateBotWebhookJSON', data=DataJSON} ``` diff --git a/old_docs/API_docs_v70/constructors/updateBotWebhookJSONQuery.md b/old_docs/API_docs_v70/constructors/updateBotWebhookJSONQuery.md index c8014f35..9ede5002 100644 --- a/old_docs/API_docs_v70/constructors/updateBotWebhookJSONQuery.md +++ b/old_docs/API_docs_v70/constructors/updateBotWebhookJSONQuery.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => long, 'data' => DataJSON, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotWebhookJSONQuery={_='updateBotWebhookJSONQuery', query_id=long, data=DataJSON, timeout=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateChannel.md b/old_docs/API_docs_v70/constructors/updateChannel.md index e615920a..fb876328 100644 --- a/old_docs/API_docs_v70/constructors/updateChannel.md +++ b/old_docs/API_docs_v70/constructors/updateChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannel={_='updateChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v70/constructors/updateChannelMessageViews.md index 19e0b648..d62f055a 100644 --- a/old_docs/API_docs_v70/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v70/constructors/updateChannelMessageViews.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` @@ -34,10 +34,9 @@ $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateChannelPinnedMessage.md b/old_docs/API_docs_v70/constructors/updateChannelPinnedMessage.md index c6e66353..0d767fb8 100644 --- a/old_docs/API_docs_v70/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v70/constructors/updateChannelPinnedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateChannelTooLong.md b/old_docs/API_docs_v70/constructors/updateChannelTooLong.md index e42904d0..179a43dd 100644 --- a/old_docs/API_docs_v70/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v70/constructors/updateChannelTooLong.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateChannelWebPage.md b/old_docs/API_docs_v70/constructors/updateChannelWebPage.md index f1ae421b..7b037a9d 100644 --- a/old_docs/API_docs_v70/constructors/updateChannelWebPage.md +++ b/old_docs/API_docs_v70/constructors/updateChannelWebPage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'we ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelWebPage={_='updateChannelWebPage', channel_id=int, webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateChatAdmins.md b/old_docs/API_docs_v70/constructors/updateChatAdmins.md index 87ffd626..aac09762 100644 --- a/old_docs/API_docs_v70/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v70/constructors/updateChatAdmins.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v70/constructors/updateChatParticipantAdd.md index ea5157ad..fe76dc62 100644 --- a/old_docs/API_docs_v70/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v70/constructors/updateChatParticipantAdd.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` @@ -36,10 +36,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v70/constructors/updateChatParticipantAdmin.md index b1022850..d262b2e6 100644 --- a/old_docs/API_docs_v70/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v70/constructors/updateChatParticipantAdmin.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v70/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v70/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v70/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateChatParticipants.md b/old_docs/API_docs_v70/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v70/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v70/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v70/constructors/updateChatUserTyping.md b/old_docs/API_docs_v70/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v70/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v70/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v70/constructors/updateConfig.md b/old_docs/API_docs_v70/constructors/updateConfig.md index 6f25cf11..6d67156d 100644 --- a/old_docs/API_docs_v70/constructors/updateConfig.md +++ b/old_docs/API_docs_v70/constructors/updateConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateConfig = ['_' => 'updateConfig']; ``` @@ -27,10 +27,9 @@ $updateConfig = ['_' => 'updateConfig']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateConfig={_='updateConfig'} ``` diff --git a/old_docs/API_docs_v70/constructors/updateContactLink.md b/old_docs/API_docs_v70/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v70/constructors/updateContactLink.md +++ b/old_docs/API_docs_v70/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v70/constructors/updateContactRegistered.md b/old_docs/API_docs_v70/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v70/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v70/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateDcOptions.md b/old_docs/API_docs_v70/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v70/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v70/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v70/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v70/constructors/updateDeleteChannelMessages.md index 0f84f3f7..8fb10b65 100644 --- a/old_docs/API_docs_v70/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v70/constructors/updateDeleteChannelMessages.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateDeleteMessages.md b/old_docs/API_docs_v70/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v70/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v70/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateDialogPinned.md b/old_docs/API_docs_v70/constructors/updateDialogPinned.md index 8ecafcfd..ba2c9090 100644 --- a/old_docs/API_docs_v70/constructors/updateDialogPinned.md +++ b/old_docs/API_docs_v70/constructors/updateDialogPinned.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer]; ``` @@ -33,10 +33,9 @@ $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDialogPinned={_='updateDialogPinned', pinned=Bool, peer=Peer} ``` diff --git a/old_docs/API_docs_v70/constructors/updateDraftMessage.md b/old_docs/API_docs_v70/constructors/updateDraftMessage.md index 7e759a4f..1bf7c2a4 100644 --- a/old_docs/API_docs_v70/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v70/constructors/updateDraftMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage]; ``` @@ -33,10 +33,9 @@ $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => D ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v70/constructors/updateEditChannelMessage.md b/old_docs/API_docs_v70/constructors/updateEditChannelMessage.md index 959c433a..485afae1 100644 --- a/old_docs/API_docs_v70/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v70/constructors/updateEditChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateEditMessage.md b/old_docs/API_docs_v70/constructors/updateEditMessage.md index f9f820e8..9f986f86 100644 --- a/old_docs/API_docs_v70/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v70/constructors/updateEditMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v70/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v70/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v70/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v70/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v70/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v70/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateEncryption.md b/old_docs/API_docs_v70/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v70/constructors/updateEncryption.md +++ b/old_docs/API_docs_v70/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateInlineBotCallbackQuery.md b/old_docs/API_docs_v70/constructors/updateInlineBotCallbackQuery.md index b1b40479..fb112694 100644 --- a/old_docs/API_docs_v70/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v70/constructors/updateInlineBotCallbackQuery.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -37,10 +37,9 @@ $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/updateLangPack.md b/old_docs/API_docs_v70/constructors/updateLangPack.md index 172c1a9a..9f180e97 100644 --- a/old_docs/API_docs_v70/constructors/updateLangPack.md +++ b/old_docs/API_docs_v70/constructors/updateLangPack.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateLangPack = ['_' => 'updateLangPack', 'difference' => LangPackDifference]; ``` @@ -32,10 +32,9 @@ $updateLangPack = ['_' => 'updateLangPack', 'difference' => LangPackDifference]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateLangPack={_='updateLangPack', difference=LangPackDifference} ``` diff --git a/old_docs/API_docs_v70/constructors/updateLangPackTooLong.md b/old_docs/API_docs_v70/constructors/updateLangPackTooLong.md index b55c7e33..55614347 100644 --- a/old_docs/API_docs_v70/constructors/updateLangPackTooLong.md +++ b/old_docs/API_docs_v70/constructors/updateLangPackTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateLangPackTooLong = ['_' => 'updateLangPackTooLong']; ``` @@ -27,10 +27,9 @@ $updateLangPackTooLong = ['_' => 'updateLangPackTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateLangPackTooLong={_='updateLangPackTooLong'} ``` diff --git a/old_docs/API_docs_v70/constructors/updateMessageID.md b/old_docs/API_docs_v70/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v70/constructors/updateMessageID.md +++ b/old_docs/API_docs_v70/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v70/constructors/updateNewChannelMessage.md index 59dbc820..9fa1c7ec 100644 --- a/old_docs/API_docs_v70/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v70/constructors/updateNewChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Messa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v70/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v70/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v70/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateNewMessage.md b/old_docs/API_docs_v70/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v70/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v70/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateNewStickerSet.md b/old_docs/API_docs_v70/constructors/updateNewStickerSet.md index c36d4617..5ba327ea 100644 --- a/old_docs/API_docs_v70/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v70/constructors/updateNewStickerSet.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` @@ -32,10 +32,9 @@ $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_S ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} ``` diff --git a/old_docs/API_docs_v70/constructors/updateNotifySettings.md b/old_docs/API_docs_v70/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v70/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v70/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v70/constructors/updatePhoneCall.md b/old_docs/API_docs_v70/constructors/updatePhoneCall.md index 61730eae..445e1fc0 100644 --- a/old_docs/API_docs_v70/constructors/updatePhoneCall.md +++ b/old_docs/API_docs_v70/constructors/updatePhoneCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` @@ -32,10 +32,9 @@ $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePhoneCall={_='updatePhoneCall', phone_call=PhoneCall} ``` diff --git a/old_docs/API_docs_v70/constructors/updatePinnedDialogs.md b/old_docs/API_docs_v70/constructors/updatePinnedDialogs.md index 4d082bed..4a99a7bd 100644 --- a/old_docs/API_docs_v70/constructors/updatePinnedDialogs.md +++ b/old_docs/API_docs_v70/constructors/updatePinnedDialogs.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer, Peer]]; ``` @@ -32,10 +32,9 @@ $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer, Peer]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePinnedDialogs={_='updatePinnedDialogs', order={Peer}} ``` diff --git a/old_docs/API_docs_v70/constructors/updatePrivacy.md b/old_docs/API_docs_v70/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v70/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v70/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v70/constructors/updatePtsChanged.md b/old_docs/API_docs_v70/constructors/updatePtsChanged.md index 76b49a1f..dac1d461 100644 --- a/old_docs/API_docs_v70/constructors/updatePtsChanged.md +++ b/old_docs/API_docs_v70/constructors/updatePtsChanged.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` @@ -27,10 +27,9 @@ $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePtsChanged={_='updatePtsChanged'} ``` diff --git a/old_docs/API_docs_v70/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v70/constructors/updateReadChannelInbox.md index be964e20..c8c26acb 100644 --- a/old_docs/API_docs_v70/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v70/constructors/updateReadChannelInbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateReadChannelOutbox.md b/old_docs/API_docs_v70/constructors/updateReadChannelOutbox.md index c725d108..664108d1 100644 --- a/old_docs/API_docs_v70/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v70/constructors/updateReadChannelOutbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelOutbox={_='updateReadChannelOutbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateReadFeaturedStickers.md b/old_docs/API_docs_v70/constructors/updateReadFeaturedStickers.md index ea46d41f..af7fd3d7 100644 --- a/old_docs/API_docs_v70/constructors/updateReadFeaturedStickers.md +++ b/old_docs/API_docs_v70/constructors/updateReadFeaturedStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` @@ -27,10 +27,9 @@ $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadFeaturedStickers={_='updateReadFeaturedStickers'} ``` diff --git a/old_docs/API_docs_v70/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v70/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v70/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v70/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v70/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v70/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v70/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v70/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/old_docs/API_docs_v70/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v70/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateRecentStickers.md b/old_docs/API_docs_v70/constructors/updateRecentStickers.md index cb15d01f..6f9acb77 100644 --- a/old_docs/API_docs_v70/constructors/updateRecentStickers.md +++ b/old_docs/API_docs_v70/constructors/updateRecentStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` @@ -27,10 +27,9 @@ $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateRecentStickers={_='updateRecentStickers'} ``` diff --git a/old_docs/API_docs_v70/constructors/updateSavedGifs.md b/old_docs/API_docs_v70/constructors/updateSavedGifs.md index dd17f321..ea5619fc 100644 --- a/old_docs/API_docs_v70/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v70/constructors/updateSavedGifs.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` @@ -27,10 +27,9 @@ $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v70/constructors/updateServiceNotification.md b/old_docs/API_docs_v70/constructors/updateServiceNotification.md index 1da6885f..0833007b 100644 --- a/old_docs/API_docs_v70/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v70/constructors/updateServiceNotification.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -37,10 +37,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', popup=Bool, inbox_date=int, type='string', message='string', media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v70/constructors/updateShort.md b/old_docs/API_docs_v70/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v70/constructors/updateShort.md +++ b/old_docs/API_docs_v70/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updateShortChatMessage.md b/old_docs/API_docs_v70/constructors/updateShortChatMessage.md index d62e0729..cbeb4739 100644 --- a/old_docs/API_docs_v70/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v70/constructors/updateShortChatMessage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -46,10 +46,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'ment ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v70/constructors/updateShortMessage.md b/old_docs/API_docs_v70/constructors/updateShortMessage.md index d4effcb8..a8348773 100644 --- a/old_docs/API_docs_v70/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v70/constructors/updateShortMessage.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -45,10 +45,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v70/constructors/updateShortSentMessage.md b/old_docs/API_docs_v70/constructors/updateShortSentMessage.md index fd7035c3..2a318e56 100644 --- a/old_docs/API_docs_v70/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v70/constructors/updateShortSentMessage.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -38,10 +38,9 @@ $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v70/constructors/updateStickerSets.md b/old_docs/API_docs_v70/constructors/updateStickerSets.md index 4f045d67..e4cc23a0 100644 --- a/old_docs/API_docs_v70/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v70/constructors/updateStickerSets.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSets = ['_' => 'updateStickerSets']; ``` @@ -27,10 +27,9 @@ $updateStickerSets = ['_' => 'updateStickerSets']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v70/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v70/constructors/updateStickerSetsOrder.md index e36470ad..74405f69 100644 --- a/old_docs/API_docs_v70/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v70/constructors/updateStickerSetsOrder.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long, long]]; ``` @@ -33,10 +33,9 @@ $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'or ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSetsOrder={_='updateStickerSetsOrder', masks=Bool, order={long}} ``` diff --git a/old_docs/API_docs_v70/constructors/updateUserBlocked.md b/old_docs/API_docs_v70/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v70/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v70/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v70/constructors/updateUserName.md b/old_docs/API_docs_v70/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v70/constructors/updateUserName.md +++ b/old_docs/API_docs_v70/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/updateUserPhone.md b/old_docs/API_docs_v70/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v70/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v70/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/updateUserPhoto.md b/old_docs/API_docs_v70/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v70/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v70/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v70/constructors/updateUserStatus.md b/old_docs/API_docs_v70/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v70/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v70/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v70/constructors/updateUserTyping.md b/old_docs/API_docs_v70/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v70/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v70/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v70/constructors/updateWebPage.md b/old_docs/API_docs_v70/constructors/updateWebPage.md index 9f468619..932d8ff2 100644 --- a/old_docs/API_docs_v70/constructors/updateWebPage.md +++ b/old_docs/API_docs_v70/constructors/updateWebPage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updates.md b/old_docs/API_docs_v70/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v70/constructors/updates.md +++ b/old_docs/API_docs_v70/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updatesCombined.md b/old_docs/API_docs_v70/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v70/constructors/updatesCombined.md +++ b/old_docs/API_docs_v70/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updatesTooLong.md b/old_docs/API_docs_v70/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v70/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v70/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v70/constructors/updates_channelDifference.md b/old_docs/API_docs_v70/constructors/updates_channelDifference.md index 21b618c2..df1dafd6 100644 --- a/old_docs/API_docs_v70/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v70/constructors/updates_channelDifference.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v70/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v70/constructors/updates_channelDifferenceEmpty.md index a2e49340..a5be0377 100644 --- a/old_docs/API_docs_v70/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v70/constructors/updates_channelDifferenceEmpty.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'fin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v70/constructors/updates_channelDifferenceTooLong.md index 0debd690..8f7e8b2f 100644 --- a/old_docs/API_docs_v70/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v70/constructors/updates_channelDifferenceTooLong.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -41,10 +41,9 @@ $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v70/constructors/updates_difference.md b/old_docs/API_docs_v70/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v70/constructors/updates_difference.md +++ b/old_docs/API_docs_v70/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v70/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v70/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v70/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v70/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updates_differenceSlice.md b/old_docs/API_docs_v70/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v70/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v70/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v70/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v70/constructors/updates_differenceTooLong.md index da55eddf..2e96fdd5 100644 --- a/old_docs/API_docs_v70/constructors/updates_differenceTooLong.md +++ b/old_docs/API_docs_v70/constructors/updates_differenceTooLong.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` @@ -32,10 +32,9 @@ $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceTooLong={_='updates.differenceTooLong', pts=int} ``` diff --git a/old_docs/API_docs_v70/constructors/updates_state.md b/old_docs/API_docs_v70/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v70/constructors/updates_state.md +++ b/old_docs/API_docs_v70/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v70/constructors/upload_cdnFile.md b/old_docs/API_docs_v70/constructors/upload_cdnFile.md index b42b285d..586e6c32 100644 --- a/old_docs/API_docs_v70/constructors/upload_cdnFile.md +++ b/old_docs/API_docs_v70/constructors/upload_cdnFile.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; ``` @@ -32,10 +32,9 @@ $upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_cdnFile={_='upload.cdnFile', bytes='bytes'} ``` diff --git a/old_docs/API_docs_v70/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v70/constructors/upload_cdnFileReuploadNeeded.md index b770fdf6..a770ff3d 100644 --- a/old_docs/API_docs_v70/constructors/upload_cdnFileReuploadNeeded.md +++ b/old_docs/API_docs_v70/constructors/upload_cdnFileReuploadNeeded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; ``` @@ -32,10 +32,9 @@ $upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} ``` diff --git a/old_docs/API_docs_v70/constructors/upload_file.md b/old_docs/API_docs_v70/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v70/constructors/upload_file.md +++ b/old_docs/API_docs_v70/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v70/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v70/constructors/upload_fileCdnRedirect.md index 494aa54e..b1918c02 100644 --- a/old_docs/API_docs_v70/constructors/upload_fileCdnRedirect.md +++ b/old_docs/API_docs_v70/constructors/upload_fileCdnRedirect.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'cdn_file_hashes' => [CdnFileHash, CdnFileHash]]; ``` @@ -36,10 +36,9 @@ $upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'fil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', cdn_file_hashes={CdnFileHash}} ``` diff --git a/old_docs/API_docs_v70/constructors/upload_webFile.md b/old_docs/API_docs_v70/constructors/upload_webFile.md index 296105ee..d94afb72 100644 --- a/old_docs/API_docs_v70/constructors/upload_webFile.md +++ b/old_docs/API_docs_v70/constructors/upload_webFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v70/constructors/user.md b/old_docs/API_docs_v70/constructors/user.md index e15841b7..ebe7d5ed 100644 --- a/old_docs/API_docs_v70/constructors/user.md +++ b/old_docs/API_docs_v70/constructors/user.md @@ -43,7 +43,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => 'string', 'bot_inline_placeholder' => 'string', 'lang_code' => 'string']; ``` @@ -54,10 +54,9 @@ $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, min=Bool, bot_inline_geo=Bool, id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason='string', bot_inline_placeholder='string', lang_code='string'} ``` diff --git a/old_docs/API_docs_v70/constructors/userEmpty.md b/old_docs/API_docs_v70/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v70/constructors/userEmpty.md +++ b/old_docs/API_docs_v70/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/userFull.md b/old_docs/API_docs_v70/constructors/userFull.md index 0ab25737..00b03c07 100644 --- a/old_docs/API_docs_v70/constructors/userFull.md +++ b/old_docs/API_docs_v70/constructors/userFull.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` @@ -41,10 +41,9 @@ $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v70/constructors/userProfilePhoto.md b/old_docs/API_docs_v70/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v70/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v70/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v70/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v70/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v70/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v70/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/userStatusEmpty.md b/old_docs/API_docs_v70/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v70/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v70/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v70/constructors/userStatusLastMonth.md b/old_docs/API_docs_v70/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v70/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v70/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v70/constructors/userStatusLastWeek.md b/old_docs/API_docs_v70/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v70/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v70/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v70/constructors/userStatusOffline.md b/old_docs/API_docs_v70/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v70/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v70/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v70/constructors/userStatusOnline.md b/old_docs/API_docs_v70/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v70/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v70/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v70/constructors/userStatusRecently.md b/old_docs/API_docs_v70/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v70/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v70/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v70/constructors/wallPaper.md b/old_docs/API_docs_v70/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v70/constructors/wallPaper.md +++ b/old_docs/API_docs_v70/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v70/constructors/wallPaperSolid.md b/old_docs/API_docs_v70/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v70/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v70/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v70/constructors/webDocument.md b/old_docs/API_docs_v70/constructors/webDocument.md index 064367a3..67e158fa 100644 --- a/old_docs/API_docs_v70/constructors/webDocument.md +++ b/old_docs/API_docs_v70/constructors/webDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'dc_id' => int]; ``` @@ -37,10 +37,9 @@ $webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webDocument={_='webDocument', url='string', access_hash=long, size=int, mime_type='string', attributes={DocumentAttribute}, dc_id=int} ``` diff --git a/old_docs/API_docs_v70/constructors/webPage.md b/old_docs/API_docs_v70/constructors/webPage.md index 371b1e56..ee070624 100644 --- a/old_docs/API_docs_v70/constructors/webPage.md +++ b/old_docs/API_docs_v70/constructors/webPage.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'hash' => int, 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document, 'cached_page' => Page]; ``` @@ -48,10 +48,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', hash=int, type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document, cached_page=Page} ``` diff --git a/old_docs/API_docs_v70/constructors/webPageEmpty.md b/old_docs/API_docs_v70/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v70/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v70/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v70/constructors/webPageNotModified.md b/old_docs/API_docs_v70/constructors/webPageNotModified.md index 557c2947..a180dd51 100644 --- a/old_docs/API_docs_v70/constructors/webPageNotModified.md +++ b/old_docs/API_docs_v70/constructors/webPageNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageNotModified = ['_' => 'webPageNotModified']; ``` @@ -27,10 +27,9 @@ $webPageNotModified = ['_' => 'webPageNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageNotModified={_='webPageNotModified'} ``` diff --git a/old_docs/API_docs_v70/constructors/webPagePending.md b/old_docs/API_docs_v70/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v70/constructors/webPagePending.md +++ b/old_docs/API_docs_v70/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v70/methods/account_changePhone.md b/old_docs/API_docs_v70/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v70/methods/account_changePhone.md +++ b/old_docs/API_docs_v70/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/account_checkUsername.md b/old_docs/API_docs_v70/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v70/methods/account_checkUsername.md +++ b/old_docs/API_docs_v70/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/account_confirmPhone.md b/old_docs/API_docs_v70/methods/account_confirmPhone.md index a42b69b7..214f54e3 100644 --- a/old_docs/API_docs_v70/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v70/methods/account_confirmPhone.md @@ -25,7 +25,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.confirmPhone({phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/account_deleteAccount.md b/old_docs/API_docs_v70/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v70/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v70/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/account_getAccountTTL.md b/old_docs/API_docs_v70/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v70/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v70/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v70/methods/account_getAuthorizations.md b/old_docs/API_docs_v70/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v70/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v70/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v70/methods/account_getNotifySettings.md b/old_docs/API_docs_v70/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v70/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v70/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v70/methods/account_getPassword.md b/old_docs/API_docs_v70/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v70/methods/account_getPassword.md +++ b/old_docs/API_docs_v70/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v70/methods/account_getPasswordSettings.md b/old_docs/API_docs_v70/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v70/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v70/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v70/methods/account_getPrivacy.md b/old_docs/API_docs_v70/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v70/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v70/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v70/methods/account_getTmpPassword.md b/old_docs/API_docs_v70/methods/account_getTmpPassword.md index 504fbbc3..be75dc69 100644 --- a/old_docs/API_docs_v70/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v70/methods/account_getTmpPassword.md @@ -25,7 +25,7 @@ Get temporary password for buying products through bots ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua account_TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/account_getWallPapers.md b/old_docs/API_docs_v70/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v70/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v70/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v70/methods/account_registerDevice.md b/old_docs/API_docs_v70/methods/account_registerDevice.md index 25549dab..ed1fced0 100644 --- a/old_docs/API_docs_v70/methods/account_registerDevice.md +++ b/old_docs/API_docs_v70/methods/account_registerDevice.md @@ -25,7 +25,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/account_reportPeer.md b/old_docs/API_docs_v70/methods/account_reportPeer.md index d8c49851..673b48bf 100644 --- a/old_docs/API_docs_v70/methods/account_reportPeer.md +++ b/old_docs/API_docs_v70/methods/account_reportPeer.md @@ -25,7 +25,7 @@ Report for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reason - Json encoded ReportReason Or, if you're into Lua: -``` +```lua Bool = account.reportPeer({peer=InputPeer, reason=ReportReason, }) ``` diff --git a/old_docs/API_docs_v70/methods/account_resetAuthorization.md b/old_docs/API_docs_v70/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v70/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v70/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v70/methods/account_resetNotifySettings.md b/old_docs/API_docs_v70/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v70/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v70/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v70/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v70/methods/account_sendChangePhoneCode.md index 33a001b9..123a5880 100644 --- a/old_docs/API_docs_v70/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v70/methods/account_sendChangePhoneCode.md @@ -26,7 +26,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v70/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v70/methods/account_sendConfirmPhoneCode.md index a70ad5a3..5c2612c2 100644 --- a/old_docs/API_docs_v70/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v70/methods/account_sendConfirmPhoneCode.md @@ -26,7 +26,7 @@ Send confirmation phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v70/methods/account_setAccountTTL.md b/old_docs/API_docs_v70/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v70/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v70/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v70/methods/account_setPrivacy.md b/old_docs/API_docs_v70/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v70/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v70/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v70/methods/account_unregisterDevice.md b/old_docs/API_docs_v70/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v70/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v70/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v70/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v70/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v70/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/account_updateNotifySettings.md b/old_docs/API_docs_v70/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v70/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v70/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v70/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v70/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v70/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v70/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v70/methods/account_updateProfile.md b/old_docs/API_docs_v70/methods/account_updateProfile.md index f415381f..f54515e5 100644 --- a/old_docs/API_docs_v70/methods/account_updateProfile.md +++ b/old_docs/API_docs_v70/methods/account_updateProfile.md @@ -26,7 +26,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', about='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/account_updateStatus.md b/old_docs/API_docs_v70/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v70/methods/account_updateStatus.md +++ b/old_docs/API_docs_v70/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v70/methods/account_updateUsername.md b/old_docs/API_docs_v70/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v70/methods/account_updateUsername.md +++ b/old_docs/API_docs_v70/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/auth_cancelCode.md b/old_docs/API_docs_v70/methods/auth_cancelCode.md index 0b53954c..352c88e9 100644 --- a/old_docs/API_docs_v70/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v70/methods/auth_cancelCode.md @@ -25,7 +25,7 @@ Invalidate sent phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/auth_checkPhone.md b/old_docs/API_docs_v70/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v70/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v70/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v70/methods/auth_dropTempAuthKeys.md index 26d63e12..64ce7528 100644 --- a/old_docs/API_docs_v70/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v70/methods/auth_dropTempAuthKeys.md @@ -24,7 +24,7 @@ Delete all temporary authorization keys except the ones provided ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ except_auth_keys - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = auth.dropTempAuthKeys({except_auth_keys={long}, }) ``` diff --git a/old_docs/API_docs_v70/methods/auth_recoverPassword.md b/old_docs/API_docs_v70/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v70/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v70/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v70/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v70/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v70/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v70/methods/auth_resendCode.md b/old_docs/API_docs_v70/methods/auth_resendCode.md index 28350d37..4ce58975 100644 --- a/old_docs/API_docs_v70/methods/auth_resendCode.md +++ b/old_docs/API_docs_v70/methods/auth_resendCode.md @@ -25,7 +25,7 @@ Resend the SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v70/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v70/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v70/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v70/methods/auth_sendInvites.md b/old_docs/API_docs_v70/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v70/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v70/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v70/methods/bots_answerWebhookJSONQuery.md index 6ed252ff..33b6c2a3 100644 --- a/old_docs/API_docs_v70/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v70/methods/bots_answerWebhookJSONQuery.md @@ -25,7 +25,7 @@ Send webhook request via bot API ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ data - Json encoded DataJSON Or, if you're into Lua: -``` +```lua Bool = bots.answerWebhookJSONQuery({query_id=long, data=DataJSON, }) ``` diff --git a/old_docs/API_docs_v70/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v70/methods/bots_sendCustomRequest.md index d14215ec..bd368df5 100644 --- a/old_docs/API_docs_v70/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v70/methods/bots_sendCustomRequest.md @@ -25,7 +25,7 @@ Send a custom request to the bot API ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ params - Json encoded DataJSON Or, if you're into Lua: -``` +```lua DataJSON = bots.sendCustomRequest({custom_method='string', params=DataJSON, }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_checkUsername.md b/old_docs/API_docs_v70/methods/channels_checkUsername.md index d287b3ca..573bf8f0 100644 --- a/old_docs/API_docs_v70/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v70/methods/channels_checkUsername.md @@ -25,7 +25,7 @@ Check if this username is free and can be assigned to a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.checkUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_createChannel.md b/old_docs/API_docs_v70/methods/channels_createChannel.md index 356f473a..1821c864 100644 --- a/old_docs/API_docs_v70/methods/channels_createChannel.md +++ b/old_docs/API_docs_v70/methods/channels_createChannel.md @@ -27,7 +27,7 @@ Create channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title='string', about='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_deleteChannel.md b/old_docs/API_docs_v70/methods/channels_deleteChannel.md index b55d91b8..a79ccb9f 100644 --- a/old_docs/API_docs_v70/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v70/methods/channels_deleteChannel.md @@ -24,7 +24,7 @@ Delete a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.deleteChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_deleteMessages.md b/old_docs/API_docs_v70/methods/channels_deleteMessages.md index 03625c94..8cd7ebb3 100644 --- a/old_docs/API_docs_v70/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v70/methods/channels_deleteMessages.md @@ -25,7 +25,7 @@ Delete channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v70/methods/channels_deleteUserHistory.md index 204a8786..78baa90f 100644 --- a/old_docs/API_docs_v70/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v70/methods/channels_deleteUserHistory.md @@ -25,7 +25,7 @@ Delete all messages of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_editAbout.md b/old_docs/API_docs_v70/methods/channels_editAbout.md index fd861133..549d7ea5 100644 --- a/old_docs/API_docs_v70/methods/channels_editAbout.md +++ b/old_docs/API_docs_v70/methods/channels_editAbout.md @@ -25,7 +25,7 @@ Edit the about text of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.editAbout({channel=InputChannel, about='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_editAdmin.md b/old_docs/API_docs_v70/methods/channels_editAdmin.md index 08860c79..19670a43 100644 --- a/old_docs/API_docs_v70/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v70/methods/channels_editAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ admin_rights - Json encoded ChannelAdminRights Or, if you're into Lua: -``` +```lua Updates = channels.editAdmin({channel=InputChannel, user_id=InputUser, admin_rights=ChannelAdminRights, }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_editBanned.md b/old_docs/API_docs_v70/methods/channels_editBanned.md index e938acc0..e18f236e 100644 --- a/old_docs/API_docs_v70/methods/channels_editBanned.md +++ b/old_docs/API_docs_v70/methods/channels_editBanned.md @@ -26,7 +26,7 @@ Kick or ban a user from a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ banned_rights - Json encoded ChannelBannedRights Or, if you're into Lua: -``` +```lua Updates = channels.editBanned({channel=InputChannel, user_id=InputUser, banned_rights=ChannelBannedRights, }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_editPhoto.md b/old_docs/API_docs_v70/methods/channels_editPhoto.md index ccbaed65..7013c6e2 100644 --- a/old_docs/API_docs_v70/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v70/methods/channels_editPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = channels.editPhoto({channel=InputChannel, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_editTitle.md b/old_docs/API_docs_v70/methods/channels_editTitle.md index ffd868ba..a9c8c50f 100644 --- a/old_docs/API_docs_v70/methods/channels_editTitle.md +++ b/old_docs/API_docs_v70/methods/channels_editTitle.md @@ -25,7 +25,7 @@ Edit the title of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.editTitle({channel=InputChannel, title='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_exportInvite.md b/old_docs/API_docs_v70/methods/channels_exportInvite.md index 0b4b5c31..5a92097a 100644 --- a/old_docs/API_docs_v70/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v70/methods/channels_exportInvite.md @@ -24,7 +24,7 @@ Export the invite link of a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua ExportedChatInvite = channels.exportInvite({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_exportMessageLink.md b/old_docs/API_docs_v70/methods/channels_exportMessageLink.md index f42068f4..a2e2cc10 100644 --- a/old_docs/API_docs_v70/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v70/methods/channels_exportMessageLink.md @@ -25,7 +25,7 @@ Get the link of a message in a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua ExportedMessageLink = channels.exportMessageLink({channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_getAdminLog.md b/old_docs/API_docs_v70/methods/channels_getAdminLog.md index 266c07d7..79a6b402 100644 --- a/old_docs/API_docs_v70/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v70/methods/channels_getAdminLog.md @@ -30,7 +30,7 @@ Get admin log of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v70/methods/channels_getAdminedPublicChannels.md index 67ee8bd4..dc2c29ed 100644 --- a/old_docs/API_docs_v70/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v70/methods/channels_getAdminedPublicChannels.md @@ -19,7 +19,7 @@ Get all supergroups/channels where you're admin ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v70/methods/channels_getChannels.md b/old_docs/API_docs_v70/methods/channels_getChannels.md index 71edac7b..a146be1e 100644 --- a/old_docs/API_docs_v70/methods/channels_getChannels.md +++ b/old_docs/API_docs_v70/methods/channels_getChannels.md @@ -24,7 +24,7 @@ Get info about multiple channels/supergroups ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputChannel Or, if you're into Lua: -``` +```lua messages_Chats = channels.getChannels({id={InputChannel}, }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_getMessages.md b/old_docs/API_docs_v70/methods/channels_getMessages.md index 217757eb..208cbcc4 100644 --- a/old_docs/API_docs_v70/methods/channels_getMessages.md +++ b/old_docs/API_docs_v70/methods/channels_getMessages.md @@ -25,7 +25,7 @@ Get channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_getParticipant.md b/old_docs/API_docs_v70/methods/channels_getParticipant.md index a641d213..9cf80799 100644 --- a/old_docs/API_docs_v70/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v70/methods/channels_getParticipant.md @@ -25,7 +25,7 @@ Get info about a certain channel/supergroup participant ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_getParticipants.md b/old_docs/API_docs_v70/methods/channels_getParticipants.md index c2f0cdcd..3d4dfa13 100644 --- a/old_docs/API_docs_v70/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v70/methods/channels_getParticipants.md @@ -27,7 +27,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_inviteToChannel.md b/old_docs/API_docs_v70/methods/channels_inviteToChannel.md index 0a350cc8..998e3895 100644 --- a/old_docs/API_docs_v70/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v70/methods/channels_inviteToChannel.md @@ -25,7 +25,7 @@ Add users to channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ users - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Updates = channels.inviteToChannel({channel=InputChannel, users={InputUser}, }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_joinChannel.md b/old_docs/API_docs_v70/methods/channels_joinChannel.md index aae2bc1c..3c6a3b94 100644 --- a/old_docs/API_docs_v70/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v70/methods/channels_joinChannel.md @@ -24,7 +24,7 @@ Join a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.joinChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_leaveChannel.md b/old_docs/API_docs_v70/methods/channels_leaveChannel.md index 4e6701fe..0934089f 100644 --- a/old_docs/API_docs_v70/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v70/methods/channels_leaveChannel.md @@ -24,7 +24,7 @@ Leave a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.leaveChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_readHistory.md b/old_docs/API_docs_v70/methods/channels_readHistory.md index d76919ff..cf5c1529 100644 --- a/old_docs/API_docs_v70/methods/channels_readHistory.md +++ b/old_docs/API_docs_v70/methods/channels_readHistory.md @@ -25,7 +25,7 @@ Mark channel/supergroup history as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.readHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_reportSpam.md b/old_docs/API_docs_v70/methods/channels_reportSpam.md index 48022662..b0e99eb1 100644 --- a/old_docs/API_docs_v70/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v70/methods/channels_reportSpam.md @@ -26,7 +26,7 @@ Report a message in a supergroup/channel for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.reportSpam({channel=InputChannel, user_id=InputUser, id={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_toggleInvites.md b/old_docs/API_docs_v70/methods/channels_toggleInvites.md index d0023b70..bed6ba15 100644 --- a/old_docs/API_docs_v70/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v70/methods/channels_toggleInvites.md @@ -25,7 +25,7 @@ Allow or disallow any user to invite users to this channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleInvites({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_toggleSignatures.md b/old_docs/API_docs_v70/methods/channels_toggleSignatures.md index 337e8627..c9fe18cc 100644 --- a/old_docs/API_docs_v70/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v70/methods/channels_toggleSignatures.md @@ -25,7 +25,7 @@ Toggle channel signatures ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleSignatures({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v70/methods/channels_updatePinnedMessage.md index c79c5904..9d2cc058 100644 --- a/old_docs/API_docs_v70/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v70/methods/channels_updatePinnedMessage.md @@ -26,7 +26,7 @@ Set the pinned message of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = channels.updatePinnedMessage({silent=Bool, channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/channels_updateUsername.md b/old_docs/API_docs_v70/methods/channels_updateUsername.md index 2e07e123..c0df8c7c 100644 --- a/old_docs/API_docs_v70/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v70/methods/channels_updateUsername.md @@ -25,7 +25,7 @@ Update the username of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.updateUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/contacts_block.md b/old_docs/API_docs_v70/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v70/methods/contacts_block.md +++ b/old_docs/API_docs_v70/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v70/methods/contacts_deleteContact.md b/old_docs/API_docs_v70/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v70/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v70/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v70/methods/contacts_deleteContacts.md b/old_docs/API_docs_v70/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v70/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v70/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v70/methods/contacts_exportCard.md b/old_docs/API_docs_v70/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v70/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v70/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v70/methods/contacts_getBlocked.md b/old_docs/API_docs_v70/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v70/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v70/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/contacts_getContacts.md b/old_docs/API_docs_v70/methods/contacts_getContacts.md index ccf0f99d..dfa407f2 100644 --- a/old_docs/API_docs_v70/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v70/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/contacts_getStatuses.md b/old_docs/API_docs_v70/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v70/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v70/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v70/methods/contacts_getTopPeers.md b/old_docs/API_docs_v70/methods/contacts_getTopPeers.md index 1cc9c756..c64e7486 100644 --- a/old_docs/API_docs_v70/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v70/methods/contacts_getTopPeers.md @@ -32,7 +32,7 @@ Get most used chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/contacts_importCard.md b/old_docs/API_docs_v70/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v70/methods/contacts_importCard.md +++ b/old_docs/API_docs_v70/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/contacts_importContacts.md b/old_docs/API_docs_v70/methods/contacts_importContacts.md index d0404dd2..f1b17e2c 100644 --- a/old_docs/API_docs_v70/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v70/methods/contacts_importContacts.md @@ -25,7 +25,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ replace - Json encoded Bool Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v70/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v70/methods/contacts_resetTopPeerRating.md index 96ae48ac..94a07f54 100644 --- a/old_docs/API_docs_v70/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v70/methods/contacts_resetTopPeerRating.md @@ -25,7 +25,7 @@ Reset top peer rating for a certain category/peer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = contacts.resetTopPeerRating({category=TopPeerCategory, peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v70/methods/contacts_search.md b/old_docs/API_docs_v70/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v70/methods/contacts_search.md +++ b/old_docs/API_docs_v70/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/contacts_unblock.md b/old_docs/API_docs_v70/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v70/methods/contacts_unblock.md +++ b/old_docs/API_docs_v70/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v70/methods/contest_saveDeveloperInfo.md b/old_docs/API_docs_v70/methods/contest_saveDeveloperInfo.md index 5761cdc8..2776a131 100644 --- a/old_docs/API_docs_v70/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v70/methods/contest_saveDeveloperInfo.md @@ -28,7 +28,7 @@ Save developer info for telegram contest ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ city - Json encoded string Or, if you're into Lua: -``` +```lua Bool = contest.saveDeveloperInfo({vk_id=int, name='string', phone_number='string', age=int, city='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/destroy_auth_key.md b/old_docs/API_docs_v70/methods/destroy_auth_key.md index b5adfce0..aff3981b 100644 --- a/old_docs/API_docs_v70/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v70/methods/destroy_auth_key.md @@ -19,7 +19,7 @@ Destroy current authorization key ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua DestroyAuthKeyRes = destroy_auth_key({}) ``` diff --git a/old_docs/API_docs_v70/methods/destroy_session.md b/old_docs/API_docs_v70/methods/destroy_session.md index 6892d9a0..d7472c3e 100644 --- a/old_docs/API_docs_v70/methods/destroy_session.md +++ b/old_docs/API_docs_v70/methods/destroy_session.md @@ -24,7 +24,7 @@ Destroy the current MTProto session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ session_id - Json encoded long Or, if you're into Lua: -``` +```lua DestroySessionRes = destroy_session({session_id=long, }) ``` diff --git a/old_docs/API_docs_v70/methods/get_future_salts.md b/old_docs/API_docs_v70/methods/get_future_salts.md index 94f0f8ca..2ab445b6 100644 --- a/old_docs/API_docs_v70/methods/get_future_salts.md +++ b/old_docs/API_docs_v70/methods/get_future_salts.md @@ -24,7 +24,7 @@ Get future salts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ num - Json encoded int Or, if you're into Lua: -``` +```lua FutureSalts = get_future_salts({num=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/help_getAppChangelog.md b/old_docs/API_docs_v70/methods/help_getAppChangelog.md index 10b972c1..179eaf3a 100644 --- a/old_docs/API_docs_v70/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v70/methods/help_getAppChangelog.md @@ -24,7 +24,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ prev_app_version - Json encoded string Or, if you're into Lua: -``` +```lua Updates = help.getAppChangelog({prev_app_version='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/help_getAppUpdate.md b/old_docs/API_docs_v70/methods/help_getAppUpdate.md index 4ddc0e4d..541b5972 100644 --- a/old_docs/API_docs_v70/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v70/methods/help_getAppUpdate.md @@ -19,7 +19,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v70/methods/help_getCdnConfig.md b/old_docs/API_docs_v70/methods/help_getCdnConfig.md index be572516..766896c7 100644 --- a/old_docs/API_docs_v70/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v70/methods/help_getCdnConfig.md @@ -19,7 +19,7 @@ Get CDN configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua CdnConfig = help.getCdnConfig({}) ``` diff --git a/old_docs/API_docs_v70/methods/help_getConfig.md b/old_docs/API_docs_v70/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v70/methods/help_getConfig.md +++ b/old_docs/API_docs_v70/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v70/methods/help_getInviteText.md b/old_docs/API_docs_v70/methods/help_getInviteText.md index 1510e64f..f05ac4ac 100644 --- a/old_docs/API_docs_v70/methods/help_getInviteText.md +++ b/old_docs/API_docs_v70/methods/help_getInviteText.md @@ -19,7 +19,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v70/methods/help_getNearestDc.md b/old_docs/API_docs_v70/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v70/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v70/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v70/methods/help_getSupport.md b/old_docs/API_docs_v70/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v70/methods/help_getSupport.md +++ b/old_docs/API_docs_v70/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v70/methods/help_getTermsOfService.md b/old_docs/API_docs_v70/methods/help_getTermsOfService.md index bf421bf6..95d51e60 100644 --- a/old_docs/API_docs_v70/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v70/methods/help_getTermsOfService.md @@ -19,7 +19,7 @@ Get terms of service ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v70/methods/help_saveAppLog.md b/old_docs/API_docs_v70/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v70/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v70/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v70/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v70/methods/help_setBotUpdatesStatus.md index 0429f8a0..53736da7 100644 --- a/old_docs/API_docs_v70/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v70/methods/help_setBotUpdatesStatus.md @@ -25,7 +25,7 @@ Set the update status of webhook ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = help.setBotUpdatesStatus({pending_updates_count=int, message='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/initConnection.md b/old_docs/API_docs_v70/methods/initConnection.md index 692a41e8..858a9e5d 100644 --- a/old_docs/API_docs_v70/methods/initConnection.md +++ b/old_docs/API_docs_v70/methods/initConnection.md @@ -31,7 +31,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -83,7 +83,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', system_lang_code='string', lang_pack='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v70/methods/invokeAfterMsg.md b/old_docs/API_docs_v70/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v70/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v70/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v70/methods/invokeAfterMsgs.md b/old_docs/API_docs_v70/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v70/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v70/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v70/methods/invokeWithLayer.md b/old_docs/API_docs_v70/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v70/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v70/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v70/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v70/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/old_docs/API_docs_v70/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v70/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/old_docs/API_docs_v70/methods/langpack_getDifference.md b/old_docs/API_docs_v70/methods/langpack_getDifference.md index 0614d869..30184f61 100644 --- a/old_docs/API_docs_v70/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v70/methods/langpack_getDifference.md @@ -24,7 +24,7 @@ Get language pack updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ from_version - Json encoded int Or, if you're into Lua: -``` +```lua LangPackDifference = langpack.getDifference({from_version=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/langpack_getLangPack.md b/old_docs/API_docs_v70/methods/langpack_getLangPack.md index 70f9eb73..98001615 100644 --- a/old_docs/API_docs_v70/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v70/methods/langpack_getLangPack.md @@ -24,7 +24,7 @@ Get language pack ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua LangPackDifference = langpack.getLangPack({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/langpack_getLanguages.md b/old_docs/API_docs_v70/methods/langpack_getLanguages.md index 5eaf2049..8a592a86 100644 --- a/old_docs/API_docs_v70/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v70/methods/langpack_getLanguages.md @@ -19,7 +19,7 @@ Get available languages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_LangPackLanguage = langpack.getLanguages({}) ``` diff --git a/old_docs/API_docs_v70/methods/langpack_getStrings.md b/old_docs/API_docs_v70/methods/langpack_getStrings.md index 3042b040..ccd0a684 100644 --- a/old_docs/API_docs_v70/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v70/methods/langpack_getStrings.md @@ -25,7 +25,7 @@ Get language pack strings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ keys - Json encoded array of string Or, if you're into Lua: -``` +```lua Vector_of_LangPackString = langpack.getStrings({lang_code='string', keys={'string'}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_addChatUser.md b/old_docs/API_docs_v70/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v70/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v70/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_checkChatInvite.md b/old_docs/API_docs_v70/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/old_docs/API_docs_v70/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v70/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v70/methods/messages_clearRecentStickers.md index 56634143..53e1fa4f 100644 --- a/old_docs/API_docs_v70/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v70/methods/messages_clearRecentStickers.md @@ -24,7 +24,7 @@ Clear all recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ attached - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.clearRecentStickers({attached=Bool, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_createChat.md b/old_docs/API_docs_v70/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v70/methods/messages_createChat.md +++ b/old_docs/API_docs_v70/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_deleteChatUser.md b/old_docs/API_docs_v70/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v70/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v70/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_deleteHistory.md b/old_docs/API_docs_v70/methods/messages_deleteHistory.md index 866ba216..33d1ca52 100644 --- a/old_docs/API_docs_v70/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v70/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_deleteMessages.md b/old_docs/API_docs_v70/methods/messages_deleteMessages.md index eaf9cd86..9158e8bd 100644 --- a/old_docs/API_docs_v70/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v70/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_editChatAdmin.md b/old_docs/API_docs_v70/methods/messages_editChatAdmin.md index a2dad97f..f883b50e 100644 --- a/old_docs/API_docs_v70/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v70/methods/messages_editChatAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ is_admin - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.editChatAdmin({chat_id=InputPeer, user_id=InputUser, is_admin=Bool, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_editChatPhoto.md b/old_docs/API_docs_v70/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v70/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v70/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_editChatTitle.md b/old_docs/API_docs_v70/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v70/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v70/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v70/methods/messages_editInlineBotMessage.md index c669c8d7..6c04ab6f 100644 --- a/old_docs/API_docs_v70/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v70/methods/messages_editInlineBotMessage.md @@ -29,7 +29,7 @@ Edit a sent inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -66,7 +66,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.editInlineBotMessage({no_webpage=Bool, id=InputBotInlineMessageID, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_editMessage.md b/old_docs/API_docs_v70/methods/messages_editMessage.md index 7af0cfd9..db5cc876 100644 --- a/old_docs/API_docs_v70/methods/messages_editMessage.md +++ b/old_docs/API_docs_v70/methods/messages_editMessage.md @@ -30,7 +30,7 @@ Edit a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -67,7 +67,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.editMessage({no_webpage=Bool, peer=InputPeer, id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_exportChatInvite.md b/old_docs/API_docs_v70/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/old_docs/API_docs_v70/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v70/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_forwardMessage.md b/old_docs/API_docs_v70/methods/messages_forwardMessage.md index 586670b8..d9c0453f 100644 --- a/old_docs/API_docs_v70/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v70/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_forwardMessages.md b/old_docs/API_docs_v70/methods/messages_forwardMessages.md index 99815a44..caf61d66 100644 --- a/old_docs/API_docs_v70/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v70/methods/messages_forwardMessages.md @@ -29,7 +29,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ to_peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({silent=Bool, background=Bool, with_my_score=Bool, from_peer=InputPeer, id={int}, to_peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getAllChats.md b/old_docs/API_docs_v70/methods/messages_getAllChats.md index 663af07c..38cbbbae 100644 --- a/old_docs/API_docs_v70/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v70/methods/messages_getAllChats.md @@ -24,7 +24,7 @@ Get all chats (not supergroups or channels) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ except_ids - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getAllChats({except_ids={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getAllDrafts.md b/old_docs/API_docs_v70/methods/messages_getAllDrafts.md index 31aa8176..7300e01a 100644 --- a/old_docs/API_docs_v70/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v70/methods/messages_getAllDrafts.md @@ -19,7 +19,7 @@ Get all message drafts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Updates = messages.getAllDrafts({}) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getAllStickers.md b/old_docs/API_docs_v70/methods/messages_getAllStickers.md index 966af122..c25a823b 100644 --- a/old_docs/API_docs_v70/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v70/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v70/methods/messages_getArchivedStickers.md index e98ab6ec..ef79ee6e 100644 --- a/old_docs/API_docs_v70/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v70/methods/messages_getArchivedStickers.md @@ -26,7 +26,7 @@ Get all archived stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v70/methods/messages_getAttachedStickers.md index 0e221a84..9ada6655 100644 --- a/old_docs/API_docs_v70/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v70/methods/messages_getAttachedStickers.md @@ -24,7 +24,7 @@ Get stickers attachable to images ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ media - Json encoded InputStickeredMedia Or, if you're into Lua: -``` +```lua Vector_of_StickerSetCovered = messages.getAttachedStickers({media=InputStickeredMedia, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v70/methods/messages_getBotCallbackAnswer.md index ffcd8a2e..b4f1d02f 100644 --- a/old_docs/API_docs_v70/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v70/methods/messages_getBotCallbackAnswer.md @@ -27,7 +27,7 @@ Get the callback answer of a bot (after clicking a button) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ data - Json encoded bytes Or, if you're into Lua: -``` +```lua messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getChats.md b/old_docs/API_docs_v70/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v70/methods/messages_getChats.md +++ b/old_docs/API_docs_v70/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getCommonChats.md b/old_docs/API_docs_v70/methods/messages_getCommonChats.md index e6921d5e..83237f64 100644 --- a/old_docs/API_docs_v70/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v70/methods/messages_getCommonChats.md @@ -26,7 +26,7 @@ Get chats in common with a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getDialogs.md b/old_docs/API_docs_v70/methods/messages_getDialogs.md index 694c916f..0bc314b5 100644 --- a/old_docs/API_docs_v70/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v70/methods/messages_getDialogs.md @@ -28,7 +28,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v70/methods/messages_getDocumentByHash.md index 5b6f6f21..00f0a558 100644 --- a/old_docs/API_docs_v70/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v70/methods/messages_getDocumentByHash.md @@ -26,7 +26,7 @@ Get document by SHA256 hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ mime_type - Json encoded string Or, if you're into Lua: -``` +```lua Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v70/methods/messages_getFeaturedStickers.md index a837377b..c257621e 100644 --- a/old_docs/API_docs_v70/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v70/methods/messages_getFeaturedStickers.md @@ -24,7 +24,7 @@ Get featured stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getGameHighScores.md b/old_docs/API_docs_v70/methods/messages_getGameHighScores.md index f7837998..a97fb1ff 100644 --- a/old_docs/API_docs_v70/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v70/methods/messages_getGameHighScores.md @@ -26,7 +26,7 @@ Get high scores of a game ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getHistory.md b/old_docs/API_docs_v70/methods/messages_getHistory.md index 76d20b70..23f2d6e9 100644 --- a/old_docs/API_docs_v70/methods/messages_getHistory.md +++ b/old_docs/API_docs_v70/methods/messages_getHistory.md @@ -30,7 +30,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v70/methods/messages_getInlineBotResults.md index 03b5d845..73f2deb2 100644 --- a/old_docs/API_docs_v70/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v70/methods/messages_getInlineBotResults.md @@ -28,7 +28,7 @@ Call inline bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ offset - Json encoded string Or, if you're into Lua: -``` +```lua messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v70/methods/messages_getInlineGameHighScores.md index e8be8e81..046c1cfb 100644 --- a/old_docs/API_docs_v70/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v70/methods/messages_getInlineGameHighScores.md @@ -25,7 +25,7 @@ Get high scores of a game sent in an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getMaskStickers.md b/old_docs/API_docs_v70/methods/messages_getMaskStickers.md index 55c4edea..06fd153e 100644 --- a/old_docs/API_docs_v70/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v70/methods/messages_getMaskStickers.md @@ -24,7 +24,7 @@ Get masks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getMessageEditData.md b/old_docs/API_docs_v70/methods/messages_getMessageEditData.md index 2c44a1dc..77e2c030 100644 --- a/old_docs/API_docs_v70/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v70/methods/messages_getMessageEditData.md @@ -25,7 +25,7 @@ Check if about to edit a message or a media caption ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getMessages.md b/old_docs/API_docs_v70/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v70/methods/messages_getMessages.md +++ b/old_docs/API_docs_v70/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getMessagesViews.md b/old_docs/API_docs_v70/methods/messages_getMessagesViews.md index 57a99054..b2b6110e 100644 --- a/old_docs/API_docs_v70/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v70/methods/messages_getMessagesViews.md @@ -26,7 +26,7 @@ Get and increase message views ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ increment - Json encoded Bool Or, if you're into Lua: -``` +```lua Vector_of_int = messages.getMessagesViews({peer=InputPeer, id={int}, increment=Bool, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v70/methods/messages_getPeerDialogs.md index ca746b3b..a34873df 100644 --- a/old_docs/API_docs_v70/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v70/methods/messages_getPeerDialogs.md @@ -24,7 +24,7 @@ Get dialog info of peers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peers - Json encoded array of InputPeer Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getPeerSettings.md b/old_docs/API_docs_v70/methods/messages_getPeerSettings.md index 92d4697a..e2b3ec4f 100644 --- a/old_docs/API_docs_v70/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v70/methods/messages_getPeerSettings.md @@ -24,7 +24,7 @@ Get the settings of apeer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua PeerSettings = messages.getPeerSettings({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v70/methods/messages_getPinnedDialogs.md index 634f4c41..77eb98ce 100644 --- a/old_docs/API_docs_v70/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v70/methods/messages_getPinnedDialogs.md @@ -19,7 +19,7 @@ Get pinned dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPinnedDialogs({}) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getRecentStickers.md b/old_docs/API_docs_v70/methods/messages_getRecentStickers.md index d89272fd..939fd036 100644 --- a/old_docs/API_docs_v70/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v70/methods/messages_getRecentStickers.md @@ -25,7 +25,7 @@ Get recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getSavedGifs.md b/old_docs/API_docs_v70/methods/messages_getSavedGifs.md index cafba4e1..1a879907 100644 --- a/old_docs/API_docs_v70/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v70/methods/messages_getSavedGifs.md @@ -24,7 +24,7 @@ Get saved gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getStickerSet.md b/old_docs/API_docs_v70/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/old_docs/API_docs_v70/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v70/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getWebPage.md b/old_docs/API_docs_v70/methods/messages_getWebPage.md index fb7152af..9237d4b7 100644 --- a/old_docs/API_docs_v70/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v70/methods/messages_getWebPage.md @@ -25,7 +25,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua WebPage = messages.getWebPage({url='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v70/methods/messages_getWebPagePreview.md index 8475c8f5..4838be94 100644 --- a/old_docs/API_docs_v70/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v70/methods/messages_getWebPagePreview.md @@ -24,7 +24,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_hideReportSpam.md b/old_docs/API_docs_v70/methods/messages_hideReportSpam.md index 17a7f8ef..1c0d72c5 100644 --- a/old_docs/API_docs_v70/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v70/methods/messages_hideReportSpam.md @@ -24,7 +24,7 @@ Hide report spam popup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.hideReportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_importChatInvite.md b/old_docs/API_docs_v70/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/old_docs/API_docs_v70/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v70/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_installStickerSet.md b/old_docs/API_docs_v70/methods/messages_installStickerSet.md index 88131136..6bdb9390 100644 --- a/old_docs/API_docs_v70/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v70/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ archived - Json encoded Bool Or, if you're into Lua: -``` +```lua messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_migrateChat.md b/old_docs/API_docs_v70/methods/messages_migrateChat.md index df91f510..e789ff7d 100644 --- a/old_docs/API_docs_v70/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v70/methods/messages_migrateChat.md @@ -24,7 +24,7 @@ Convert chat to supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.migrateChat({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v70/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v70/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v70/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v70/methods/messages_readFeaturedStickers.md index 2c34ac0f..9fef6621 100644 --- a/old_docs/API_docs_v70/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v70/methods/messages_readFeaturedStickers.md @@ -24,7 +24,7 @@ Mark new featured stickers as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.readFeaturedStickers({id={long}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_readHistory.md b/old_docs/API_docs_v70/methods/messages_readHistory.md index 48d7fb45..4a2188d8 100644 --- a/old_docs/API_docs_v70/methods/messages_readHistory.md +++ b/old_docs/API_docs_v70/methods/messages_readHistory.md @@ -25,7 +25,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_readMessageContents.md b/old_docs/API_docs_v70/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v70/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v70/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_receivedMessages.md b/old_docs/API_docs_v70/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/old_docs/API_docs_v70/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v70/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v70/methods/messages_reorderPinnedDialogs.md index 4d2cb53e..d8aeefa7 100644 --- a/old_docs/API_docs_v70/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v70/methods/messages_reorderPinnedDialogs.md @@ -25,7 +25,7 @@ Reorder pinned dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reorderPinnedDialogs({force=Bool, order={InputPeer}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v70/methods/messages_reorderStickerSets.md index c1c35ef6..cd73daa0 100644 --- a/old_docs/API_docs_v70/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v70/methods/messages_reorderStickerSets.md @@ -25,7 +25,7 @@ Reorder sticker sets ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.reorderStickerSets({masks=Bool, order={long}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v70/methods/messages_reportEncryptedSpam.md index dffdffc9..5d5f0dab 100644 --- a/old_docs/API_docs_v70/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v70/methods/messages_reportEncryptedSpam.md @@ -24,7 +24,7 @@ Report for spam a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputEncryptedChat Or, if you're into Lua: -``` +```lua Bool = messages.reportEncryptedSpam({peer=InputEncryptedChat, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_reportSpam.md b/old_docs/API_docs_v70/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/old_docs/API_docs_v70/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v70/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_saveDraft.md b/old_docs/API_docs_v70/methods/messages_saveDraft.md index ede72c41..14e69f93 100644 --- a/old_docs/API_docs_v70/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v70/methods/messages_saveDraft.md @@ -29,7 +29,7 @@ Save a message draft ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -57,7 +57,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.saveDraft({no_webpage=Bool, reply_to_msg_id=int, peer=InputPeer, message='string', entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_saveGif.md b/old_docs/API_docs_v70/methods/messages_saveGif.md index adae6d86..dfa956ab 100644 --- a/old_docs/API_docs_v70/methods/messages_saveGif.md +++ b/old_docs/API_docs_v70/methods/messages_saveGif.md @@ -25,7 +25,7 @@ Save a GIF ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveGif({id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v70/methods/messages_saveRecentSticker.md index 9cd06ea1..1abf524f 100644 --- a/old_docs/API_docs_v70/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v70/methods/messages_saveRecentSticker.md @@ -26,7 +26,7 @@ Add a sticker to recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveRecentSticker({attached=Bool, id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_search.md b/old_docs/API_docs_v70/methods/messages_search.md index ab9ebba0..358913c9 100644 --- a/old_docs/API_docs_v70/methods/messages_search.md +++ b/old_docs/API_docs_v70/methods/messages_search.md @@ -32,7 +32,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_searchGifs.md b/old_docs/API_docs_v70/methods/messages_searchGifs.md index 1ef77d23..a12cdd21 100644 --- a/old_docs/API_docs_v70/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v70/methods/messages_searchGifs.md @@ -25,7 +25,7 @@ Search gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_searchGlobal.md b/old_docs/API_docs_v70/methods/messages_searchGlobal.md index 4d05bf0d..1fb73592 100644 --- a/old_docs/API_docs_v70/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v70/methods/messages_searchGlobal.md @@ -28,7 +28,7 @@ Global message search ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_sendEncrypted.md b/old_docs/API_docs_v70/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v70/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v70/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v70/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v70/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v70/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v70/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v70/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v70/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v70/methods/messages_sendInlineBotResult.md index 8de674c6..37fae63a 100644 --- a/old_docs/API_docs_v70/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v70/methods/messages_sendInlineBotResult.md @@ -30,7 +30,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ id - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.sendInlineBotResult({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_sendMedia.md b/old_docs/API_docs_v70/methods/messages_sendMedia.md index 2290e52e..7c4e0dcf 100644 --- a/old_docs/API_docs_v70/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v70/methods/messages_sendMedia.md @@ -30,7 +30,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, media=InputMedia, reply_markup=ReplyMarkup, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_sendMessage.md b/old_docs/API_docs_v70/methods/messages_sendMessage.md index 77790562..9cdc74eb 100644 --- a/old_docs/API_docs_v70/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v70/methods/messages_sendMessage.md @@ -33,7 +33,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMessage({no_webpage=Bool, silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_sendScreenshotNotification.md b/old_docs/API_docs_v70/methods/messages_sendScreenshotNotification.md index 3a71c404..d4fd79b6 100644 --- a/old_docs/API_docs_v70/methods/messages_sendScreenshotNotification.md +++ b/old_docs/API_docs_v70/methods/messages_sendScreenshotNotification.md @@ -25,7 +25,7 @@ Send screenshot notification ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reply_to_msg_id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.sendScreenshotNotification({peer=InputPeer, reply_to_msg_id=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v70/methods/messages_setBotCallbackAnswer.md index 0395b468..47d74918 100644 --- a/old_docs/API_docs_v70/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v70/methods/messages_setBotCallbackAnswer.md @@ -28,7 +28,7 @@ Bots only: set the callback answer (after a button was clicked) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ cache_time - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message='string', url='string', cache_time=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v70/methods/messages_setBotPrecheckoutResults.md index 486ab585..92e8ea5a 100644 --- a/old_docs/API_docs_v70/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v70/methods/messages_setBotPrecheckoutResults.md @@ -26,7 +26,7 @@ Bots only: set precheckout results ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ error - Json encoded string Or, if you're into Lua: -``` +```lua Bool = messages.setBotPrecheckoutResults({success=Bool, query_id=long, error='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v70/methods/messages_setBotShippingResults.md index a9e43c49..6e223219 100644 --- a/old_docs/API_docs_v70/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v70/methods/messages_setBotShippingResults.md @@ -26,7 +26,7 @@ Bots only: set shipping results ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ shipping_options - Json encoded array of ShippingOption Or, if you're into Lua: -``` +```lua Bool = messages.setBotShippingResults({query_id=long, error='string', shipping_options={ShippingOption}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v70/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v70/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v70/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_setGameScore.md b/old_docs/API_docs_v70/methods/messages_setGameScore.md index 41ee4591..1a50326e 100644 --- a/old_docs/API_docs_v70/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v70/methods/messages_setGameScore.md @@ -29,7 +29,7 @@ Set the game score ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.setGameScore({edit_message=Bool, force=Bool, peer=InputPeer, id=int, user_id=InputUser, score=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v70/methods/messages_setInlineBotResults.md index 443a028e..e1ebe4e3 100644 --- a/old_docs/API_docs_v70/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v70/methods/messages_setInlineBotResults.md @@ -30,7 +30,7 @@ Bots only: set the results of an inline query ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: -``` +```lua Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset='string', switch_pm=InlineBotSwitchPM, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v70/methods/messages_setInlineGameScore.md index 0d97b9bf..76db49dd 100644 --- a/old_docs/API_docs_v70/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v70/methods/messages_setInlineGameScore.md @@ -28,7 +28,7 @@ Set the game score of an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setInlineGameScore({edit_message=Bool, force=Bool, id=InputBotInlineMessageID, user_id=InputUser, score=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_setTyping.md b/old_docs/API_docs_v70/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v70/methods/messages_setTyping.md +++ b/old_docs/API_docs_v70/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_startBot.md b/old_docs/API_docs_v70/methods/messages_startBot.md index 506957a7..71f82822 100644 --- a/old_docs/API_docs_v70/methods/messages_startBot.md +++ b/old_docs/API_docs_v70/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v70/methods/messages_toggleChatAdmins.md index 0f1e56fa..56438277 100644 --- a/old_docs/API_docs_v70/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v70/methods/messages_toggleChatAdmins.md @@ -25,7 +25,7 @@ Enable all users are admins in normal groups (not supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = messages.toggleChatAdmins({chat_id=InputPeer, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v70/methods/messages_toggleDialogPin.md index 57f673a0..02adfd4b 100644 --- a/old_docs/API_docs_v70/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v70/methods/messages_toggleDialogPin.md @@ -25,7 +25,7 @@ Pin or unpin dialog ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.toggleDialogPin({pinned=Bool, peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v70/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/old_docs/API_docs_v70/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v70/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages_uploadMedia.md b/old_docs/API_docs_v70/methods/messages_uploadMedia.md index 65fed5f8..af710357 100644 --- a/old_docs/API_docs_v70/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v70/methods/messages_uploadMedia.md @@ -25,7 +25,7 @@ Upload a file without sending it to anyone ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua MessageMedia = messages.uploadMedia({peer=InputPeer, media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v70/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v70/methods/payments_clearSavedInfo.md index 8ac2d538..1fb58ffa 100644 --- a/old_docs/API_docs_v70/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v70/methods/payments_clearSavedInfo.md @@ -25,7 +25,7 @@ Clear saved payments info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ info - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = payments.clearSavedInfo({credentials=Bool, info=Bool, }) ``` diff --git a/old_docs/API_docs_v70/methods/payments_getPaymentForm.md b/old_docs/API_docs_v70/methods/payments_getPaymentForm.md index c53c7d10..480e7d6d 100644 --- a/old_docs/API_docs_v70/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v70/methods/payments_getPaymentForm.md @@ -24,7 +24,7 @@ Get payment form ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ msg_id - Json encoded int Or, if you're into Lua: -``` +```lua payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v70/methods/payments_getPaymentReceipt.md index b6bbb3e5..074aed0e 100644 --- a/old_docs/API_docs_v70/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v70/methods/payments_getPaymentReceipt.md @@ -24,7 +24,7 @@ Get payment receipt ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ msg_id - Json encoded int Or, if you're into Lua: -``` +```lua payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/payments_getSavedInfo.md b/old_docs/API_docs_v70/methods/payments_getSavedInfo.md index acaa603f..df3796a2 100644 --- a/old_docs/API_docs_v70/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v70/methods/payments_getSavedInfo.md @@ -19,7 +19,7 @@ Get saved payments info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua payments_SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v70/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v70/methods/payments_sendPaymentForm.md index 5ac22160..582f446a 100644 --- a/old_docs/API_docs_v70/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v70/methods/payments_sendPaymentForm.md @@ -27,7 +27,7 @@ Bots only: send payment form ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ credentials - Json encoded InputPaymentCredentials Or, if you're into Lua: -``` +```lua payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` diff --git a/old_docs/API_docs_v70/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v70/methods/payments_validateRequestedInfo.md index bc60d68f..524c8515 100644 --- a/old_docs/API_docs_v70/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v70/methods/payments_validateRequestedInfo.md @@ -26,7 +26,7 @@ Validate requested payment info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ info - Json encoded PaymentRequestedInfo Or, if you're into Lua: -``` +```lua payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` diff --git a/old_docs/API_docs_v70/methods/phone_getCallConfig.md b/old_docs/API_docs_v70/methods/phone_getCallConfig.md index dc8619e8..4ee97d2f 100644 --- a/old_docs/API_docs_v70/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v70/methods/phone_getCallConfig.md @@ -19,7 +19,7 @@ Get call configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua DataJSON = phone.getCallConfig({}) ``` diff --git a/old_docs/API_docs_v70/methods/phone_receivedCall.md b/old_docs/API_docs_v70/methods/phone_receivedCall.md index b6cebd0c..c030fe43 100644 --- a/old_docs/API_docs_v70/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v70/methods/phone_receivedCall.md @@ -24,7 +24,7 @@ Notify server that you received a call (server will refuse all incoming calls un ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPhoneCall Or, if you're into Lua: -``` +```lua Bool = phone.receivedCall({peer=InputPhoneCall, }) ``` diff --git a/old_docs/API_docs_v70/methods/phone_saveCallDebug.md b/old_docs/API_docs_v70/methods/phone_saveCallDebug.md index 176f0838..3aff7998 100644 --- a/old_docs/API_docs_v70/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v70/methods/phone_saveCallDebug.md @@ -25,7 +25,7 @@ Save call debugging info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ debug - Json encoded DataJSON Or, if you're into Lua: -``` +```lua Bool = phone.saveCallDebug({peer=InputPhoneCall, debug=DataJSON, }) ``` diff --git a/old_docs/API_docs_v70/methods/phone_setCallRating.md b/old_docs/API_docs_v70/methods/phone_setCallRating.md index 0861c10e..fa83b2c7 100644 --- a/old_docs/API_docs_v70/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v70/methods/phone_setCallRating.md @@ -26,7 +26,7 @@ Set phone call rating ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ comment - Json encoded string Or, if you're into Lua: -``` +```lua Updates = phone.setCallRating({peer=InputPhoneCall, rating=int, comment='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/photos_deletePhotos.md b/old_docs/API_docs_v70/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v70/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v70/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v70/methods/photos_getUserPhotos.md b/old_docs/API_docs_v70/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/old_docs/API_docs_v70/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v70/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v70/methods/photos_updateProfilePhoto.md index 8eb42e5d..26ab417e 100644 --- a/old_docs/API_docs_v70/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v70/methods/photos_updateProfilePhoto.md @@ -24,7 +24,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputPhoto Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, }) ``` diff --git a/old_docs/API_docs_v70/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v70/methods/photos_uploadProfilePhoto.md index 9b838b89..8d047d9a 100644 --- a/old_docs/API_docs_v70/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v70/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ file - Json encoded InputFile Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` diff --git a/old_docs/API_docs_v70/methods/ping.md b/old_docs/API_docs_v70/methods/ping.md index d07839e4..de80b551 100644 --- a/old_docs/API_docs_v70/methods/ping.md +++ b/old_docs/API_docs_v70/methods/ping.md @@ -24,7 +24,7 @@ pings the server ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ ping_id - Json encoded long Or, if you're into Lua: -``` +```lua Pong = ping({ping_id=long, }) ``` diff --git a/old_docs/API_docs_v70/methods/ping_delay_disconnect.md b/old_docs/API_docs_v70/methods/ping_delay_disconnect.md index 9b89e38d..337ba565 100644 --- a/old_docs/API_docs_v70/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v70/methods/ping_delay_disconnect.md @@ -25,7 +25,7 @@ Pings the server and causes disconection if the same method is not called within ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ disconnect_delay - Json encoded int Or, if you're into Lua: -``` +```lua Pong = ping_delay_disconnect({ping_id=long, disconnect_delay=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/req_DH_params.md b/old_docs/API_docs_v70/methods/req_DH_params.md index 54dd35a0..405e5acf 100644 --- a/old_docs/API_docs_v70/methods/req_DH_params.md +++ b/old_docs/API_docs_v70/methods/req_DH_params.md @@ -29,7 +29,7 @@ Requests Diffie-hellman parameters for key exchange ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ encrypted_data - Json encoded string Or, if you're into Lua: -``` +```lua Server_DH_Params = req_DH_params({nonce=int128, server_nonce=int128, p='string', q='string', public_key_fingerprint=long, encrypted_data='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/req_pq.md b/old_docs/API_docs_v70/methods/req_pq.md index 64da6ef7..8c764814 100644 --- a/old_docs/API_docs_v70/methods/req_pq.md +++ b/old_docs/API_docs_v70/methods/req_pq.md @@ -24,7 +24,7 @@ Requests PQ for factorization ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ nonce - Json encoded int128 Or, if you're into Lua: -``` +```lua ResPQ = req_pq({nonce=int128, }) ``` diff --git a/old_docs/API_docs_v70/methods/rpc_drop_answer.md b/old_docs/API_docs_v70/methods/rpc_drop_answer.md index 8e08d16b..8b81eefd 100644 --- a/old_docs/API_docs_v70/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v70/methods/rpc_drop_answer.md @@ -24,7 +24,7 @@ Do not send answer to provided request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ req_msg_id - Json encoded long Or, if you're into Lua: -``` +```lua RpcDropAnswer = rpc_drop_answer({req_msg_id=long, }) ``` diff --git a/old_docs/API_docs_v70/methods/set_client_DH_params.md b/old_docs/API_docs_v70/methods/set_client_DH_params.md index 41bbb00f..8bf36c8a 100644 --- a/old_docs/API_docs_v70/methods/set_client_DH_params.md +++ b/old_docs/API_docs_v70/methods/set_client_DH_params.md @@ -26,7 +26,7 @@ Sets client diffie-hellman parameters ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ encrypted_data - Json encoded string Or, if you're into Lua: -``` +```lua Set_client_DH_params_answer = set_client_DH_params({nonce=int128, server_nonce=int128, encrypted_data='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v70/methods/stickers_addStickerToSet.md index 7029d543..0946e28a 100644 --- a/old_docs/API_docs_v70/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v70/methods/stickers_addStickerToSet.md @@ -25,7 +25,7 @@ Add sticker to stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ sticker - Json encoded InputStickerSetItem Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` diff --git a/old_docs/API_docs_v70/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v70/methods/stickers_changeStickerPosition.md index e6a2951e..ff27fd3c 100644 --- a/old_docs/API_docs_v70/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v70/methods/stickers_changeStickerPosition.md @@ -25,7 +25,7 @@ Change sticker position in photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ position - Json encoded int Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/stickers_createStickerSet.md b/old_docs/API_docs_v70/methods/stickers_createStickerSet.md index 58ed89b7..7dd29ccd 100644 --- a/old_docs/API_docs_v70/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v70/methods/stickers_createStickerSet.md @@ -28,7 +28,7 @@ Create stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ stickers - Json encoded array of InputStickerSetItem Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` diff --git a/old_docs/API_docs_v70/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v70/methods/stickers_removeStickerFromSet.md index 7349779f..64ce97a3 100644 --- a/old_docs/API_docs_v70/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v70/methods/stickers_removeStickerFromSet.md @@ -24,7 +24,7 @@ Remove sticker from stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ sticker - Json encoded InputDocument Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` diff --git a/old_docs/API_docs_v70/methods/upload_getWebFile.md b/old_docs/API_docs_v70/methods/upload_getWebFile.md index d7d5d631..16952ff9 100644 --- a/old_docs/API_docs_v70/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v70/methods/upload_getWebFile.md @@ -26,7 +26,7 @@ Download a file through telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/users_getUsers.md b/old_docs/API_docs_v70/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v70/methods/users_getUsers.md +++ b/old_docs/API_docs_v70/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v70/types/Chat.md b/old_docs/API_docs_v70/types/Chat.md index cd83aacb..58654e6e 100644 --- a/old_docs/API_docs_v70/types/Chat.md +++ b/old_docs/API_docs_v70/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v70/types/InputChannel.md b/old_docs/API_docs_v70/types/InputChannel.md index 3882099d..6dc802fc 100644 --- a/old_docs/API_docs_v70/types/InputChannel.md +++ b/old_docs/API_docs_v70/types/InputChannel.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputChannel = '@username'; // Username $InputChannel = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v70/types/InputEncryptedChat.md b/old_docs/API_docs_v70/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v70/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v70/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v70/types/InputEncryptedFile.md b/old_docs/API_docs_v70/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v70/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v70/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v70/types/InputFile.md b/old_docs/API_docs_v70/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v70/types/InputFile.md +++ b/old_docs/API_docs_v70/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v70/types/InputNotifyPeer.md b/old_docs/API_docs_v70/types/InputNotifyPeer.md index ffc1f0cf..f9d0a662 100644 --- a/old_docs/API_docs_v70/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v70/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v70/types/InputPeer.md b/old_docs/API_docs_v70/types/InputPeer.md index 2076c00b..2649db1a 100644 --- a/old_docs/API_docs_v70/types/InputPeer.md +++ b/old_docs/API_docs_v70/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v70/types/InputUser.md b/old_docs/API_docs_v70/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/old_docs/API_docs_v70/types/InputUser.md +++ b/old_docs/API_docs_v70/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v70/types/KeyboardButton.md b/old_docs/API_docs_v70/types/KeyboardButton.md index ac4b9e1e..69f33796 100644 --- a/old_docs/API_docs_v70/types/KeyboardButton.md +++ b/old_docs/API_docs_v70/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/old_docs/API_docs_v70/types/NotifyPeer.md b/old_docs/API_docs_v70/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v70/types/NotifyPeer.md +++ b/old_docs/API_docs_v70/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v70/types/Peer.md b/old_docs/API_docs_v70/types/Peer.md index ebb98e91..0ab7fdcc 100644 --- a/old_docs/API_docs_v70/types/Peer.md +++ b/old_docs/API_docs_v70/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v70/types/PhoneCall.md b/old_docs/API_docs_v70/types/PhoneCall.md index 64d95972..0aa87799 100644 --- a/old_docs/API_docs_v70/types/PhoneCall.md +++ b/old_docs/API_docs_v70/types/PhoneCall.md @@ -159,7 +159,7 @@ The audio configuration is an array structured in the following way: Easy as pie: -``` +```php $call->storage["pony"] = "fluttershy"; \danog\MadelineProto\Logger::log($call->storage["pony"]); // fluttershy ``` @@ -173,7 +173,7 @@ You can only modify the data saving mode, the network type, the logging file pat Example: -``` +```php $call->configuration["log_file_path"] = "logs".$call->getOtherID().".log"; // Default is /dev/null $call->configuration["stats_dump_file_path"] = "stats".$call->getOtherID().".log"; // Default is /dev/null $call->configuration["network_type"] = \danog\MadelineProto\VoIP::NET_TYPE_WIFI; // Default is NET_TYPE_ETHERNET diff --git a/old_docs/API_docs_v70/types/User.md b/old_docs/API_docs_v70/types/User.md index 3abd182f..425c8d2b 100644 --- a/old_docs/API_docs_v70/types/User.md +++ b/old_docs/API_docs_v70/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v71/constructors/accountDaysTTL.md b/old_docs/API_docs_v71/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v71/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v71/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v71/constructors/account_authorizations.md b/old_docs/API_docs_v71/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v71/constructors/account_authorizations.md +++ b/old_docs/API_docs_v71/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v71/constructors/account_noPassword.md b/old_docs/API_docs_v71/constructors/account_noPassword.md index 81a483d6..63a4af6d 100644 --- a/old_docs/API_docs_v71/constructors/account_noPassword.md +++ b/old_docs/API_docs_v71/constructors/account_noPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -33,10 +33,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'emai ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/account_password.md b/old_docs/API_docs_v71/constructors/account_password.md index 9a8b31c6..5c4c334b 100644 --- a/old_docs/API_docs_v71/constructors/account_password.md +++ b/old_docs/API_docs_v71/constructors/account_password.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` @@ -36,10 +36,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v71/constructors/account_passwordInputSettings.md index f474e0c7..b5838f0a 100644 --- a/old_docs/API_docs_v71/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v71/constructors/account_passwordInputSettings.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v71/constructors/account_passwordSettings.md b/old_docs/API_docs_v71/constructors/account_passwordSettings.md index 27d14f59..04fc8621 100644 --- a/old_docs/API_docs_v71/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v71/constructors/account_passwordSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v71/constructors/account_privacyRules.md b/old_docs/API_docs_v71/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v71/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v71/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v71/constructors/account_tmpPassword.md b/old_docs/API_docs_v71/constructors/account_tmpPassword.md index e16b6f3c..90d36e0e 100644 --- a/old_docs/API_docs_v71/constructors/account_tmpPassword.md +++ b/old_docs/API_docs_v71/constructors/account_tmpPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/auth_authorization.md b/old_docs/API_docs_v71/constructors/auth_authorization.md index c8133016..b858e501 100644 --- a/old_docs/API_docs_v71/constructors/auth_authorization.md +++ b/old_docs/API_docs_v71/constructors/auth_authorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/auth_checkedPhone.md b/old_docs/API_docs_v71/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v71/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v71/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v71/constructors/auth_codeTypeCall.md index 6a4f28d1..788a2c37 100644 --- a/old_docs/API_docs_v71/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v71/constructors/auth_codeTypeCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeCall={_='auth.codeTypeCall'} ``` diff --git a/old_docs/API_docs_v71/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v71/constructors/auth_codeTypeFlashCall.md index 2851bf4e..abb65fcf 100644 --- a/old_docs/API_docs_v71/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v71/constructors/auth_codeTypeFlashCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} ``` diff --git a/old_docs/API_docs_v71/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v71/constructors/auth_codeTypeSms.md index 04b78a3d..34b42c95 100644 --- a/old_docs/API_docs_v71/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v71/constructors/auth_codeTypeSms.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeSms={_='auth.codeTypeSms'} ``` diff --git a/old_docs/API_docs_v71/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v71/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v71/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v71/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v71/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v71/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v71/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v71/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v71/constructors/auth_sentCode.md b/old_docs/API_docs_v71/constructors/auth_sentCode.md index 0226e79e..2b3f2017 100644 --- a/old_docs/API_docs_v71/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v71/constructors/auth_sentCode.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; ``` @@ -36,10 +36,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v71/constructors/auth_sentCodeTypeApp.md index eb4f4530..eba1784a 100644 --- a/old_docs/API_docs_v71/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v71/constructors/auth_sentCodeTypeApp.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v71/constructors/auth_sentCodeTypeCall.md index b72a7550..5948ce63 100644 --- a/old_docs/API_docs_v71/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v71/constructors/auth_sentCodeTypeCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v71/constructors/auth_sentCodeTypeFlashCall.md index 2c59cad5..bcc7acf6 100644 --- a/old_docs/API_docs_v71/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v71/constructors/auth_sentCodeTypeFlashCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v71/constructors/auth_sentCodeTypeSms.md index db6858ea..3073333f 100644 --- a/old_docs/API_docs_v71/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v71/constructors/auth_sentCodeTypeSms.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/authorization.md b/old_docs/API_docs_v71/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v71/constructors/authorization.md +++ b/old_docs/API_docs_v71/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v71/constructors/bad_msg_notification.md b/old_docs/API_docs_v71/constructors/bad_msg_notification.md index a9553b26..bf1b9309 100644 --- a/old_docs/API_docs_v71/constructors/bad_msg_notification.md +++ b/old_docs/API_docs_v71/constructors/bad_msg_notification.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int]; ``` @@ -34,10 +34,9 @@ $bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua bad_msg_notification={_='bad_msg_notification', bad_msg_id=long, bad_msg_seqno=int, error_code=int} ``` diff --git a/old_docs/API_docs_v71/constructors/bad_server_salt.md b/old_docs/API_docs_v71/constructors/bad_server_salt.md index 5abce2e0..9eba4882 100644 --- a/old_docs/API_docs_v71/constructors/bad_server_salt.md +++ b/old_docs/API_docs_v71/constructors/bad_server_salt.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, 'new_server_salt' => long]; ``` @@ -35,10 +35,9 @@ $bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seq ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua bad_server_salt={_='bad_server_salt', bad_msg_id=long, bad_msg_seqno=int, error_code=int, new_server_salt=long} ``` diff --git a/old_docs/API_docs_v71/constructors/botCommand.md b/old_docs/API_docs_v71/constructors/botCommand.md index 8569358d..fcb65461 100644 --- a/old_docs/API_docs_v71/constructors/botCommand.md +++ b/old_docs/API_docs_v71/constructors/botCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v71/constructors/botInfo.md b/old_docs/API_docs_v71/constructors/botInfo.md index 507f9f8c..ad88f390 100644 --- a/old_docs/API_docs_v71/constructors/botInfo.md +++ b/old_docs/API_docs_v71/constructors/botInfo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v71/constructors/botInlineMediaResult.md b/old_docs/API_docs_v71/constructors/botInlineMediaResult.md index 43454784..0131af98 100644 --- a/old_docs/API_docs_v71/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v71/constructors/botInlineMediaResult.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` @@ -38,10 +38,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v71/constructors/botInlineMessageMediaAuto.md index 71557e0c..89ef07e4 100644 --- a/old_docs/API_docs_v71/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v71/constructors/botInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v71/constructors/botInlineMessageMediaContact.md b/old_docs/API_docs_v71/constructors/botInlineMessageMediaContact.md index c3f25947..771472fa 100644 --- a/old_docs/API_docs_v71/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v71/constructors/botInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v71/constructors/botInlineMessageMediaGeo.md b/old_docs/API_docs_v71/constructors/botInlineMessageMediaGeo.md index c87e0dfe..24bf8b8d 100644 --- a/old_docs/API_docs_v71/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v71/constructors/botInlineMessageMediaGeo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v71/constructors/botInlineMessageMediaVenue.md b/old_docs/API_docs_v71/constructors/botInlineMessageMediaVenue.md index 4795ba75..8108a37c 100644 --- a/old_docs/API_docs_v71/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v71/constructors/botInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v71/constructors/botInlineMessageText.md b/old_docs/API_docs_v71/constructors/botInlineMessageText.md index 4a274d28..b3fa92ed 100644 --- a/old_docs/API_docs_v71/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v71/constructors/botInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/botInlineResult.md b/old_docs/API_docs_v71/constructors/botInlineResult.md index c7abbd71..8b6ead75 100644 --- a/old_docs/API_docs_v71/constructors/botInlineResult.md +++ b/old_docs/API_docs_v71/constructors/botInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` @@ -43,10 +43,9 @@ $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_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v71/constructors/cdnConfig.md b/old_docs/API_docs_v71/constructors/cdnConfig.md index 3df3585d..6487cf42 100644 --- a/old_docs/API_docs_v71/constructors/cdnConfig.md +++ b/old_docs/API_docs_v71/constructors/cdnConfig.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]]; ``` @@ -32,10 +32,9 @@ $cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}} ``` diff --git a/old_docs/API_docs_v71/constructors/cdnFileHash.md b/old_docs/API_docs_v71/constructors/cdnFileHash.md index 0806a8ad..c19c8a16 100644 --- a/old_docs/API_docs_v71/constructors/cdnFileHash.md +++ b/old_docs/API_docs_v71/constructors/cdnFileHash.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnFileHash = ['_' => 'cdnFileHash', 'offset' => int, 'limit' => int, 'hash' => 'bytes']; ``` @@ -34,10 +34,9 @@ $cdnFileHash = ['_' => 'cdnFileHash', 'offset' => int, 'limit' => int, 'hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua cdnFileHash={_='cdnFileHash', offset=int, limit=int, hash='bytes'} ``` diff --git a/old_docs/API_docs_v71/constructors/cdnPublicKey.md b/old_docs/API_docs_v71/constructors/cdnPublicKey.md index 78ec2a83..2277ee59 100644 --- a/old_docs/API_docs_v71/constructors/cdnPublicKey.md +++ b/old_docs/API_docs_v71/constructors/cdnPublicKey.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v71/constructors/channel.md b/old_docs/API_docs_v71/constructors/channel.md index 99611a6e..2970225d 100644 --- a/old_docs/API_docs_v71/constructors/channel.md +++ b/old_docs/API_docs_v71/constructors/channel.md @@ -40,7 +40,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -51,10 +51,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/channelAdminLogEvent.md b/old_docs/API_docs_v71/constructors/channelAdminLogEvent.md index f48cb8db..5a939425 100644 --- a/old_docs/API_docs_v71/constructors/channelAdminLogEvent.md +++ b/old_docs/API_docs_v71/constructors/channelAdminLogEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEvent = ['_' => 'channelAdminLogEvent', 'id' => long, 'date' => int, 'user_id' => int, 'action' => ChannelAdminLogEventAction]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionChangeAbout.md b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionChangeAbout.md index ebec258a..aef21894 100644 --- a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionChangeAbout.md +++ b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionChangeAbout.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChangeAbout', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeAbout={_='channelAdminLogEventActionChangeAbout', prev_value='string', new_value='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionChangePhoto.md b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionChangePhoto.md index 7c687202..7c38537e 100644 --- a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionChangePhoto.md +++ b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionChangePhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChangePhoto', 'prev_photo' => ChatPhoto, 'new_photo' => ChatPhoto]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangePhoto={_='channelAdminLogEventActionChangePhoto', prev_photo=ChatPhoto, new_photo=ChatPhoto} ``` diff --git a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionChangeStickerSet.md b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionChangeStickerSet.md index 74a2d4d4..74f7d943 100644 --- a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionChangeStickerSet.md +++ b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionChangeStickerSet.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeStickerSet = ['_' => 'channelAdminLogEventActionChangeStickerSet', 'prev_stickerset' => InputStickerSet, 'new_stickerset' => InputStickerSet]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeStickerSet = ['_' => 'channelAdminLogEventActio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeStickerSet={_='channelAdminLogEventActionChangeStickerSet', prev_stickerset=InputStickerSet, new_stickerset=InputStickerSet} ``` diff --git a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionChangeTitle.md b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionChangeTitle.md index dbf4ca87..ab2d88ef 100644 --- a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionChangeTitle.md +++ b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionChangeTitle.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChangeTitle', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeTitle={_='channelAdminLogEventActionChangeTitle', prev_value='string', new_value='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionChangeUsername.md b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionChangeUsername.md index 8a48ba97..d0016c2b 100644 --- a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionChangeUsername.md +++ b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionChangeUsername.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionChangeUsername', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionC ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeUsername={_='channelAdminLogEventActionChangeUsername', prev_value='string', new_value='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionDeleteMessage.md b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionDeleteMessage.md index e6ffe7f5..3af17f94 100644 --- a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionDeleteMessage.md +++ b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionDeleteMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDeleteMessage', 'message' => Message]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionDeleteMessage={_='channelAdminLogEventActionDeleteMessage', message=Message} ``` diff --git a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionEditMessage.md b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionEditMessage.md index 67b7a176..66e5de48 100644 --- a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionEditMessage.md +++ b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionEditMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEditMessage', 'prev_message' => Message, 'new_message' => Message]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEdit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionEditMessage={_='channelAdminLogEventActionEditMessage', prev_message=Message, new_message=Message} ``` diff --git a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionParticipantInvite.md b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionParticipantInvite.md index 260a3346..82029fee 100644 --- a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionParticipantInvite.md +++ b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionParticipantInvite.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActionParticipantInvite', 'participant' => ChannelParticipant]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActi ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantInvite={_='channelAdminLogEventActionParticipantInvite', participant=ChannelParticipant} ``` diff --git a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionParticipantJoin.md b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionParticipantJoin.md index 9f59031b..4c8ca622 100644 --- a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionParticipantJoin.md +++ b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionParticipantJoin.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventActionParticipantJoin']; ``` @@ -27,10 +27,9 @@ $channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventAction ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantJoin={_='channelAdminLogEventActionParticipantJoin'} ``` diff --git a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionParticipantLeave.md b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionParticipantLeave.md index 03328132..dde98f82 100644 --- a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionParticipantLeave.md +++ b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionParticipantLeave.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActionParticipantLeave']; ``` @@ -27,10 +27,9 @@ $channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantLeave={_='channelAdminLogEventActionParticipantLeave'} ``` diff --git a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionParticipantToggleAdmin.md b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionParticipantToggleAdmin.md index b570076b..053db714 100644 --- a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionParticipantToggleAdmin.md +++ b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionParticipantToggleAdmin.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEventActionParticipantToggleAdmin', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEven ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantToggleAdmin={_='channelAdminLogEventActionParticipantToggleAdmin', prev_participant=ChannelParticipant, new_participant=ChannelParticipant} ``` diff --git a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionParticipantToggleBan.md b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionParticipantToggleBan.md index ef119daa..5321e678 100644 --- a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionParticipantToggleBan.md +++ b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionParticipantToggleBan.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventActionParticipantToggleBan', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventA ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantToggleBan={_='channelAdminLogEventActionParticipantToggleBan', prev_participant=ChannelParticipant, new_participant=ChannelParticipant} ``` diff --git a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionToggleInvites.md b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionToggleInvites.md index 5a25a689..47ba2358 100644 --- a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionToggleInvites.md +++ b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionToggleInvites.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionToggleInvites', 'new_value' => Bool]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionTo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionToggleInvites={_='channelAdminLogEventActionToggleInvites', new_value=Bool} ``` diff --git a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionToggleSignatures.md b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionToggleSignatures.md index e7119bb6..ad529669 100644 --- a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionToggleSignatures.md +++ b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionToggleSignatures.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActionToggleSignatures', 'new_value' => Bool]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionToggleSignatures={_='channelAdminLogEventActionToggleSignatures', new_value=Bool} ``` diff --git a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionUpdatePinned.md b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionUpdatePinned.md index de066195..2facbac2 100644 --- a/old_docs/API_docs_v71/constructors/channelAdminLogEventActionUpdatePinned.md +++ b/old_docs/API_docs_v71/constructors/channelAdminLogEventActionUpdatePinned.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpdatePinned', 'message' => Message]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionUpdatePinned={_='channelAdminLogEventActionUpdatePinned', message=Message} ``` diff --git a/old_docs/API_docs_v71/constructors/channelAdminLogEventsFilter.md b/old_docs/API_docs_v71/constructors/channelAdminLogEventsFilter.md index 04ece393..db2f4ee8 100644 --- a/old_docs/API_docs_v71/constructors/channelAdminLogEventsFilter.md +++ b/old_docs/API_docs_v71/constructors/channelAdminLogEventsFilter.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -45,10 +45,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/channelAdminRights.md b/old_docs/API_docs_v71/constructors/channelAdminRights.md index 88cb5969..f3204317 100644 --- a/old_docs/API_docs_v71/constructors/channelAdminRights.md +++ b/old_docs/API_docs_v71/constructors/channelAdminRights.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -40,10 +40,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/channelBannedRights.md b/old_docs/API_docs_v71/constructors/channelBannedRights.md index 13dde648..f2ae995f 100644 --- a/old_docs/API_docs_v71/constructors/channelBannedRights.md +++ b/old_docs/API_docs_v71/constructors/channelBannedRights.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -40,10 +40,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/channelForbidden.md b/old_docs/API_docs_v71/constructors/channelForbidden.md index 00b4cbbe..0bccd01f 100644 --- a/old_docs/API_docs_v71/constructors/channelForbidden.md +++ b/old_docs/API_docs_v71/constructors/channelForbidden.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'until_date' => int]; ``` @@ -37,10 +37,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/channelFull.md b/old_docs/API_docs_v71/constructors/channelFull.md index aa43873b..3a7b21e4 100644 --- a/old_docs/API_docs_v71/constructors/channelFull.md +++ b/old_docs/API_docs_v71/constructors/channelFull.md @@ -40,7 +40,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, '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]; ``` @@ -51,10 +51,9 @@ $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, 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} ``` diff --git a/old_docs/API_docs_v71/constructors/channelMessagesFilter.md b/old_docs/API_docs_v71/constructors/channelMessagesFilter.md index b19d3151..1b953ba3 100644 --- a/old_docs/API_docs_v71/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v71/constructors/channelMessagesFilter.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v71/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v71/constructors/channelMessagesFilterEmpty.md index 350e50de..a446b896 100644 --- a/old_docs/API_docs_v71/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v71/constructors/channelMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/channelParticipant.md b/old_docs/API_docs_v71/constructors/channelParticipant.md index c7de5400..dbcb792b 100644 --- a/old_docs/API_docs_v71/constructors/channelParticipant.md +++ b/old_docs/API_docs_v71/constructors/channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/channelParticipantAdmin.md b/old_docs/API_docs_v71/constructors/channelParticipantAdmin.md index 95ef84e9..73f4e2ab 100644 --- a/old_docs/API_docs_v71/constructors/channelParticipantAdmin.md +++ b/old_docs/API_docs_v71/constructors/channelParticipantAdmin.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantAdmin = ['_' => 'channelParticipantAdmin', 'can_edit' => Bool, 'user_id' => int, 'inviter_id' => int, 'promoted_by' => int, 'date' => int, 'admin_rights' => ChannelAdminRights]; ``` @@ -37,10 +37,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/channelParticipantBanned.md b/old_docs/API_docs_v71/constructors/channelParticipantBanned.md index be3be304..171f76d9 100644 --- a/old_docs/API_docs_v71/constructors/channelParticipantBanned.md +++ b/old_docs/API_docs_v71/constructors/channelParticipantBanned.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantBanned = ['_' => 'channelParticipantBanned', 'left' => Bool, 'user_id' => int, 'kicked_by' => int, 'date' => int, 'banned_rights' => ChannelBannedRights]; ``` @@ -36,10 +36,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/channelParticipantCreator.md b/old_docs/API_docs_v71/constructors/channelParticipantCreator.md index 86cafe0a..e999fb9c 100644 --- a/old_docs/API_docs_v71/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v71/constructors/channelParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantCreator={_='channelParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/channelParticipantSelf.md b/old_docs/API_docs_v71/constructors/channelParticipantSelf.md index 83864972..4b5949ac 100644 --- a/old_docs/API_docs_v71/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v71/constructors/channelParticipantSelf.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v71/constructors/channelParticipantsAdmins.md index c86cb9a4..4b0c30d4 100644 --- a/old_docs/API_docs_v71/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v71/constructors/channelParticipantsAdmins.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` @@ -27,10 +27,9 @@ $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v71/constructors/channelParticipantsBanned.md b/old_docs/API_docs_v71/constructors/channelParticipantsBanned.md index 75a86f75..7f956691 100644 --- a/old_docs/API_docs_v71/constructors/channelParticipantsBanned.md +++ b/old_docs/API_docs_v71/constructors/channelParticipantsBanned.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBanned={_='channelParticipantsBanned', q='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/channelParticipantsBots.md b/old_docs/API_docs_v71/constructors/channelParticipantsBots.md index 30875f94..66e510c7 100644 --- a/old_docs/API_docs_v71/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v71/constructors/channelParticipantsBots.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` @@ -27,10 +27,9 @@ $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v71/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v71/constructors/channelParticipantsKicked.md index fba5808a..7a985ca9 100644 --- a/old_docs/API_docs_v71/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v71/constructors/channelParticipantsKicked.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsKicked={_='channelParticipantsKicked', q='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v71/constructors/channelParticipantsRecent.md index e4cb6466..51e57069 100644 --- a/old_docs/API_docs_v71/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v71/constructors/channelParticipantsRecent.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` @@ -27,10 +27,9 @@ $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v71/constructors/channelParticipantsSearch.md b/old_docs/API_docs_v71/constructors/channelParticipantsSearch.md index 727a7279..9e2d3e7f 100644 --- a/old_docs/API_docs_v71/constructors/channelParticipantsSearch.md +++ b/old_docs/API_docs_v71/constructors/channelParticipantsSearch.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsSearch={_='channelParticipantsSearch', q='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/channels_adminLogResults.md b/old_docs/API_docs_v71/constructors/channels_adminLogResults.md index bd652b78..5a76ce73 100644 --- a/old_docs/API_docs_v71/constructors/channels_adminLogResults.md +++ b/old_docs/API_docs_v71/constructors/channels_adminLogResults.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v71/constructors/channels_channelParticipant.md b/old_docs/API_docs_v71/constructors/channels_channelParticipant.md index bdf27b08..107502c5 100644 --- a/old_docs/API_docs_v71/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v71/constructors/channels_channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v71/constructors/channels_channelParticipants.md b/old_docs/API_docs_v71/constructors/channels_channelParticipants.md index 1b76b1e0..0402423f 100644 --- a/old_docs/API_docs_v71/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v71/constructors/channels_channelParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v71/constructors/chat.md b/old_docs/API_docs_v71/constructors/chat.md index 5ae1811d..b6f24f3e 100644 --- a/old_docs/API_docs_v71/constructors/chat.md +++ b/old_docs/API_docs_v71/constructors/chat.md @@ -33,7 +33,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -44,10 +44,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/chatEmpty.md b/old_docs/API_docs_v71/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v71/constructors/chatEmpty.md +++ b/old_docs/API_docs_v71/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/chatForbidden.md b/old_docs/API_docs_v71/constructors/chatForbidden.md index de5bb302..61c45660 100644 --- a/old_docs/API_docs_v71/constructors/chatForbidden.md +++ b/old_docs/API_docs_v71/constructors/chatForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v71/constructors/chatFull.md b/old_docs/API_docs_v71/constructors/chatFull.md index 6e138596..2a5f67f6 100644 --- a/old_docs/API_docs_v71/constructors/chatFull.md +++ b/old_docs/API_docs_v71/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v71/constructors/chatInvite.md b/old_docs/API_docs_v71/constructors/chatInvite.md index c0f14de6..54027d67 100644 --- a/old_docs/API_docs_v71/constructors/chatInvite.md +++ b/old_docs/API_docs_v71/constructors/chatInvite.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User, User]]; ``` @@ -39,10 +39,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v71/constructors/chatInviteAlready.md b/old_docs/API_docs_v71/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/old_docs/API_docs_v71/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v71/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/old_docs/API_docs_v71/constructors/chatInviteEmpty.md b/old_docs/API_docs_v71/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/old_docs/API_docs_v71/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v71/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/chatInviteExported.md b/old_docs/API_docs_v71/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/old_docs/API_docs_v71/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v71/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/chatParticipant.md b/old_docs/API_docs_v71/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v71/constructors/chatParticipant.md +++ b/old_docs/API_docs_v71/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v71/constructors/chatParticipantAdmin.md index 62aee9a4..63a38575 100644 --- a/old_docs/API_docs_v71/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v71/constructors/chatParticipantAdmin.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/chatParticipantCreator.md b/old_docs/API_docs_v71/constructors/chatParticipantCreator.md index 0fb7b6ef..75b9c4d4 100644 --- a/old_docs/API_docs_v71/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v71/constructors/chatParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantCreator={_='chatParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/chatParticipants.md b/old_docs/API_docs_v71/constructors/chatParticipants.md index 38af2ca5..ae254290 100644 --- a/old_docs/API_docs_v71/constructors/chatParticipants.md +++ b/old_docs/API_docs_v71/constructors/chatParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v71/constructors/chatParticipantsForbidden.md index 2ecdfe10..639b30ee 100644 --- a/old_docs/API_docs_v71/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v71/constructors/chatParticipantsForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/chatPhoto.md b/old_docs/API_docs_v71/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v71/constructors/chatPhoto.md +++ b/old_docs/API_docs_v71/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v71/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v71/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v71/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/client_DH_inner_data.md b/old_docs/API_docs_v71/constructors/client_DH_inner_data.md index 6ea505c8..d888f8be 100644 --- a/old_docs/API_docs_v71/constructors/client_DH_inner_data.md +++ b/old_docs/API_docs_v71/constructors/client_DH_inner_data.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'retry_id' => long, 'g_b' => 'string']; ``` @@ -35,10 +35,9 @@ $client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'serv ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua client_DH_inner_data={_='client_DH_inner_data', nonce=int128, server_nonce=int128, retry_id=long, g_b='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/config.md b/old_docs/API_docs_v71/constructors/config.md index 25e7ee3e..0d258917 100644 --- a/old_docs/API_docs_v71/constructors/config.md +++ b/old_docs/API_docs_v71/constructors/config.md @@ -53,7 +53,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'stickers_faved_limit' => int, 'tmp_sessions' => int, 'pinned_dialogs_count_max' => int, 'phonecalls_enabled' => Bool, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'me_url_prefix' => 'string', 'suggested_lang_code' => 'string', 'lang_pack_version' => int, 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -64,10 +64,9 @@ $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, stickers_faved_limit=int, tmp_sessions=int, pinned_dialogs_count_max=int, phonecalls_enabled=Bool, call_receive_timeout_ms=int, call_ring_timeout_ms=int, call_connect_timeout_ms=int, call_packet_timeout_ms=int, me_url_prefix='string', suggested_lang_code='string', lang_pack_version=int, disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v71/constructors/contact.md b/old_docs/API_docs_v71/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v71/constructors/contact.md +++ b/old_docs/API_docs_v71/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/contactBlocked.md b/old_docs/API_docs_v71/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v71/constructors/contactBlocked.md +++ b/old_docs/API_docs_v71/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/contactLinkContact.md b/old_docs/API_docs_v71/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v71/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v71/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v71/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v71/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v71/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v71/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v71/constructors/contactLinkNone.md b/old_docs/API_docs_v71/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v71/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v71/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v71/constructors/contactLinkUnknown.md b/old_docs/API_docs_v71/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v71/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v71/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v71/constructors/contactStatus.md b/old_docs/API_docs_v71/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v71/constructors/contactStatus.md +++ b/old_docs/API_docs_v71/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v71/constructors/contacts_blocked.md b/old_docs/API_docs_v71/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v71/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v71/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v71/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v71/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v71/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v71/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v71/constructors/contacts_contacts.md b/old_docs/API_docs_v71/constructors/contacts_contacts.md index 542bf62b..7f923ef5 100644 --- a/old_docs/API_docs_v71/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v71/constructors/contacts_contacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} ``` diff --git a/old_docs/API_docs_v71/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v71/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v71/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v71/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v71/constructors/contacts_found.md b/old_docs/API_docs_v71/constructors/contacts_found.md index 7e0e458c..624fa475 100644 --- a/old_docs/API_docs_v71/constructors/contacts_found.md +++ b/old_docs/API_docs_v71/constructors/contacts_found.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v71/constructors/contacts_importedContacts.md b/old_docs/API_docs_v71/constructors/contacts_importedContacts.md index fdc042d2..250deb52 100644 --- a/old_docs/API_docs_v71/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v71/constructors/contacts_importedContacts.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v71/constructors/contacts_link.md b/old_docs/API_docs_v71/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v71/constructors/contacts_link.md +++ b/old_docs/API_docs_v71/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v71/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v71/constructors/contacts_resolvedPeer.md index add29235..4aa323dd 100644 --- a/old_docs/API_docs_v71/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v71/constructors/contacts_resolvedPeer.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v71/constructors/contacts_topPeers.md b/old_docs/API_docs_v71/constructors/contacts_topPeers.md index 8777bff2..e4728594 100644 --- a/old_docs/API_docs_v71/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v71/constructors/contacts_topPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCatego ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v71/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v71/constructors/contacts_topPeersNotModified.md index 3aa2236a..7ec0114a 100644 --- a/old_docs/API_docs_v71/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v71/constructors/contacts_topPeersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeersNotModified={_='contacts.topPeersNotModified'} ``` diff --git a/old_docs/API_docs_v71/constructors/dataJSON.md b/old_docs/API_docs_v71/constructors/dataJSON.md index c49ec0c0..a6555aea 100644 --- a/old_docs/API_docs_v71/constructors/dataJSON.md +++ b/old_docs/API_docs_v71/constructors/dataJSON.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` @@ -32,10 +32,9 @@ $dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dataJSON={_='dataJSON', data='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/dcOption.md b/old_docs/API_docs_v71/constructors/dcOption.md index d1b1f2ef..75146eef 100644 --- a/old_docs/API_docs_v71/constructors/dcOption.md +++ b/old_docs/API_docs_v71/constructors/dcOption.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'cdn' => Bool, 'static' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` @@ -39,10 +39,9 @@ $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, cdn=Bool, static=Bool, id=int, ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v71/constructors/destroy_auth_key_fail.md b/old_docs/API_docs_v71/constructors/destroy_auth_key_fail.md index 08f2aa59..4beb933f 100644 --- a/old_docs/API_docs_v71/constructors/destroy_auth_key_fail.md +++ b/old_docs/API_docs_v71/constructors/destroy_auth_key_fail.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail']; ``` @@ -27,10 +27,9 @@ $destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_auth_key_fail={_='destroy_auth_key_fail'} ``` diff --git a/old_docs/API_docs_v71/constructors/destroy_auth_key_none.md b/old_docs/API_docs_v71/constructors/destroy_auth_key_none.md index 1656ed53..301bbf37 100644 --- a/old_docs/API_docs_v71/constructors/destroy_auth_key_none.md +++ b/old_docs/API_docs_v71/constructors/destroy_auth_key_none.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_auth_key_none = ['_' => 'destroy_auth_key_none']; ``` @@ -27,10 +27,9 @@ $destroy_auth_key_none = ['_' => 'destroy_auth_key_none']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_auth_key_none={_='destroy_auth_key_none'} ``` diff --git a/old_docs/API_docs_v71/constructors/destroy_auth_key_ok.md b/old_docs/API_docs_v71/constructors/destroy_auth_key_ok.md index 944521fb..19f56968 100644 --- a/old_docs/API_docs_v71/constructors/destroy_auth_key_ok.md +++ b/old_docs/API_docs_v71/constructors/destroy_auth_key_ok.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok']; ``` @@ -27,10 +27,9 @@ $destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_auth_key_ok={_='destroy_auth_key_ok'} ``` diff --git a/old_docs/API_docs_v71/constructors/destroy_session_none.md b/old_docs/API_docs_v71/constructors/destroy_session_none.md index e20d06f5..470a0de8 100644 --- a/old_docs/API_docs_v71/constructors/destroy_session_none.md +++ b/old_docs/API_docs_v71/constructors/destroy_session_none.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long]; ``` @@ -32,10 +32,9 @@ $destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_session_none={_='destroy_session_none', session_id=long} ``` diff --git a/old_docs/API_docs_v71/constructors/destroy_session_ok.md b/old_docs/API_docs_v71/constructors/destroy_session_ok.md index f5d8cd19..c98a804d 100644 --- a/old_docs/API_docs_v71/constructors/destroy_session_ok.md +++ b/old_docs/API_docs_v71/constructors/destroy_session_ok.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long]; ``` @@ -32,10 +32,9 @@ $destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_session_ok={_='destroy_session_ok', session_id=long} ``` diff --git a/old_docs/API_docs_v71/constructors/dh_gen_fail.md b/old_docs/API_docs_v71/constructors/dh_gen_fail.md index 28fb6771..87d4a34b 100644 --- a/old_docs/API_docs_v71/constructors/dh_gen_fail.md +++ b/old_docs/API_docs_v71/constructors/dh_gen_fail.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash3' => int128]; ``` @@ -34,10 +34,9 @@ $dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int12 ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dh_gen_fail={_='dh_gen_fail', nonce=int128, server_nonce=int128, new_nonce_hash3=int128} ``` diff --git a/old_docs/API_docs_v71/constructors/dh_gen_ok.md b/old_docs/API_docs_v71/constructors/dh_gen_ok.md index 6b9723d9..2a058971 100644 --- a/old_docs/API_docs_v71/constructors/dh_gen_ok.md +++ b/old_docs/API_docs_v71/constructors/dh_gen_ok.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash1' => int128]; ``` @@ -34,10 +34,9 @@ $dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dh_gen_ok={_='dh_gen_ok', nonce=int128, server_nonce=int128, new_nonce_hash1=int128} ``` diff --git a/old_docs/API_docs_v71/constructors/dh_gen_retry.md b/old_docs/API_docs_v71/constructors/dh_gen_retry.md index 736c54f4..ab31de74 100644 --- a/old_docs/API_docs_v71/constructors/dh_gen_retry.md +++ b/old_docs/API_docs_v71/constructors/dh_gen_retry.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash2' => int128]; ``` @@ -34,10 +34,9 @@ $dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dh_gen_retry={_='dh_gen_retry', nonce=int128, server_nonce=int128, new_nonce_hash2=int128} ``` diff --git a/old_docs/API_docs_v71/constructors/dialog.md b/old_docs/API_docs_v71/constructors/dialog.md index 9b8b4af4..f4b8163c 100644 --- a/old_docs/API_docs_v71/constructors/dialog.md +++ b/old_docs/API_docs_v71/constructors/dialog.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'pinned' => Bool, 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage]; ``` @@ -41,10 +41,9 @@ $dialog = ['_' => 'dialog', 'pinned' => Bool, 'peer' => Peer, 'top_message' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', pinned=Bool, peer=Peer, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, notify_settings=PeerNotifySettings, pts=int, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v71/constructors/disabledFeature.md b/old_docs/API_docs_v71/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v71/constructors/disabledFeature.md +++ b/old_docs/API_docs_v71/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/document.md b/old_docs/API_docs_v71/constructors/document.md index 1a0f1fc1..58c44a23 100644 --- a/old_docs/API_docs_v71/constructors/document.md +++ b/old_docs/API_docs_v71/constructors/document.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -40,10 +40,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, version=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v71/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v71/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v71/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v71/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v71/constructors/documentAttributeAudio.md b/old_docs/API_docs_v71/constructors/documentAttributeAudio.md index 0dc5decc..f427a05c 100644 --- a/old_docs/API_docs_v71/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v71/constructors/documentAttributeAudio.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` @@ -36,10 +36,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'du ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title='string', performer='string', waveform='bytes'} ``` diff --git a/old_docs/API_docs_v71/constructors/documentAttributeFilename.md b/old_docs/API_docs_v71/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v71/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v71/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/documentAttributeHasStickers.md b/old_docs/API_docs_v71/constructors/documentAttributeHasStickers.md index fff783df..90c58e35 100644 --- a/old_docs/API_docs_v71/constructors/documentAttributeHasStickers.md +++ b/old_docs/API_docs_v71/constructors/documentAttributeHasStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` @@ -27,10 +27,9 @@ $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeHasStickers={_='documentAttributeHasStickers'} ``` diff --git a/old_docs/API_docs_v71/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v71/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v71/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v71/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v71/constructors/documentAttributeSticker.md b/old_docs/API_docs_v71/constructors/documentAttributeSticker.md index ba5243fb..b200f7f0 100644 --- a/old_docs/API_docs_v71/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v71/constructors/documentAttributeSticker.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => 'string', 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords]; ``` @@ -35,10 +35,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', mask=Bool, alt='string', stickerset=InputStickerSet, mask_coords=MaskCoords} ``` diff --git a/old_docs/API_docs_v71/constructors/documentAttributeVideo.md b/old_docs/API_docs_v71/constructors/documentAttributeVideo.md index 21f4580a..bd43440e 100644 --- a/old_docs/API_docs_v71/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v71/constructors/documentAttributeVideo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -35,10 +35,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', round_message=Bool, duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v71/constructors/documentEmpty.md b/old_docs/API_docs_v71/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v71/constructors/documentEmpty.md +++ b/old_docs/API_docs_v71/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v71/constructors/draftMessage.md b/old_docs/API_docs_v71/constructors/draftMessage.md index 370ffaef..ecec69a1 100644 --- a/old_docs/API_docs_v71/constructors/draftMessage.md +++ b/old_docs/API_docs_v71/constructors/draftMessage.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'date' => int]; ``` @@ -36,10 +36,9 @@ $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message='string', entities={MessageEntity}, date=int} ``` diff --git a/old_docs/API_docs_v71/constructors/draftMessageEmpty.md b/old_docs/API_docs_v71/constructors/draftMessageEmpty.md index 15b2aa67..65902a71 100644 --- a/old_docs/API_docs_v71/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v71/constructors/draftMessageEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` @@ -27,10 +27,9 @@ $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessageEmpty={_='draftMessageEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/encryptedChat.md b/old_docs/API_docs_v71/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v71/constructors/encryptedChat.md +++ b/old_docs/API_docs_v71/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v71/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v71/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v71/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v71/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v71/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v71/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v71/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/encryptedChatRequested.md b/old_docs/API_docs_v71/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v71/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v71/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v71/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v71/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v71/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v71/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/encryptedFile.md b/old_docs/API_docs_v71/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v71/constructors/encryptedFile.md +++ b/old_docs/API_docs_v71/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v71/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v71/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v71/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v71/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/encryptedMessage.md b/old_docs/API_docs_v71/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v71/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v71/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v71/constructors/encryptedMessageService.md b/old_docs/API_docs_v71/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v71/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v71/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v71/constructors/error.md b/old_docs/API_docs_v71/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v71/constructors/error.md +++ b/old_docs/API_docs_v71/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/exportedMessageLink.md b/old_docs/API_docs_v71/constructors/exportedMessageLink.md index 423c9fa3..9db8d71a 100644 --- a/old_docs/API_docs_v71/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v71/constructors/exportedMessageLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua exportedMessageLink={_='exportedMessageLink', link='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/fileLocation.md b/old_docs/API_docs_v71/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v71/constructors/fileLocation.md +++ b/old_docs/API_docs_v71/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v71/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v71/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v71/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v71/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v71/constructors/foundGif.md b/old_docs/API_docs_v71/constructors/foundGif.md index d8ee3695..c2f0ce33 100644 --- a/old_docs/API_docs_v71/constructors/foundGif.md +++ b/old_docs/API_docs_v71/constructors/foundGif.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` @@ -37,10 +37,9 @@ $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'con ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGif={_='foundGif', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int} ``` diff --git a/old_docs/API_docs_v71/constructors/foundGifCached.md b/old_docs/API_docs_v71/constructors/foundGifCached.md index e4a1a552..03e67917 100644 --- a/old_docs/API_docs_v71/constructors/foundGifCached.md +++ b/old_docs/API_docs_v71/constructors/foundGifCached.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -34,10 +34,9 @@ $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGifCached={_='foundGifCached', url='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v71/constructors/future_salt.md b/old_docs/API_docs_v71/constructors/future_salt.md index de2832c4..b5dd02ed 100644 --- a/old_docs/API_docs_v71/constructors/future_salt.md +++ b/old_docs/API_docs_v71/constructors/future_salt.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int, 'salt' => long]; ``` @@ -34,10 +34,9 @@ $future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua future_salt={_='future_salt', valid_since=int, valid_until=int, salt=long} ``` diff --git a/old_docs/API_docs_v71/constructors/future_salts.md b/old_docs/API_docs_v71/constructors/future_salts.md index 811c668a..86251b37 100644 --- a/old_docs/API_docs_v71/constructors/future_salts.md +++ b/old_docs/API_docs_v71/constructors/future_salts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'salts' => [future_salt, future_salt]]; ``` @@ -34,10 +34,9 @@ $future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'sal ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua future_salts={_='future_salts', req_msg_id=long, now=int, salts={future_salt}} ``` diff --git a/old_docs/API_docs_v71/constructors/game.md b/old_docs/API_docs_v71/constructors/game.md index 790fbeeb..088ca95e 100644 --- a/old_docs/API_docs_v71/constructors/game.md +++ b/old_docs/API_docs_v71/constructors/game.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -38,10 +38,9 @@ $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua game={_='game', id=long, access_hash=long, short_name='string', title='string', description='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v71/constructors/geoPoint.md b/old_docs/API_docs_v71/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v71/constructors/geoPoint.md +++ b/old_docs/API_docs_v71/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v71/constructors/geoPointEmpty.md b/old_docs/API_docs_v71/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v71/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v71/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/help_appUpdate.md b/old_docs/API_docs_v71/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v71/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v71/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/help_configSimple.md b/old_docs/API_docs_v71/constructors/help_configSimple.md index 5c87af29..b3951e5b 100644 --- a/old_docs/API_docs_v71/constructors/help_configSimple.md +++ b/old_docs/API_docs_v71/constructors/help_configSimple.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'dc_id' => int, 'ip_port_list' => [ipPort, ipPort]]; ``` @@ -35,10 +35,9 @@ $help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_configSimple={_='help.configSimple', date=int, expires=int, dc_id=int, ip_port_list={ipPort}} ``` diff --git a/old_docs/API_docs_v71/constructors/help_inviteText.md b/old_docs/API_docs_v71/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v71/constructors/help_inviteText.md +++ b/old_docs/API_docs_v71/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/help_noAppUpdate.md b/old_docs/API_docs_v71/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v71/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v71/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v71/constructors/help_support.md b/old_docs/API_docs_v71/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v71/constructors/help_support.md +++ b/old_docs/API_docs_v71/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v71/constructors/help_termsOfService.md b/old_docs/API_docs_v71/constructors/help_termsOfService.md index 8e558bed..ec7a8121 100644 --- a/old_docs/API_docs_v71/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v71/constructors/help_termsOfService.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_termsOfService={_='help.termsOfService', text='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/highScore.md b/old_docs/API_docs_v71/constructors/highScore.md index 63a8ab05..265c0487 100644 --- a/old_docs/API_docs_v71/constructors/highScore.md +++ b/old_docs/API_docs_v71/constructors/highScore.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int]; ``` @@ -34,10 +34,9 @@ $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua highScore={_='highScore', pos=int, user_id=int, score=int} ``` diff --git a/old_docs/API_docs_v71/constructors/http_wait.md b/old_docs/API_docs_v71/constructors/http_wait.md index 08447425..b5db251e 100644 --- a/old_docs/API_docs_v71/constructors/http_wait.md +++ b/old_docs/API_docs_v71/constructors/http_wait.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $http_wait = ['_' => 'http_wait', 'max_delay' => int, 'wait_after' => int, 'max_wait' => int]; ``` @@ -34,10 +34,9 @@ $http_wait = ['_' => 'http_wait', 'max_delay' => int, 'wait_after' => int, 'max_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua http_wait={_='http_wait', max_delay=int, wait_after=int, max_wait=int} ``` diff --git a/old_docs/API_docs_v71/constructors/importedContact.md b/old_docs/API_docs_v71/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v71/constructors/importedContact.md +++ b/old_docs/API_docs_v71/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v71/constructors/inlineBotSwitchPM.md b/old_docs/API_docs_v71/constructors/inlineBotSwitchPM.md index 0dfd4714..b4fb8185 100644 --- a/old_docs/API_docs_v71/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v71/constructors/inlineBotSwitchPM.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` @@ -33,10 +33,9 @@ $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_par ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inlineBotSwitchPM={_='inlineBotSwitchPM', text='string', start_param='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputAppEvent.md b/old_docs/API_docs_v71/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v71/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v71/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputBotInlineMessageGame.md b/old_docs/API_docs_v71/constructors/inputBotInlineMessageGame.md index 8e59cd54..66c8997b 100644 --- a/old_docs/API_docs_v71/constructors/inputBotInlineMessageGame.md +++ b/old_docs/API_docs_v71/constructors/inputBotInlineMessageGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup]; ``` @@ -32,10 +32,9 @@ $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageGame={_='inputBotInlineMessageGame', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v71/constructors/inputBotInlineMessageID.md b/old_docs/API_docs_v71/constructors/inputBotInlineMessageID.md index 91c7586d..aecbb733 100644 --- a/old_docs/API_docs_v71/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v71/constructors/inputBotInlineMessageID.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v71/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v71/constructors/inputBotInlineMessageMediaAuto.md index 28d93836..17e2a1cb 100644 --- a/old_docs/API_docs_v71/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v71/constructors/inputBotInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'cap ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v71/constructors/inputBotInlineMessageMediaContact.md b/old_docs/API_docs_v71/constructors/inputBotInlineMessageMediaContact.md index 5b78709f..25dd9029 100644 --- a/old_docs/API_docs_v71/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v71/constructors/inputBotInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v71/constructors/inputBotInlineMessageMediaGeo.md b/old_docs/API_docs_v71/constructors/inputBotInlineMessageMediaGeo.md index 39365847..935dba16 100644 --- a/old_docs/API_docs_v71/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v71/constructors/inputBotInlineMessageMediaGeo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v71/constructors/inputBotInlineMessageMediaVenue.md b/old_docs/API_docs_v71/constructors/inputBotInlineMessageMediaVenue.md index 7dbc6a6c..56ec0745 100644 --- a/old_docs/API_docs_v71/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v71/constructors/inputBotInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'g ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v71/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v71/constructors/inputBotInlineMessageText.md index e6a0bbb7..acae47bc 100644 --- a/old_docs/API_docs_v71/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v71/constructors/inputBotInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v71/constructors/inputBotInlineResult.md b/old_docs/API_docs_v71/constructors/inputBotInlineResult.md index 668af514..34148d70 100644 --- a/old_docs/API_docs_v71/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v71/constructors/inputBotInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` @@ -43,10 +43,9 @@ $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v71/constructors/inputBotInlineResultDocument.md b/old_docs/API_docs_v71/constructors/inputBotInlineResultDocument.md index ad13df76..9d5f1eb6 100644 --- a/old_docs/API_docs_v71/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v71/constructors/inputBotInlineResultDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` @@ -37,10 +37,9 @@ $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultDocument={_='inputBotInlineResultDocument', id='string', type='string', title='string', description='string', document=InputDocument, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v71/constructors/inputBotInlineResultGame.md b/old_docs/API_docs_v71/constructors/inputBotInlineResultGame.md index 5967bea6..b7821035 100644 --- a/old_docs/API_docs_v71/constructors/inputBotInlineResultGame.md +++ b/old_docs/API_docs_v71/constructors/inputBotInlineResultGame.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string', 'short_name' => 'string', 'send_message' => InputBotInlineMessage]; ``` @@ -34,10 +34,9 @@ $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultGame={_='inputBotInlineResultGame', id='string', short_name='string', send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v71/constructors/inputBotInlineResultPhoto.md b/old_docs/API_docs_v71/constructors/inputBotInlineResultPhoto.md index 43f00813..271bb02e 100644 --- a/old_docs/API_docs_v71/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v71/constructors/inputBotInlineResultPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` @@ -35,10 +35,9 @@ $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id='string', type='string', photo=InputPhoto, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v71/constructors/inputChannel.md b/old_docs/API_docs_v71/constructors/inputChannel.md index b5cb3566..34ed10ca 100644 --- a/old_docs/API_docs_v71/constructors/inputChannel.md +++ b/old_docs/API_docs_v71/constructors/inputChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannel={_='inputChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v71/constructors/inputChannelEmpty.md b/old_docs/API_docs_v71/constructors/inputChannelEmpty.md index f7e18434..bd53602b 100644 --- a/old_docs/API_docs_v71/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v71/constructors/inputChannelEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` @@ -27,10 +27,9 @@ $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputChatPhoto.md b/old_docs/API_docs_v71/constructors/inputChatPhoto.md index 636d6f68..cbae66d1 100644 --- a/old_docs/API_docs_v71/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v71/constructors/inputChatPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v71/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v71/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v71/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v71/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v71/constructors/inputChatUploadedPhoto.md index 840ed815..8b5535ab 100644 --- a/old_docs/API_docs_v71/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v71/constructors/inputChatUploadedPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile]; ``` @@ -32,10 +32,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile} ``` diff --git a/old_docs/API_docs_v71/constructors/inputDocument.md b/old_docs/API_docs_v71/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v71/constructors/inputDocument.md +++ b/old_docs/API_docs_v71/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v71/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v71/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v71/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v71/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v71/constructors/inputDocumentFileLocation.md index df556f40..94ab0038 100644 --- a/old_docs/API_docs_v71/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v71/constructors/inputDocumentFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int]; ``` @@ -34,10 +34,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, version=int} ``` diff --git a/old_docs/API_docs_v71/constructors/inputEncryptedChat.md b/old_docs/API_docs_v71/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v71/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v71/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v71/constructors/inputEncryptedFile.md b/old_docs/API_docs_v71/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v71/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v71/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v71/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v71/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v71/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v71/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v71/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v71/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v71/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v71/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v71/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v71/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v71/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v71/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v71/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v71/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v71/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v71/constructors/inputFile.md b/old_docs/API_docs_v71/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v71/constructors/inputFile.md +++ b/old_docs/API_docs_v71/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputFileBig.md b/old_docs/API_docs_v71/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v71/constructors/inputFileBig.md +++ b/old_docs/API_docs_v71/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputFileLocation.md b/old_docs/API_docs_v71/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v71/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v71/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v71/constructors/inputGameID.md b/old_docs/API_docs_v71/constructors/inputGameID.md index 1fff2dd1..fba24333 100644 --- a/old_docs/API_docs_v71/constructors/inputGameID.md +++ b/old_docs/API_docs_v71/constructors/inputGameID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameID={_='inputGameID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v71/constructors/inputGameShortName.md b/old_docs/API_docs_v71/constructors/inputGameShortName.md index 742b5ae5..031e3f4c 100644 --- a/old_docs/API_docs_v71/constructors/inputGameShortName.md +++ b/old_docs/API_docs_v71/constructors/inputGameShortName.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => 'string']; ``` @@ -33,10 +33,9 @@ $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'shor ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameShortName={_='inputGameShortName', bot_id=InputUser, short_name='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputGeoPoint.md b/old_docs/API_docs_v71/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v71/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v71/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v71/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v71/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v71/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v71/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMediaContact.md b/old_docs/API_docs_v71/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v71/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v71/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMediaDocument.md b/old_docs/API_docs_v71/constructors/inputMediaDocument.md index 72c79560..4b43d0c2 100644 --- a/old_docs/API_docs_v71/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v71/constructors/inputMediaDocument.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'capt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMediaDocumentExternal.md b/old_docs/API_docs_v71/constructors/inputMediaDocumentExternal.md index 441087f7..c3378783 100644 --- a/old_docs/API_docs_v71/constructors/inputMediaDocumentExternal.md +++ b/old_docs/API_docs_v71/constructors/inputMediaDocumentExternal.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'string', 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocumentExternal={_='inputMediaDocumentExternal', url='string', caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMediaEmpty.md b/old_docs/API_docs_v71/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v71/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v71/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMediaGame.md b/old_docs/API_docs_v71/constructors/inputMediaGame.md index 883e5672..c4cc2cfc 100644 --- a/old_docs/API_docs_v71/constructors/inputMediaGame.md +++ b/old_docs/API_docs_v71/constructors/inputMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` @@ -32,10 +32,9 @@ $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGame={_='inputMediaGame', id=InputGame} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v71/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v71/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v71/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v71/constructors/inputMediaGifExternal.md index cf68972a..14153a43 100644 --- a/old_docs/API_docs_v71/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v71/constructors/inputMediaGifExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGifExternal={_='inputMediaGifExternal', url='string', q='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMediaInvoice.md b/old_docs/API_docs_v71/constructors/inputMediaInvoice.md index 8268b4bc..cb554cff 100644 --- a/old_docs/API_docs_v71/constructors/inputMediaInvoice.md +++ b/old_docs/API_docs_v71/constructors/inputMediaInvoice.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'description' => 'string', 'photo' => InputWebDocument, 'invoice' => Invoice, 'payload' => 'bytes', 'provider' => 'string', 'start_param' => 'string']; ``` @@ -38,10 +38,9 @@ $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'descript ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaInvoice={_='inputMediaInvoice', title='string', description='string', photo=InputWebDocument, invoice=Invoice, payload='bytes', provider='string', start_param='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMediaPhoto.md b/old_docs/API_docs_v71/constructors/inputMediaPhoto.md index 36950fb6..1ae02323 100644 --- a/old_docs/API_docs_v71/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v71/constructors/inputMediaPhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMediaPhotoExternal.md b/old_docs/API_docs_v71/constructors/inputMediaPhotoExternal.md index d4fd1a49..85251482 100644 --- a/old_docs/API_docs_v71/constructors/inputMediaPhotoExternal.md +++ b/old_docs/API_docs_v71/constructors/inputMediaPhotoExternal.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhotoExternal={_='inputMediaPhotoExternal', url='string', caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v71/constructors/inputMediaUploadedDocument.md index 4239134c..9369d528 100644 --- a/old_docs/API_docs_v71/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v71/constructors/inputMediaUploadedDocument.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument, InputDocument], 'ttl_seconds' => int]; ``` @@ -38,10 +38,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string', stickers={InputDocument}, ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v71/constructors/inputMediaUploadedPhoto.md index e2519a91..2701cc6b 100644 --- a/old_docs/API_docs_v71/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v71/constructors/inputMediaUploadedPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string', 'stickers' => [InputDocument, InputDocument], 'ttl_seconds' => int]; ``` @@ -35,10 +35,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption='string', stickers={InputDocument}, ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMediaVenue.md b/old_docs/API_docs_v71/constructors/inputMediaVenue.md index 3e7ee3a1..b2171fbc 100644 --- a/old_docs/API_docs_v71/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v71/constructors/inputMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMessageEntityMentionName.md b/old_docs/API_docs_v71/constructors/inputMessageEntityMentionName.md index 92d5c8d9..19a0b4e3 100644 --- a/old_docs/API_docs_v71/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v71/constructors/inputMessageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser]; ``` @@ -34,10 +34,9 @@ $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessageEntityMentionName={_='inputMessageEntityMentionName', offset=int, length=int, user_id=InputUser} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMessagesFilterChatPhotos.md b/old_docs/API_docs_v71/constructors/inputMessagesFilterChatPhotos.md index a02425b1..b72281f3 100644 --- a/old_docs/API_docs_v71/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v71/constructors/inputMessagesFilterChatPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v71/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v71/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v71/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v71/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v71/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v71/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v71/constructors/inputMessagesFilterGif.md index 94698ecd..a3a51104 100644 --- a/old_docs/API_docs_v71/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v71/constructors/inputMessagesFilterGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v71/constructors/inputMessagesFilterMusic.md index ac6373c2..b2ed1044 100644 --- a/old_docs/API_docs_v71/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v71/constructors/inputMessagesFilterMusic.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMessagesFilterMyMentions.md b/old_docs/API_docs_v71/constructors/inputMessagesFilterMyMentions.md index 68411008..54fa6521 100644 --- a/old_docs/API_docs_v71/constructors/inputMessagesFilterMyMentions.md +++ b/old_docs/API_docs_v71/constructors/inputMessagesFilterMyMentions.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterMyMentions = ['_' => 'inputMessagesFilterMyMentions']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterMyMentions = ['_' => 'inputMessagesFilterMyMentions']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterMyMentions={_='inputMessagesFilterMyMentions'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMessagesFilterMyMentionsUnread.md b/old_docs/API_docs_v71/constructors/inputMessagesFilterMyMentionsUnread.md index c09e223c..455648a6 100644 --- a/old_docs/API_docs_v71/constructors/inputMessagesFilterMyMentionsUnread.md +++ b/old_docs/API_docs_v71/constructors/inputMessagesFilterMyMentionsUnread.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterMyMentionsUnread = ['_' => 'inputMessagesFilterMyMentionsUnread']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterMyMentionsUnread = ['_' => 'inputMessagesFilterMyMentionsUnr ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterMyMentionsUnread={_='inputMessagesFilterMyMentionsUnread'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMessagesFilterPhoneCalls.md b/old_docs/API_docs_v71/constructors/inputMessagesFilterPhoneCalls.md index 8fe8537a..0cb60836 100644 --- a/old_docs/API_docs_v71/constructors/inputMessagesFilterPhoneCalls.md +++ b/old_docs/API_docs_v71/constructors/inputMessagesFilterPhoneCalls.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool]; ``` @@ -32,10 +32,9 @@ $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'misse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhoneCalls={_='inputMessagesFilterPhoneCalls', missed=Bool} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v71/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v71/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v71/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v71/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v71/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v71/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v71/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v71/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v71/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMessagesFilterRoundVideo.md b/old_docs/API_docs_v71/constructors/inputMessagesFilterRoundVideo.md index 5bcbbb20..291ebf25 100644 --- a/old_docs/API_docs_v71/constructors/inputMessagesFilterRoundVideo.md +++ b/old_docs/API_docs_v71/constructors/inputMessagesFilterRoundVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterRoundVideo={_='inputMessagesFilterRoundVideo'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMessagesFilterRoundVoice.md b/old_docs/API_docs_v71/constructors/inputMessagesFilterRoundVoice.md index 9e018fc3..4c7fbbec 100644 --- a/old_docs/API_docs_v71/constructors/inputMessagesFilterRoundVoice.md +++ b/old_docs/API_docs_v71/constructors/inputMessagesFilterRoundVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterRoundVoice={_='inputMessagesFilterRoundVoice'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v71/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v71/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v71/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v71/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v71/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v71/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v71/constructors/inputMessagesFilterVoice.md index 026a91be..be3af22a 100644 --- a/old_docs/API_docs_v71/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v71/constructors/inputMessagesFilterVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputNotifyAll.md b/old_docs/API_docs_v71/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v71/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v71/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputNotifyChats.md b/old_docs/API_docs_v71/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v71/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v71/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputNotifyPeer.md b/old_docs/API_docs_v71/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v71/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v71/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v71/constructors/inputNotifyUsers.md b/old_docs/API_docs_v71/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v71/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v71/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPaymentCredentials.md b/old_docs/API_docs_v71/constructors/inputPaymentCredentials.md index 085db55d..4e2883f9 100644 --- a/old_docs/API_docs_v71/constructors/inputPaymentCredentials.md +++ b/old_docs/API_docs_v71/constructors/inputPaymentCredentials.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'data' => DataJSON]; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentials={_='inputPaymentCredentials', save=Bool, data=DataJSON} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPaymentCredentialsSaved.md b/old_docs/API_docs_v71/constructors/inputPaymentCredentialsSaved.md index 63cd678e..c205ee9a 100644 --- a/old_docs/API_docs_v71/constructors/inputPaymentCredentialsSaved.md +++ b/old_docs/API_docs_v71/constructors/inputPaymentCredentialsSaved.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => 'string', 'tmp_password' => 'bytes']; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentialsSaved={_='inputPaymentCredentialsSaved', id='string', tmp_password='bytes'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPeerChannel.md b/old_docs/API_docs_v71/constructors/inputPeerChannel.md index 8b84fe20..14c2f105 100644 --- a/old_docs/API_docs_v71/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v71/constructors/inputPeerChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPeerChat.md b/old_docs/API_docs_v71/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v71/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v71/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPeerEmpty.md b/old_docs/API_docs_v71/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v71/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v71/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v71/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v71/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v71/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v71/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v71/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v71/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v71/constructors/inputPeerNotifySettings.md index 6b281f53..cd18b39e 100644 --- a/old_docs/API_docs_v71/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v71/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPeerSelf.md b/old_docs/API_docs_v71/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v71/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v71/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPeerUser.md b/old_docs/API_docs_v71/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/old_docs/API_docs_v71/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v71/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPhoneCall.md b/old_docs/API_docs_v71/constructors/inputPhoneCall.md index 60cdf8ca..68abe88d 100644 --- a/old_docs/API_docs_v71/constructors/inputPhoneCall.md +++ b/old_docs/API_docs_v71/constructors/inputPhoneCall.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneCall={_='inputPhoneCall', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPhoneContact.md b/old_docs/API_docs_v71/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v71/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v71/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPhoto.md b/old_docs/API_docs_v71/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v71/constructors/inputPhoto.md +++ b/old_docs/API_docs_v71/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v71/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v71/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v71/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v71/constructors/inputPrivacyKeyChatInvite.md index 9c55265f..d96148d4 100644 --- a/old_docs/API_docs_v71/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v71/constructors/inputPrivacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPrivacyKeyPhoneCall.md b/old_docs/API_docs_v71/constructors/inputPrivacyKeyPhoneCall.md index b16316be..510ff979 100644 --- a/old_docs/API_docs_v71/constructors/inputPrivacyKeyPhoneCall.md +++ b/old_docs/API_docs_v71/constructors/inputPrivacyKeyPhoneCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyPhoneCall={_='inputPrivacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v71/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v71/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v71/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v71/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v71/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v71/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v71/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v71/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v71/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v71/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v71/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v71/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v71/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v71/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v71/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v71/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v71/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v71/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v71/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v71/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v71/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v71/constructors/inputReportReasonOther.md b/old_docs/API_docs_v71/constructors/inputReportReasonOther.md index 361582bd..4dbffa18 100644 --- a/old_docs/API_docs_v71/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v71/constructors/inputReportReasonOther.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonOther={_='inputReportReasonOther', text='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v71/constructors/inputReportReasonPornography.md index c18c71d3..5c80f096 100644 --- a/old_docs/API_docs_v71/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v71/constructors/inputReportReasonPornography.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` @@ -27,10 +27,9 @@ $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v71/constructors/inputReportReasonSpam.md index 19ed6687..75d59861 100644 --- a/old_docs/API_docs_v71/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v71/constructors/inputReportReasonSpam.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` @@ -27,10 +27,9 @@ $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v71/constructors/inputReportReasonViolence.md index 10fbce47..28d27e85 100644 --- a/old_docs/API_docs_v71/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v71/constructors/inputReportReasonViolence.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` @@ -27,10 +27,9 @@ $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v71/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/old_docs/API_docs_v71/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v71/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputStickerSetID.md b/old_docs/API_docs_v71/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/old_docs/API_docs_v71/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v71/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v71/constructors/inputStickerSetItem.md b/old_docs/API_docs_v71/constructors/inputStickerSetItem.md index 2efe95ff..39b999c7 100644 --- a/old_docs/API_docs_v71/constructors/inputStickerSetItem.md +++ b/old_docs/API_docs_v71/constructors/inputStickerSetItem.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetItem = ['_' => 'inputStickerSetItem', 'document' => InputDocument, 'emoji' => 'string', 'mask_coords' => MaskCoords]; ``` @@ -34,10 +34,9 @@ $inputStickerSetItem = ['_' => 'inputStickerSetItem', 'document' => InputDocumen ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetItem={_='inputStickerSetItem', document=InputDocument, emoji='string', mask_coords=MaskCoords} ``` diff --git a/old_docs/API_docs_v71/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v71/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/old_docs/API_docs_v71/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v71/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputStickeredMediaDocument.md b/old_docs/API_docs_v71/constructors/inputStickeredMediaDocument.md index c6def51c..72da7b39 100644 --- a/old_docs/API_docs_v71/constructors/inputStickeredMediaDocument.md +++ b/old_docs/API_docs_v71/constructors/inputStickeredMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaDocument={_='inputStickeredMediaDocument', id=InputDocument} ``` diff --git a/old_docs/API_docs_v71/constructors/inputStickeredMediaPhoto.md b/old_docs/API_docs_v71/constructors/inputStickeredMediaPhoto.md index f424c329..d79cd390 100644 --- a/old_docs/API_docs_v71/constructors/inputStickeredMediaPhoto.md +++ b/old_docs/API_docs_v71/constructors/inputStickeredMediaPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaPhoto={_='inputStickeredMediaPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v71/constructors/inputUser.md b/old_docs/API_docs_v71/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/old_docs/API_docs_v71/constructors/inputUser.md +++ b/old_docs/API_docs_v71/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v71/constructors/inputUserEmpty.md b/old_docs/API_docs_v71/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v71/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v71/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputUserSelf.md b/old_docs/API_docs_v71/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v71/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v71/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v71/constructors/inputWebDocument.md b/old_docs/API_docs_v71/constructors/inputWebDocument.md index 8028cb28..cd3ceaa1 100644 --- a/old_docs/API_docs_v71/constructors/inputWebDocument.md +++ b/old_docs/API_docs_v71/constructors/inputWebDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -35,10 +35,9 @@ $inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputWebDocument={_='inputWebDocument', url='string', size=int, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v71/constructors/inputWebFileLocation.md b/old_docs/API_docs_v71/constructors/inputWebFileLocation.md index c484849b..888dcfbe 100644 --- a/old_docs/API_docs_v71/constructors/inputWebFileLocation.md +++ b/old_docs/API_docs_v71/constructors/inputWebFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'acce ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputWebFileLocation={_='inputWebFileLocation', url='string', access_hash=long} ``` diff --git a/old_docs/API_docs_v71/constructors/invoice.md b/old_docs/API_docs_v71/constructors/invoice.md index 7254fd66..ef683c37 100644 --- a/old_docs/API_docs_v71/constructors/invoice.md +++ b/old_docs/API_docs_v71/constructors/invoice.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_requested' => Bool, 'email_requested' => Bool, 'shipping_address_requested' => Bool, 'flexible' => Bool, 'currency' => 'string', 'prices' => [LabeledPrice, LabeledPrice]]; ``` @@ -39,10 +39,9 @@ $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_r ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua invoice={_='invoice', test=Bool, name_requested=Bool, phone_requested=Bool, email_requested=Bool, shipping_address_requested=Bool, flexible=Bool, currency='string', prices={LabeledPrice}} ``` diff --git a/old_docs/API_docs_v71/constructors/ipPort.md b/old_docs/API_docs_v71/constructors/ipPort.md index a22e57e7..16cec197 100644 --- a/old_docs/API_docs_v71/constructors/ipPort.md +++ b/old_docs/API_docs_v71/constructors/ipPort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $ipPort = ['_' => 'ipPort', 'ipv4' => int, 'port' => int]; ``` @@ -33,10 +33,9 @@ $ipPort = ['_' => 'ipPort', 'ipv4' => int, 'port' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua ipPort={_='ipPort', ipv4=int, port=int} ``` diff --git a/old_docs/API_docs_v71/constructors/keyboardButton.md b/old_docs/API_docs_v71/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/old_docs/API_docs_v71/constructors/keyboardButton.md +++ b/old_docs/API_docs_v71/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/keyboardButtonBuy.md b/old_docs/API_docs_v71/constructors/keyboardButtonBuy.md index efff4c6c..cf11ddf6 100644 --- a/old_docs/API_docs_v71/constructors/keyboardButtonBuy.md +++ b/old_docs/API_docs_v71/constructors/keyboardButtonBuy.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonBuy={_='keyboardButtonBuy', text='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/keyboardButtonCallback.md b/old_docs/API_docs_v71/constructors/keyboardButtonCallback.md index 63e87aac..c8f86f50 100644 --- a/old_docs/API_docs_v71/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v71/constructors/keyboardButtonCallback.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` @@ -33,10 +33,9 @@ $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonCallback={_='keyboardButtonCallback', text='string', data='bytes'} ``` diff --git a/old_docs/API_docs_v71/constructors/keyboardButtonGame.md b/old_docs/API_docs_v71/constructors/keyboardButtonGame.md index 08110141..05a565a3 100644 --- a/old_docs/API_docs_v71/constructors/keyboardButtonGame.md +++ b/old_docs/API_docs_v71/constructors/keyboardButtonGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonGame={_='keyboardButtonGame', text='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/keyboardButtonRequestGeoLocation.md b/old_docs/API_docs_v71/constructors/keyboardButtonRequestGeoLocation.md index fc422d90..63d4a82f 100644 --- a/old_docs/API_docs_v71/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v71/constructors/keyboardButtonRequestGeoLocation.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/keyboardButtonRequestPhone.md b/old_docs/API_docs_v71/constructors/keyboardButtonRequestPhone.md index a1719e24..ba58979f 100644 --- a/old_docs/API_docs_v71/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v71/constructors/keyboardButtonRequestPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/keyboardButtonRow.md b/old_docs/API_docs_v71/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/old_docs/API_docs_v71/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v71/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/old_docs/API_docs_v71/constructors/keyboardButtonSwitchInline.md b/old_docs/API_docs_v71/constructors/keyboardButtonSwitchInline.md index 463c473c..52dc897a 100644 --- a/old_docs/API_docs_v71/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v71/constructors/keyboardButtonSwitchInline.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => 'string', 'query' => 'string']; ``` @@ -34,10 +34,9 @@ $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=Bool, text='string', query='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/keyboardButtonUrl.md b/old_docs/API_docs_v71/constructors/keyboardButtonUrl.md index 709d4fa9..56b86f1c 100644 --- a/old_docs/API_docs_v71/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v71/constructors/keyboardButtonUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` @@ -33,10 +33,9 @@ $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonUrl={_='keyboardButtonUrl', text='string', url='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/labeledPrice.md b/old_docs/API_docs_v71/constructors/labeledPrice.md index 22e91c77..d54f53f5 100644 --- a/old_docs/API_docs_v71/constructors/labeledPrice.md +++ b/old_docs/API_docs_v71/constructors/labeledPrice.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` @@ -33,10 +33,9 @@ $labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua labeledPrice={_='labeledPrice', label='string', amount=long} ``` diff --git a/old_docs/API_docs_v71/constructors/langPackDifference.md b/old_docs/API_docs_v71/constructors/langPackDifference.md index 59f57e24..c31de915 100644 --- a/old_docs/API_docs_v71/constructors/langPackDifference.md +++ b/old_docs/API_docs_v71/constructors/langPackDifference.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackDifference = ['_' => 'langPackDifference', 'lang_code' => 'string', 'from_version' => int, 'version' => int, 'strings' => [LangPackString, LangPackString]]; ``` @@ -35,10 +35,9 @@ $langPackDifference = ['_' => 'langPackDifference', 'lang_code' => 'string', 'fr ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackDifference={_='langPackDifference', lang_code='string', from_version=int, version=int, strings={LangPackString}} ``` diff --git a/old_docs/API_docs_v71/constructors/langPackLanguage.md b/old_docs/API_docs_v71/constructors/langPackLanguage.md index a72465ca..51a8486c 100644 --- a/old_docs/API_docs_v71/constructors/langPackLanguage.md +++ b/old_docs/API_docs_v71/constructors/langPackLanguage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackLanguage = ['_' => 'langPackLanguage', 'name' => 'string', 'native_name' => 'string', 'lang_code' => 'string']; ``` @@ -34,10 +34,9 @@ $langPackLanguage = ['_' => 'langPackLanguage', 'name' => 'string', 'native_name ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackLanguage={_='langPackLanguage', name='string', native_name='string', lang_code='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/langPackString.md b/old_docs/API_docs_v71/constructors/langPackString.md index 4034f228..35d7d117 100644 --- a/old_docs/API_docs_v71/constructors/langPackString.md +++ b/old_docs/API_docs_v71/constructors/langPackString.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackString = ['_' => 'langPackString', 'key' => 'string', 'value' => 'string']; ``` @@ -33,10 +33,9 @@ $langPackString = ['_' => 'langPackString', 'key' => 'string', 'value' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackString={_='langPackString', key='string', value='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/langPackStringDeleted.md b/old_docs/API_docs_v71/constructors/langPackStringDeleted.md index 3da641bb..c23ce8f8 100644 --- a/old_docs/API_docs_v71/constructors/langPackStringDeleted.md +++ b/old_docs/API_docs_v71/constructors/langPackStringDeleted.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackStringDeleted = ['_' => 'langPackStringDeleted', 'key' => 'string']; ``` @@ -32,10 +32,9 @@ $langPackStringDeleted = ['_' => 'langPackStringDeleted', 'key' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackStringDeleted={_='langPackStringDeleted', key='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/langPackStringPluralized.md b/old_docs/API_docs_v71/constructors/langPackStringPluralized.md index 92b0b356..37225b53 100644 --- a/old_docs/API_docs_v71/constructors/langPackStringPluralized.md +++ b/old_docs/API_docs_v71/constructors/langPackStringPluralized.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => 'string', 'zero_value' => 'string', 'one_value' => 'string', 'two_value' => 'string', 'few_value' => 'string', 'many_value' => 'string', 'other_value' => 'string']; ``` @@ -38,10 +38,9 @@ $langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackStringPluralized={_='langPackStringPluralized', key='string', zero_value='string', one_value='string', two_value='string', few_value='string', many_value='string', other_value='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/maskCoords.md b/old_docs/API_docs_v71/constructors/maskCoords.md index 21b9ad78..2d393f3a 100644 --- a/old_docs/API_docs_v71/constructors/maskCoords.md +++ b/old_docs/API_docs_v71/constructors/maskCoords.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double]; ``` @@ -35,10 +35,9 @@ $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'z ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua maskCoords={_='maskCoords', n=int, x=double, y=double, zoom=double} ``` diff --git a/old_docs/API_docs_v71/constructors/message.md b/old_docs/API_docs_v71/constructors/message.md index aed48527..b7997777 100644 --- a/old_docs/API_docs_v71/constructors/message.md +++ b/old_docs/API_docs_v71/constructors/message.md @@ -39,7 +39,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'views' => int, 'edit_date' => int, 'post_author' => 'string']; ``` @@ -50,10 +50,9 @@ $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int, post_author='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v71/constructors/messageActionChannelCreate.md index b1750d73..2600ab63 100644 --- a/old_docs/API_docs_v71/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v71/constructors/messageActionChannelCreate.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v71/constructors/messageActionChannelMigrateFrom.md index add136dc..1fdcf3f4 100644 --- a/old_docs/API_docs_v71/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v71/constructors/messageActionChannelMigrateFrom.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 't ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v71/constructors/messageActionChatAddUser.md index 9c7de7f8..283365cd 100644 --- a/old_docs/API_docs_v71/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v71/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', users={int}} ``` diff --git a/old_docs/API_docs_v71/constructors/messageActionChatCreate.md b/old_docs/API_docs_v71/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v71/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v71/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v71/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v71/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v71/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v71/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v71/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v71/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v71/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v71/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v71/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v71/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v71/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v71/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v71/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v71/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v71/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v71/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/old_docs/API_docs_v71/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v71/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v71/constructors/messageActionChatMigrateTo.md index 21d2cb22..8ace1091 100644 --- a/old_docs/API_docs_v71/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v71/constructors/messageActionChatMigrateTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messageActionEmpty.md b/old_docs/API_docs_v71/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v71/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v71/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/messageActionGameScore.md b/old_docs/API_docs_v71/constructors/messageActionGameScore.md index 7a459a3d..c0086b66 100644 --- a/old_docs/API_docs_v71/constructors/messageActionGameScore.md +++ b/old_docs/API_docs_v71/constructors/messageActionGameScore.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int]; ``` @@ -33,10 +33,9 @@ $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionGameScore={_='messageActionGameScore', game_id=long, score=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messageActionHistoryClear.md b/old_docs/API_docs_v71/constructors/messageActionHistoryClear.md index 8b8dcc9d..90875cf6 100644 --- a/old_docs/API_docs_v71/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v71/constructors/messageActionHistoryClear.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` @@ -27,10 +27,9 @@ $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionHistoryClear={_='messageActionHistoryClear'} ``` diff --git a/old_docs/API_docs_v71/constructors/messageActionPaymentSent.md b/old_docs/API_docs_v71/constructors/messageActionPaymentSent.md index b224a125..a5c83837 100644 --- a/old_docs/API_docs_v71/constructors/messageActionPaymentSent.md +++ b/old_docs/API_docs_v71/constructors/messageActionPaymentSent.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 'string', 'total_amount' => long]; ``` @@ -33,10 +33,9 @@ $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPaymentSent={_='messageActionPaymentSent', currency='string', total_amount=long} ``` diff --git a/old_docs/API_docs_v71/constructors/messageActionPaymentSentMe.md b/old_docs/API_docs_v71/constructors/messageActionPaymentSentMe.md index f21ccce0..b1a61d01 100644 --- a/old_docs/API_docs_v71/constructors/messageActionPaymentSentMe.md +++ b/old_docs/API_docs_v71/constructors/messageActionPaymentSentMe.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' => 'string', 'total_amount' => long, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'charge' => PaymentCharge]; ``` @@ -37,10 +37,9 @@ $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPaymentSentMe={_='messageActionPaymentSentMe', currency='string', total_amount=long, payload='bytes', info=PaymentRequestedInfo, shipping_option_id='string', charge=PaymentCharge} ``` diff --git a/old_docs/API_docs_v71/constructors/messageActionPhoneCall.md b/old_docs/API_docs_v71/constructors/messageActionPhoneCall.md index f2f3eb4f..18a6c687 100644 --- a/old_docs/API_docs_v71/constructors/messageActionPhoneCall.md +++ b/old_docs/API_docs_v71/constructors/messageActionPhoneCall.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` @@ -34,10 +34,9 @@ $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPhoneCall={_='messageActionPhoneCall', call_id=long, reason=PhoneCallDiscardReason, duration=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messageActionPinMessage.md b/old_docs/API_docs_v71/constructors/messageActionPinMessage.md index ffa41746..be763787 100644 --- a/old_docs/API_docs_v71/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v71/constructors/messageActionPinMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` @@ -27,10 +27,9 @@ $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/old_docs/API_docs_v71/constructors/messageActionScreenshotTaken.md b/old_docs/API_docs_v71/constructors/messageActionScreenshotTaken.md index f86b1746..cbe504c6 100644 --- a/old_docs/API_docs_v71/constructors/messageActionScreenshotTaken.md +++ b/old_docs/API_docs_v71/constructors/messageActionScreenshotTaken.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionScreenshotTaken = ['_' => 'messageActionScreenshotTaken']; ``` @@ -27,10 +27,9 @@ $messageActionScreenshotTaken = ['_' => 'messageActionScreenshotTaken']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionScreenshotTaken={_='messageActionScreenshotTaken'} ``` diff --git a/old_docs/API_docs_v71/constructors/messageEmpty.md b/old_docs/API_docs_v71/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v71/constructors/messageEmpty.md +++ b/old_docs/API_docs_v71/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messageEntityBold.md b/old_docs/API_docs_v71/constructors/messageEntityBold.md index 950699fb..90f74ad5 100644 --- a/old_docs/API_docs_v71/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v71/constructors/messageEntityBold.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v71/constructors/messageEntityBotCommand.md index 8be471d3..9fb8f6a6 100644 --- a/old_docs/API_docs_v71/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v71/constructors/messageEntityBotCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messageEntityCode.md b/old_docs/API_docs_v71/constructors/messageEntityCode.md index 7c701844..d236e57e 100644 --- a/old_docs/API_docs_v71/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v71/constructors/messageEntityCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messageEntityEmail.md b/old_docs/API_docs_v71/constructors/messageEntityEmail.md index 35a968c7..74e910f3 100644 --- a/old_docs/API_docs_v71/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v71/constructors/messageEntityEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messageEntityHashtag.md b/old_docs/API_docs_v71/constructors/messageEntityHashtag.md index 6b124e73..77e29387 100644 --- a/old_docs/API_docs_v71/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v71/constructors/messageEntityHashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messageEntityItalic.md b/old_docs/API_docs_v71/constructors/messageEntityItalic.md index 25f73428..5975bae2 100644 --- a/old_docs/API_docs_v71/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v71/constructors/messageEntityItalic.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messageEntityMention.md b/old_docs/API_docs_v71/constructors/messageEntityMention.md index 9eb4d266..1a21cb10 100644 --- a/old_docs/API_docs_v71/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v71/constructors/messageEntityMention.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messageEntityMentionName.md b/old_docs/API_docs_v71/constructors/messageEntityMentionName.md index b546570b..0fe142c5 100644 --- a/old_docs/API_docs_v71/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v71/constructors/messageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int]; ``` @@ -34,10 +34,9 @@ $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messageEntityPre.md b/old_docs/API_docs_v71/constructors/messageEntityPre.md index abfc9136..13b165fe 100644 --- a/old_docs/API_docs_v71/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v71/constructors/messageEntityPre.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPre={_='messageEntityPre', offset=int, length=int, language='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v71/constructors/messageEntityTextUrl.md index 91f6d36c..b6d82843 100644 --- a/old_docs/API_docs_v71/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v71/constructors/messageEntityTextUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/messageEntityUnknown.md b/old_docs/API_docs_v71/constructors/messageEntityUnknown.md index 69ca8a1b..4c434fd7 100644 --- a/old_docs/API_docs_v71/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v71/constructors/messageEntityUnknown.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messageEntityUrl.md b/old_docs/API_docs_v71/constructors/messageEntityUrl.md index 377c3dda..2cf334a5 100644 --- a/old_docs/API_docs_v71/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v71/constructors/messageEntityUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messageFwdHeader.md b/old_docs/API_docs_v71/constructors/messageFwdHeader.md index 7c089549..78c54ac3 100644 --- a/old_docs/API_docs_v71/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v71/constructors/messageFwdHeader.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, 'post_author' => 'string']; ``` @@ -36,10 +36,9 @@ $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int, post_author='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/messageMediaContact.md b/old_docs/API_docs_v71/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v71/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v71/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messageMediaDocument.md b/old_docs/API_docs_v71/constructors/messageMediaDocument.md index 18ae1020..4c486785 100644 --- a/old_docs/API_docs_v71/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v71/constructors/messageMediaDocument.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document, caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messageMediaEmpty.md b/old_docs/API_docs_v71/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v71/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v71/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/messageMediaGame.md b/old_docs/API_docs_v71/constructors/messageMediaGame.md index e97b2bd1..980dbbcc 100644 --- a/old_docs/API_docs_v71/constructors/messageMediaGame.md +++ b/old_docs/API_docs_v71/constructors/messageMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` @@ -32,10 +32,9 @@ $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGame={_='messageMediaGame', game=Game} ``` diff --git a/old_docs/API_docs_v71/constructors/messageMediaGeo.md b/old_docs/API_docs_v71/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v71/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v71/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v71/constructors/messageMediaInvoice.md b/old_docs/API_docs_v71/constructors/messageMediaInvoice.md index dff83700..e7514d50 100644 --- a/old_docs/API_docs_v71/constructors/messageMediaInvoice.md +++ b/old_docs/API_docs_v71/constructors/messageMediaInvoice.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requested' => Bool, 'test' => Bool, 'title' => 'string', 'description' => 'string', 'photo' => WebDocument, 'receipt_msg_id' => int, 'currency' => 'string', 'total_amount' => long, 'start_param' => 'string']; ``` @@ -40,10 +40,9 @@ $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requeste ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaInvoice={_='messageMediaInvoice', shipping_address_requested=Bool, test=Bool, title='string', description='string', photo=WebDocument, receipt_msg_id=int, currency='string', total_amount=long, start_param='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/messageMediaPhoto.md b/old_docs/API_docs_v71/constructors/messageMediaPhoto.md index 4fa78685..2c7d687d 100644 --- a/old_docs/API_docs_v71/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v71/constructors/messageMediaPhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v71/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v71/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v71/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v71/constructors/messageMediaVenue.md b/old_docs/API_docs_v71/constructors/messageMediaVenue.md index 2db2d25d..2ef2b27f 100644 --- a/old_docs/API_docs_v71/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v71/constructors/messageMediaVenue.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string']; ``` @@ -36,10 +36,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/messageMediaWebPage.md b/old_docs/API_docs_v71/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v71/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v71/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v71/constructors/messageRange.md b/old_docs/API_docs_v71/constructors/messageRange.md index 40c3f81a..527e8646 100644 --- a/old_docs/API_docs_v71/constructors/messageRange.md +++ b/old_docs/API_docs_v71/constructors/messageRange.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageRange={_='messageRange', min_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messageService.md b/old_docs/API_docs_v71/constructors/messageService.md index 8f47e32f..f9946e72 100644 --- a/old_docs/API_docs_v71/constructors/messageService.md +++ b/old_docs/API_docs_v71/constructors/messageService.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction]; ``` @@ -42,10 +42,9 @@ $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_affectedHistory.md b/old_docs/API_docs_v71/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v71/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v71/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_affectedMessages.md b/old_docs/API_docs_v71/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v71/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v71/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_allStickers.md b/old_docs/API_docs_v71/constructors/messages_allStickers.md index 2a7d1313..45a66ddf 100644 --- a/old_docs/API_docs_v71/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v71/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v71/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v71/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v71/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_archivedStickers.md b/old_docs/API_docs_v71/constructors/messages_archivedStickers.md index 458c74b9..639d174b 100644 --- a/old_docs/API_docs_v71/constructors/messages_archivedStickers.md +++ b/old_docs/API_docs_v71/constructors/messages_archivedStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -33,10 +33,9 @@ $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v71/constructors/messages_botCallbackAnswer.md index 90095d01..41b90b45 100644 --- a/old_docs/API_docs_v71/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v71/constructors/messages_botCallbackAnswer.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; ``` @@ -36,10 +36,9 @@ $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_botResults.md b/old_docs/API_docs_v71/constructors/messages_botResults.md index bec3e32a..cb2b295c 100644 --- a/old_docs/API_docs_v71/constructors/messages_botResults.md +++ b/old_docs/API_docs_v71/constructors/messages_botResults.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int]; ``` @@ -37,10 +37,9 @@ $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_channelMessages.md b/old_docs/API_docs_v71/constructors/messages_channelMessages.md index 43f4cdc6..0da0608d 100644 --- a/old_docs/API_docs_v71/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v71/constructors/messages_channelMessages.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'c ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_chatFull.md b/old_docs/API_docs_v71/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v71/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v71/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_chats.md b/old_docs/API_docs_v71/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v71/constructors/messages_chats.md +++ b/old_docs/API_docs_v71/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_chatsSlice.md b/old_docs/API_docs_v71/constructors/messages_chatsSlice.md index 83905f64..d6a204d4 100644 --- a/old_docs/API_docs_v71/constructors/messages_chatsSlice.md +++ b/old_docs/API_docs_v71/constructors/messages_chatsSlice.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; ``` @@ -33,10 +33,9 @@ $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_dhConfig.md b/old_docs/API_docs_v71/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v71/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v71/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v71/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v71/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v71/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_dialogs.md b/old_docs/API_docs_v71/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v71/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v71/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v71/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v71/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v71/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_favedStickers.md b/old_docs/API_docs_v71/constructors/messages_favedStickers.md index b0501427..d058813a 100644 --- a/old_docs/API_docs_v71/constructors/messages_favedStickers.md +++ b/old_docs/API_docs_v71/constructors/messages_favedStickers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_favedStickersNotModified.md b/old_docs/API_docs_v71/constructors/messages_favedStickersNotModified.md index a5215247..91c1ec51 100644 --- a/old_docs/API_docs_v71/constructors/messages_favedStickersNotModified.md +++ b/old_docs/API_docs_v71/constructors/messages_favedStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_favedStickersNotModified={_='messages.favedStickersNotModified'} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_featuredStickers.md b/old_docs/API_docs_v71/constructors/messages_featuredStickers.md index 0ec8be8b..f40ec583 100644 --- a/old_docs/API_docs_v71/constructors/messages_featuredStickers.md +++ b/old_docs/API_docs_v71/constructors/messages_featuredStickers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; ``` @@ -34,10 +34,9 @@ $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v71/constructors/messages_featuredStickersNotModified.md index 87d2e6c7..3457ff96 100644 --- a/old_docs/API_docs_v71/constructors/messages_featuredStickersNotModified.md +++ b/old_docs/API_docs_v71/constructors/messages_featuredStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotMod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_foundGifs.md b/old_docs/API_docs_v71/constructors/messages_foundGifs.md index f86a9fed..4d513264 100644 --- a/old_docs/API_docs_v71/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v71/constructors/messages_foundGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; ``` @@ -33,10 +33,9 @@ $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'resul ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_highScores.md b/old_docs/API_docs_v71/constructors/messages_highScores.md index 1af58a14..08692c07 100644 --- a/old_docs/API_docs_v71/constructors/messages_highScores.md +++ b/old_docs/API_docs_v71/constructors/messages_highScores.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, Hi ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_messageEditData.md b/old_docs/API_docs_v71/constructors/messages_messageEditData.md index aee6e179..fe0f3ab3 100644 --- a/old_docs/API_docs_v71/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v71/constructors/messages_messageEditData.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` @@ -32,10 +32,9 @@ $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messageEditData={_='messages.messageEditData', caption=Bool} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_messages.md b/old_docs/API_docs_v71/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v71/constructors/messages_messages.md +++ b/old_docs/API_docs_v71/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_messagesSlice.md b/old_docs/API_docs_v71/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v71/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v71/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_peerDialogs.md b/old_docs/API_docs_v71/constructors/messages_peerDialogs.md index 93601b21..60aa48e6 100644 --- a/old_docs/API_docs_v71/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v71/constructors/messages_peerDialogs.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -36,10 +36,9 @@ $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Di ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_recentStickers.md b/old_docs/API_docs_v71/constructors/messages_recentStickers.md index b2ea1fa7..47a5c591 100644 --- a/old_docs/API_docs_v71/constructors/messages_recentStickers.md +++ b/old_docs/API_docs_v71/constructors/messages_recentStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v71/constructors/messages_recentStickersNotModified.md index 9bf964da..c3c4f654 100644 --- a/old_docs/API_docs_v71/constructors/messages_recentStickersNotModified.md +++ b/old_docs/API_docs_v71/constructors/messages_recentStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModifie ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickersNotModified={_='messages.recentStickersNotModified'} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_savedGifs.md b/old_docs/API_docs_v71/constructors/messages_savedGifs.md index 4a254ab5..ae7e595f 100644 --- a/old_docs/API_docs_v71/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v71/constructors/messages_savedGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Do ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v71/constructors/messages_savedGifsNotModified.md index 65c17d0c..ef0db669 100644 --- a/old_docs/API_docs_v71/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v71/constructors/messages_savedGifsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` @@ -27,10 +27,9 @@ $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifsNotModified={_='messages.savedGifsNotModified'} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v71/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v71/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v71/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v71/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v71/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v71/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_stickerSet.md b/old_docs/API_docs_v71/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/old_docs/API_docs_v71/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v71/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v71/constructors/messages_stickerSetInstallResultArchive.md index 2f66cfa0..f43e11c0 100644 --- a/old_docs/API_docs_v71/constructors/messages_stickerSetInstallResultArchive.md +++ b/old_docs/API_docs_v71/constructors/messages_stickerSetInstallResultArchive.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -32,10 +32,9 @@ $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v71/constructors/messages_stickerSetInstallResultSuccess.md index ef5752a2..bb6b00f3 100644 --- a/old_docs/API_docs_v71/constructors/messages_stickerSetInstallResultSuccess.md +++ b/old_docs/API_docs_v71/constructors/messages_stickerSetInstallResultSuccess.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; ``` @@ -27,10 +27,9 @@ $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_stickers.md b/old_docs/API_docs_v71/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v71/constructors/messages_stickers.md +++ b/old_docs/API_docs_v71/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v71/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v71/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v71/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v71/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v71/constructors/msg_detailed_info.md b/old_docs/API_docs_v71/constructors/msg_detailed_info.md index 22a4fdb0..238ea35d 100644 --- a/old_docs/API_docs_v71/constructors/msg_detailed_info.md +++ b/old_docs/API_docs_v71/constructors/msg_detailed_info.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_id' => long, 'bytes' => int, 'status' => int]; ``` @@ -35,10 +35,9 @@ $msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_detailed_info={_='msg_detailed_info', msg_id=long, answer_msg_id=long, bytes=int, status=int} ``` diff --git a/old_docs/API_docs_v71/constructors/msg_new_detailed_info.md b/old_docs/API_docs_v71/constructors/msg_new_detailed_info.md index fc671bb9..6e4ad249 100644 --- a/old_docs/API_docs_v71/constructors/msg_new_detailed_info.md +++ b/old_docs/API_docs_v71/constructors/msg_new_detailed_info.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => long, 'bytes' => int, 'status' => int]; ``` @@ -34,10 +34,9 @@ $msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_new_detailed_info={_='msg_new_detailed_info', answer_msg_id=long, bytes=int, status=int} ``` diff --git a/old_docs/API_docs_v71/constructors/msg_resend_req.md b/old_docs/API_docs_v71/constructors/msg_resend_req.md index 3ae86dfc..d9de1768 100644 --- a/old_docs/API_docs_v71/constructors/msg_resend_req.md +++ b/old_docs/API_docs_v71/constructors/msg_resend_req.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long, long]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_resend_req={_='msg_resend_req', msg_ids={long}} ``` diff --git a/old_docs/API_docs_v71/constructors/msgs_ack.md b/old_docs/API_docs_v71/constructors/msgs_ack.md index 83c78c01..78b0bed6 100644 --- a/old_docs/API_docs_v71/constructors/msgs_ack.md +++ b/old_docs/API_docs_v71/constructors/msgs_ack.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long, long]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_ack={_='msgs_ack', msg_ids={long}} ``` diff --git a/old_docs/API_docs_v71/constructors/msgs_all_info.md b/old_docs/API_docs_v71/constructors/msgs_all_info.md index f4be85aa..063eb59d 100644 --- a/old_docs/API_docs_v71/constructors/msgs_all_info.md +++ b/old_docs/API_docs_v71/constructors/msgs_all_info.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long, long], 'info' => 'string']; ``` @@ -33,10 +33,9 @@ $msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long, long], 'info' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_all_info={_='msgs_all_info', msg_ids={long}, info='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/msgs_state_info.md b/old_docs/API_docs_v71/constructors/msgs_state_info.md index a1157206..04f1c818 100644 --- a/old_docs/API_docs_v71/constructors/msgs_state_info.md +++ b/old_docs/API_docs_v71/constructors/msgs_state_info.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => 'string']; ``` @@ -33,10 +33,9 @@ $msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_state_info={_='msgs_state_info', req_msg_id=long, info='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/msgs_state_req.md b/old_docs/API_docs_v71/constructors/msgs_state_req.md index ede2520f..feedf3d3 100644 --- a/old_docs/API_docs_v71/constructors/msgs_state_req.md +++ b/old_docs/API_docs_v71/constructors/msgs_state_req.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long, long]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_state_req={_='msgs_state_req', msg_ids={long}} ``` diff --git a/old_docs/API_docs_v71/constructors/nearestDc.md b/old_docs/API_docs_v71/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v71/constructors/nearestDc.md +++ b/old_docs/API_docs_v71/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v71/constructors/new_session_created.md b/old_docs/API_docs_v71/constructors/new_session_created.md index b917ad59..aa443caa 100644 --- a/old_docs/API_docs_v71/constructors/new_session_created.md +++ b/old_docs/API_docs_v71/constructors/new_session_created.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'unique_id' => long, 'server_salt' => long]; ``` @@ -34,10 +34,9 @@ $new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'u ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua new_session_created={_='new_session_created', first_msg_id=long, unique_id=long, server_salt=long} ``` diff --git a/old_docs/API_docs_v71/constructors/notifyAll.md b/old_docs/API_docs_v71/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v71/constructors/notifyAll.md +++ b/old_docs/API_docs_v71/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v71/constructors/notifyChats.md b/old_docs/API_docs_v71/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v71/constructors/notifyChats.md +++ b/old_docs/API_docs_v71/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v71/constructors/notifyPeer.md b/old_docs/API_docs_v71/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v71/constructors/notifyPeer.md +++ b/old_docs/API_docs_v71/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v71/constructors/notifyUsers.md b/old_docs/API_docs_v71/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v71/constructors/notifyUsers.md +++ b/old_docs/API_docs_v71/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v71/constructors/p_q_inner_data.md b/old_docs/API_docs_v71/constructors/p_q_inner_data.md index 9a05a5ec..3c4f16f5 100644 --- a/old_docs/API_docs_v71/constructors/p_q_inner_data.md +++ b/old_docs/API_docs_v71/constructors/p_q_inner_data.md @@ -28,7 +28,7 @@ PQ inner data ### Example: -``` +```php $p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => 'string', 'p' => 'string', 'q' => 'string', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256]; ``` @@ -39,10 +39,9 @@ $p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => 'string', 'p' => 'string', ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua p_q_inner_data={_='p_q_inner_data', pq='string', p='string', q='string', nonce=int128, server_nonce=int128, new_nonce=int256} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockAnchor.md b/old_docs/API_docs_v71/constructors/pageBlockAnchor.md index af7f7c2b..5a5757fb 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockAnchor.md +++ b/old_docs/API_docs_v71/constructors/pageBlockAnchor.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` @@ -32,10 +32,9 @@ $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAnchor={_='pageBlockAnchor', name='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockAudio.md b/old_docs/API_docs_v71/constructors/pageBlockAudio.md index 5a7b97c0..af68cf19 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockAudio.md +++ b/old_docs/API_docs_v71/constructors/pageBlockAudio.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAudio = ['_' => 'pageBlockAudio', 'audio_id' => long, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockAudio = ['_' => 'pageBlockAudio', 'audio_id' => long, 'caption' => Ric ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAudio={_='pageBlockAudio', audio_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockAuthorDate.md b/old_docs/API_docs_v71/constructors/pageBlockAuthorDate.md index 4f746156..03daab4b 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockAuthorDate.md +++ b/old_docs/API_docs_v71/constructors/pageBlockAuthorDate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int]; ``` @@ -33,10 +33,9 @@ $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'pub ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAuthorDate={_='pageBlockAuthorDate', author=RichText, published_date=int} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockBlockquote.md b/old_docs/API_docs_v71/constructors/pageBlockBlockquote.md index f78ad5bd..c34f378d 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockBlockquote.md +++ b/old_docs/API_docs_v71/constructors/pageBlockBlockquote.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'capti ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockBlockquote={_='pageBlockBlockquote', text=RichText, caption=RichText} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockChannel.md b/old_docs/API_docs_v71/constructors/pageBlockChannel.md index 6cd78457..95ddd37b 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockChannel.md +++ b/old_docs/API_docs_v71/constructors/pageBlockChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat]; ``` @@ -32,10 +32,9 @@ $pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockChannel={_='pageBlockChannel', channel=Chat} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockCollage.md b/old_docs/API_docs_v71/constructors/pageBlockCollage.md index 45bdee72..beaf8ba2 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockCollage.md +++ b/old_docs/API_docs_v71/constructors/pageBlockCollage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock, PageBlock ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockCollage={_='pageBlockCollage', items={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockCover.md b/old_docs/API_docs_v71/constructors/pageBlockCover.md index 8e8db49e..8c96a1af 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockCover.md +++ b/old_docs/API_docs_v71/constructors/pageBlockCover.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` @@ -32,10 +32,9 @@ $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockCover={_='pageBlockCover', cover=PageBlock} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockDivider.md b/old_docs/API_docs_v71/constructors/pageBlockDivider.md index 5f444cce..ee3e75b7 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockDivider.md +++ b/old_docs/API_docs_v71/constructors/pageBlockDivider.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockDivider = ['_' => 'pageBlockDivider']; ``` @@ -27,10 +27,9 @@ $pageBlockDivider = ['_' => 'pageBlockDivider']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockDivider={_='pageBlockDivider'} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockEmbed.md b/old_docs/API_docs_v71/constructors/pageBlockEmbed.md index 3e508369..9c72b889 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockEmbed.md +++ b/old_docs/API_docs_v71/constructors/pageBlockEmbed.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => 'string', 'html' => 'string', 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText]; ``` @@ -39,10 +39,9 @@ $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolli ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockEmbed={_='pageBlockEmbed', full_width=Bool, allow_scrolling=Bool, url='string', html='string', poster_photo_id=long, w=int, h=int, caption=RichText} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockEmbedPost.md b/old_docs/API_docs_v71/constructors/pageBlockEmbedPost.md index 24c622e6..684952c1 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockEmbedPost.md +++ b/old_docs/API_docs_v71/constructors/pageBlockEmbedPost.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_id' => long, 'author_photo_id' => long, 'author' => 'string', 'date' => int, 'blocks' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -38,10 +38,9 @@ $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockEmbedPost={_='pageBlockEmbedPost', url='string', webpage_id=long, author_photo_id=long, author='string', date=int, blocks={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockFooter.md b/old_docs/API_docs_v71/constructors/pageBlockFooter.md index 3caeb971..e467eb94 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockFooter.md +++ b/old_docs/API_docs_v71/constructors/pageBlockFooter.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockFooter={_='pageBlockFooter', text=RichText} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockHeader.md b/old_docs/API_docs_v71/constructors/pageBlockHeader.md index 950037d0..761196e1 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockHeader.md +++ b/old_docs/API_docs_v71/constructors/pageBlockHeader.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockHeader={_='pageBlockHeader', text=RichText} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockList.md b/old_docs/API_docs_v71/constructors/pageBlockList.md index 37371b18..f841cf2f 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockList.md +++ b/old_docs/API_docs_v71/constructors/pageBlockList.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText, RichText]]; ``` @@ -33,10 +33,9 @@ $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichTex ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockList={_='pageBlockList', ordered=Bool, items={RichText}} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockParagraph.md b/old_docs/API_docs_v71/constructors/pageBlockParagraph.md index 6b22950e..897a7870 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockParagraph.md +++ b/old_docs/API_docs_v71/constructors/pageBlockParagraph.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockParagraph={_='pageBlockParagraph', text=RichText} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockPhoto.md b/old_docs/API_docs_v71/constructors/pageBlockPhoto.md index e80e16f4..470dbc15 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockPhoto.md +++ b/old_docs/API_docs_v71/constructors/pageBlockPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => Ric ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPhoto={_='pageBlockPhoto', photo_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockPreformatted.md b/old_docs/API_docs_v71/constructors/pageBlockPreformatted.md index 49cb8b08..bd505a25 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockPreformatted.md +++ b/old_docs/API_docs_v71/constructors/pageBlockPreformatted.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => 'string']; ``` @@ -33,10 +33,9 @@ $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPreformatted={_='pageBlockPreformatted', text=RichText, language='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockPullquote.md b/old_docs/API_docs_v71/constructors/pageBlockPullquote.md index d73389da..744215e3 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockPullquote.md +++ b/old_docs/API_docs_v71/constructors/pageBlockPullquote.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPullquote={_='pageBlockPullquote', text=RichText, caption=RichText} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockSlideshow.md b/old_docs/API_docs_v71/constructors/pageBlockSlideshow.md index d855e4d8..4a827931 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockSlideshow.md +++ b/old_docs/API_docs_v71/constructors/pageBlockSlideshow.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock, PageB ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSlideshow={_='pageBlockSlideshow', items={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockSubheader.md b/old_docs/API_docs_v71/constructors/pageBlockSubheader.md index 6b6a332e..094c5d2e 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockSubheader.md +++ b/old_docs/API_docs_v71/constructors/pageBlockSubheader.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSubheader={_='pageBlockSubheader', text=RichText} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockSubtitle.md b/old_docs/API_docs_v71/constructors/pageBlockSubtitle.md index 017112c2..6ad657c0 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockSubtitle.md +++ b/old_docs/API_docs_v71/constructors/pageBlockSubtitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSubtitle={_='pageBlockSubtitle', text=RichText} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockTitle.md b/old_docs/API_docs_v71/constructors/pageBlockTitle.md index 9dfe94d2..5c6d228b 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockTitle.md +++ b/old_docs/API_docs_v71/constructors/pageBlockTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockTitle={_='pageBlockTitle', text=RichText} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockUnsupported.md b/old_docs/API_docs_v71/constructors/pageBlockUnsupported.md index 8d127c6d..a0895079 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockUnsupported.md +++ b/old_docs/API_docs_v71/constructors/pageBlockUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` @@ -27,10 +27,9 @@ $pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockUnsupported={_='pageBlockUnsupported'} ``` diff --git a/old_docs/API_docs_v71/constructors/pageBlockVideo.md b/old_docs/API_docs_v71/constructors/pageBlockVideo.md index 03a04d1b..27c2ed6f 100644 --- a/old_docs/API_docs_v71/constructors/pageBlockVideo.md +++ b/old_docs/API_docs_v71/constructors/pageBlockVideo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText]; ``` @@ -35,10 +35,9 @@ $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockVideo={_='pageBlockVideo', autoplay=Bool, loop=Bool, video_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v71/constructors/pageFull.md b/old_docs/API_docs_v71/constructors/pageFull.md index 493f1403..40bae0d4 100644 --- a/old_docs/API_docs_v71/constructors/pageFull.md +++ b/old_docs/API_docs_v71/constructors/pageFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock, PageBlock], 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageFull={_='pageFull', blocks={PageBlock}, photos={Photo}, documents={Document}} ``` diff --git a/old_docs/API_docs_v71/constructors/pagePart.md b/old_docs/API_docs_v71/constructors/pagePart.md index 3e2261ef..430bd942 100644 --- a/old_docs/API_docs_v71/constructors/pagePart.md +++ b/old_docs/API_docs_v71/constructors/pagePart.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock, PageBlock], 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pagePart={_='pagePart', blocks={PageBlock}, photos={Photo}, documents={Document}} ``` diff --git a/old_docs/API_docs_v71/constructors/paymentCharge.md b/old_docs/API_docs_v71/constructors/paymentCharge.md index 83a0d433..56e8e040 100644 --- a/old_docs/API_docs_v71/constructors/paymentCharge.md +++ b/old_docs/API_docs_v71/constructors/paymentCharge.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' => 'string']; ``` @@ -33,10 +33,9 @@ $paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentCharge={_='paymentCharge', id='string', provider_charge_id='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/paymentRequestedInfo.md b/old_docs/API_docs_v71/constructors/paymentRequestedInfo.md index e4b6562a..767ec982 100644 --- a/old_docs/API_docs_v71/constructors/paymentRequestedInfo.md +++ b/old_docs/API_docs_v71/constructors/paymentRequestedInfo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'phone' => 'string', 'email' => 'string', 'shipping_address' => PostAddress]; ``` @@ -35,10 +35,9 @@ $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'pho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentRequestedInfo={_='paymentRequestedInfo', name='string', phone='string', email='string', shipping_address=PostAddress} ``` diff --git a/old_docs/API_docs_v71/constructors/paymentSavedCredentialsCard.md b/old_docs/API_docs_v71/constructors/paymentSavedCredentialsCard.md index 6fc4e934..43b2baf6 100644 --- a/old_docs/API_docs_v71/constructors/paymentSavedCredentialsCard.md +++ b/old_docs/API_docs_v71/constructors/paymentSavedCredentialsCard.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 'string', 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentSavedCredentialsCard={_='paymentSavedCredentialsCard', id='string', title='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/payments_paymentForm.md b/old_docs/API_docs_v71/constructors/payments_paymentForm.md index 74cca6f4..00d9349d 100644 --- a/old_docs/API_docs_v71/constructors/payments_paymentForm.md +++ b/old_docs/API_docs_v71/constructors/payments_paymentForm.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; ``` @@ -42,10 +42,9 @@ $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} ``` diff --git a/old_docs/API_docs_v71/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v71/constructors/payments_paymentReceipt.md index fdf741b4..068f5869 100644 --- a/old_docs/API_docs_v71/constructors/payments_paymentReceipt.md +++ b/old_docs/API_docs_v71/constructors/payments_paymentReceipt.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; ``` @@ -41,10 +41,9 @@ $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} ``` diff --git a/old_docs/API_docs_v71/constructors/payments_paymentResult.md b/old_docs/API_docs_v71/constructors/payments_paymentResult.md index 7ae00170..a5679a5f 100644 --- a/old_docs/API_docs_v71/constructors/payments_paymentResult.md +++ b/old_docs/API_docs_v71/constructors/payments_paymentResult.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; ``` @@ -32,10 +32,9 @@ $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentResult={_='payments.paymentResult', updates=Updates} ``` diff --git a/old_docs/API_docs_v71/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v71/constructors/payments_paymentVerficationNeeded.md index 4a3f8cdf..e4ca7a8e 100644 --- a/old_docs/API_docs_v71/constructors/payments_paymentVerficationNeeded.md +++ b/old_docs/API_docs_v71/constructors/payments_paymentVerficationNeeded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; ``` @@ -32,10 +32,9 @@ $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/payments_savedInfo.md b/old_docs/API_docs_v71/constructors/payments_savedInfo.md index 3daf671f..c81761c4 100644 --- a/old_docs/API_docs_v71/constructors/payments_savedInfo.md +++ b/old_docs/API_docs_v71/constructors/payments_savedInfo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; ``` @@ -33,10 +33,9 @@ $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} ``` diff --git a/old_docs/API_docs_v71/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v71/constructors/payments_validatedRequestedInfo.md index 676388b7..b84afd83 100644 --- a/old_docs/API_docs_v71/constructors/payments_validatedRequestedInfo.md +++ b/old_docs/API_docs_v71/constructors/payments_validatedRequestedInfo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; ``` @@ -33,10 +33,9 @@ $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} ``` diff --git a/old_docs/API_docs_v71/constructors/peerChannel.md b/old_docs/API_docs_v71/constructors/peerChannel.md index f30e3f41..360d5c42 100644 --- a/old_docs/API_docs_v71/constructors/peerChannel.md +++ b/old_docs/API_docs_v71/constructors/peerChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/peerChat.md b/old_docs/API_docs_v71/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v71/constructors/peerChat.md +++ b/old_docs/API_docs_v71/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v71/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v71/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v71/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v71/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v71/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v71/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v71/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/peerNotifySettings.md b/old_docs/API_docs_v71/constructors/peerNotifySettings.md index f011beb7..2007e4ee 100644 --- a/old_docs/API_docs_v71/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v71/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'si ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v71/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v71/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v71/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/peerSettings.md b/old_docs/API_docs_v71/constructors/peerSettings.md index 8f74bb50..2468fee4 100644 --- a/old_docs/API_docs_v71/constructors/peerSettings.md +++ b/old_docs/API_docs_v71/constructors/peerSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` @@ -32,10 +32,9 @@ $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerSettings={_='peerSettings', report_spam=Bool} ``` diff --git a/old_docs/API_docs_v71/constructors/peerUser.md b/old_docs/API_docs_v71/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v71/constructors/peerUser.md +++ b/old_docs/API_docs_v71/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/phoneCall.md b/old_docs/API_docs_v71/constructors/phoneCall.md index 8104b557..b233076d 100644 --- a/old_docs/API_docs_v71/constructors/phoneCall.md +++ b/old_docs/API_docs_v71/constructors/phoneCall.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, 'connection' => PhoneConnection, 'alternative_connections' => [PhoneConnection, PhoneConnection], 'start_date' => int]; ``` @@ -42,10 +42,9 @@ $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCall={_='phoneCall', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, connection=PhoneConnection, alternative_connections={PhoneConnection}, start_date=int} ``` diff --git a/old_docs/API_docs_v71/constructors/phoneCallAccepted.md b/old_docs/API_docs_v71/constructors/phoneCallAccepted.md index cae97485..80795514 100644 --- a/old_docs/API_docs_v71/constructors/phoneCallAccepted.md +++ b/old_docs/API_docs_v71/constructors/phoneCallAccepted.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` @@ -38,10 +38,9 @@ $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallAccepted={_='phoneCallAccepted', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_b='bytes', protocol=PhoneCallProtocol} ``` diff --git a/old_docs/API_docs_v71/constructors/phoneCallDiscardReasonBusy.md b/old_docs/API_docs_v71/constructors/phoneCallDiscardReasonBusy.md index 10d47acd..8912371f 100644 --- a/old_docs/API_docs_v71/constructors/phoneCallDiscardReasonBusy.md +++ b/old_docs/API_docs_v71/constructors/phoneCallDiscardReasonBusy.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonBusy={_='phoneCallDiscardReasonBusy'} ``` diff --git a/old_docs/API_docs_v71/constructors/phoneCallDiscardReasonDisconnect.md b/old_docs/API_docs_v71/constructors/phoneCallDiscardReasonDisconnect.md index b059c909..3a77aced 100644 --- a/old_docs/API_docs_v71/constructors/phoneCallDiscardReasonDisconnect.md +++ b/old_docs/API_docs_v71/constructors/phoneCallDiscardReasonDisconnect.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonDisconnect={_='phoneCallDiscardReasonDisconnect'} ``` diff --git a/old_docs/API_docs_v71/constructors/phoneCallDiscardReasonHangup.md b/old_docs/API_docs_v71/constructors/phoneCallDiscardReasonHangup.md index 8e6e311c..cac342da 100644 --- a/old_docs/API_docs_v71/constructors/phoneCallDiscardReasonHangup.md +++ b/old_docs/API_docs_v71/constructors/phoneCallDiscardReasonHangup.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonHangup={_='phoneCallDiscardReasonHangup'} ``` diff --git a/old_docs/API_docs_v71/constructors/phoneCallDiscardReasonMissed.md b/old_docs/API_docs_v71/constructors/phoneCallDiscardReasonMissed.md index b8199e88..e10648eb 100644 --- a/old_docs/API_docs_v71/constructors/phoneCallDiscardReasonMissed.md +++ b/old_docs/API_docs_v71/constructors/phoneCallDiscardReasonMissed.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonMissed={_='phoneCallDiscardReasonMissed'} ``` diff --git a/old_docs/API_docs_v71/constructors/phoneCallDiscarded.md b/old_docs/API_docs_v71/constructors/phoneCallDiscarded.md index 69fd1caa..e20027a5 100644 --- a/old_docs/API_docs_v71/constructors/phoneCallDiscarded.md +++ b/old_docs/API_docs_v71/constructors/phoneCallDiscarded.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` @@ -36,10 +36,9 @@ $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscarded={_='phoneCallDiscarded', need_rating=Bool, need_debug=Bool, id=long, reason=PhoneCallDiscardReason, duration=int} ``` diff --git a/old_docs/API_docs_v71/constructors/phoneCallEmpty.md b/old_docs/API_docs_v71/constructors/phoneCallEmpty.md index cfb8125b..a51f3ea2 100644 --- a/old_docs/API_docs_v71/constructors/phoneCallEmpty.md +++ b/old_docs/API_docs_v71/constructors/phoneCallEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallEmpty={_='phoneCallEmpty', id=long} ``` diff --git a/old_docs/API_docs_v71/constructors/phoneCallProtocol.md b/old_docs/API_docs_v71/constructors/phoneCallProtocol.md index 9f0e2eed..01574fa2 100644 --- a/old_docs/API_docs_v71/constructors/phoneCallProtocol.md +++ b/old_docs/API_docs_v71/constructors/phoneCallProtocol.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int]; ``` @@ -35,10 +35,9 @@ $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflec ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallProtocol={_='phoneCallProtocol', udp_p2p=Bool, udp_reflector=Bool, min_layer=int, max_layer=int} ``` diff --git a/old_docs/API_docs_v71/constructors/phoneCallRequested.md b/old_docs/API_docs_v71/constructors/phoneCallRequested.md index c96f398f..0465e0fb 100644 --- a/old_docs/API_docs_v71/constructors/phoneCallRequested.md +++ b/old_docs/API_docs_v71/constructors/phoneCallRequested.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` @@ -38,10 +38,9 @@ $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallRequested={_='phoneCallRequested', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_hash='bytes', protocol=PhoneCallProtocol} ``` diff --git a/old_docs/API_docs_v71/constructors/phoneCallWaiting.md b/old_docs/API_docs_v71/constructors/phoneCallWaiting.md index 8dcf8e30..9d9658c8 100644 --- a/old_docs/API_docs_v71/constructors/phoneCallWaiting.md +++ b/old_docs/API_docs_v71/constructors/phoneCallWaiting.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int]; ``` @@ -38,10 +38,9 @@ $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallWaiting={_='phoneCallWaiting', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, protocol=PhoneCallProtocol, receive_date=int} ``` diff --git a/old_docs/API_docs_v71/constructors/phoneConnection.md b/old_docs/API_docs_v71/constructors/phoneConnection.md index b117e12f..562975aa 100644 --- a/old_docs/API_docs_v71/constructors/phoneConnection.md +++ b/old_docs/API_docs_v71/constructors/phoneConnection.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'ipv6' => 'string', 'port' => int, 'peer_tag' => 'bytes']; ``` @@ -36,10 +36,9 @@ $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneConnection={_='phoneConnection', id=long, ip='string', ipv6='string', port=int, peer_tag='bytes'} ``` diff --git a/old_docs/API_docs_v71/constructors/phone_phoneCall.md b/old_docs/API_docs_v71/constructors/phone_phoneCall.md index 00c21143..58912b3f 100644 --- a/old_docs/API_docs_v71/constructors/phone_phoneCall.md +++ b/old_docs/API_docs_v71/constructors/phone_phoneCall.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} ``` diff --git a/old_docs/API_docs_v71/constructors/photo.md b/old_docs/API_docs_v71/constructors/photo.md index 0cad6364..980980f4 100644 --- a/old_docs/API_docs_v71/constructors/photo.md +++ b/old_docs/API_docs_v71/constructors/photo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -36,10 +36,9 @@ $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', has_stickers=Bool, id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v71/constructors/photoCachedSize.md b/old_docs/API_docs_v71/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v71/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v71/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v71/constructors/photoEmpty.md b/old_docs/API_docs_v71/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v71/constructors/photoEmpty.md +++ b/old_docs/API_docs_v71/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v71/constructors/photoSize.md b/old_docs/API_docs_v71/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v71/constructors/photoSize.md +++ b/old_docs/API_docs_v71/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v71/constructors/photoSizeEmpty.md b/old_docs/API_docs_v71/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v71/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v71/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/photos_photo.md b/old_docs/API_docs_v71/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v71/constructors/photos_photo.md +++ b/old_docs/API_docs_v71/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v71/constructors/photos_photos.md b/old_docs/API_docs_v71/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v71/constructors/photos_photos.md +++ b/old_docs/API_docs_v71/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v71/constructors/photos_photosSlice.md b/old_docs/API_docs_v71/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v71/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v71/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v71/constructors/pong.md b/old_docs/API_docs_v71/constructors/pong.md index ba5a4195..932940d8 100644 --- a/old_docs/API_docs_v71/constructors/pong.md +++ b/old_docs/API_docs_v71/constructors/pong.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long]; ``` @@ -33,10 +33,9 @@ $pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pong={_='pong', msg_id=long, ping_id=long} ``` diff --git a/old_docs/API_docs_v71/constructors/popularContact.md b/old_docs/API_docs_v71/constructors/popularContact.md index d7fdf7c9..fbdee8e3 100644 --- a/old_docs/API_docs_v71/constructors/popularContact.md +++ b/old_docs/API_docs_v71/constructors/popularContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $popularContact = ['_' => 'popularContact', 'client_id' => long, 'importers' => int]; ``` @@ -33,10 +33,9 @@ $popularContact = ['_' => 'popularContact', 'client_id' => long, 'importers' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua popularContact={_='popularContact', client_id=long, importers=int} ``` diff --git a/old_docs/API_docs_v71/constructors/postAddress.md b/old_docs/API_docs_v71/constructors/postAddress.md index 0bd47333..aa8080ec 100644 --- a/old_docs/API_docs_v71/constructors/postAddress.md +++ b/old_docs/API_docs_v71/constructors/postAddress.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' => 'string', 'city' => 'string', 'state' => 'string', 'country_iso2' => 'string', 'post_code' => 'string']; ``` @@ -37,10 +37,9 @@ $postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua postAddress={_='postAddress', street_line1='string', street_line2='string', city='string', state='string', country_iso2='string', post_code='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/privacyKeyChatInvite.md b/old_docs/API_docs_v71/constructors/privacyKeyChatInvite.md index cc6e39b6..44826e55 100644 --- a/old_docs/API_docs_v71/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v71/constructors/privacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v71/constructors/privacyKeyPhoneCall.md b/old_docs/API_docs_v71/constructors/privacyKeyPhoneCall.md index 2fe6db7d..fc38f6a4 100644 --- a/old_docs/API_docs_v71/constructors/privacyKeyPhoneCall.md +++ b/old_docs/API_docs_v71/constructors/privacyKeyPhoneCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` @@ -27,10 +27,9 @@ $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyPhoneCall={_='privacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v71/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v71/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v71/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v71/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v71/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v71/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v71/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v71/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v71/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v71/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v71/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v71/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v71/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v71/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v71/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v71/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v71/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v71/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v71/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v71/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v71/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v71/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v71/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v71/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v71/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v71/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v71/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v71/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v71/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v71/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/old_docs/API_docs_v71/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v71/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/replyInlineMarkup.md b/old_docs/API_docs_v71/constructors/replyInlineMarkup.md index 6d353569..6e481165 100644 --- a/old_docs/API_docs_v71/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v71/constructors/replyInlineMarkup.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -32,10 +32,9 @@ $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v71/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v71/constructors/replyKeyboardForceReply.md index 56e255c1..3f7fae8c 100644 --- a/old_docs/API_docs_v71/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v71/constructors/replyKeyboardForceReply.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` @@ -33,10 +33,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool} ``` diff --git a/old_docs/API_docs_v71/constructors/replyKeyboardHide.md b/old_docs/API_docs_v71/constructors/replyKeyboardHide.md index 7251db49..30e9f399 100644 --- a/old_docs/API_docs_v71/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v71/constructors/replyKeyboardHide.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` @@ -32,10 +32,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide', selective=Bool} ``` diff --git a/old_docs/API_docs_v71/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v71/constructors/replyKeyboardMarkup.md index 87a55463..80f3f654 100644 --- a/old_docs/API_docs_v71/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v71/constructors/replyKeyboardMarkup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -35,10 +35,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v71/constructors/resPQ.md b/old_docs/API_docs_v71/constructors/resPQ.md index d712cdd7..4f3e3874 100644 --- a/old_docs/API_docs_v71/constructors/resPQ.md +++ b/old_docs/API_docs_v71/constructors/resPQ.md @@ -26,7 +26,7 @@ Contains pq to factorize ### Example: -``` +```php $resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => 'string', 'server_public_key_fingerprints' => [long, long]]; ``` @@ -37,10 +37,9 @@ $resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua resPQ={_='resPQ', nonce=int128, server_nonce=int128, pq='string', server_public_key_fingerprints={long}} ``` diff --git a/old_docs/API_docs_v71/constructors/rpc_answer_dropped.md b/old_docs/API_docs_v71/constructors/rpc_answer_dropped.md index e05695b5..e41855e9 100644 --- a/old_docs/API_docs_v71/constructors/rpc_answer_dropped.md +++ b/old_docs/API_docs_v71/constructors/rpc_answer_dropped.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' => int, 'bytes' => int]; ``` @@ -34,10 +34,9 @@ $rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_answer_dropped={_='rpc_answer_dropped', msg_id=long, seq_no=int, bytes=int} ``` diff --git a/old_docs/API_docs_v71/constructors/rpc_answer_dropped_running.md b/old_docs/API_docs_v71/constructors/rpc_answer_dropped_running.md index b98a0cf0..675eea40 100644 --- a/old_docs/API_docs_v71/constructors/rpc_answer_dropped_running.md +++ b/old_docs/API_docs_v71/constructors/rpc_answer_dropped_running.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running']; ``` @@ -27,10 +27,9 @@ $rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_answer_dropped_running={_='rpc_answer_dropped_running'} ``` diff --git a/old_docs/API_docs_v71/constructors/rpc_answer_unknown.md b/old_docs/API_docs_v71/constructors/rpc_answer_unknown.md index f9f425cc..3f2d3c02 100644 --- a/old_docs/API_docs_v71/constructors/rpc_answer_unknown.md +++ b/old_docs/API_docs_v71/constructors/rpc_answer_unknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_answer_unknown = ['_' => 'rpc_answer_unknown']; ``` @@ -27,10 +27,9 @@ $rpc_answer_unknown = ['_' => 'rpc_answer_unknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_answer_unknown={_='rpc_answer_unknown'} ``` diff --git a/old_docs/API_docs_v71/constructors/rpc_error.md b/old_docs/API_docs_v71/constructors/rpc_error.md index 5d9c2e9e..5b40250d 100644 --- a/old_docs/API_docs_v71/constructors/rpc_error.md +++ b/old_docs/API_docs_v71/constructors/rpc_error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => 'string']; ``` @@ -33,10 +33,9 @@ $rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_error={_='rpc_error', error_code=int, error_message='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v71/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v71/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v71/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v71/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v71/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v71/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v71/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v71/constructors/sendMessageGamePlayAction.md b/old_docs/API_docs_v71/constructors/sendMessageGamePlayAction.md index 8238ea55..0c395c75 100644 --- a/old_docs/API_docs_v71/constructors/sendMessageGamePlayAction.md +++ b/old_docs/API_docs_v71/constructors/sendMessageGamePlayAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGamePlayAction={_='sendMessageGamePlayAction'} ``` diff --git a/old_docs/API_docs_v71/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v71/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v71/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v71/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v71/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v71/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v71/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v71/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v71/constructors/sendMessageRecordRoundAction.md b/old_docs/API_docs_v71/constructors/sendMessageRecordRoundAction.md index a388d0ec..30e71ae8 100644 --- a/old_docs/API_docs_v71/constructors/sendMessageRecordRoundAction.md +++ b/old_docs/API_docs_v71/constructors/sendMessageRecordRoundAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordRoundAction={_='sendMessageRecordRoundAction'} ``` diff --git a/old_docs/API_docs_v71/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v71/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v71/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v71/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v71/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v71/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v71/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v71/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v71/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v71/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/old_docs/API_docs_v71/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v71/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/old_docs/API_docs_v71/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v71/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/old_docs/API_docs_v71/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v71/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/old_docs/API_docs_v71/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v71/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/old_docs/API_docs_v71/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v71/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/old_docs/API_docs_v71/constructors/sendMessageUploadRoundAction.md b/old_docs/API_docs_v71/constructors/sendMessageUploadRoundAction.md index ffd14270..b101d308 100644 --- a/old_docs/API_docs_v71/constructors/sendMessageUploadRoundAction.md +++ b/old_docs/API_docs_v71/constructors/sendMessageUploadRoundAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadRoundAction={_='sendMessageUploadRoundAction', progress=int} ``` diff --git a/old_docs/API_docs_v71/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v71/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/old_docs/API_docs_v71/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v71/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/old_docs/API_docs_v71/constructors/server_DH_inner_data.md b/old_docs/API_docs_v71/constructors/server_DH_inner_data.md index 8130e1f8..2b442699 100644 --- a/old_docs/API_docs_v71/constructors/server_DH_inner_data.md +++ b/old_docs/API_docs_v71/constructors/server_DH_inner_data.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'g' => int, 'dh_prime' => 'string', 'g_a' => 'string', 'server_time' => int]; ``` @@ -37,10 +37,9 @@ $server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'serv ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua server_DH_inner_data={_='server_DH_inner_data', nonce=int128, server_nonce=int128, g=int, dh_prime='string', g_a='string', server_time=int} ``` diff --git a/old_docs/API_docs_v71/constructors/server_DH_params_fail.md b/old_docs/API_docs_v71/constructors/server_DH_params_fail.md index 24be7fad..d87ee6c1 100644 --- a/old_docs/API_docs_v71/constructors/server_DH_params_fail.md +++ b/old_docs/API_docs_v71/constructors/server_DH_params_fail.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash' => int128]; ``` @@ -34,10 +34,9 @@ $server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua server_DH_params_fail={_='server_DH_params_fail', nonce=int128, server_nonce=int128, new_nonce_hash=int128} ``` diff --git a/old_docs/API_docs_v71/constructors/server_DH_params_ok.md b/old_docs/API_docs_v71/constructors/server_DH_params_ok.md index 1876910b..6c296a39 100644 --- a/old_docs/API_docs_v71/constructors/server_DH_params_ok.md +++ b/old_docs/API_docs_v71/constructors/server_DH_params_ok.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server_nonce' => int128, 'encrypted_answer' => 'string']; ``` @@ -34,10 +34,9 @@ $server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua server_DH_params_ok={_='server_DH_params_ok', nonce=int128, server_nonce=int128, encrypted_answer='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/shippingOption.md b/old_docs/API_docs_v71/constructors/shippingOption.md index 6f0cbc4c..863fd128 100644 --- a/old_docs/API_docs_v71/constructors/shippingOption.md +++ b/old_docs/API_docs_v71/constructors/shippingOption.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string', 'prices' => [LabeledPrice, LabeledPrice]]; ``` @@ -34,10 +34,9 @@ $shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua shippingOption={_='shippingOption', id='string', title='string', prices={LabeledPrice}} ``` diff --git a/old_docs/API_docs_v71/constructors/stickerPack.md b/old_docs/API_docs_v71/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v71/constructors/stickerPack.md +++ b/old_docs/API_docs_v71/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v71/constructors/stickerSet.md b/old_docs/API_docs_v71/constructors/stickerSet.md index afa3b21f..059e4ae7 100644 --- a/old_docs/API_docs_v71/constructors/stickerSet.md +++ b/old_docs/API_docs_v71/constructors/stickerSet.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -41,10 +41,9 @@ $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'of ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', installed=Bool, archived=Bool, official=Bool, masks=Bool, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/old_docs/API_docs_v71/constructors/stickerSetCovered.md b/old_docs/API_docs_v71/constructors/stickerSetCovered.md index cc1c806e..127b821f 100644 --- a/old_docs/API_docs_v71/constructors/stickerSetCovered.md +++ b/old_docs/API_docs_v71/constructors/stickerSetCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document]; ``` @@ -33,10 +33,9 @@ $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetCovered={_='stickerSetCovered', set=StickerSet, cover=Document} ``` diff --git a/old_docs/API_docs_v71/constructors/stickerSetMultiCovered.md b/old_docs/API_docs_v71/constructors/stickerSetMultiCovered.md index 74d10e38..9fc0ad35 100644 --- a/old_docs/API_docs_v71/constructors/stickerSetMultiCovered.md +++ b/old_docs/API_docs_v71/constructors/stickerSetMultiCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetMultiCovered={_='stickerSetMultiCovered', set=StickerSet, covers={Document}} ``` diff --git a/old_docs/API_docs_v71/constructors/storage_fileGif.md b/old_docs/API_docs_v71/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v71/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v71/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v71/constructors/storage_fileJpeg.md b/old_docs/API_docs_v71/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v71/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v71/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v71/constructors/storage_fileMov.md b/old_docs/API_docs_v71/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v71/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v71/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v71/constructors/storage_fileMp3.md b/old_docs/API_docs_v71/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v71/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v71/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v71/constructors/storage_fileMp4.md b/old_docs/API_docs_v71/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v71/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v71/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v71/constructors/storage_filePartial.md b/old_docs/API_docs_v71/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v71/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v71/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v71/constructors/storage_filePdf.md b/old_docs/API_docs_v71/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v71/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v71/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v71/constructors/storage_filePng.md b/old_docs/API_docs_v71/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v71/constructors/storage_filePng.md +++ b/old_docs/API_docs_v71/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v71/constructors/storage_fileUnknown.md b/old_docs/API_docs_v71/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v71/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v71/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v71/constructors/storage_fileWebp.md b/old_docs/API_docs_v71/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v71/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v71/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v71/constructors/textBold.md b/old_docs/API_docs_v71/constructors/textBold.md index 52b668f6..f847ab68 100644 --- a/old_docs/API_docs_v71/constructors/textBold.md +++ b/old_docs/API_docs_v71/constructors/textBold.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textBold = ['_' => 'textBold', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textBold = ['_' => 'textBold', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textBold={_='textBold', text=RichText} ``` diff --git a/old_docs/API_docs_v71/constructors/textConcat.md b/old_docs/API_docs_v71/constructors/textConcat.md index 3f2656ed..ee998a7e 100644 --- a/old_docs/API_docs_v71/constructors/textConcat.md +++ b/old_docs/API_docs_v71/constructors/textConcat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textConcat = ['_' => 'textConcat', 'texts' => [RichText, RichText]]; ``` @@ -32,10 +32,9 @@ $textConcat = ['_' => 'textConcat', 'texts' => [RichText, RichText]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textConcat={_='textConcat', texts={RichText}} ``` diff --git a/old_docs/API_docs_v71/constructors/textEmail.md b/old_docs/API_docs_v71/constructors/textEmail.md index 0b546415..6a1a2ba2 100644 --- a/old_docs/API_docs_v71/constructors/textEmail.md +++ b/old_docs/API_docs_v71/constructors/textEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` @@ -33,10 +33,9 @@ $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textEmail={_='textEmail', text=RichText, email='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/textEmpty.md b/old_docs/API_docs_v71/constructors/textEmpty.md index 4e96adb3..dfe867ed 100644 --- a/old_docs/API_docs_v71/constructors/textEmpty.md +++ b/old_docs/API_docs_v71/constructors/textEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textEmpty = ['_' => 'textEmpty']; ``` @@ -27,10 +27,9 @@ $textEmpty = ['_' => 'textEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textEmpty={_='textEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/textFixed.md b/old_docs/API_docs_v71/constructors/textFixed.md index e40767d9..a83607fa 100644 --- a/old_docs/API_docs_v71/constructors/textFixed.md +++ b/old_docs/API_docs_v71/constructors/textFixed.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textFixed={_='textFixed', text=RichText} ``` diff --git a/old_docs/API_docs_v71/constructors/textItalic.md b/old_docs/API_docs_v71/constructors/textItalic.md index e32fbec2..4aa819b6 100644 --- a/old_docs/API_docs_v71/constructors/textItalic.md +++ b/old_docs/API_docs_v71/constructors/textItalic.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textItalic={_='textItalic', text=RichText} ``` diff --git a/old_docs/API_docs_v71/constructors/textPlain.md b/old_docs/API_docs_v71/constructors/textPlain.md index 2e654fde..9f83d5fa 100644 --- a/old_docs/API_docs_v71/constructors/textPlain.md +++ b/old_docs/API_docs_v71/constructors/textPlain.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textPlain={_='textPlain', text='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/textStrike.md b/old_docs/API_docs_v71/constructors/textStrike.md index 0090e980..0329cbd9 100644 --- a/old_docs/API_docs_v71/constructors/textStrike.md +++ b/old_docs/API_docs_v71/constructors/textStrike.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textStrike={_='textStrike', text=RichText} ``` diff --git a/old_docs/API_docs_v71/constructors/textUnderline.md b/old_docs/API_docs_v71/constructors/textUnderline.md index 843d0a9a..adee0d2f 100644 --- a/old_docs/API_docs_v71/constructors/textUnderline.md +++ b/old_docs/API_docs_v71/constructors/textUnderline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textUnderline={_='textUnderline', text=RichText} ``` diff --git a/old_docs/API_docs_v71/constructors/textUrl.md b/old_docs/API_docs_v71/constructors/textUrl.md index 6938f27e..bb497739 100644 --- a/old_docs/API_docs_v71/constructors/textUrl.md +++ b/old_docs/API_docs_v71/constructors/textUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id' => long]; ``` @@ -34,10 +34,9 @@ $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textUrl={_='textUrl', text=RichText, url='string', webpage_id=long} ``` diff --git a/old_docs/API_docs_v71/constructors/topPeer.md b/old_docs/API_docs_v71/constructors/topPeer.md index aa49751b..fff00b7d 100644 --- a/old_docs/API_docs_v71/constructors/topPeer.md +++ b/old_docs/API_docs_v71/constructors/topPeer.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` @@ -33,10 +33,9 @@ $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeer={_='topPeer', peer=Peer, rating=double} ``` diff --git a/old_docs/API_docs_v71/constructors/topPeerCategoryBotsInline.md b/old_docs/API_docs_v71/constructors/topPeerCategoryBotsInline.md index 1d57e310..3f7906e2 100644 --- a/old_docs/API_docs_v71/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v71/constructors/topPeerCategoryBotsInline.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsInline={_='topPeerCategoryBotsInline'} ``` diff --git a/old_docs/API_docs_v71/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v71/constructors/topPeerCategoryBotsPM.md index f6207626..78f54b44 100644 --- a/old_docs/API_docs_v71/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v71/constructors/topPeerCategoryBotsPM.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsPM={_='topPeerCategoryBotsPM'} ``` diff --git a/old_docs/API_docs_v71/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v71/constructors/topPeerCategoryChannels.md index 8f0e1fcb..02947d85 100644 --- a/old_docs/API_docs_v71/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v71/constructors/topPeerCategoryChannels.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryChannels={_='topPeerCategoryChannels'} ``` diff --git a/old_docs/API_docs_v71/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v71/constructors/topPeerCategoryCorrespondents.md index 9435610d..c0362f78 100644 --- a/old_docs/API_docs_v71/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v71/constructors/topPeerCategoryCorrespondents.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents'} ``` diff --git a/old_docs/API_docs_v71/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v71/constructors/topPeerCategoryGroups.md index 3b6859df..dddb951c 100644 --- a/old_docs/API_docs_v71/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v71/constructors/topPeerCategoryGroups.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryGroups={_='topPeerCategoryGroups'} ``` diff --git a/old_docs/API_docs_v71/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v71/constructors/topPeerCategoryPeers.md index 886ab6f9..36d071f6 100644 --- a/old_docs/API_docs_v71/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v71/constructors/topPeerCategoryPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer, TopPeer]]; ``` @@ -34,10 +34,9 @@ $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}} ``` diff --git a/old_docs/API_docs_v71/constructors/topPeerCategoryPhoneCalls.md b/old_docs/API_docs_v71/constructors/topPeerCategoryPhoneCalls.md index 4c4a1c2d..518279f8 100644 --- a/old_docs/API_docs_v71/constructors/topPeerCategoryPhoneCalls.md +++ b/old_docs/API_docs_v71/constructors/topPeerCategoryPhoneCalls.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryPhoneCalls = ['_' => 'topPeerCategoryPhoneCalls']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryPhoneCalls = ['_' => 'topPeerCategoryPhoneCalls']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryPhoneCalls={_='topPeerCategoryPhoneCalls'} ``` diff --git a/old_docs/API_docs_v71/constructors/true.md b/old_docs/API_docs_v71/constructors/true.md index 2e27ecbf..4863f16b 100644 --- a/old_docs/API_docs_v71/constructors/true.md +++ b/old_docs/API_docs_v71/constructors/true.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $true = ['_' => 'true']; ``` @@ -27,10 +27,9 @@ $true = ['_' => 'true']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua true={_='true'} ``` diff --git a/old_docs/API_docs_v71/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v71/constructors/updateBotCallbackQuery.md index 2216e362..389295a0 100644 --- a/old_docs/API_docs_v71/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v71/constructors/updateBotCallbackQuery.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -38,10 +38,9 @@ $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v71/constructors/updateBotInlineQuery.md index 1cc45358..ed15d35f 100644 --- a/old_docs/API_docs_v71/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v71/constructors/updateBotInlineQuery.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` @@ -36,10 +36,9 @@ $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query='string', geo=GeoPoint, offset='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/updateBotInlineSend.md b/old_docs/API_docs_v71/constructors/updateBotInlineSend.md index fe6c01d3..dda18420 100644 --- a/old_docs/API_docs_v71/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v71/constructors/updateBotInlineSend.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` @@ -36,10 +36,9 @@ $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineSend={_='updateBotInlineSend', user_id=int, query='string', geo=GeoPoint, id='string', msg_id=InputBotInlineMessageID} ``` diff --git a/old_docs/API_docs_v71/constructors/updateBotPrecheckoutQuery.md b/old_docs/API_docs_v71/constructors/updateBotPrecheckoutQuery.md index f7e13668..94098aac 100644 --- a/old_docs/API_docs_v71/constructors/updateBotPrecheckoutQuery.md +++ b/old_docs/API_docs_v71/constructors/updateBotPrecheckoutQuery.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'currency' => 'string', 'total_amount' => long]; ``` @@ -38,10 +38,9 @@ $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotPrecheckoutQuery={_='updateBotPrecheckoutQuery', query_id=long, user_id=int, payload='bytes', info=PaymentRequestedInfo, shipping_option_id='string', currency='string', total_amount=long} ``` diff --git a/old_docs/API_docs_v71/constructors/updateBotShippingQuery.md b/old_docs/API_docs_v71/constructors/updateBotShippingQuery.md index b7413761..41735d33 100644 --- a/old_docs/API_docs_v71/constructors/updateBotShippingQuery.md +++ b/old_docs/API_docs_v71/constructors/updateBotShippingQuery.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'shipping_address' => PostAddress]; ``` @@ -35,10 +35,9 @@ $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotShippingQuery={_='updateBotShippingQuery', query_id=long, user_id=int, payload='bytes', shipping_address=PostAddress} ``` diff --git a/old_docs/API_docs_v71/constructors/updateBotWebhookJSON.md b/old_docs/API_docs_v71/constructors/updateBotWebhookJSON.md index c444fe16..3b917e17 100644 --- a/old_docs/API_docs_v71/constructors/updateBotWebhookJSON.md +++ b/old_docs/API_docs_v71/constructors/updateBotWebhookJSON.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` @@ -32,10 +32,9 @@ $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotWebhookJSON={_='updateBotWebhookJSON', data=DataJSON} ``` diff --git a/old_docs/API_docs_v71/constructors/updateBotWebhookJSONQuery.md b/old_docs/API_docs_v71/constructors/updateBotWebhookJSONQuery.md index c8014f35..9ede5002 100644 --- a/old_docs/API_docs_v71/constructors/updateBotWebhookJSONQuery.md +++ b/old_docs/API_docs_v71/constructors/updateBotWebhookJSONQuery.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => long, 'data' => DataJSON, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotWebhookJSONQuery={_='updateBotWebhookJSONQuery', query_id=long, data=DataJSON, timeout=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateChannel.md b/old_docs/API_docs_v71/constructors/updateChannel.md index e615920a..fb876328 100644 --- a/old_docs/API_docs_v71/constructors/updateChannel.md +++ b/old_docs/API_docs_v71/constructors/updateChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannel={_='updateChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v71/constructors/updateChannelMessageViews.md index 19e0b648..d62f055a 100644 --- a/old_docs/API_docs_v71/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v71/constructors/updateChannelMessageViews.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` @@ -34,10 +34,9 @@ $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateChannelPinnedMessage.md b/old_docs/API_docs_v71/constructors/updateChannelPinnedMessage.md index c6e66353..0d767fb8 100644 --- a/old_docs/API_docs_v71/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v71/constructors/updateChannelPinnedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateChannelReadMessagesContents.md b/old_docs/API_docs_v71/constructors/updateChannelReadMessagesContents.md index 27c1ca60..95640cfe 100644 --- a/old_docs/API_docs_v71/constructors/updateChannelReadMessagesContents.md +++ b/old_docs/API_docs_v71/constructors/updateChannelReadMessagesContents.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelReadMessagesContents = ['_' => 'updateChannelReadMessagesContents', 'channel_id' => int, 'messages' => [int, int]]; ``` @@ -33,10 +33,9 @@ $updateChannelReadMessagesContents = ['_' => 'updateChannelReadMessagesContents' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelReadMessagesContents={_='updateChannelReadMessagesContents', channel_id=int, messages={int}} ``` diff --git a/old_docs/API_docs_v71/constructors/updateChannelTooLong.md b/old_docs/API_docs_v71/constructors/updateChannelTooLong.md index e42904d0..179a43dd 100644 --- a/old_docs/API_docs_v71/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v71/constructors/updateChannelTooLong.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateChannelWebPage.md b/old_docs/API_docs_v71/constructors/updateChannelWebPage.md index f1ae421b..7b037a9d 100644 --- a/old_docs/API_docs_v71/constructors/updateChannelWebPage.md +++ b/old_docs/API_docs_v71/constructors/updateChannelWebPage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'we ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelWebPage={_='updateChannelWebPage', channel_id=int, webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateChatAdmins.md b/old_docs/API_docs_v71/constructors/updateChatAdmins.md index 87ffd626..aac09762 100644 --- a/old_docs/API_docs_v71/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v71/constructors/updateChatAdmins.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v71/constructors/updateChatParticipantAdd.md index ea5157ad..fe76dc62 100644 --- a/old_docs/API_docs_v71/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v71/constructors/updateChatParticipantAdd.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` @@ -36,10 +36,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v71/constructors/updateChatParticipantAdmin.md index b1022850..d262b2e6 100644 --- a/old_docs/API_docs_v71/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v71/constructors/updateChatParticipantAdmin.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v71/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v71/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v71/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateChatParticipants.md b/old_docs/API_docs_v71/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v71/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v71/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v71/constructors/updateChatUserTyping.md b/old_docs/API_docs_v71/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v71/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v71/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v71/constructors/updateConfig.md b/old_docs/API_docs_v71/constructors/updateConfig.md index 6f25cf11..6d67156d 100644 --- a/old_docs/API_docs_v71/constructors/updateConfig.md +++ b/old_docs/API_docs_v71/constructors/updateConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateConfig = ['_' => 'updateConfig']; ``` @@ -27,10 +27,9 @@ $updateConfig = ['_' => 'updateConfig']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateConfig={_='updateConfig'} ``` diff --git a/old_docs/API_docs_v71/constructors/updateContactLink.md b/old_docs/API_docs_v71/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v71/constructors/updateContactLink.md +++ b/old_docs/API_docs_v71/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v71/constructors/updateContactRegistered.md b/old_docs/API_docs_v71/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v71/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v71/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateContactsReset.md b/old_docs/API_docs_v71/constructors/updateContactsReset.md index 3c9f46af..d2458943 100644 --- a/old_docs/API_docs_v71/constructors/updateContactsReset.md +++ b/old_docs/API_docs_v71/constructors/updateContactsReset.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactsReset = ['_' => 'updateContactsReset']; ``` @@ -27,10 +27,9 @@ $updateContactsReset = ['_' => 'updateContactsReset']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactsReset={_='updateContactsReset'} ``` diff --git a/old_docs/API_docs_v71/constructors/updateDcOptions.md b/old_docs/API_docs_v71/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v71/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v71/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v71/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v71/constructors/updateDeleteChannelMessages.md index 0f84f3f7..8fb10b65 100644 --- a/old_docs/API_docs_v71/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v71/constructors/updateDeleteChannelMessages.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateDeleteMessages.md b/old_docs/API_docs_v71/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v71/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v71/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateDialogPinned.md b/old_docs/API_docs_v71/constructors/updateDialogPinned.md index 8ecafcfd..ba2c9090 100644 --- a/old_docs/API_docs_v71/constructors/updateDialogPinned.md +++ b/old_docs/API_docs_v71/constructors/updateDialogPinned.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer]; ``` @@ -33,10 +33,9 @@ $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDialogPinned={_='updateDialogPinned', pinned=Bool, peer=Peer} ``` diff --git a/old_docs/API_docs_v71/constructors/updateDraftMessage.md b/old_docs/API_docs_v71/constructors/updateDraftMessage.md index 7e759a4f..1bf7c2a4 100644 --- a/old_docs/API_docs_v71/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v71/constructors/updateDraftMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage]; ``` @@ -33,10 +33,9 @@ $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => D ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v71/constructors/updateEditChannelMessage.md b/old_docs/API_docs_v71/constructors/updateEditChannelMessage.md index 959c433a..485afae1 100644 --- a/old_docs/API_docs_v71/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v71/constructors/updateEditChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateEditMessage.md b/old_docs/API_docs_v71/constructors/updateEditMessage.md index f9f820e8..9f986f86 100644 --- a/old_docs/API_docs_v71/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v71/constructors/updateEditMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v71/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v71/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v71/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v71/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v71/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v71/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateEncryption.md b/old_docs/API_docs_v71/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v71/constructors/updateEncryption.md +++ b/old_docs/API_docs_v71/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateFavedStickers.md b/old_docs/API_docs_v71/constructors/updateFavedStickers.md index b474cc03..4e799846 100644 --- a/old_docs/API_docs_v71/constructors/updateFavedStickers.md +++ b/old_docs/API_docs_v71/constructors/updateFavedStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateFavedStickers = ['_' => 'updateFavedStickers']; ``` @@ -27,10 +27,9 @@ $updateFavedStickers = ['_' => 'updateFavedStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateFavedStickers={_='updateFavedStickers'} ``` diff --git a/old_docs/API_docs_v71/constructors/updateInlineBotCallbackQuery.md b/old_docs/API_docs_v71/constructors/updateInlineBotCallbackQuery.md index b1b40479..fb112694 100644 --- a/old_docs/API_docs_v71/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v71/constructors/updateInlineBotCallbackQuery.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -37,10 +37,9 @@ $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/updateLangPack.md b/old_docs/API_docs_v71/constructors/updateLangPack.md index 172c1a9a..9f180e97 100644 --- a/old_docs/API_docs_v71/constructors/updateLangPack.md +++ b/old_docs/API_docs_v71/constructors/updateLangPack.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateLangPack = ['_' => 'updateLangPack', 'difference' => LangPackDifference]; ``` @@ -32,10 +32,9 @@ $updateLangPack = ['_' => 'updateLangPack', 'difference' => LangPackDifference]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateLangPack={_='updateLangPack', difference=LangPackDifference} ``` diff --git a/old_docs/API_docs_v71/constructors/updateLangPackTooLong.md b/old_docs/API_docs_v71/constructors/updateLangPackTooLong.md index b55c7e33..55614347 100644 --- a/old_docs/API_docs_v71/constructors/updateLangPackTooLong.md +++ b/old_docs/API_docs_v71/constructors/updateLangPackTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateLangPackTooLong = ['_' => 'updateLangPackTooLong']; ``` @@ -27,10 +27,9 @@ $updateLangPackTooLong = ['_' => 'updateLangPackTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateLangPackTooLong={_='updateLangPackTooLong'} ``` diff --git a/old_docs/API_docs_v71/constructors/updateMessageID.md b/old_docs/API_docs_v71/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v71/constructors/updateMessageID.md +++ b/old_docs/API_docs_v71/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v71/constructors/updateNewChannelMessage.md index 59dbc820..9fa1c7ec 100644 --- a/old_docs/API_docs_v71/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v71/constructors/updateNewChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Messa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v71/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v71/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v71/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateNewMessage.md b/old_docs/API_docs_v71/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v71/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v71/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateNewStickerSet.md b/old_docs/API_docs_v71/constructors/updateNewStickerSet.md index c36d4617..5ba327ea 100644 --- a/old_docs/API_docs_v71/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v71/constructors/updateNewStickerSet.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` @@ -32,10 +32,9 @@ $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_S ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} ``` diff --git a/old_docs/API_docs_v71/constructors/updateNotifySettings.md b/old_docs/API_docs_v71/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v71/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v71/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v71/constructors/updatePhoneCall.md b/old_docs/API_docs_v71/constructors/updatePhoneCall.md index 61730eae..445e1fc0 100644 --- a/old_docs/API_docs_v71/constructors/updatePhoneCall.md +++ b/old_docs/API_docs_v71/constructors/updatePhoneCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` @@ -32,10 +32,9 @@ $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePhoneCall={_='updatePhoneCall', phone_call=PhoneCall} ``` diff --git a/old_docs/API_docs_v71/constructors/updatePinnedDialogs.md b/old_docs/API_docs_v71/constructors/updatePinnedDialogs.md index 4d082bed..4a99a7bd 100644 --- a/old_docs/API_docs_v71/constructors/updatePinnedDialogs.md +++ b/old_docs/API_docs_v71/constructors/updatePinnedDialogs.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer, Peer]]; ``` @@ -32,10 +32,9 @@ $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer, Peer]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePinnedDialogs={_='updatePinnedDialogs', order={Peer}} ``` diff --git a/old_docs/API_docs_v71/constructors/updatePrivacy.md b/old_docs/API_docs_v71/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v71/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v71/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v71/constructors/updatePtsChanged.md b/old_docs/API_docs_v71/constructors/updatePtsChanged.md index 76b49a1f..dac1d461 100644 --- a/old_docs/API_docs_v71/constructors/updatePtsChanged.md +++ b/old_docs/API_docs_v71/constructors/updatePtsChanged.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` @@ -27,10 +27,9 @@ $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePtsChanged={_='updatePtsChanged'} ``` diff --git a/old_docs/API_docs_v71/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v71/constructors/updateReadChannelInbox.md index be964e20..c8c26acb 100644 --- a/old_docs/API_docs_v71/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v71/constructors/updateReadChannelInbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateReadChannelOutbox.md b/old_docs/API_docs_v71/constructors/updateReadChannelOutbox.md index c725d108..664108d1 100644 --- a/old_docs/API_docs_v71/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v71/constructors/updateReadChannelOutbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelOutbox={_='updateReadChannelOutbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateReadFeaturedStickers.md b/old_docs/API_docs_v71/constructors/updateReadFeaturedStickers.md index ea46d41f..af7fd3d7 100644 --- a/old_docs/API_docs_v71/constructors/updateReadFeaturedStickers.md +++ b/old_docs/API_docs_v71/constructors/updateReadFeaturedStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` @@ -27,10 +27,9 @@ $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadFeaturedStickers={_='updateReadFeaturedStickers'} ``` diff --git a/old_docs/API_docs_v71/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v71/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v71/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v71/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v71/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v71/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v71/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v71/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/old_docs/API_docs_v71/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v71/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateRecentStickers.md b/old_docs/API_docs_v71/constructors/updateRecentStickers.md index cb15d01f..6f9acb77 100644 --- a/old_docs/API_docs_v71/constructors/updateRecentStickers.md +++ b/old_docs/API_docs_v71/constructors/updateRecentStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` @@ -27,10 +27,9 @@ $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateRecentStickers={_='updateRecentStickers'} ``` diff --git a/old_docs/API_docs_v71/constructors/updateSavedGifs.md b/old_docs/API_docs_v71/constructors/updateSavedGifs.md index dd17f321..ea5619fc 100644 --- a/old_docs/API_docs_v71/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v71/constructors/updateSavedGifs.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` @@ -27,10 +27,9 @@ $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v71/constructors/updateServiceNotification.md b/old_docs/API_docs_v71/constructors/updateServiceNotification.md index 1da6885f..0833007b 100644 --- a/old_docs/API_docs_v71/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v71/constructors/updateServiceNotification.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -37,10 +37,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', popup=Bool, inbox_date=int, type='string', message='string', media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v71/constructors/updateShort.md b/old_docs/API_docs_v71/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v71/constructors/updateShort.md +++ b/old_docs/API_docs_v71/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updateShortChatMessage.md b/old_docs/API_docs_v71/constructors/updateShortChatMessage.md index d62e0729..cbeb4739 100644 --- a/old_docs/API_docs_v71/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v71/constructors/updateShortChatMessage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -46,10 +46,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'ment ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v71/constructors/updateShortMessage.md b/old_docs/API_docs_v71/constructors/updateShortMessage.md index d4effcb8..a8348773 100644 --- a/old_docs/API_docs_v71/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v71/constructors/updateShortMessage.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -45,10 +45,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v71/constructors/updateShortSentMessage.md b/old_docs/API_docs_v71/constructors/updateShortSentMessage.md index fd7035c3..2a318e56 100644 --- a/old_docs/API_docs_v71/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v71/constructors/updateShortSentMessage.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -38,10 +38,9 @@ $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v71/constructors/updateStickerSets.md b/old_docs/API_docs_v71/constructors/updateStickerSets.md index 4f045d67..e4cc23a0 100644 --- a/old_docs/API_docs_v71/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v71/constructors/updateStickerSets.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSets = ['_' => 'updateStickerSets']; ``` @@ -27,10 +27,9 @@ $updateStickerSets = ['_' => 'updateStickerSets']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v71/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v71/constructors/updateStickerSetsOrder.md index e36470ad..74405f69 100644 --- a/old_docs/API_docs_v71/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v71/constructors/updateStickerSetsOrder.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long, long]]; ``` @@ -33,10 +33,9 @@ $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'or ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSetsOrder={_='updateStickerSetsOrder', masks=Bool, order={long}} ``` diff --git a/old_docs/API_docs_v71/constructors/updateUserBlocked.md b/old_docs/API_docs_v71/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v71/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v71/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v71/constructors/updateUserName.md b/old_docs/API_docs_v71/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v71/constructors/updateUserName.md +++ b/old_docs/API_docs_v71/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/updateUserPhone.md b/old_docs/API_docs_v71/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v71/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v71/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/updateUserPhoto.md b/old_docs/API_docs_v71/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v71/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v71/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v71/constructors/updateUserStatus.md b/old_docs/API_docs_v71/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v71/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v71/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v71/constructors/updateUserTyping.md b/old_docs/API_docs_v71/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v71/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v71/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v71/constructors/updateWebPage.md b/old_docs/API_docs_v71/constructors/updateWebPage.md index 9f468619..932d8ff2 100644 --- a/old_docs/API_docs_v71/constructors/updateWebPage.md +++ b/old_docs/API_docs_v71/constructors/updateWebPage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updates.md b/old_docs/API_docs_v71/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v71/constructors/updates.md +++ b/old_docs/API_docs_v71/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updatesCombined.md b/old_docs/API_docs_v71/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v71/constructors/updatesCombined.md +++ b/old_docs/API_docs_v71/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updatesTooLong.md b/old_docs/API_docs_v71/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v71/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v71/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v71/constructors/updates_channelDifference.md b/old_docs/API_docs_v71/constructors/updates_channelDifference.md index 21b618c2..df1dafd6 100644 --- a/old_docs/API_docs_v71/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v71/constructors/updates_channelDifference.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v71/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v71/constructors/updates_channelDifferenceEmpty.md index a2e49340..a5be0377 100644 --- a/old_docs/API_docs_v71/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v71/constructors/updates_channelDifferenceEmpty.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'fin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v71/constructors/updates_channelDifferenceTooLong.md index 84834a9f..838aaf3b 100644 --- a/old_docs/API_docs_v71/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v71/constructors/updates_channelDifferenceTooLong.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -42,10 +42,9 @@ $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v71/constructors/updates_difference.md b/old_docs/API_docs_v71/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v71/constructors/updates_difference.md +++ b/old_docs/API_docs_v71/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v71/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v71/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v71/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v71/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updates_differenceSlice.md b/old_docs/API_docs_v71/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v71/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v71/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v71/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v71/constructors/updates_differenceTooLong.md index da55eddf..2e96fdd5 100644 --- a/old_docs/API_docs_v71/constructors/updates_differenceTooLong.md +++ b/old_docs/API_docs_v71/constructors/updates_differenceTooLong.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` @@ -32,10 +32,9 @@ $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceTooLong={_='updates.differenceTooLong', pts=int} ``` diff --git a/old_docs/API_docs_v71/constructors/updates_state.md b/old_docs/API_docs_v71/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v71/constructors/updates_state.md +++ b/old_docs/API_docs_v71/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v71/constructors/upload_cdnFile.md b/old_docs/API_docs_v71/constructors/upload_cdnFile.md index b42b285d..586e6c32 100644 --- a/old_docs/API_docs_v71/constructors/upload_cdnFile.md +++ b/old_docs/API_docs_v71/constructors/upload_cdnFile.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; ``` @@ -32,10 +32,9 @@ $upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_cdnFile={_='upload.cdnFile', bytes='bytes'} ``` diff --git a/old_docs/API_docs_v71/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v71/constructors/upload_cdnFileReuploadNeeded.md index b770fdf6..a770ff3d 100644 --- a/old_docs/API_docs_v71/constructors/upload_cdnFileReuploadNeeded.md +++ b/old_docs/API_docs_v71/constructors/upload_cdnFileReuploadNeeded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; ``` @@ -32,10 +32,9 @@ $upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} ``` diff --git a/old_docs/API_docs_v71/constructors/upload_file.md b/old_docs/API_docs_v71/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v71/constructors/upload_file.md +++ b/old_docs/API_docs_v71/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v71/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v71/constructors/upload_fileCdnRedirect.md index 494aa54e..b1918c02 100644 --- a/old_docs/API_docs_v71/constructors/upload_fileCdnRedirect.md +++ b/old_docs/API_docs_v71/constructors/upload_fileCdnRedirect.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'cdn_file_hashes' => [CdnFileHash, CdnFileHash]]; ``` @@ -36,10 +36,9 @@ $upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'fil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', cdn_file_hashes={CdnFileHash}} ``` diff --git a/old_docs/API_docs_v71/constructors/upload_webFile.md b/old_docs/API_docs_v71/constructors/upload_webFile.md index 296105ee..d94afb72 100644 --- a/old_docs/API_docs_v71/constructors/upload_webFile.md +++ b/old_docs/API_docs_v71/constructors/upload_webFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v71/constructors/user.md b/old_docs/API_docs_v71/constructors/user.md index e15841b7..ebe7d5ed 100644 --- a/old_docs/API_docs_v71/constructors/user.md +++ b/old_docs/API_docs_v71/constructors/user.md @@ -43,7 +43,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => 'string', 'bot_inline_placeholder' => 'string', 'lang_code' => 'string']; ``` @@ -54,10 +54,9 @@ $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, min=Bool, bot_inline_geo=Bool, id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason='string', bot_inline_placeholder='string', lang_code='string'} ``` diff --git a/old_docs/API_docs_v71/constructors/userEmpty.md b/old_docs/API_docs_v71/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v71/constructors/userEmpty.md +++ b/old_docs/API_docs_v71/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/userFull.md b/old_docs/API_docs_v71/constructors/userFull.md index 0ab25737..00b03c07 100644 --- a/old_docs/API_docs_v71/constructors/userFull.md +++ b/old_docs/API_docs_v71/constructors/userFull.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` @@ -41,10 +41,9 @@ $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v71/constructors/userProfilePhoto.md b/old_docs/API_docs_v71/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v71/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v71/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v71/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v71/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v71/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v71/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/userStatusEmpty.md b/old_docs/API_docs_v71/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v71/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v71/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v71/constructors/userStatusLastMonth.md b/old_docs/API_docs_v71/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v71/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v71/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v71/constructors/userStatusLastWeek.md b/old_docs/API_docs_v71/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v71/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v71/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v71/constructors/userStatusOffline.md b/old_docs/API_docs_v71/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v71/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v71/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v71/constructors/userStatusOnline.md b/old_docs/API_docs_v71/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v71/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v71/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v71/constructors/userStatusRecently.md b/old_docs/API_docs_v71/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v71/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v71/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v71/constructors/wallPaper.md b/old_docs/API_docs_v71/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v71/constructors/wallPaper.md +++ b/old_docs/API_docs_v71/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v71/constructors/wallPaperSolid.md b/old_docs/API_docs_v71/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v71/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v71/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v71/constructors/webDocument.md b/old_docs/API_docs_v71/constructors/webDocument.md index 064367a3..67e158fa 100644 --- a/old_docs/API_docs_v71/constructors/webDocument.md +++ b/old_docs/API_docs_v71/constructors/webDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'dc_id' => int]; ``` @@ -37,10 +37,9 @@ $webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webDocument={_='webDocument', url='string', access_hash=long, size=int, mime_type='string', attributes={DocumentAttribute}, dc_id=int} ``` diff --git a/old_docs/API_docs_v71/constructors/webPage.md b/old_docs/API_docs_v71/constructors/webPage.md index 371b1e56..ee070624 100644 --- a/old_docs/API_docs_v71/constructors/webPage.md +++ b/old_docs/API_docs_v71/constructors/webPage.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'hash' => int, 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document, 'cached_page' => Page]; ``` @@ -48,10 +48,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', hash=int, type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document, cached_page=Page} ``` diff --git a/old_docs/API_docs_v71/constructors/webPageEmpty.md b/old_docs/API_docs_v71/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v71/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v71/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v71/constructors/webPageNotModified.md b/old_docs/API_docs_v71/constructors/webPageNotModified.md index 557c2947..a180dd51 100644 --- a/old_docs/API_docs_v71/constructors/webPageNotModified.md +++ b/old_docs/API_docs_v71/constructors/webPageNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageNotModified = ['_' => 'webPageNotModified']; ``` @@ -27,10 +27,9 @@ $webPageNotModified = ['_' => 'webPageNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageNotModified={_='webPageNotModified'} ``` diff --git a/old_docs/API_docs_v71/constructors/webPagePending.md b/old_docs/API_docs_v71/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v71/constructors/webPagePending.md +++ b/old_docs/API_docs_v71/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v71/methods/account_changePhone.md b/old_docs/API_docs_v71/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v71/methods/account_changePhone.md +++ b/old_docs/API_docs_v71/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/account_checkUsername.md b/old_docs/API_docs_v71/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v71/methods/account_checkUsername.md +++ b/old_docs/API_docs_v71/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/account_confirmPhone.md b/old_docs/API_docs_v71/methods/account_confirmPhone.md index a42b69b7..214f54e3 100644 --- a/old_docs/API_docs_v71/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v71/methods/account_confirmPhone.md @@ -25,7 +25,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.confirmPhone({phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/account_deleteAccount.md b/old_docs/API_docs_v71/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v71/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v71/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/account_getAccountTTL.md b/old_docs/API_docs_v71/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v71/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v71/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v71/methods/account_getAuthorizations.md b/old_docs/API_docs_v71/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v71/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v71/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v71/methods/account_getNotifySettings.md b/old_docs/API_docs_v71/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v71/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v71/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v71/methods/account_getPassword.md b/old_docs/API_docs_v71/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v71/methods/account_getPassword.md +++ b/old_docs/API_docs_v71/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v71/methods/account_getPasswordSettings.md b/old_docs/API_docs_v71/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v71/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v71/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v71/methods/account_getPrivacy.md b/old_docs/API_docs_v71/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v71/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v71/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v71/methods/account_getTmpPassword.md b/old_docs/API_docs_v71/methods/account_getTmpPassword.md index 504fbbc3..be75dc69 100644 --- a/old_docs/API_docs_v71/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v71/methods/account_getTmpPassword.md @@ -25,7 +25,7 @@ Get temporary password for buying products through bots ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua account_TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/account_getWallPapers.md b/old_docs/API_docs_v71/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v71/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v71/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v71/methods/account_registerDevice.md b/old_docs/API_docs_v71/methods/account_registerDevice.md index 25549dab..ed1fced0 100644 --- a/old_docs/API_docs_v71/methods/account_registerDevice.md +++ b/old_docs/API_docs_v71/methods/account_registerDevice.md @@ -25,7 +25,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/account_reportPeer.md b/old_docs/API_docs_v71/methods/account_reportPeer.md index d8c49851..673b48bf 100644 --- a/old_docs/API_docs_v71/methods/account_reportPeer.md +++ b/old_docs/API_docs_v71/methods/account_reportPeer.md @@ -25,7 +25,7 @@ Report for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reason - Json encoded ReportReason Or, if you're into Lua: -``` +```lua Bool = account.reportPeer({peer=InputPeer, reason=ReportReason, }) ``` diff --git a/old_docs/API_docs_v71/methods/account_resetAuthorization.md b/old_docs/API_docs_v71/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v71/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v71/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v71/methods/account_resetNotifySettings.md b/old_docs/API_docs_v71/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v71/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v71/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v71/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v71/methods/account_sendChangePhoneCode.md index 33a001b9..123a5880 100644 --- a/old_docs/API_docs_v71/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v71/methods/account_sendChangePhoneCode.md @@ -26,7 +26,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v71/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v71/methods/account_sendConfirmPhoneCode.md index a70ad5a3..5c2612c2 100644 --- a/old_docs/API_docs_v71/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v71/methods/account_sendConfirmPhoneCode.md @@ -26,7 +26,7 @@ Send confirmation phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v71/methods/account_setAccountTTL.md b/old_docs/API_docs_v71/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v71/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v71/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v71/methods/account_setPrivacy.md b/old_docs/API_docs_v71/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v71/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v71/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v71/methods/account_unregisterDevice.md b/old_docs/API_docs_v71/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v71/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v71/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v71/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v71/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v71/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/account_updateNotifySettings.md b/old_docs/API_docs_v71/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v71/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v71/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v71/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v71/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v71/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v71/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v71/methods/account_updateProfile.md b/old_docs/API_docs_v71/methods/account_updateProfile.md index f415381f..f54515e5 100644 --- a/old_docs/API_docs_v71/methods/account_updateProfile.md +++ b/old_docs/API_docs_v71/methods/account_updateProfile.md @@ -26,7 +26,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', about='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/account_updateStatus.md b/old_docs/API_docs_v71/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v71/methods/account_updateStatus.md +++ b/old_docs/API_docs_v71/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v71/methods/account_updateUsername.md b/old_docs/API_docs_v71/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v71/methods/account_updateUsername.md +++ b/old_docs/API_docs_v71/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/auth_cancelCode.md b/old_docs/API_docs_v71/methods/auth_cancelCode.md index 0b53954c..352c88e9 100644 --- a/old_docs/API_docs_v71/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v71/methods/auth_cancelCode.md @@ -25,7 +25,7 @@ Invalidate sent phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/auth_checkPhone.md b/old_docs/API_docs_v71/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v71/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v71/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v71/methods/auth_dropTempAuthKeys.md index 26d63e12..64ce7528 100644 --- a/old_docs/API_docs_v71/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v71/methods/auth_dropTempAuthKeys.md @@ -24,7 +24,7 @@ Delete all temporary authorization keys except the ones provided ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ except_auth_keys - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = auth.dropTempAuthKeys({except_auth_keys={long}, }) ``` diff --git a/old_docs/API_docs_v71/methods/auth_recoverPassword.md b/old_docs/API_docs_v71/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v71/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v71/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v71/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v71/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v71/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v71/methods/auth_resendCode.md b/old_docs/API_docs_v71/methods/auth_resendCode.md index 28350d37..4ce58975 100644 --- a/old_docs/API_docs_v71/methods/auth_resendCode.md +++ b/old_docs/API_docs_v71/methods/auth_resendCode.md @@ -25,7 +25,7 @@ Resend the SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v71/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v71/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v71/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v71/methods/auth_sendInvites.md b/old_docs/API_docs_v71/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v71/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v71/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v71/methods/bots_answerWebhookJSONQuery.md index 6ed252ff..33b6c2a3 100644 --- a/old_docs/API_docs_v71/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v71/methods/bots_answerWebhookJSONQuery.md @@ -25,7 +25,7 @@ Send webhook request via bot API ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ data - Json encoded DataJSON Or, if you're into Lua: -``` +```lua Bool = bots.answerWebhookJSONQuery({query_id=long, data=DataJSON, }) ``` diff --git a/old_docs/API_docs_v71/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v71/methods/bots_sendCustomRequest.md index d14215ec..bd368df5 100644 --- a/old_docs/API_docs_v71/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v71/methods/bots_sendCustomRequest.md @@ -25,7 +25,7 @@ Send a custom request to the bot API ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ params - Json encoded DataJSON Or, if you're into Lua: -``` +```lua DataJSON = bots.sendCustomRequest({custom_method='string', params=DataJSON, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_checkUsername.md b/old_docs/API_docs_v71/methods/channels_checkUsername.md index d287b3ca..573bf8f0 100644 --- a/old_docs/API_docs_v71/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v71/methods/channels_checkUsername.md @@ -25,7 +25,7 @@ Check if this username is free and can be assigned to a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.checkUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_createChannel.md b/old_docs/API_docs_v71/methods/channels_createChannel.md index 356f473a..1821c864 100644 --- a/old_docs/API_docs_v71/methods/channels_createChannel.md +++ b/old_docs/API_docs_v71/methods/channels_createChannel.md @@ -27,7 +27,7 @@ Create channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title='string', about='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_deleteChannel.md b/old_docs/API_docs_v71/methods/channels_deleteChannel.md index b55d91b8..a79ccb9f 100644 --- a/old_docs/API_docs_v71/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v71/methods/channels_deleteChannel.md @@ -24,7 +24,7 @@ Delete a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.deleteChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_deleteMessages.md b/old_docs/API_docs_v71/methods/channels_deleteMessages.md index 03625c94..8cd7ebb3 100644 --- a/old_docs/API_docs_v71/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v71/methods/channels_deleteMessages.md @@ -25,7 +25,7 @@ Delete channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v71/methods/channels_deleteUserHistory.md index 204a8786..78baa90f 100644 --- a/old_docs/API_docs_v71/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v71/methods/channels_deleteUserHistory.md @@ -25,7 +25,7 @@ Delete all messages of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_editAbout.md b/old_docs/API_docs_v71/methods/channels_editAbout.md index fd861133..549d7ea5 100644 --- a/old_docs/API_docs_v71/methods/channels_editAbout.md +++ b/old_docs/API_docs_v71/methods/channels_editAbout.md @@ -25,7 +25,7 @@ Edit the about text of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.editAbout({channel=InputChannel, about='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_editAdmin.md b/old_docs/API_docs_v71/methods/channels_editAdmin.md index 08860c79..19670a43 100644 --- a/old_docs/API_docs_v71/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v71/methods/channels_editAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ admin_rights - Json encoded ChannelAdminRights Or, if you're into Lua: -``` +```lua Updates = channels.editAdmin({channel=InputChannel, user_id=InputUser, admin_rights=ChannelAdminRights, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_editBanned.md b/old_docs/API_docs_v71/methods/channels_editBanned.md index e938acc0..e18f236e 100644 --- a/old_docs/API_docs_v71/methods/channels_editBanned.md +++ b/old_docs/API_docs_v71/methods/channels_editBanned.md @@ -26,7 +26,7 @@ Kick or ban a user from a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ banned_rights - Json encoded ChannelBannedRights Or, if you're into Lua: -``` +```lua Updates = channels.editBanned({channel=InputChannel, user_id=InputUser, banned_rights=ChannelBannedRights, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_editPhoto.md b/old_docs/API_docs_v71/methods/channels_editPhoto.md index ccbaed65..7013c6e2 100644 --- a/old_docs/API_docs_v71/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v71/methods/channels_editPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = channels.editPhoto({channel=InputChannel, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_editTitle.md b/old_docs/API_docs_v71/methods/channels_editTitle.md index ffd868ba..a9c8c50f 100644 --- a/old_docs/API_docs_v71/methods/channels_editTitle.md +++ b/old_docs/API_docs_v71/methods/channels_editTitle.md @@ -25,7 +25,7 @@ Edit the title of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.editTitle({channel=InputChannel, title='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_exportInvite.md b/old_docs/API_docs_v71/methods/channels_exportInvite.md index 0b4b5c31..5a92097a 100644 --- a/old_docs/API_docs_v71/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v71/methods/channels_exportInvite.md @@ -24,7 +24,7 @@ Export the invite link of a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua ExportedChatInvite = channels.exportInvite({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_exportMessageLink.md b/old_docs/API_docs_v71/methods/channels_exportMessageLink.md index f42068f4..a2e2cc10 100644 --- a/old_docs/API_docs_v71/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v71/methods/channels_exportMessageLink.md @@ -25,7 +25,7 @@ Get the link of a message in a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua ExportedMessageLink = channels.exportMessageLink({channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_getAdminLog.md b/old_docs/API_docs_v71/methods/channels_getAdminLog.md index 266c07d7..79a6b402 100644 --- a/old_docs/API_docs_v71/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v71/methods/channels_getAdminLog.md @@ -30,7 +30,7 @@ Get admin log of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v71/methods/channels_getAdminedPublicChannels.md index 67ee8bd4..dc2c29ed 100644 --- a/old_docs/API_docs_v71/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v71/methods/channels_getAdminedPublicChannels.md @@ -19,7 +19,7 @@ Get all supergroups/channels where you're admin ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v71/methods/channels_getChannels.md b/old_docs/API_docs_v71/methods/channels_getChannels.md index 71edac7b..a146be1e 100644 --- a/old_docs/API_docs_v71/methods/channels_getChannels.md +++ b/old_docs/API_docs_v71/methods/channels_getChannels.md @@ -24,7 +24,7 @@ Get info about multiple channels/supergroups ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputChannel Or, if you're into Lua: -``` +```lua messages_Chats = channels.getChannels({id={InputChannel}, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_getMessages.md b/old_docs/API_docs_v71/methods/channels_getMessages.md index 217757eb..208cbcc4 100644 --- a/old_docs/API_docs_v71/methods/channels_getMessages.md +++ b/old_docs/API_docs_v71/methods/channels_getMessages.md @@ -25,7 +25,7 @@ Get channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_getParticipant.md b/old_docs/API_docs_v71/methods/channels_getParticipant.md index a641d213..9cf80799 100644 --- a/old_docs/API_docs_v71/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v71/methods/channels_getParticipant.md @@ -25,7 +25,7 @@ Get info about a certain channel/supergroup participant ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_getParticipants.md b/old_docs/API_docs_v71/methods/channels_getParticipants.md index c2f0cdcd..3d4dfa13 100644 --- a/old_docs/API_docs_v71/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v71/methods/channels_getParticipants.md @@ -27,7 +27,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_inviteToChannel.md b/old_docs/API_docs_v71/methods/channels_inviteToChannel.md index 0a350cc8..998e3895 100644 --- a/old_docs/API_docs_v71/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v71/methods/channels_inviteToChannel.md @@ -25,7 +25,7 @@ Add users to channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ users - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Updates = channels.inviteToChannel({channel=InputChannel, users={InputUser}, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_joinChannel.md b/old_docs/API_docs_v71/methods/channels_joinChannel.md index aae2bc1c..3c6a3b94 100644 --- a/old_docs/API_docs_v71/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v71/methods/channels_joinChannel.md @@ -24,7 +24,7 @@ Join a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.joinChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_leaveChannel.md b/old_docs/API_docs_v71/methods/channels_leaveChannel.md index 4e6701fe..0934089f 100644 --- a/old_docs/API_docs_v71/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v71/methods/channels_leaveChannel.md @@ -24,7 +24,7 @@ Leave a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.leaveChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_readHistory.md b/old_docs/API_docs_v71/methods/channels_readHistory.md index d76919ff..cf5c1529 100644 --- a/old_docs/API_docs_v71/methods/channels_readHistory.md +++ b/old_docs/API_docs_v71/methods/channels_readHistory.md @@ -25,7 +25,7 @@ Mark channel/supergroup history as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.readHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_readMessageContents.md b/old_docs/API_docs_v71/methods/channels_readMessageContents.md index 51fffda5..a6cf4f3a 100644 --- a/old_docs/API_docs_v71/methods/channels_readMessageContents.md +++ b/old_docs/API_docs_v71/methods/channels_readMessageContents.md @@ -25,7 +25,7 @@ Mark channel/supergroup messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.readMessageContents({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_reportSpam.md b/old_docs/API_docs_v71/methods/channels_reportSpam.md index 48022662..b0e99eb1 100644 --- a/old_docs/API_docs_v71/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v71/methods/channels_reportSpam.md @@ -26,7 +26,7 @@ Report a message in a supergroup/channel for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.reportSpam({channel=InputChannel, user_id=InputUser, id={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_setStickers.md b/old_docs/API_docs_v71/methods/channels_setStickers.md index 421b3ec1..4338f29a 100644 --- a/old_docs/API_docs_v71/methods/channels_setStickers.md +++ b/old_docs/API_docs_v71/methods/channels_setStickers.md @@ -25,7 +25,7 @@ Set the supergroup/channel stickerpack ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = channels.setStickers({channel=InputChannel, stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_toggleInvites.md b/old_docs/API_docs_v71/methods/channels_toggleInvites.md index d0023b70..bed6ba15 100644 --- a/old_docs/API_docs_v71/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v71/methods/channels_toggleInvites.md @@ -25,7 +25,7 @@ Allow or disallow any user to invite users to this channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleInvites({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_toggleSignatures.md b/old_docs/API_docs_v71/methods/channels_toggleSignatures.md index 337e8627..c9fe18cc 100644 --- a/old_docs/API_docs_v71/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v71/methods/channels_toggleSignatures.md @@ -25,7 +25,7 @@ Toggle channel signatures ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleSignatures({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v71/methods/channels_updatePinnedMessage.md index c79c5904..9d2cc058 100644 --- a/old_docs/API_docs_v71/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v71/methods/channels_updatePinnedMessage.md @@ -26,7 +26,7 @@ Set the pinned message of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = channels.updatePinnedMessage({silent=Bool, channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/channels_updateUsername.md b/old_docs/API_docs_v71/methods/channels_updateUsername.md index 2e07e123..c0df8c7c 100644 --- a/old_docs/API_docs_v71/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v71/methods/channels_updateUsername.md @@ -25,7 +25,7 @@ Update the username of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.updateUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/contacts_block.md b/old_docs/API_docs_v71/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v71/methods/contacts_block.md +++ b/old_docs/API_docs_v71/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v71/methods/contacts_deleteContact.md b/old_docs/API_docs_v71/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v71/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v71/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v71/methods/contacts_deleteContacts.md b/old_docs/API_docs_v71/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v71/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v71/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v71/methods/contacts_exportCard.md b/old_docs/API_docs_v71/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v71/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v71/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v71/methods/contacts_getBlocked.md b/old_docs/API_docs_v71/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v71/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v71/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/contacts_getContacts.md b/old_docs/API_docs_v71/methods/contacts_getContacts.md index c8b53bc5..19826f89 100644 --- a/old_docs/API_docs_v71/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v71/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/contacts_getStatuses.md b/old_docs/API_docs_v71/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v71/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v71/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v71/methods/contacts_getTopPeers.md b/old_docs/API_docs_v71/methods/contacts_getTopPeers.md index 1cc9c756..c64e7486 100644 --- a/old_docs/API_docs_v71/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v71/methods/contacts_getTopPeers.md @@ -32,7 +32,7 @@ Get most used chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/contacts_importCard.md b/old_docs/API_docs_v71/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v71/methods/contacts_importCard.md +++ b/old_docs/API_docs_v71/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/contacts_importContacts.md b/old_docs/API_docs_v71/methods/contacts_importContacts.md index eddbe116..c42f5c57 100644 --- a/old_docs/API_docs_v71/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v71/methods/contacts_importContacts.md @@ -24,7 +24,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ contacts - Json encoded array of InputContact Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/old_docs/API_docs_v71/methods/contacts_resetSaved.md b/old_docs/API_docs_v71/methods/contacts_resetSaved.md index 6e0214c2..40d528bc 100644 --- a/old_docs/API_docs_v71/methods/contacts_resetSaved.md +++ b/old_docs/API_docs_v71/methods/contacts_resetSaved.md @@ -19,7 +19,7 @@ Reset saved contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = contacts.resetSaved({}) ``` diff --git a/old_docs/API_docs_v71/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v71/methods/contacts_resetTopPeerRating.md index 96ae48ac..94a07f54 100644 --- a/old_docs/API_docs_v71/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v71/methods/contacts_resetTopPeerRating.md @@ -25,7 +25,7 @@ Reset top peer rating for a certain category/peer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = contacts.resetTopPeerRating({category=TopPeerCategory, peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v71/methods/contacts_search.md b/old_docs/API_docs_v71/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v71/methods/contacts_search.md +++ b/old_docs/API_docs_v71/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/contacts_unblock.md b/old_docs/API_docs_v71/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v71/methods/contacts_unblock.md +++ b/old_docs/API_docs_v71/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v71/methods/contest_saveDeveloperInfo.md b/old_docs/API_docs_v71/methods/contest_saveDeveloperInfo.md index 5761cdc8..2776a131 100644 --- a/old_docs/API_docs_v71/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v71/methods/contest_saveDeveloperInfo.md @@ -28,7 +28,7 @@ Save developer info for telegram contest ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ city - Json encoded string Or, if you're into Lua: -``` +```lua Bool = contest.saveDeveloperInfo({vk_id=int, name='string', phone_number='string', age=int, city='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/destroy_auth_key.md b/old_docs/API_docs_v71/methods/destroy_auth_key.md index b5adfce0..aff3981b 100644 --- a/old_docs/API_docs_v71/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v71/methods/destroy_auth_key.md @@ -19,7 +19,7 @@ Destroy current authorization key ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua DestroyAuthKeyRes = destroy_auth_key({}) ``` diff --git a/old_docs/API_docs_v71/methods/destroy_session.md b/old_docs/API_docs_v71/methods/destroy_session.md index 6892d9a0..d7472c3e 100644 --- a/old_docs/API_docs_v71/methods/destroy_session.md +++ b/old_docs/API_docs_v71/methods/destroy_session.md @@ -24,7 +24,7 @@ Destroy the current MTProto session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ session_id - Json encoded long Or, if you're into Lua: -``` +```lua DestroySessionRes = destroy_session({session_id=long, }) ``` diff --git a/old_docs/API_docs_v71/methods/get_future_salts.md b/old_docs/API_docs_v71/methods/get_future_salts.md index 94f0f8ca..2ab445b6 100644 --- a/old_docs/API_docs_v71/methods/get_future_salts.md +++ b/old_docs/API_docs_v71/methods/get_future_salts.md @@ -24,7 +24,7 @@ Get future salts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ num - Json encoded int Or, if you're into Lua: -``` +```lua FutureSalts = get_future_salts({num=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/help_getAppChangelog.md b/old_docs/API_docs_v71/methods/help_getAppChangelog.md index 10b972c1..179eaf3a 100644 --- a/old_docs/API_docs_v71/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v71/methods/help_getAppChangelog.md @@ -24,7 +24,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ prev_app_version - Json encoded string Or, if you're into Lua: -``` +```lua Updates = help.getAppChangelog({prev_app_version='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/help_getAppUpdate.md b/old_docs/API_docs_v71/methods/help_getAppUpdate.md index 4ddc0e4d..541b5972 100644 --- a/old_docs/API_docs_v71/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v71/methods/help_getAppUpdate.md @@ -19,7 +19,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v71/methods/help_getCdnConfig.md b/old_docs/API_docs_v71/methods/help_getCdnConfig.md index be572516..766896c7 100644 --- a/old_docs/API_docs_v71/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v71/methods/help_getCdnConfig.md @@ -19,7 +19,7 @@ Get CDN configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua CdnConfig = help.getCdnConfig({}) ``` diff --git a/old_docs/API_docs_v71/methods/help_getConfig.md b/old_docs/API_docs_v71/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v71/methods/help_getConfig.md +++ b/old_docs/API_docs_v71/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v71/methods/help_getInviteText.md b/old_docs/API_docs_v71/methods/help_getInviteText.md index 1510e64f..f05ac4ac 100644 --- a/old_docs/API_docs_v71/methods/help_getInviteText.md +++ b/old_docs/API_docs_v71/methods/help_getInviteText.md @@ -19,7 +19,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v71/methods/help_getNearestDc.md b/old_docs/API_docs_v71/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v71/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v71/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v71/methods/help_getSupport.md b/old_docs/API_docs_v71/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v71/methods/help_getSupport.md +++ b/old_docs/API_docs_v71/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v71/methods/help_getTermsOfService.md b/old_docs/API_docs_v71/methods/help_getTermsOfService.md index bf421bf6..95d51e60 100644 --- a/old_docs/API_docs_v71/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v71/methods/help_getTermsOfService.md @@ -19,7 +19,7 @@ Get terms of service ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v71/methods/help_saveAppLog.md b/old_docs/API_docs_v71/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v71/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v71/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v71/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v71/methods/help_setBotUpdatesStatus.md index 0429f8a0..53736da7 100644 --- a/old_docs/API_docs_v71/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v71/methods/help_setBotUpdatesStatus.md @@ -25,7 +25,7 @@ Set the update status of webhook ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = help.setBotUpdatesStatus({pending_updates_count=int, message='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/initConnection.md b/old_docs/API_docs_v71/methods/initConnection.md index 692a41e8..858a9e5d 100644 --- a/old_docs/API_docs_v71/methods/initConnection.md +++ b/old_docs/API_docs_v71/methods/initConnection.md @@ -31,7 +31,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -83,7 +83,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', system_lang_code='string', lang_pack='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v71/methods/invokeAfterMsg.md b/old_docs/API_docs_v71/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v71/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v71/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v71/methods/invokeAfterMsgs.md b/old_docs/API_docs_v71/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v71/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v71/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v71/methods/invokeWithLayer.md b/old_docs/API_docs_v71/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v71/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v71/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v71/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v71/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/old_docs/API_docs_v71/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v71/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/old_docs/API_docs_v71/methods/langpack_getDifference.md b/old_docs/API_docs_v71/methods/langpack_getDifference.md index 0614d869..30184f61 100644 --- a/old_docs/API_docs_v71/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v71/methods/langpack_getDifference.md @@ -24,7 +24,7 @@ Get language pack updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ from_version - Json encoded int Or, if you're into Lua: -``` +```lua LangPackDifference = langpack.getDifference({from_version=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/langpack_getLangPack.md b/old_docs/API_docs_v71/methods/langpack_getLangPack.md index 70f9eb73..98001615 100644 --- a/old_docs/API_docs_v71/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v71/methods/langpack_getLangPack.md @@ -24,7 +24,7 @@ Get language pack ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua LangPackDifference = langpack.getLangPack({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/langpack_getLanguages.md b/old_docs/API_docs_v71/methods/langpack_getLanguages.md index 5eaf2049..8a592a86 100644 --- a/old_docs/API_docs_v71/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v71/methods/langpack_getLanguages.md @@ -19,7 +19,7 @@ Get available languages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_LangPackLanguage = langpack.getLanguages({}) ``` diff --git a/old_docs/API_docs_v71/methods/langpack_getStrings.md b/old_docs/API_docs_v71/methods/langpack_getStrings.md index 3042b040..ccd0a684 100644 --- a/old_docs/API_docs_v71/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v71/methods/langpack_getStrings.md @@ -25,7 +25,7 @@ Get language pack strings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ keys - Json encoded array of string Or, if you're into Lua: -``` +```lua Vector_of_LangPackString = langpack.getStrings({lang_code='string', keys={'string'}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_addChatUser.md b/old_docs/API_docs_v71/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v71/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v71/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_checkChatInvite.md b/old_docs/API_docs_v71/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/old_docs/API_docs_v71/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v71/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v71/methods/messages_clearRecentStickers.md index 56634143..53e1fa4f 100644 --- a/old_docs/API_docs_v71/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v71/methods/messages_clearRecentStickers.md @@ -24,7 +24,7 @@ Clear all recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ attached - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.clearRecentStickers({attached=Bool, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_createChat.md b/old_docs/API_docs_v71/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v71/methods/messages_createChat.md +++ b/old_docs/API_docs_v71/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_deleteChatUser.md b/old_docs/API_docs_v71/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v71/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v71/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_deleteHistory.md b/old_docs/API_docs_v71/methods/messages_deleteHistory.md index 866ba216..33d1ca52 100644 --- a/old_docs/API_docs_v71/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v71/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_deleteMessages.md b/old_docs/API_docs_v71/methods/messages_deleteMessages.md index eaf9cd86..9158e8bd 100644 --- a/old_docs/API_docs_v71/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v71/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_editChatAdmin.md b/old_docs/API_docs_v71/methods/messages_editChatAdmin.md index a2dad97f..f883b50e 100644 --- a/old_docs/API_docs_v71/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v71/methods/messages_editChatAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ is_admin - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.editChatAdmin({chat_id=InputPeer, user_id=InputUser, is_admin=Bool, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_editChatPhoto.md b/old_docs/API_docs_v71/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v71/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v71/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_editChatTitle.md b/old_docs/API_docs_v71/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v71/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v71/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v71/methods/messages_editInlineBotMessage.md index c669c8d7..6c04ab6f 100644 --- a/old_docs/API_docs_v71/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v71/methods/messages_editInlineBotMessage.md @@ -29,7 +29,7 @@ Edit a sent inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -66,7 +66,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.editInlineBotMessage({no_webpage=Bool, id=InputBotInlineMessageID, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_editMessage.md b/old_docs/API_docs_v71/methods/messages_editMessage.md index 7af0cfd9..db5cc876 100644 --- a/old_docs/API_docs_v71/methods/messages_editMessage.md +++ b/old_docs/API_docs_v71/methods/messages_editMessage.md @@ -30,7 +30,7 @@ Edit a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -67,7 +67,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.editMessage({no_webpage=Bool, peer=InputPeer, id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_exportChatInvite.md b/old_docs/API_docs_v71/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/old_docs/API_docs_v71/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v71/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_faveSticker.md b/old_docs/API_docs_v71/methods/messages_faveSticker.md index 302957c5..26e49af9 100644 --- a/old_docs/API_docs_v71/methods/messages_faveSticker.md +++ b/old_docs/API_docs_v71/methods/messages_faveSticker.md @@ -25,7 +25,7 @@ Add a sticker to favorites ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ unfave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.faveSticker({id=InputDocument, unfave=Bool, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_forwardMessage.md b/old_docs/API_docs_v71/methods/messages_forwardMessage.md index 586670b8..d9c0453f 100644 --- a/old_docs/API_docs_v71/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v71/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_forwardMessages.md b/old_docs/API_docs_v71/methods/messages_forwardMessages.md index 99815a44..caf61d66 100644 --- a/old_docs/API_docs_v71/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v71/methods/messages_forwardMessages.md @@ -29,7 +29,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ to_peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({silent=Bool, background=Bool, with_my_score=Bool, from_peer=InputPeer, id={int}, to_peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getAllChats.md b/old_docs/API_docs_v71/methods/messages_getAllChats.md index 663af07c..38cbbbae 100644 --- a/old_docs/API_docs_v71/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v71/methods/messages_getAllChats.md @@ -24,7 +24,7 @@ Get all chats (not supergroups or channels) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ except_ids - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getAllChats({except_ids={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getAllDrafts.md b/old_docs/API_docs_v71/methods/messages_getAllDrafts.md index 31aa8176..7300e01a 100644 --- a/old_docs/API_docs_v71/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v71/methods/messages_getAllDrafts.md @@ -19,7 +19,7 @@ Get all message drafts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Updates = messages.getAllDrafts({}) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getAllStickers.md b/old_docs/API_docs_v71/methods/messages_getAllStickers.md index 966af122..c25a823b 100644 --- a/old_docs/API_docs_v71/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v71/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v71/methods/messages_getArchivedStickers.md index e98ab6ec..ef79ee6e 100644 --- a/old_docs/API_docs_v71/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v71/methods/messages_getArchivedStickers.md @@ -26,7 +26,7 @@ Get all archived stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v71/methods/messages_getAttachedStickers.md index 0e221a84..9ada6655 100644 --- a/old_docs/API_docs_v71/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v71/methods/messages_getAttachedStickers.md @@ -24,7 +24,7 @@ Get stickers attachable to images ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ media - Json encoded InputStickeredMedia Or, if you're into Lua: -``` +```lua Vector_of_StickerSetCovered = messages.getAttachedStickers({media=InputStickeredMedia, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v71/methods/messages_getBotCallbackAnswer.md index ffcd8a2e..b4f1d02f 100644 --- a/old_docs/API_docs_v71/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v71/methods/messages_getBotCallbackAnswer.md @@ -27,7 +27,7 @@ Get the callback answer of a bot (after clicking a button) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ data - Json encoded bytes Or, if you're into Lua: -``` +```lua messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getChats.md b/old_docs/API_docs_v71/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v71/methods/messages_getChats.md +++ b/old_docs/API_docs_v71/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getCommonChats.md b/old_docs/API_docs_v71/methods/messages_getCommonChats.md index e6921d5e..83237f64 100644 --- a/old_docs/API_docs_v71/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v71/methods/messages_getCommonChats.md @@ -26,7 +26,7 @@ Get chats in common with a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getDialogs.md b/old_docs/API_docs_v71/methods/messages_getDialogs.md index 694c916f..0bc314b5 100644 --- a/old_docs/API_docs_v71/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v71/methods/messages_getDialogs.md @@ -28,7 +28,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v71/methods/messages_getDocumentByHash.md index 5b6f6f21..00f0a558 100644 --- a/old_docs/API_docs_v71/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v71/methods/messages_getDocumentByHash.md @@ -26,7 +26,7 @@ Get document by SHA256 hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ mime_type - Json encoded string Or, if you're into Lua: -``` +```lua Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getFavedStickers.md b/old_docs/API_docs_v71/methods/messages_getFavedStickers.md index 6bc1560c..95d6d4a2 100644 --- a/old_docs/API_docs_v71/methods/messages_getFavedStickers.md +++ b/old_docs/API_docs_v71/methods/messages_getFavedStickers.md @@ -24,7 +24,7 @@ Get favorite stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v71/methods/messages_getFeaturedStickers.md index a837377b..c257621e 100644 --- a/old_docs/API_docs_v71/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v71/methods/messages_getFeaturedStickers.md @@ -24,7 +24,7 @@ Get featured stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getGameHighScores.md b/old_docs/API_docs_v71/methods/messages_getGameHighScores.md index f7837998..a97fb1ff 100644 --- a/old_docs/API_docs_v71/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v71/methods/messages_getGameHighScores.md @@ -26,7 +26,7 @@ Get high scores of a game ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getHistory.md b/old_docs/API_docs_v71/methods/messages_getHistory.md index 76d20b70..23f2d6e9 100644 --- a/old_docs/API_docs_v71/methods/messages_getHistory.md +++ b/old_docs/API_docs_v71/methods/messages_getHistory.md @@ -30,7 +30,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v71/methods/messages_getInlineBotResults.md index 03b5d845..73f2deb2 100644 --- a/old_docs/API_docs_v71/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v71/methods/messages_getInlineBotResults.md @@ -28,7 +28,7 @@ Call inline bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ offset - Json encoded string Or, if you're into Lua: -``` +```lua messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v71/methods/messages_getInlineGameHighScores.md index e8be8e81..046c1cfb 100644 --- a/old_docs/API_docs_v71/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v71/methods/messages_getInlineGameHighScores.md @@ -25,7 +25,7 @@ Get high scores of a game sent in an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getMaskStickers.md b/old_docs/API_docs_v71/methods/messages_getMaskStickers.md index 55c4edea..06fd153e 100644 --- a/old_docs/API_docs_v71/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v71/methods/messages_getMaskStickers.md @@ -24,7 +24,7 @@ Get masks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getMessageEditData.md b/old_docs/API_docs_v71/methods/messages_getMessageEditData.md index 2c44a1dc..77e2c030 100644 --- a/old_docs/API_docs_v71/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v71/methods/messages_getMessageEditData.md @@ -25,7 +25,7 @@ Check if about to edit a message or a media caption ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getMessages.md b/old_docs/API_docs_v71/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v71/methods/messages_getMessages.md +++ b/old_docs/API_docs_v71/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getMessagesViews.md b/old_docs/API_docs_v71/methods/messages_getMessagesViews.md index 57a99054..b2b6110e 100644 --- a/old_docs/API_docs_v71/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v71/methods/messages_getMessagesViews.md @@ -26,7 +26,7 @@ Get and increase message views ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ increment - Json encoded Bool Or, if you're into Lua: -``` +```lua Vector_of_int = messages.getMessagesViews({peer=InputPeer, id={int}, increment=Bool, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v71/methods/messages_getPeerDialogs.md index ca746b3b..a34873df 100644 --- a/old_docs/API_docs_v71/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v71/methods/messages_getPeerDialogs.md @@ -24,7 +24,7 @@ Get dialog info of peers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peers - Json encoded array of InputPeer Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getPeerSettings.md b/old_docs/API_docs_v71/methods/messages_getPeerSettings.md index 92d4697a..e2b3ec4f 100644 --- a/old_docs/API_docs_v71/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v71/methods/messages_getPeerSettings.md @@ -24,7 +24,7 @@ Get the settings of apeer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua PeerSettings = messages.getPeerSettings({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v71/methods/messages_getPinnedDialogs.md index 634f4c41..77eb98ce 100644 --- a/old_docs/API_docs_v71/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v71/methods/messages_getPinnedDialogs.md @@ -19,7 +19,7 @@ Get pinned dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPinnedDialogs({}) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getRecentStickers.md b/old_docs/API_docs_v71/methods/messages_getRecentStickers.md index d89272fd..939fd036 100644 --- a/old_docs/API_docs_v71/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v71/methods/messages_getRecentStickers.md @@ -25,7 +25,7 @@ Get recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getSavedGifs.md b/old_docs/API_docs_v71/methods/messages_getSavedGifs.md index cafba4e1..1a879907 100644 --- a/old_docs/API_docs_v71/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v71/methods/messages_getSavedGifs.md @@ -24,7 +24,7 @@ Get saved gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getStickerSet.md b/old_docs/API_docs_v71/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/old_docs/API_docs_v71/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v71/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getUnreadMentions.md b/old_docs/API_docs_v71/methods/messages_getUnreadMentions.md index 9b221db9..d30c19c5 100644 --- a/old_docs/API_docs_v71/methods/messages_getUnreadMentions.md +++ b/old_docs/API_docs_v71/methods/messages_getUnreadMentions.md @@ -29,7 +29,7 @@ Get unread mentions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getWebPage.md b/old_docs/API_docs_v71/methods/messages_getWebPage.md index fb7152af..9237d4b7 100644 --- a/old_docs/API_docs_v71/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v71/methods/messages_getWebPage.md @@ -25,7 +25,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua WebPage = messages.getWebPage({url='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v71/methods/messages_getWebPagePreview.md index 8475c8f5..4838be94 100644 --- a/old_docs/API_docs_v71/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v71/methods/messages_getWebPagePreview.md @@ -24,7 +24,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_hideReportSpam.md b/old_docs/API_docs_v71/methods/messages_hideReportSpam.md index 17a7f8ef..1c0d72c5 100644 --- a/old_docs/API_docs_v71/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v71/methods/messages_hideReportSpam.md @@ -24,7 +24,7 @@ Hide report spam popup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.hideReportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_importChatInvite.md b/old_docs/API_docs_v71/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/old_docs/API_docs_v71/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v71/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_installStickerSet.md b/old_docs/API_docs_v71/methods/messages_installStickerSet.md index 88131136..6bdb9390 100644 --- a/old_docs/API_docs_v71/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v71/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ archived - Json encoded Bool Or, if you're into Lua: -``` +```lua messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_migrateChat.md b/old_docs/API_docs_v71/methods/messages_migrateChat.md index df91f510..e789ff7d 100644 --- a/old_docs/API_docs_v71/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v71/methods/messages_migrateChat.md @@ -24,7 +24,7 @@ Convert chat to supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.migrateChat({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v71/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v71/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v71/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v71/methods/messages_readFeaturedStickers.md index 2c34ac0f..9fef6621 100644 --- a/old_docs/API_docs_v71/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v71/methods/messages_readFeaturedStickers.md @@ -24,7 +24,7 @@ Mark new featured stickers as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.readFeaturedStickers({id={long}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_readHistory.md b/old_docs/API_docs_v71/methods/messages_readHistory.md index 48d7fb45..4a2188d8 100644 --- a/old_docs/API_docs_v71/methods/messages_readHistory.md +++ b/old_docs/API_docs_v71/methods/messages_readHistory.md @@ -25,7 +25,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_readMessageContents.md b/old_docs/API_docs_v71/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v71/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v71/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_receivedMessages.md b/old_docs/API_docs_v71/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/old_docs/API_docs_v71/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v71/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v71/methods/messages_reorderPinnedDialogs.md index 4d2cb53e..d8aeefa7 100644 --- a/old_docs/API_docs_v71/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v71/methods/messages_reorderPinnedDialogs.md @@ -25,7 +25,7 @@ Reorder pinned dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reorderPinnedDialogs({force=Bool, order={InputPeer}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v71/methods/messages_reorderStickerSets.md index c1c35ef6..cd73daa0 100644 --- a/old_docs/API_docs_v71/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v71/methods/messages_reorderStickerSets.md @@ -25,7 +25,7 @@ Reorder sticker sets ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.reorderStickerSets({masks=Bool, order={long}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v71/methods/messages_reportEncryptedSpam.md index dffdffc9..5d5f0dab 100644 --- a/old_docs/API_docs_v71/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v71/methods/messages_reportEncryptedSpam.md @@ -24,7 +24,7 @@ Report for spam a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputEncryptedChat Or, if you're into Lua: -``` +```lua Bool = messages.reportEncryptedSpam({peer=InputEncryptedChat, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_reportSpam.md b/old_docs/API_docs_v71/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/old_docs/API_docs_v71/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v71/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_saveDraft.md b/old_docs/API_docs_v71/methods/messages_saveDraft.md index ede72c41..14e69f93 100644 --- a/old_docs/API_docs_v71/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v71/methods/messages_saveDraft.md @@ -29,7 +29,7 @@ Save a message draft ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -57,7 +57,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.saveDraft({no_webpage=Bool, reply_to_msg_id=int, peer=InputPeer, message='string', entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_saveGif.md b/old_docs/API_docs_v71/methods/messages_saveGif.md index adae6d86..dfa956ab 100644 --- a/old_docs/API_docs_v71/methods/messages_saveGif.md +++ b/old_docs/API_docs_v71/methods/messages_saveGif.md @@ -25,7 +25,7 @@ Save a GIF ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveGif({id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v71/methods/messages_saveRecentSticker.md index 9cd06ea1..1abf524f 100644 --- a/old_docs/API_docs_v71/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v71/methods/messages_saveRecentSticker.md @@ -26,7 +26,7 @@ Add a sticker to recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveRecentSticker({attached=Bool, id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_search.md b/old_docs/API_docs_v71/methods/messages_search.md index a1f7ea03..85ff60bc 100644 --- a/old_docs/API_docs_v71/methods/messages_search.md +++ b/old_docs/API_docs_v71/methods/messages_search.md @@ -34,7 +34,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -83,7 +83,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_searchGifs.md b/old_docs/API_docs_v71/methods/messages_searchGifs.md index 1ef77d23..a12cdd21 100644 --- a/old_docs/API_docs_v71/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v71/methods/messages_searchGifs.md @@ -25,7 +25,7 @@ Search gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_searchGlobal.md b/old_docs/API_docs_v71/methods/messages_searchGlobal.md index 4d05bf0d..1fb73592 100644 --- a/old_docs/API_docs_v71/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v71/methods/messages_searchGlobal.md @@ -28,7 +28,7 @@ Global message search ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_sendEncrypted.md b/old_docs/API_docs_v71/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v71/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v71/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v71/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v71/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v71/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v71/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v71/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v71/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v71/methods/messages_sendInlineBotResult.md index 8de674c6..37fae63a 100644 --- a/old_docs/API_docs_v71/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v71/methods/messages_sendInlineBotResult.md @@ -30,7 +30,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ id - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.sendInlineBotResult({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_sendMedia.md b/old_docs/API_docs_v71/methods/messages_sendMedia.md index 2290e52e..7c4e0dcf 100644 --- a/old_docs/API_docs_v71/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v71/methods/messages_sendMedia.md @@ -30,7 +30,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, media=InputMedia, reply_markup=ReplyMarkup, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_sendMessage.md b/old_docs/API_docs_v71/methods/messages_sendMessage.md index 77790562..9cdc74eb 100644 --- a/old_docs/API_docs_v71/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v71/methods/messages_sendMessage.md @@ -33,7 +33,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMessage({no_webpage=Bool, silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_sendScreenshotNotification.md b/old_docs/API_docs_v71/methods/messages_sendScreenshotNotification.md index 3a71c404..d4fd79b6 100644 --- a/old_docs/API_docs_v71/methods/messages_sendScreenshotNotification.md +++ b/old_docs/API_docs_v71/methods/messages_sendScreenshotNotification.md @@ -25,7 +25,7 @@ Send screenshot notification ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reply_to_msg_id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.sendScreenshotNotification({peer=InputPeer, reply_to_msg_id=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v71/methods/messages_setBotCallbackAnswer.md index 0395b468..47d74918 100644 --- a/old_docs/API_docs_v71/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v71/methods/messages_setBotCallbackAnswer.md @@ -28,7 +28,7 @@ Bots only: set the callback answer (after a button was clicked) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ cache_time - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message='string', url='string', cache_time=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v71/methods/messages_setBotPrecheckoutResults.md index 486ab585..92e8ea5a 100644 --- a/old_docs/API_docs_v71/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v71/methods/messages_setBotPrecheckoutResults.md @@ -26,7 +26,7 @@ Bots only: set precheckout results ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ error - Json encoded string Or, if you're into Lua: -``` +```lua Bool = messages.setBotPrecheckoutResults({success=Bool, query_id=long, error='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v71/methods/messages_setBotShippingResults.md index a9e43c49..6e223219 100644 --- a/old_docs/API_docs_v71/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v71/methods/messages_setBotShippingResults.md @@ -26,7 +26,7 @@ Bots only: set shipping results ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ shipping_options - Json encoded array of ShippingOption Or, if you're into Lua: -``` +```lua Bool = messages.setBotShippingResults({query_id=long, error='string', shipping_options={ShippingOption}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v71/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v71/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v71/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_setGameScore.md b/old_docs/API_docs_v71/methods/messages_setGameScore.md index 41ee4591..1a50326e 100644 --- a/old_docs/API_docs_v71/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v71/methods/messages_setGameScore.md @@ -29,7 +29,7 @@ Set the game score ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.setGameScore({edit_message=Bool, force=Bool, peer=InputPeer, id=int, user_id=InputUser, score=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v71/methods/messages_setInlineBotResults.md index 443a028e..e1ebe4e3 100644 --- a/old_docs/API_docs_v71/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v71/methods/messages_setInlineBotResults.md @@ -30,7 +30,7 @@ Bots only: set the results of an inline query ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: -``` +```lua Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset='string', switch_pm=InlineBotSwitchPM, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v71/methods/messages_setInlineGameScore.md index 0d97b9bf..76db49dd 100644 --- a/old_docs/API_docs_v71/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v71/methods/messages_setInlineGameScore.md @@ -28,7 +28,7 @@ Set the game score of an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setInlineGameScore({edit_message=Bool, force=Bool, id=InputBotInlineMessageID, user_id=InputUser, score=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_setTyping.md b/old_docs/API_docs_v71/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v71/methods/messages_setTyping.md +++ b/old_docs/API_docs_v71/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_startBot.md b/old_docs/API_docs_v71/methods/messages_startBot.md index 506957a7..71f82822 100644 --- a/old_docs/API_docs_v71/methods/messages_startBot.md +++ b/old_docs/API_docs_v71/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v71/methods/messages_toggleChatAdmins.md index 0f1e56fa..56438277 100644 --- a/old_docs/API_docs_v71/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v71/methods/messages_toggleChatAdmins.md @@ -25,7 +25,7 @@ Enable all users are admins in normal groups (not supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = messages.toggleChatAdmins({chat_id=InputPeer, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v71/methods/messages_toggleDialogPin.md index 57f673a0..02adfd4b 100644 --- a/old_docs/API_docs_v71/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v71/methods/messages_toggleDialogPin.md @@ -25,7 +25,7 @@ Pin or unpin dialog ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.toggleDialogPin({pinned=Bool, peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v71/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/old_docs/API_docs_v71/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v71/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages_uploadMedia.md b/old_docs/API_docs_v71/methods/messages_uploadMedia.md index 65fed5f8..af710357 100644 --- a/old_docs/API_docs_v71/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v71/methods/messages_uploadMedia.md @@ -25,7 +25,7 @@ Upload a file without sending it to anyone ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua MessageMedia = messages.uploadMedia({peer=InputPeer, media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v71/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v71/methods/payments_clearSavedInfo.md index 8ac2d538..1fb58ffa 100644 --- a/old_docs/API_docs_v71/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v71/methods/payments_clearSavedInfo.md @@ -25,7 +25,7 @@ Clear saved payments info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ info - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = payments.clearSavedInfo({credentials=Bool, info=Bool, }) ``` diff --git a/old_docs/API_docs_v71/methods/payments_getPaymentForm.md b/old_docs/API_docs_v71/methods/payments_getPaymentForm.md index c53c7d10..480e7d6d 100644 --- a/old_docs/API_docs_v71/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v71/methods/payments_getPaymentForm.md @@ -24,7 +24,7 @@ Get payment form ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ msg_id - Json encoded int Or, if you're into Lua: -``` +```lua payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v71/methods/payments_getPaymentReceipt.md index b6bbb3e5..074aed0e 100644 --- a/old_docs/API_docs_v71/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v71/methods/payments_getPaymentReceipt.md @@ -24,7 +24,7 @@ Get payment receipt ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ msg_id - Json encoded int Or, if you're into Lua: -``` +```lua payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/payments_getSavedInfo.md b/old_docs/API_docs_v71/methods/payments_getSavedInfo.md index acaa603f..df3796a2 100644 --- a/old_docs/API_docs_v71/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v71/methods/payments_getSavedInfo.md @@ -19,7 +19,7 @@ Get saved payments info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua payments_SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v71/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v71/methods/payments_sendPaymentForm.md index 5ac22160..582f446a 100644 --- a/old_docs/API_docs_v71/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v71/methods/payments_sendPaymentForm.md @@ -27,7 +27,7 @@ Bots only: send payment form ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ credentials - Json encoded InputPaymentCredentials Or, if you're into Lua: -``` +```lua payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` diff --git a/old_docs/API_docs_v71/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v71/methods/payments_validateRequestedInfo.md index bc60d68f..524c8515 100644 --- a/old_docs/API_docs_v71/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v71/methods/payments_validateRequestedInfo.md @@ -26,7 +26,7 @@ Validate requested payment info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ info - Json encoded PaymentRequestedInfo Or, if you're into Lua: -``` +```lua payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` diff --git a/old_docs/API_docs_v71/methods/phone_getCallConfig.md b/old_docs/API_docs_v71/methods/phone_getCallConfig.md index dc8619e8..4ee97d2f 100644 --- a/old_docs/API_docs_v71/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v71/methods/phone_getCallConfig.md @@ -19,7 +19,7 @@ Get call configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua DataJSON = phone.getCallConfig({}) ``` diff --git a/old_docs/API_docs_v71/methods/phone_receivedCall.md b/old_docs/API_docs_v71/methods/phone_receivedCall.md index b6cebd0c..c030fe43 100644 --- a/old_docs/API_docs_v71/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v71/methods/phone_receivedCall.md @@ -24,7 +24,7 @@ Notify server that you received a call (server will refuse all incoming calls un ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPhoneCall Or, if you're into Lua: -``` +```lua Bool = phone.receivedCall({peer=InputPhoneCall, }) ``` diff --git a/old_docs/API_docs_v71/methods/phone_saveCallDebug.md b/old_docs/API_docs_v71/methods/phone_saveCallDebug.md index 176f0838..3aff7998 100644 --- a/old_docs/API_docs_v71/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v71/methods/phone_saveCallDebug.md @@ -25,7 +25,7 @@ Save call debugging info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ debug - Json encoded DataJSON Or, if you're into Lua: -``` +```lua Bool = phone.saveCallDebug({peer=InputPhoneCall, debug=DataJSON, }) ``` diff --git a/old_docs/API_docs_v71/methods/phone_setCallRating.md b/old_docs/API_docs_v71/methods/phone_setCallRating.md index 0861c10e..fa83b2c7 100644 --- a/old_docs/API_docs_v71/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v71/methods/phone_setCallRating.md @@ -26,7 +26,7 @@ Set phone call rating ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ comment - Json encoded string Or, if you're into Lua: -``` +```lua Updates = phone.setCallRating({peer=InputPhoneCall, rating=int, comment='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/photos_deletePhotos.md b/old_docs/API_docs_v71/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v71/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v71/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v71/methods/photos_getUserPhotos.md b/old_docs/API_docs_v71/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/old_docs/API_docs_v71/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v71/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v71/methods/photos_updateProfilePhoto.md index 8eb42e5d..26ab417e 100644 --- a/old_docs/API_docs_v71/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v71/methods/photos_updateProfilePhoto.md @@ -24,7 +24,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputPhoto Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, }) ``` diff --git a/old_docs/API_docs_v71/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v71/methods/photos_uploadProfilePhoto.md index 9b838b89..8d047d9a 100644 --- a/old_docs/API_docs_v71/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v71/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ file - Json encoded InputFile Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` diff --git a/old_docs/API_docs_v71/methods/ping.md b/old_docs/API_docs_v71/methods/ping.md index d07839e4..de80b551 100644 --- a/old_docs/API_docs_v71/methods/ping.md +++ b/old_docs/API_docs_v71/methods/ping.md @@ -24,7 +24,7 @@ pings the server ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ ping_id - Json encoded long Or, if you're into Lua: -``` +```lua Pong = ping({ping_id=long, }) ``` diff --git a/old_docs/API_docs_v71/methods/ping_delay_disconnect.md b/old_docs/API_docs_v71/methods/ping_delay_disconnect.md index 9b89e38d..337ba565 100644 --- a/old_docs/API_docs_v71/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v71/methods/ping_delay_disconnect.md @@ -25,7 +25,7 @@ Pings the server and causes disconection if the same method is not called within ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ disconnect_delay - Json encoded int Or, if you're into Lua: -``` +```lua Pong = ping_delay_disconnect({ping_id=long, disconnect_delay=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/req_DH_params.md b/old_docs/API_docs_v71/methods/req_DH_params.md index 54dd35a0..405e5acf 100644 --- a/old_docs/API_docs_v71/methods/req_DH_params.md +++ b/old_docs/API_docs_v71/methods/req_DH_params.md @@ -29,7 +29,7 @@ Requests Diffie-hellman parameters for key exchange ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ encrypted_data - Json encoded string Or, if you're into Lua: -``` +```lua Server_DH_Params = req_DH_params({nonce=int128, server_nonce=int128, p='string', q='string', public_key_fingerprint=long, encrypted_data='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/req_pq.md b/old_docs/API_docs_v71/methods/req_pq.md index 64da6ef7..8c764814 100644 --- a/old_docs/API_docs_v71/methods/req_pq.md +++ b/old_docs/API_docs_v71/methods/req_pq.md @@ -24,7 +24,7 @@ Requests PQ for factorization ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ nonce - Json encoded int128 Or, if you're into Lua: -``` +```lua ResPQ = req_pq({nonce=int128, }) ``` diff --git a/old_docs/API_docs_v71/methods/rpc_drop_answer.md b/old_docs/API_docs_v71/methods/rpc_drop_answer.md index 8e08d16b..8b81eefd 100644 --- a/old_docs/API_docs_v71/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v71/methods/rpc_drop_answer.md @@ -24,7 +24,7 @@ Do not send answer to provided request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ req_msg_id - Json encoded long Or, if you're into Lua: -``` +```lua RpcDropAnswer = rpc_drop_answer({req_msg_id=long, }) ``` diff --git a/old_docs/API_docs_v71/methods/set_client_DH_params.md b/old_docs/API_docs_v71/methods/set_client_DH_params.md index 41bbb00f..8bf36c8a 100644 --- a/old_docs/API_docs_v71/methods/set_client_DH_params.md +++ b/old_docs/API_docs_v71/methods/set_client_DH_params.md @@ -26,7 +26,7 @@ Sets client diffie-hellman parameters ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ encrypted_data - Json encoded string Or, if you're into Lua: -``` +```lua Set_client_DH_params_answer = set_client_DH_params({nonce=int128, server_nonce=int128, encrypted_data='string', }) ``` diff --git a/old_docs/API_docs_v71/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v71/methods/stickers_addStickerToSet.md index 7029d543..0946e28a 100644 --- a/old_docs/API_docs_v71/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v71/methods/stickers_addStickerToSet.md @@ -25,7 +25,7 @@ Add sticker to stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ sticker - Json encoded InputStickerSetItem Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` diff --git a/old_docs/API_docs_v71/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v71/methods/stickers_changeStickerPosition.md index e6a2951e..ff27fd3c 100644 --- a/old_docs/API_docs_v71/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v71/methods/stickers_changeStickerPosition.md @@ -25,7 +25,7 @@ Change sticker position in photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ position - Json encoded int Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/stickers_createStickerSet.md b/old_docs/API_docs_v71/methods/stickers_createStickerSet.md index 58ed89b7..7dd29ccd 100644 --- a/old_docs/API_docs_v71/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v71/methods/stickers_createStickerSet.md @@ -28,7 +28,7 @@ Create stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ stickers - Json encoded array of InputStickerSetItem Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` diff --git a/old_docs/API_docs_v71/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v71/methods/stickers_removeStickerFromSet.md index 7349779f..64ce97a3 100644 --- a/old_docs/API_docs_v71/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v71/methods/stickers_removeStickerFromSet.md @@ -24,7 +24,7 @@ Remove sticker from stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ sticker - Json encoded InputDocument Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` diff --git a/old_docs/API_docs_v71/methods/upload_getWebFile.md b/old_docs/API_docs_v71/methods/upload_getWebFile.md index d7d5d631..16952ff9 100644 --- a/old_docs/API_docs_v71/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v71/methods/upload_getWebFile.md @@ -26,7 +26,7 @@ Download a file through telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/users_getUsers.md b/old_docs/API_docs_v71/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v71/methods/users_getUsers.md +++ b/old_docs/API_docs_v71/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v71/types/Chat.md b/old_docs/API_docs_v71/types/Chat.md index cd83aacb..58654e6e 100644 --- a/old_docs/API_docs_v71/types/Chat.md +++ b/old_docs/API_docs_v71/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v71/types/InputChannel.md b/old_docs/API_docs_v71/types/InputChannel.md index 3882099d..6dc802fc 100644 --- a/old_docs/API_docs_v71/types/InputChannel.md +++ b/old_docs/API_docs_v71/types/InputChannel.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputChannel = '@username'; // Username $InputChannel = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v71/types/InputEncryptedChat.md b/old_docs/API_docs_v71/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v71/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v71/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v71/types/InputEncryptedFile.md b/old_docs/API_docs_v71/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v71/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v71/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v71/types/InputFile.md b/old_docs/API_docs_v71/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v71/types/InputFile.md +++ b/old_docs/API_docs_v71/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v71/types/InputNotifyPeer.md b/old_docs/API_docs_v71/types/InputNotifyPeer.md index ffc1f0cf..f9d0a662 100644 --- a/old_docs/API_docs_v71/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v71/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v71/types/InputPeer.md b/old_docs/API_docs_v71/types/InputPeer.md index 2076c00b..2649db1a 100644 --- a/old_docs/API_docs_v71/types/InputPeer.md +++ b/old_docs/API_docs_v71/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v71/types/InputUser.md b/old_docs/API_docs_v71/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/old_docs/API_docs_v71/types/InputUser.md +++ b/old_docs/API_docs_v71/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v71/types/KeyboardButton.md b/old_docs/API_docs_v71/types/KeyboardButton.md index ac4b9e1e..69f33796 100644 --- a/old_docs/API_docs_v71/types/KeyboardButton.md +++ b/old_docs/API_docs_v71/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/old_docs/API_docs_v71/types/NotifyPeer.md b/old_docs/API_docs_v71/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v71/types/NotifyPeer.md +++ b/old_docs/API_docs_v71/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v71/types/Peer.md b/old_docs/API_docs_v71/types/Peer.md index ebb98e91..0ab7fdcc 100644 --- a/old_docs/API_docs_v71/types/Peer.md +++ b/old_docs/API_docs_v71/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v71/types/PhoneCall.md b/old_docs/API_docs_v71/types/PhoneCall.md index 64d95972..0aa87799 100644 --- a/old_docs/API_docs_v71/types/PhoneCall.md +++ b/old_docs/API_docs_v71/types/PhoneCall.md @@ -159,7 +159,7 @@ The audio configuration is an array structured in the following way: Easy as pie: -``` +```php $call->storage["pony"] = "fluttershy"; \danog\MadelineProto\Logger::log($call->storage["pony"]); // fluttershy ``` @@ -173,7 +173,7 @@ You can only modify the data saving mode, the network type, the logging file pat Example: -``` +```php $call->configuration["log_file_path"] = "logs".$call->getOtherID().".log"; // Default is /dev/null $call->configuration["stats_dump_file_path"] = "stats".$call->getOtherID().".log"; // Default is /dev/null $call->configuration["network_type"] = \danog\MadelineProto\VoIP::NET_TYPE_WIFI; // Default is NET_TYPE_ETHERNET diff --git a/old_docs/API_docs_v71/types/User.md b/old_docs/API_docs_v71/types/User.md index 3abd182f..425c8d2b 100644 --- a/old_docs/API_docs_v71/types/User.md +++ b/old_docs/API_docs_v71/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v72/constructors/accountDaysTTL.md b/old_docs/API_docs_v72/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v72/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v72/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v72/constructors/account_authorizations.md b/old_docs/API_docs_v72/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v72/constructors/account_authorizations.md +++ b/old_docs/API_docs_v72/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v72/constructors/account_noPassword.md b/old_docs/API_docs_v72/constructors/account_noPassword.md index 81a483d6..63a4af6d 100644 --- a/old_docs/API_docs_v72/constructors/account_noPassword.md +++ b/old_docs/API_docs_v72/constructors/account_noPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -33,10 +33,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'emai ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/account_password.md b/old_docs/API_docs_v72/constructors/account_password.md index 9a8b31c6..5c4c334b 100644 --- a/old_docs/API_docs_v72/constructors/account_password.md +++ b/old_docs/API_docs_v72/constructors/account_password.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` @@ -36,10 +36,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v72/constructors/account_passwordInputSettings.md index f474e0c7..b5838f0a 100644 --- a/old_docs/API_docs_v72/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v72/constructors/account_passwordInputSettings.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v72/constructors/account_passwordSettings.md b/old_docs/API_docs_v72/constructors/account_passwordSettings.md index 27d14f59..04fc8621 100644 --- a/old_docs/API_docs_v72/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v72/constructors/account_passwordSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v72/constructors/account_privacyRules.md b/old_docs/API_docs_v72/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v72/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v72/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v72/constructors/account_tmpPassword.md b/old_docs/API_docs_v72/constructors/account_tmpPassword.md index e16b6f3c..90d36e0e 100644 --- a/old_docs/API_docs_v72/constructors/account_tmpPassword.md +++ b/old_docs/API_docs_v72/constructors/account_tmpPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/auth_authorization.md b/old_docs/API_docs_v72/constructors/auth_authorization.md index c8133016..b858e501 100644 --- a/old_docs/API_docs_v72/constructors/auth_authorization.md +++ b/old_docs/API_docs_v72/constructors/auth_authorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/auth_checkedPhone.md b/old_docs/API_docs_v72/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v72/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v72/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v72/constructors/auth_codeTypeCall.md index 6a4f28d1..788a2c37 100644 --- a/old_docs/API_docs_v72/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v72/constructors/auth_codeTypeCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeCall={_='auth.codeTypeCall'} ``` diff --git a/old_docs/API_docs_v72/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v72/constructors/auth_codeTypeFlashCall.md index 2851bf4e..abb65fcf 100644 --- a/old_docs/API_docs_v72/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v72/constructors/auth_codeTypeFlashCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} ``` diff --git a/old_docs/API_docs_v72/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v72/constructors/auth_codeTypeSms.md index 04b78a3d..34b42c95 100644 --- a/old_docs/API_docs_v72/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v72/constructors/auth_codeTypeSms.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeSms={_='auth.codeTypeSms'} ``` diff --git a/old_docs/API_docs_v72/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v72/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v72/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v72/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v72/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v72/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v72/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v72/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v72/constructors/auth_sentCode.md b/old_docs/API_docs_v72/constructors/auth_sentCode.md index 0226e79e..2b3f2017 100644 --- a/old_docs/API_docs_v72/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v72/constructors/auth_sentCode.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; ``` @@ -36,10 +36,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v72/constructors/auth_sentCodeTypeApp.md index eb4f4530..eba1784a 100644 --- a/old_docs/API_docs_v72/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v72/constructors/auth_sentCodeTypeApp.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v72/constructors/auth_sentCodeTypeCall.md index b72a7550..5948ce63 100644 --- a/old_docs/API_docs_v72/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v72/constructors/auth_sentCodeTypeCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v72/constructors/auth_sentCodeTypeFlashCall.md index 2c59cad5..bcc7acf6 100644 --- a/old_docs/API_docs_v72/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v72/constructors/auth_sentCodeTypeFlashCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v72/constructors/auth_sentCodeTypeSms.md index db6858ea..3073333f 100644 --- a/old_docs/API_docs_v72/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v72/constructors/auth_sentCodeTypeSms.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/authorization.md b/old_docs/API_docs_v72/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v72/constructors/authorization.md +++ b/old_docs/API_docs_v72/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v72/constructors/bad_msg_notification.md b/old_docs/API_docs_v72/constructors/bad_msg_notification.md index a9553b26..bf1b9309 100644 --- a/old_docs/API_docs_v72/constructors/bad_msg_notification.md +++ b/old_docs/API_docs_v72/constructors/bad_msg_notification.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int]; ``` @@ -34,10 +34,9 @@ $bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua bad_msg_notification={_='bad_msg_notification', bad_msg_id=long, bad_msg_seqno=int, error_code=int} ``` diff --git a/old_docs/API_docs_v72/constructors/bad_server_salt.md b/old_docs/API_docs_v72/constructors/bad_server_salt.md index 5abce2e0..9eba4882 100644 --- a/old_docs/API_docs_v72/constructors/bad_server_salt.md +++ b/old_docs/API_docs_v72/constructors/bad_server_salt.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, 'new_server_salt' => long]; ``` @@ -35,10 +35,9 @@ $bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seq ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua bad_server_salt={_='bad_server_salt', bad_msg_id=long, bad_msg_seqno=int, error_code=int, new_server_salt=long} ``` diff --git a/old_docs/API_docs_v72/constructors/botCommand.md b/old_docs/API_docs_v72/constructors/botCommand.md index 8569358d..fcb65461 100644 --- a/old_docs/API_docs_v72/constructors/botCommand.md +++ b/old_docs/API_docs_v72/constructors/botCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v72/constructors/botInfo.md b/old_docs/API_docs_v72/constructors/botInfo.md index 507f9f8c..ad88f390 100644 --- a/old_docs/API_docs_v72/constructors/botInfo.md +++ b/old_docs/API_docs_v72/constructors/botInfo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v72/constructors/botInlineMediaResult.md b/old_docs/API_docs_v72/constructors/botInlineMediaResult.md index 43454784..0131af98 100644 --- a/old_docs/API_docs_v72/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v72/constructors/botInlineMediaResult.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` @@ -38,10 +38,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v72/constructors/botInlineMessageMediaAuto.md index 71557e0c..89ef07e4 100644 --- a/old_docs/API_docs_v72/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v72/constructors/botInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v72/constructors/botInlineMessageMediaContact.md b/old_docs/API_docs_v72/constructors/botInlineMessageMediaContact.md index c3f25947..771472fa 100644 --- a/old_docs/API_docs_v72/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v72/constructors/botInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v72/constructors/botInlineMessageMediaGeo.md b/old_docs/API_docs_v72/constructors/botInlineMessageMediaGeo.md index 996ded36..d68db150 100644 --- a/old_docs/API_docs_v72/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v72/constructors/botInlineMessageMediaGeo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'period' => int, 'reply_markup' => ReplyMarkup]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/botInlineMessageMediaVenue.md b/old_docs/API_docs_v72/constructors/botInlineMessageMediaVenue.md index 4795ba75..8108a37c 100644 --- a/old_docs/API_docs_v72/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v72/constructors/botInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v72/constructors/botInlineMessageText.md b/old_docs/API_docs_v72/constructors/botInlineMessageText.md index 4a274d28..b3fa92ed 100644 --- a/old_docs/API_docs_v72/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v72/constructors/botInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/botInlineResult.md b/old_docs/API_docs_v72/constructors/botInlineResult.md index c7abbd71..8b6ead75 100644 --- a/old_docs/API_docs_v72/constructors/botInlineResult.md +++ b/old_docs/API_docs_v72/constructors/botInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` @@ -43,10 +43,9 @@ $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_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v72/constructors/cdnConfig.md b/old_docs/API_docs_v72/constructors/cdnConfig.md index 3df3585d..6487cf42 100644 --- a/old_docs/API_docs_v72/constructors/cdnConfig.md +++ b/old_docs/API_docs_v72/constructors/cdnConfig.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]]; ``` @@ -32,10 +32,9 @@ $cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}} ``` diff --git a/old_docs/API_docs_v72/constructors/cdnFileHash.md b/old_docs/API_docs_v72/constructors/cdnFileHash.md index 0806a8ad..c19c8a16 100644 --- a/old_docs/API_docs_v72/constructors/cdnFileHash.md +++ b/old_docs/API_docs_v72/constructors/cdnFileHash.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnFileHash = ['_' => 'cdnFileHash', 'offset' => int, 'limit' => int, 'hash' => 'bytes']; ``` @@ -34,10 +34,9 @@ $cdnFileHash = ['_' => 'cdnFileHash', 'offset' => int, 'limit' => int, 'hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua cdnFileHash={_='cdnFileHash', offset=int, limit=int, hash='bytes'} ``` diff --git a/old_docs/API_docs_v72/constructors/cdnPublicKey.md b/old_docs/API_docs_v72/constructors/cdnPublicKey.md index 78ec2a83..2277ee59 100644 --- a/old_docs/API_docs_v72/constructors/cdnPublicKey.md +++ b/old_docs/API_docs_v72/constructors/cdnPublicKey.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v72/constructors/channel.md b/old_docs/API_docs_v72/constructors/channel.md index 99611a6e..2970225d 100644 --- a/old_docs/API_docs_v72/constructors/channel.md +++ b/old_docs/API_docs_v72/constructors/channel.md @@ -40,7 +40,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -51,10 +51,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/channelAdminLogEvent.md b/old_docs/API_docs_v72/constructors/channelAdminLogEvent.md index f48cb8db..5a939425 100644 --- a/old_docs/API_docs_v72/constructors/channelAdminLogEvent.md +++ b/old_docs/API_docs_v72/constructors/channelAdminLogEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEvent = ['_' => 'channelAdminLogEvent', 'id' => long, 'date' => int, 'user_id' => int, 'action' => ChannelAdminLogEventAction]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionChangeAbout.md b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionChangeAbout.md index ebec258a..aef21894 100644 --- a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionChangeAbout.md +++ b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionChangeAbout.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChangeAbout', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeAbout={_='channelAdminLogEventActionChangeAbout', prev_value='string', new_value='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionChangePhoto.md b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionChangePhoto.md index 7c687202..7c38537e 100644 --- a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionChangePhoto.md +++ b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionChangePhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChangePhoto', 'prev_photo' => ChatPhoto, 'new_photo' => ChatPhoto]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangePhoto={_='channelAdminLogEventActionChangePhoto', prev_photo=ChatPhoto, new_photo=ChatPhoto} ``` diff --git a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionChangeStickerSet.md b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionChangeStickerSet.md index 74a2d4d4..74f7d943 100644 --- a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionChangeStickerSet.md +++ b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionChangeStickerSet.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeStickerSet = ['_' => 'channelAdminLogEventActionChangeStickerSet', 'prev_stickerset' => InputStickerSet, 'new_stickerset' => InputStickerSet]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeStickerSet = ['_' => 'channelAdminLogEventActio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeStickerSet={_='channelAdminLogEventActionChangeStickerSet', prev_stickerset=InputStickerSet, new_stickerset=InputStickerSet} ``` diff --git a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionChangeTitle.md b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionChangeTitle.md index dbf4ca87..ab2d88ef 100644 --- a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionChangeTitle.md +++ b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionChangeTitle.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChangeTitle', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeTitle={_='channelAdminLogEventActionChangeTitle', prev_value='string', new_value='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionChangeUsername.md b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionChangeUsername.md index 8a48ba97..d0016c2b 100644 --- a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionChangeUsername.md +++ b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionChangeUsername.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionChangeUsername', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionC ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeUsername={_='channelAdminLogEventActionChangeUsername', prev_value='string', new_value='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionDeleteMessage.md b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionDeleteMessage.md index e6ffe7f5..3af17f94 100644 --- a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionDeleteMessage.md +++ b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionDeleteMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDeleteMessage', 'message' => Message]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionDeleteMessage={_='channelAdminLogEventActionDeleteMessage', message=Message} ``` diff --git a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionEditMessage.md b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionEditMessage.md index 67b7a176..66e5de48 100644 --- a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionEditMessage.md +++ b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionEditMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEditMessage', 'prev_message' => Message, 'new_message' => Message]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEdit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionEditMessage={_='channelAdminLogEventActionEditMessage', prev_message=Message, new_message=Message} ``` diff --git a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionParticipantInvite.md b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionParticipantInvite.md index 260a3346..82029fee 100644 --- a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionParticipantInvite.md +++ b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionParticipantInvite.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActionParticipantInvite', 'participant' => ChannelParticipant]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActi ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantInvite={_='channelAdminLogEventActionParticipantInvite', participant=ChannelParticipant} ``` diff --git a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionParticipantJoin.md b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionParticipantJoin.md index 9f59031b..4c8ca622 100644 --- a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionParticipantJoin.md +++ b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionParticipantJoin.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventActionParticipantJoin']; ``` @@ -27,10 +27,9 @@ $channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventAction ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantJoin={_='channelAdminLogEventActionParticipantJoin'} ``` diff --git a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionParticipantLeave.md b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionParticipantLeave.md index 03328132..dde98f82 100644 --- a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionParticipantLeave.md +++ b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionParticipantLeave.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActionParticipantLeave']; ``` @@ -27,10 +27,9 @@ $channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantLeave={_='channelAdminLogEventActionParticipantLeave'} ``` diff --git a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionParticipantToggleAdmin.md b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionParticipantToggleAdmin.md index b570076b..053db714 100644 --- a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionParticipantToggleAdmin.md +++ b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionParticipantToggleAdmin.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEventActionParticipantToggleAdmin', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEven ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantToggleAdmin={_='channelAdminLogEventActionParticipantToggleAdmin', prev_participant=ChannelParticipant, new_participant=ChannelParticipant} ``` diff --git a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionParticipantToggleBan.md b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionParticipantToggleBan.md index ef119daa..5321e678 100644 --- a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionParticipantToggleBan.md +++ b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionParticipantToggleBan.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventActionParticipantToggleBan', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventA ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantToggleBan={_='channelAdminLogEventActionParticipantToggleBan', prev_participant=ChannelParticipant, new_participant=ChannelParticipant} ``` diff --git a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionToggleInvites.md b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionToggleInvites.md index 5a25a689..47ba2358 100644 --- a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionToggleInvites.md +++ b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionToggleInvites.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionToggleInvites', 'new_value' => Bool]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionTo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionToggleInvites={_='channelAdminLogEventActionToggleInvites', new_value=Bool} ``` diff --git a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionTogglePreHistoryHidden.md b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionTogglePreHistoryHidden.md index c0b8bfce..95ed7b5b 100644 --- a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionTogglePreHistoryHidden.md +++ b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionTogglePreHistoryHidden.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionTogglePreHistoryHidden = ['_' => 'channelAdminLogEventActionTogglePreHistoryHidden', 'new_value' => Bool]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionTogglePreHistoryHidden = ['_' => 'channelAdminLogEven ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionTogglePreHistoryHidden={_='channelAdminLogEventActionTogglePreHistoryHidden', new_value=Bool} ``` diff --git a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionToggleSignatures.md b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionToggleSignatures.md index e7119bb6..ad529669 100644 --- a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionToggleSignatures.md +++ b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionToggleSignatures.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActionToggleSignatures', 'new_value' => Bool]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionToggleSignatures={_='channelAdminLogEventActionToggleSignatures', new_value=Bool} ``` diff --git a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionUpdatePinned.md b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionUpdatePinned.md index de066195..2facbac2 100644 --- a/old_docs/API_docs_v72/constructors/channelAdminLogEventActionUpdatePinned.md +++ b/old_docs/API_docs_v72/constructors/channelAdminLogEventActionUpdatePinned.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpdatePinned', 'message' => Message]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionUpdatePinned={_='channelAdminLogEventActionUpdatePinned', message=Message} ``` diff --git a/old_docs/API_docs_v72/constructors/channelAdminLogEventsFilter.md b/old_docs/API_docs_v72/constructors/channelAdminLogEventsFilter.md index 04ece393..db2f4ee8 100644 --- a/old_docs/API_docs_v72/constructors/channelAdminLogEventsFilter.md +++ b/old_docs/API_docs_v72/constructors/channelAdminLogEventsFilter.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -45,10 +45,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/channelAdminRights.md b/old_docs/API_docs_v72/constructors/channelAdminRights.md index 88cb5969..f3204317 100644 --- a/old_docs/API_docs_v72/constructors/channelAdminRights.md +++ b/old_docs/API_docs_v72/constructors/channelAdminRights.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -40,10 +40,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/channelBannedRights.md b/old_docs/API_docs_v72/constructors/channelBannedRights.md index 13dde648..f2ae995f 100644 --- a/old_docs/API_docs_v72/constructors/channelBannedRights.md +++ b/old_docs/API_docs_v72/constructors/channelBannedRights.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -40,10 +40,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/channelForbidden.md b/old_docs/API_docs_v72/constructors/channelForbidden.md index 00b4cbbe..0bccd01f 100644 --- a/old_docs/API_docs_v72/constructors/channelForbidden.md +++ b/old_docs/API_docs_v72/constructors/channelForbidden.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'until_date' => int]; ``` @@ -37,10 +37,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/channelFull.md b/old_docs/API_docs_v72/constructors/channelFull.md index 304660de..2e757a5b 100644 --- a/old_docs/API_docs_v72/constructors/channelFull.md +++ b/old_docs/API_docs_v72/constructors/channelFull.md @@ -42,7 +42,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, 'stickerset' => StickerSet, 'available_min_id' => int]; ``` @@ -53,10 +53,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/channelMessagesFilter.md b/old_docs/API_docs_v72/constructors/channelMessagesFilter.md index b19d3151..1b953ba3 100644 --- a/old_docs/API_docs_v72/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v72/constructors/channelMessagesFilter.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v72/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v72/constructors/channelMessagesFilterEmpty.md index 350e50de..a446b896 100644 --- a/old_docs/API_docs_v72/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v72/constructors/channelMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/channelParticipant.md b/old_docs/API_docs_v72/constructors/channelParticipant.md index c7de5400..dbcb792b 100644 --- a/old_docs/API_docs_v72/constructors/channelParticipant.md +++ b/old_docs/API_docs_v72/constructors/channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/channelParticipantAdmin.md b/old_docs/API_docs_v72/constructors/channelParticipantAdmin.md index 95ef84e9..73f4e2ab 100644 --- a/old_docs/API_docs_v72/constructors/channelParticipantAdmin.md +++ b/old_docs/API_docs_v72/constructors/channelParticipantAdmin.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantAdmin = ['_' => 'channelParticipantAdmin', 'can_edit' => Bool, 'user_id' => int, 'inviter_id' => int, 'promoted_by' => int, 'date' => int, 'admin_rights' => ChannelAdminRights]; ``` @@ -37,10 +37,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/channelParticipantBanned.md b/old_docs/API_docs_v72/constructors/channelParticipantBanned.md index be3be304..171f76d9 100644 --- a/old_docs/API_docs_v72/constructors/channelParticipantBanned.md +++ b/old_docs/API_docs_v72/constructors/channelParticipantBanned.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantBanned = ['_' => 'channelParticipantBanned', 'left' => Bool, 'user_id' => int, 'kicked_by' => int, 'date' => int, 'banned_rights' => ChannelBannedRights]; ``` @@ -36,10 +36,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/channelParticipantCreator.md b/old_docs/API_docs_v72/constructors/channelParticipantCreator.md index 86cafe0a..e999fb9c 100644 --- a/old_docs/API_docs_v72/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v72/constructors/channelParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantCreator={_='channelParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/channelParticipantSelf.md b/old_docs/API_docs_v72/constructors/channelParticipantSelf.md index 83864972..4b5949ac 100644 --- a/old_docs/API_docs_v72/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v72/constructors/channelParticipantSelf.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v72/constructors/channelParticipantsAdmins.md index c86cb9a4..4b0c30d4 100644 --- a/old_docs/API_docs_v72/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v72/constructors/channelParticipantsAdmins.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` @@ -27,10 +27,9 @@ $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v72/constructors/channelParticipantsBanned.md b/old_docs/API_docs_v72/constructors/channelParticipantsBanned.md index 75a86f75..7f956691 100644 --- a/old_docs/API_docs_v72/constructors/channelParticipantsBanned.md +++ b/old_docs/API_docs_v72/constructors/channelParticipantsBanned.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBanned={_='channelParticipantsBanned', q='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/channelParticipantsBots.md b/old_docs/API_docs_v72/constructors/channelParticipantsBots.md index 30875f94..66e510c7 100644 --- a/old_docs/API_docs_v72/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v72/constructors/channelParticipantsBots.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` @@ -27,10 +27,9 @@ $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v72/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v72/constructors/channelParticipantsKicked.md index fba5808a..7a985ca9 100644 --- a/old_docs/API_docs_v72/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v72/constructors/channelParticipantsKicked.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsKicked={_='channelParticipantsKicked', q='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v72/constructors/channelParticipantsRecent.md index e4cb6466..51e57069 100644 --- a/old_docs/API_docs_v72/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v72/constructors/channelParticipantsRecent.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` @@ -27,10 +27,9 @@ $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v72/constructors/channelParticipantsSearch.md b/old_docs/API_docs_v72/constructors/channelParticipantsSearch.md index 727a7279..9e2d3e7f 100644 --- a/old_docs/API_docs_v72/constructors/channelParticipantsSearch.md +++ b/old_docs/API_docs_v72/constructors/channelParticipantsSearch.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsSearch={_='channelParticipantsSearch', q='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/channels_adminLogResults.md b/old_docs/API_docs_v72/constructors/channels_adminLogResults.md index bd652b78..5a76ce73 100644 --- a/old_docs/API_docs_v72/constructors/channels_adminLogResults.md +++ b/old_docs/API_docs_v72/constructors/channels_adminLogResults.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v72/constructors/channels_channelParticipant.md b/old_docs/API_docs_v72/constructors/channels_channelParticipant.md index bdf27b08..107502c5 100644 --- a/old_docs/API_docs_v72/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v72/constructors/channels_channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v72/constructors/channels_channelParticipants.md b/old_docs/API_docs_v72/constructors/channels_channelParticipants.md index 1b76b1e0..0402423f 100644 --- a/old_docs/API_docs_v72/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v72/constructors/channels_channelParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v72/constructors/channels_channelParticipantsNotModified.md b/old_docs/API_docs_v72/constructors/channels_channelParticipantsNotModified.md index f3794494..d476a9f6 100644 --- a/old_docs/API_docs_v72/constructors/channels_channelParticipantsNotModified.md +++ b/old_docs/API_docs_v72/constructors/channels_channelParticipantsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; ``` @@ -27,10 +27,9 @@ $channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipants ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} ``` diff --git a/old_docs/API_docs_v72/constructors/chat.md b/old_docs/API_docs_v72/constructors/chat.md index 5ae1811d..b6f24f3e 100644 --- a/old_docs/API_docs_v72/constructors/chat.md +++ b/old_docs/API_docs_v72/constructors/chat.md @@ -33,7 +33,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -44,10 +44,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/chatEmpty.md b/old_docs/API_docs_v72/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v72/constructors/chatEmpty.md +++ b/old_docs/API_docs_v72/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/chatForbidden.md b/old_docs/API_docs_v72/constructors/chatForbidden.md index de5bb302..61c45660 100644 --- a/old_docs/API_docs_v72/constructors/chatForbidden.md +++ b/old_docs/API_docs_v72/constructors/chatForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v72/constructors/chatFull.md b/old_docs/API_docs_v72/constructors/chatFull.md index 6e138596..2a5f67f6 100644 --- a/old_docs/API_docs_v72/constructors/chatFull.md +++ b/old_docs/API_docs_v72/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v72/constructors/chatInvite.md b/old_docs/API_docs_v72/constructors/chatInvite.md index c0f14de6..54027d67 100644 --- a/old_docs/API_docs_v72/constructors/chatInvite.md +++ b/old_docs/API_docs_v72/constructors/chatInvite.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User, User]]; ``` @@ -39,10 +39,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v72/constructors/chatInviteAlready.md b/old_docs/API_docs_v72/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/old_docs/API_docs_v72/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v72/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/old_docs/API_docs_v72/constructors/chatInviteEmpty.md b/old_docs/API_docs_v72/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/old_docs/API_docs_v72/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v72/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/chatInviteExported.md b/old_docs/API_docs_v72/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/old_docs/API_docs_v72/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v72/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/chatParticipant.md b/old_docs/API_docs_v72/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v72/constructors/chatParticipant.md +++ b/old_docs/API_docs_v72/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v72/constructors/chatParticipantAdmin.md index 62aee9a4..63a38575 100644 --- a/old_docs/API_docs_v72/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v72/constructors/chatParticipantAdmin.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/chatParticipantCreator.md b/old_docs/API_docs_v72/constructors/chatParticipantCreator.md index 0fb7b6ef..75b9c4d4 100644 --- a/old_docs/API_docs_v72/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v72/constructors/chatParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantCreator={_='chatParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/chatParticipants.md b/old_docs/API_docs_v72/constructors/chatParticipants.md index 38af2ca5..ae254290 100644 --- a/old_docs/API_docs_v72/constructors/chatParticipants.md +++ b/old_docs/API_docs_v72/constructors/chatParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v72/constructors/chatParticipantsForbidden.md index 2ecdfe10..639b30ee 100644 --- a/old_docs/API_docs_v72/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v72/constructors/chatParticipantsForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/chatPhoto.md b/old_docs/API_docs_v72/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v72/constructors/chatPhoto.md +++ b/old_docs/API_docs_v72/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v72/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v72/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v72/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/client_DH_inner_data.md b/old_docs/API_docs_v72/constructors/client_DH_inner_data.md index 6ea505c8..d888f8be 100644 --- a/old_docs/API_docs_v72/constructors/client_DH_inner_data.md +++ b/old_docs/API_docs_v72/constructors/client_DH_inner_data.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'retry_id' => long, 'g_b' => 'string']; ``` @@ -35,10 +35,9 @@ $client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'serv ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua client_DH_inner_data={_='client_DH_inner_data', nonce=int128, server_nonce=int128, retry_id=long, g_b='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/config.md b/old_docs/API_docs_v72/constructors/config.md index dd9f3783..d96b1e7b 100644 --- a/old_docs/API_docs_v72/constructors/config.md +++ b/old_docs/API_docs_v72/constructors/config.md @@ -54,7 +54,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'stickers_faved_limit' => int, 'channels_read_media_period' => int, 'tmp_sessions' => int, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'me_url_prefix' => 'string', 'suggested_lang_code' => 'string', 'lang_pack_version' => int, 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -65,10 +65,9 @@ $config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'date' => int, 'expire ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua config={_='config', phonecalls_enabled=Bool, date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, stickers_faved_limit=int, channels_read_media_period=int, tmp_sessions=int, pinned_dialogs_count_max=int, call_receive_timeout_ms=int, call_ring_timeout_ms=int, call_connect_timeout_ms=int, call_packet_timeout_ms=int, me_url_prefix='string', suggested_lang_code='string', lang_pack_version=int, disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v72/constructors/contact.md b/old_docs/API_docs_v72/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v72/constructors/contact.md +++ b/old_docs/API_docs_v72/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/contactBlocked.md b/old_docs/API_docs_v72/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v72/constructors/contactBlocked.md +++ b/old_docs/API_docs_v72/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/contactLinkContact.md b/old_docs/API_docs_v72/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v72/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v72/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v72/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v72/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v72/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v72/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v72/constructors/contactLinkNone.md b/old_docs/API_docs_v72/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v72/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v72/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v72/constructors/contactLinkUnknown.md b/old_docs/API_docs_v72/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v72/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v72/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v72/constructors/contactStatus.md b/old_docs/API_docs_v72/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v72/constructors/contactStatus.md +++ b/old_docs/API_docs_v72/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v72/constructors/contacts_blocked.md b/old_docs/API_docs_v72/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v72/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v72/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v72/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v72/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v72/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/contacts_contacts.md b/old_docs/API_docs_v72/constructors/contacts_contacts.md index 542bf62b..7f923ef5 100644 --- a/old_docs/API_docs_v72/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v72/constructors/contacts_contacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v72/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v72/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v72/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v72/constructors/contacts_found.md b/old_docs/API_docs_v72/constructors/contacts_found.md index 7e0e458c..624fa475 100644 --- a/old_docs/API_docs_v72/constructors/contacts_found.md +++ b/old_docs/API_docs_v72/constructors/contacts_found.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/contacts_importedContacts.md b/old_docs/API_docs_v72/constructors/contacts_importedContacts.md index fdc042d2..250deb52 100644 --- a/old_docs/API_docs_v72/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v72/constructors/contacts_importedContacts.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/contacts_link.md b/old_docs/API_docs_v72/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v72/constructors/contacts_link.md +++ b/old_docs/API_docs_v72/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v72/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v72/constructors/contacts_resolvedPeer.md index add29235..4aa323dd 100644 --- a/old_docs/API_docs_v72/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v72/constructors/contacts_resolvedPeer.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/contacts_topPeers.md b/old_docs/API_docs_v72/constructors/contacts_topPeers.md index 8777bff2..e4728594 100644 --- a/old_docs/API_docs_v72/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v72/constructors/contacts_topPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCatego ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v72/constructors/contacts_topPeersNotModified.md index 3aa2236a..7ec0114a 100644 --- a/old_docs/API_docs_v72/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v72/constructors/contacts_topPeersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeersNotModified={_='contacts.topPeersNotModified'} ``` diff --git a/old_docs/API_docs_v72/constructors/dataJSON.md b/old_docs/API_docs_v72/constructors/dataJSON.md index c49ec0c0..a6555aea 100644 --- a/old_docs/API_docs_v72/constructors/dataJSON.md +++ b/old_docs/API_docs_v72/constructors/dataJSON.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` @@ -32,10 +32,9 @@ $dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dataJSON={_='dataJSON', data='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/dcOption.md b/old_docs/API_docs_v72/constructors/dcOption.md index d1b1f2ef..75146eef 100644 --- a/old_docs/API_docs_v72/constructors/dcOption.md +++ b/old_docs/API_docs_v72/constructors/dcOption.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'cdn' => Bool, 'static' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` @@ -39,10 +39,9 @@ $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, cdn=Bool, static=Bool, id=int, ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v72/constructors/destroy_auth_key_fail.md b/old_docs/API_docs_v72/constructors/destroy_auth_key_fail.md index 08f2aa59..4beb933f 100644 --- a/old_docs/API_docs_v72/constructors/destroy_auth_key_fail.md +++ b/old_docs/API_docs_v72/constructors/destroy_auth_key_fail.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail']; ``` @@ -27,10 +27,9 @@ $destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_auth_key_fail={_='destroy_auth_key_fail'} ``` diff --git a/old_docs/API_docs_v72/constructors/destroy_auth_key_none.md b/old_docs/API_docs_v72/constructors/destroy_auth_key_none.md index 1656ed53..301bbf37 100644 --- a/old_docs/API_docs_v72/constructors/destroy_auth_key_none.md +++ b/old_docs/API_docs_v72/constructors/destroy_auth_key_none.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_auth_key_none = ['_' => 'destroy_auth_key_none']; ``` @@ -27,10 +27,9 @@ $destroy_auth_key_none = ['_' => 'destroy_auth_key_none']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_auth_key_none={_='destroy_auth_key_none'} ``` diff --git a/old_docs/API_docs_v72/constructors/destroy_auth_key_ok.md b/old_docs/API_docs_v72/constructors/destroy_auth_key_ok.md index 944521fb..19f56968 100644 --- a/old_docs/API_docs_v72/constructors/destroy_auth_key_ok.md +++ b/old_docs/API_docs_v72/constructors/destroy_auth_key_ok.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok']; ``` @@ -27,10 +27,9 @@ $destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_auth_key_ok={_='destroy_auth_key_ok'} ``` diff --git a/old_docs/API_docs_v72/constructors/destroy_session_none.md b/old_docs/API_docs_v72/constructors/destroy_session_none.md index e20d06f5..470a0de8 100644 --- a/old_docs/API_docs_v72/constructors/destroy_session_none.md +++ b/old_docs/API_docs_v72/constructors/destroy_session_none.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long]; ``` @@ -32,10 +32,9 @@ $destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_session_none={_='destroy_session_none', session_id=long} ``` diff --git a/old_docs/API_docs_v72/constructors/destroy_session_ok.md b/old_docs/API_docs_v72/constructors/destroy_session_ok.md index f5d8cd19..c98a804d 100644 --- a/old_docs/API_docs_v72/constructors/destroy_session_ok.md +++ b/old_docs/API_docs_v72/constructors/destroy_session_ok.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long]; ``` @@ -32,10 +32,9 @@ $destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua destroy_session_ok={_='destroy_session_ok', session_id=long} ``` diff --git a/old_docs/API_docs_v72/constructors/dh_gen_fail.md b/old_docs/API_docs_v72/constructors/dh_gen_fail.md index 28fb6771..87d4a34b 100644 --- a/old_docs/API_docs_v72/constructors/dh_gen_fail.md +++ b/old_docs/API_docs_v72/constructors/dh_gen_fail.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash3' => int128]; ``` @@ -34,10 +34,9 @@ $dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int12 ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dh_gen_fail={_='dh_gen_fail', nonce=int128, server_nonce=int128, new_nonce_hash3=int128} ``` diff --git a/old_docs/API_docs_v72/constructors/dh_gen_ok.md b/old_docs/API_docs_v72/constructors/dh_gen_ok.md index 6b9723d9..2a058971 100644 --- a/old_docs/API_docs_v72/constructors/dh_gen_ok.md +++ b/old_docs/API_docs_v72/constructors/dh_gen_ok.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash1' => int128]; ``` @@ -34,10 +34,9 @@ $dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dh_gen_ok={_='dh_gen_ok', nonce=int128, server_nonce=int128, new_nonce_hash1=int128} ``` diff --git a/old_docs/API_docs_v72/constructors/dh_gen_retry.md b/old_docs/API_docs_v72/constructors/dh_gen_retry.md index 736c54f4..ab31de74 100644 --- a/old_docs/API_docs_v72/constructors/dh_gen_retry.md +++ b/old_docs/API_docs_v72/constructors/dh_gen_retry.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash2' => int128]; ``` @@ -34,10 +34,9 @@ $dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dh_gen_retry={_='dh_gen_retry', nonce=int128, server_nonce=int128, new_nonce_hash2=int128} ``` diff --git a/old_docs/API_docs_v72/constructors/dialog.md b/old_docs/API_docs_v72/constructors/dialog.md index 9b8b4af4..f4b8163c 100644 --- a/old_docs/API_docs_v72/constructors/dialog.md +++ b/old_docs/API_docs_v72/constructors/dialog.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'pinned' => Bool, 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage]; ``` @@ -41,10 +41,9 @@ $dialog = ['_' => 'dialog', 'pinned' => Bool, 'peer' => Peer, 'top_message' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', pinned=Bool, peer=Peer, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, notify_settings=PeerNotifySettings, pts=int, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v72/constructors/disabledFeature.md b/old_docs/API_docs_v72/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v72/constructors/disabledFeature.md +++ b/old_docs/API_docs_v72/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/document.md b/old_docs/API_docs_v72/constructors/document.md index 1a0f1fc1..58c44a23 100644 --- a/old_docs/API_docs_v72/constructors/document.md +++ b/old_docs/API_docs_v72/constructors/document.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -40,10 +40,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, version=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v72/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v72/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v72/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v72/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v72/constructors/documentAttributeAudio.md b/old_docs/API_docs_v72/constructors/documentAttributeAudio.md index 0dc5decc..f427a05c 100644 --- a/old_docs/API_docs_v72/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v72/constructors/documentAttributeAudio.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` @@ -36,10 +36,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'du ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title='string', performer='string', waveform='bytes'} ``` diff --git a/old_docs/API_docs_v72/constructors/documentAttributeFilename.md b/old_docs/API_docs_v72/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v72/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v72/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/documentAttributeHasStickers.md b/old_docs/API_docs_v72/constructors/documentAttributeHasStickers.md index fff783df..90c58e35 100644 --- a/old_docs/API_docs_v72/constructors/documentAttributeHasStickers.md +++ b/old_docs/API_docs_v72/constructors/documentAttributeHasStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` @@ -27,10 +27,9 @@ $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeHasStickers={_='documentAttributeHasStickers'} ``` diff --git a/old_docs/API_docs_v72/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v72/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v72/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v72/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v72/constructors/documentAttributeSticker.md b/old_docs/API_docs_v72/constructors/documentAttributeSticker.md index ba5243fb..b200f7f0 100644 --- a/old_docs/API_docs_v72/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v72/constructors/documentAttributeSticker.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => 'string', 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords]; ``` @@ -35,10 +35,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', mask=Bool, alt='string', stickerset=InputStickerSet, mask_coords=MaskCoords} ``` diff --git a/old_docs/API_docs_v72/constructors/documentAttributeVideo.md b/old_docs/API_docs_v72/constructors/documentAttributeVideo.md index 21f4580a..bd43440e 100644 --- a/old_docs/API_docs_v72/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v72/constructors/documentAttributeVideo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -35,10 +35,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', round_message=Bool, duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v72/constructors/documentEmpty.md b/old_docs/API_docs_v72/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v72/constructors/documentEmpty.md +++ b/old_docs/API_docs_v72/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v72/constructors/draftMessage.md b/old_docs/API_docs_v72/constructors/draftMessage.md index 370ffaef..ecec69a1 100644 --- a/old_docs/API_docs_v72/constructors/draftMessage.md +++ b/old_docs/API_docs_v72/constructors/draftMessage.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'date' => int]; ``` @@ -36,10 +36,9 @@ $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message='string', entities={MessageEntity}, date=int} ``` diff --git a/old_docs/API_docs_v72/constructors/draftMessageEmpty.md b/old_docs/API_docs_v72/constructors/draftMessageEmpty.md index 15b2aa67..65902a71 100644 --- a/old_docs/API_docs_v72/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v72/constructors/draftMessageEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` @@ -27,10 +27,9 @@ $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessageEmpty={_='draftMessageEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/encryptedChat.md b/old_docs/API_docs_v72/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v72/constructors/encryptedChat.md +++ b/old_docs/API_docs_v72/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v72/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v72/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v72/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v72/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v72/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v72/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v72/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/encryptedChatRequested.md b/old_docs/API_docs_v72/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v72/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v72/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v72/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v72/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v72/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v72/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/encryptedFile.md b/old_docs/API_docs_v72/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v72/constructors/encryptedFile.md +++ b/old_docs/API_docs_v72/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v72/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v72/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v72/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v72/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/encryptedMessage.md b/old_docs/API_docs_v72/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v72/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v72/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v72/constructors/encryptedMessageService.md b/old_docs/API_docs_v72/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v72/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v72/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v72/constructors/error.md b/old_docs/API_docs_v72/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v72/constructors/error.md +++ b/old_docs/API_docs_v72/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/exportedMessageLink.md b/old_docs/API_docs_v72/constructors/exportedMessageLink.md index 423c9fa3..9db8d71a 100644 --- a/old_docs/API_docs_v72/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v72/constructors/exportedMessageLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua exportedMessageLink={_='exportedMessageLink', link='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/fileLocation.md b/old_docs/API_docs_v72/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v72/constructors/fileLocation.md +++ b/old_docs/API_docs_v72/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v72/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v72/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v72/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v72/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v72/constructors/foundGif.md b/old_docs/API_docs_v72/constructors/foundGif.md index d8ee3695..c2f0ce33 100644 --- a/old_docs/API_docs_v72/constructors/foundGif.md +++ b/old_docs/API_docs_v72/constructors/foundGif.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` @@ -37,10 +37,9 @@ $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'con ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGif={_='foundGif', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int} ``` diff --git a/old_docs/API_docs_v72/constructors/foundGifCached.md b/old_docs/API_docs_v72/constructors/foundGifCached.md index e4a1a552..03e67917 100644 --- a/old_docs/API_docs_v72/constructors/foundGifCached.md +++ b/old_docs/API_docs_v72/constructors/foundGifCached.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -34,10 +34,9 @@ $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGifCached={_='foundGifCached', url='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v72/constructors/future_salt.md b/old_docs/API_docs_v72/constructors/future_salt.md index de2832c4..b5dd02ed 100644 --- a/old_docs/API_docs_v72/constructors/future_salt.md +++ b/old_docs/API_docs_v72/constructors/future_salt.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int, 'salt' => long]; ``` @@ -34,10 +34,9 @@ $future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua future_salt={_='future_salt', valid_since=int, valid_until=int, salt=long} ``` diff --git a/old_docs/API_docs_v72/constructors/future_salts.md b/old_docs/API_docs_v72/constructors/future_salts.md index 811c668a..86251b37 100644 --- a/old_docs/API_docs_v72/constructors/future_salts.md +++ b/old_docs/API_docs_v72/constructors/future_salts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'salts' => [future_salt, future_salt]]; ``` @@ -34,10 +34,9 @@ $future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'sal ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua future_salts={_='future_salts', req_msg_id=long, now=int, salts={future_salt}} ``` diff --git a/old_docs/API_docs_v72/constructors/game.md b/old_docs/API_docs_v72/constructors/game.md index 790fbeeb..088ca95e 100644 --- a/old_docs/API_docs_v72/constructors/game.md +++ b/old_docs/API_docs_v72/constructors/game.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -38,10 +38,9 @@ $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua game={_='game', id=long, access_hash=long, short_name='string', title='string', description='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v72/constructors/geoPoint.md b/old_docs/API_docs_v72/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v72/constructors/geoPoint.md +++ b/old_docs/API_docs_v72/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v72/constructors/geoPointEmpty.md b/old_docs/API_docs_v72/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v72/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v72/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/help_appUpdate.md b/old_docs/API_docs_v72/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v72/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v72/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/help_configSimple.md b/old_docs/API_docs_v72/constructors/help_configSimple.md index 5c87af29..b3951e5b 100644 --- a/old_docs/API_docs_v72/constructors/help_configSimple.md +++ b/old_docs/API_docs_v72/constructors/help_configSimple.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'dc_id' => int, 'ip_port_list' => [ipPort, ipPort]]; ``` @@ -35,10 +35,9 @@ $help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_configSimple={_='help.configSimple', date=int, expires=int, dc_id=int, ip_port_list={ipPort}} ``` diff --git a/old_docs/API_docs_v72/constructors/help_inviteText.md b/old_docs/API_docs_v72/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v72/constructors/help_inviteText.md +++ b/old_docs/API_docs_v72/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/help_noAppUpdate.md b/old_docs/API_docs_v72/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v72/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v72/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v72/constructors/help_recentMeUrls.md b/old_docs/API_docs_v72/constructors/help_recentMeUrls.md index 4fa513b5..986fa1e7 100644 --- a/old_docs/API_docs_v72/constructors/help_recentMeUrls.md +++ b/old_docs/API_docs_v72/constructors/help_recentMeUrls.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, Recent ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/help_support.md b/old_docs/API_docs_v72/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v72/constructors/help_support.md +++ b/old_docs/API_docs_v72/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v72/constructors/help_termsOfService.md b/old_docs/API_docs_v72/constructors/help_termsOfService.md index 8e558bed..ec7a8121 100644 --- a/old_docs/API_docs_v72/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v72/constructors/help_termsOfService.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_termsOfService={_='help.termsOfService', text='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/highScore.md b/old_docs/API_docs_v72/constructors/highScore.md index 63a8ab05..265c0487 100644 --- a/old_docs/API_docs_v72/constructors/highScore.md +++ b/old_docs/API_docs_v72/constructors/highScore.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int]; ``` @@ -34,10 +34,9 @@ $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua highScore={_='highScore', pos=int, user_id=int, score=int} ``` diff --git a/old_docs/API_docs_v72/constructors/http_wait.md b/old_docs/API_docs_v72/constructors/http_wait.md index 08447425..b5db251e 100644 --- a/old_docs/API_docs_v72/constructors/http_wait.md +++ b/old_docs/API_docs_v72/constructors/http_wait.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $http_wait = ['_' => 'http_wait', 'max_delay' => int, 'wait_after' => int, 'max_wait' => int]; ``` @@ -34,10 +34,9 @@ $http_wait = ['_' => 'http_wait', 'max_delay' => int, 'wait_after' => int, 'max_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua http_wait={_='http_wait', max_delay=int, wait_after=int, max_wait=int} ``` diff --git a/old_docs/API_docs_v72/constructors/importedContact.md b/old_docs/API_docs_v72/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v72/constructors/importedContact.md +++ b/old_docs/API_docs_v72/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v72/constructors/inlineBotSwitchPM.md b/old_docs/API_docs_v72/constructors/inlineBotSwitchPM.md index 0dfd4714..b4fb8185 100644 --- a/old_docs/API_docs_v72/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v72/constructors/inlineBotSwitchPM.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` @@ -33,10 +33,9 @@ $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_par ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inlineBotSwitchPM={_='inlineBotSwitchPM', text='string', start_param='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputAppEvent.md b/old_docs/API_docs_v72/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v72/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v72/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputBotInlineMessageGame.md b/old_docs/API_docs_v72/constructors/inputBotInlineMessageGame.md index 8e59cd54..66c8997b 100644 --- a/old_docs/API_docs_v72/constructors/inputBotInlineMessageGame.md +++ b/old_docs/API_docs_v72/constructors/inputBotInlineMessageGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup]; ``` @@ -32,10 +32,9 @@ $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageGame={_='inputBotInlineMessageGame', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v72/constructors/inputBotInlineMessageID.md b/old_docs/API_docs_v72/constructors/inputBotInlineMessageID.md index 91c7586d..aecbb733 100644 --- a/old_docs/API_docs_v72/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v72/constructors/inputBotInlineMessageID.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v72/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v72/constructors/inputBotInlineMessageMediaAuto.md index 28d93836..17e2a1cb 100644 --- a/old_docs/API_docs_v72/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v72/constructors/inputBotInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'cap ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v72/constructors/inputBotInlineMessageMediaContact.md b/old_docs/API_docs_v72/constructors/inputBotInlineMessageMediaContact.md index 5b78709f..25dd9029 100644 --- a/old_docs/API_docs_v72/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v72/constructors/inputBotInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v72/constructors/inputBotInlineMessageMediaGeo.md b/old_docs/API_docs_v72/constructors/inputBotInlineMessageMediaGeo.md index 2f1f75ad..a4588d95 100644 --- a/old_docs/API_docs_v72/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v72/constructors/inputBotInlineMessageMediaGeo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'period' => int, 'reply_markup' => ReplyMarkup]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, period=int, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v72/constructors/inputBotInlineMessageMediaVenue.md b/old_docs/API_docs_v72/constructors/inputBotInlineMessageMediaVenue.md index 7dbc6a6c..56ec0745 100644 --- a/old_docs/API_docs_v72/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v72/constructors/inputBotInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'g ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v72/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v72/constructors/inputBotInlineMessageText.md index e6a0bbb7..acae47bc 100644 --- a/old_docs/API_docs_v72/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v72/constructors/inputBotInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v72/constructors/inputBotInlineResult.md b/old_docs/API_docs_v72/constructors/inputBotInlineResult.md index 668af514..34148d70 100644 --- a/old_docs/API_docs_v72/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v72/constructors/inputBotInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` @@ -43,10 +43,9 @@ $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v72/constructors/inputBotInlineResultDocument.md b/old_docs/API_docs_v72/constructors/inputBotInlineResultDocument.md index ad13df76..9d5f1eb6 100644 --- a/old_docs/API_docs_v72/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v72/constructors/inputBotInlineResultDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` @@ -37,10 +37,9 @@ $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultDocument={_='inputBotInlineResultDocument', id='string', type='string', title='string', description='string', document=InputDocument, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v72/constructors/inputBotInlineResultGame.md b/old_docs/API_docs_v72/constructors/inputBotInlineResultGame.md index 5967bea6..b7821035 100644 --- a/old_docs/API_docs_v72/constructors/inputBotInlineResultGame.md +++ b/old_docs/API_docs_v72/constructors/inputBotInlineResultGame.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string', 'short_name' => 'string', 'send_message' => InputBotInlineMessage]; ``` @@ -34,10 +34,9 @@ $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultGame={_='inputBotInlineResultGame', id='string', short_name='string', send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v72/constructors/inputBotInlineResultPhoto.md b/old_docs/API_docs_v72/constructors/inputBotInlineResultPhoto.md index 43f00813..271bb02e 100644 --- a/old_docs/API_docs_v72/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v72/constructors/inputBotInlineResultPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` @@ -35,10 +35,9 @@ $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id='string', type='string', photo=InputPhoto, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v72/constructors/inputChannel.md b/old_docs/API_docs_v72/constructors/inputChannel.md index b5cb3566..34ed10ca 100644 --- a/old_docs/API_docs_v72/constructors/inputChannel.md +++ b/old_docs/API_docs_v72/constructors/inputChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannel={_='inputChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v72/constructors/inputChannelEmpty.md b/old_docs/API_docs_v72/constructors/inputChannelEmpty.md index f7e18434..bd53602b 100644 --- a/old_docs/API_docs_v72/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v72/constructors/inputChannelEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` @@ -27,10 +27,9 @@ $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputChatPhoto.md b/old_docs/API_docs_v72/constructors/inputChatPhoto.md index 636d6f68..cbae66d1 100644 --- a/old_docs/API_docs_v72/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v72/constructors/inputChatPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v72/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v72/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v72/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v72/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v72/constructors/inputChatUploadedPhoto.md index 840ed815..8b5535ab 100644 --- a/old_docs/API_docs_v72/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v72/constructors/inputChatUploadedPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile]; ``` @@ -32,10 +32,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile} ``` diff --git a/old_docs/API_docs_v72/constructors/inputDocument.md b/old_docs/API_docs_v72/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v72/constructors/inputDocument.md +++ b/old_docs/API_docs_v72/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v72/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v72/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v72/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v72/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v72/constructors/inputDocumentFileLocation.md index df556f40..94ab0038 100644 --- a/old_docs/API_docs_v72/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v72/constructors/inputDocumentFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int]; ``` @@ -34,10 +34,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, version=int} ``` diff --git a/old_docs/API_docs_v72/constructors/inputEncryptedChat.md b/old_docs/API_docs_v72/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v72/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v72/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v72/constructors/inputEncryptedFile.md b/old_docs/API_docs_v72/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v72/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v72/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v72/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v72/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v72/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v72/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v72/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v72/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v72/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v72/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v72/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v72/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v72/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v72/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v72/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v72/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v72/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v72/constructors/inputFile.md b/old_docs/API_docs_v72/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v72/constructors/inputFile.md +++ b/old_docs/API_docs_v72/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputFileBig.md b/old_docs/API_docs_v72/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v72/constructors/inputFileBig.md +++ b/old_docs/API_docs_v72/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputFileLocation.md b/old_docs/API_docs_v72/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v72/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v72/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v72/constructors/inputGameID.md b/old_docs/API_docs_v72/constructors/inputGameID.md index 1fff2dd1..fba24333 100644 --- a/old_docs/API_docs_v72/constructors/inputGameID.md +++ b/old_docs/API_docs_v72/constructors/inputGameID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameID={_='inputGameID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v72/constructors/inputGameShortName.md b/old_docs/API_docs_v72/constructors/inputGameShortName.md index 742b5ae5..031e3f4c 100644 --- a/old_docs/API_docs_v72/constructors/inputGameShortName.md +++ b/old_docs/API_docs_v72/constructors/inputGameShortName.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => 'string']; ``` @@ -33,10 +33,9 @@ $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'shor ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameShortName={_='inputGameShortName', bot_id=InputUser, short_name='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputGeoPoint.md b/old_docs/API_docs_v72/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v72/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v72/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v72/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v72/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v72/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v72/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMediaContact.md b/old_docs/API_docs_v72/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v72/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v72/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMediaDocument.md b/old_docs/API_docs_v72/constructors/inputMediaDocument.md index 72c79560..4b43d0c2 100644 --- a/old_docs/API_docs_v72/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v72/constructors/inputMediaDocument.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'capt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMediaDocumentExternal.md b/old_docs/API_docs_v72/constructors/inputMediaDocumentExternal.md index 441087f7..c3378783 100644 --- a/old_docs/API_docs_v72/constructors/inputMediaDocumentExternal.md +++ b/old_docs/API_docs_v72/constructors/inputMediaDocumentExternal.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'string', 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocumentExternal={_='inputMediaDocumentExternal', url='string', caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMediaEmpty.md b/old_docs/API_docs_v72/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v72/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v72/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMediaGame.md b/old_docs/API_docs_v72/constructors/inputMediaGame.md index 883e5672..c4cc2cfc 100644 --- a/old_docs/API_docs_v72/constructors/inputMediaGame.md +++ b/old_docs/API_docs_v72/constructors/inputMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` @@ -32,10 +32,9 @@ $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGame={_='inputMediaGame', id=InputGame} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMediaGeoLive.md b/old_docs/API_docs_v72/constructors/inputMediaGeoLive.md index bf72edfb..be8d4038 100644 --- a/old_docs/API_docs_v72/constructors/inputMediaGeoLive.md +++ b/old_docs/API_docs_v72/constructors/inputMediaGeoLive.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoLive = ['_' => 'inputMediaGeoLive', 'geo_point' => InputGeoPoint, 'period' => int]; ``` @@ -33,10 +33,9 @@ $inputMediaGeoLive = ['_' => 'inputMediaGeoLive', 'geo_point' => InputGeoPoint, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoLive={_='inputMediaGeoLive', geo_point=InputGeoPoint, period=int} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v72/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v72/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v72/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v72/constructors/inputMediaGifExternal.md index cf68972a..14153a43 100644 --- a/old_docs/API_docs_v72/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v72/constructors/inputMediaGifExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGifExternal={_='inputMediaGifExternal', url='string', q='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMediaInvoice.md b/old_docs/API_docs_v72/constructors/inputMediaInvoice.md index 8268b4bc..cb554cff 100644 --- a/old_docs/API_docs_v72/constructors/inputMediaInvoice.md +++ b/old_docs/API_docs_v72/constructors/inputMediaInvoice.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'description' => 'string', 'photo' => InputWebDocument, 'invoice' => Invoice, 'payload' => 'bytes', 'provider' => 'string', 'start_param' => 'string']; ``` @@ -38,10 +38,9 @@ $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'descript ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaInvoice={_='inputMediaInvoice', title='string', description='string', photo=InputWebDocument, invoice=Invoice, payload='bytes', provider='string', start_param='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMediaPhoto.md b/old_docs/API_docs_v72/constructors/inputMediaPhoto.md index 36950fb6..1ae02323 100644 --- a/old_docs/API_docs_v72/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v72/constructors/inputMediaPhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMediaPhotoExternal.md b/old_docs/API_docs_v72/constructors/inputMediaPhotoExternal.md index d4fd1a49..85251482 100644 --- a/old_docs/API_docs_v72/constructors/inputMediaPhotoExternal.md +++ b/old_docs/API_docs_v72/constructors/inputMediaPhotoExternal.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhotoExternal={_='inputMediaPhotoExternal', url='string', caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v72/constructors/inputMediaUploadedDocument.md index 4239134c..9369d528 100644 --- a/old_docs/API_docs_v72/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v72/constructors/inputMediaUploadedDocument.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument, InputDocument], 'ttl_seconds' => int]; ``` @@ -38,10 +38,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string', stickers={InputDocument}, ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v72/constructors/inputMediaUploadedPhoto.md index e2519a91..2701cc6b 100644 --- a/old_docs/API_docs_v72/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v72/constructors/inputMediaUploadedPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string', 'stickers' => [InputDocument, InputDocument], 'ttl_seconds' => int]; ``` @@ -35,10 +35,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption='string', stickers={InputDocument}, ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMediaVenue.md b/old_docs/API_docs_v72/constructors/inputMediaVenue.md index 017f62ee..6f023afa 100644 --- a/old_docs/API_docs_v72/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v72/constructors/inputMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string']; ``` @@ -37,10 +37,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', venue_type='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMessageEntityMentionName.md b/old_docs/API_docs_v72/constructors/inputMessageEntityMentionName.md index 92d5c8d9..19a0b4e3 100644 --- a/old_docs/API_docs_v72/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v72/constructors/inputMessageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser]; ``` @@ -34,10 +34,9 @@ $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessageEntityMentionName={_='inputMessageEntityMentionName', offset=int, length=int, user_id=InputUser} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMessagesFilterChatPhotos.md b/old_docs/API_docs_v72/constructors/inputMessagesFilterChatPhotos.md index a02425b1..b72281f3 100644 --- a/old_docs/API_docs_v72/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v72/constructors/inputMessagesFilterChatPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMessagesFilterContacts.md b/old_docs/API_docs_v72/constructors/inputMessagesFilterContacts.md index 98de3f5e..fbfc7fc2 100644 --- a/old_docs/API_docs_v72/constructors/inputMessagesFilterContacts.md +++ b/old_docs/API_docs_v72/constructors/inputMessagesFilterContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterContacts = ['_' => 'inputMessagesFilterContacts']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterContacts = ['_' => 'inputMessagesFilterContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterContacts={_='inputMessagesFilterContacts'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v72/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v72/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v72/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v72/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v72/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v72/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMessagesFilterGeo.md b/old_docs/API_docs_v72/constructors/inputMessagesFilterGeo.md index 96da554b..059d4ba1 100644 --- a/old_docs/API_docs_v72/constructors/inputMessagesFilterGeo.md +++ b/old_docs/API_docs_v72/constructors/inputMessagesFilterGeo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGeo = ['_' => 'inputMessagesFilterGeo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGeo = ['_' => 'inputMessagesFilterGeo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGeo={_='inputMessagesFilterGeo'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v72/constructors/inputMessagesFilterGif.md index 94698ecd..a3a51104 100644 --- a/old_docs/API_docs_v72/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v72/constructors/inputMessagesFilterGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v72/constructors/inputMessagesFilterMusic.md index ac6373c2..b2ed1044 100644 --- a/old_docs/API_docs_v72/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v72/constructors/inputMessagesFilterMusic.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMessagesFilterMyMentions.md b/old_docs/API_docs_v72/constructors/inputMessagesFilterMyMentions.md index 68411008..54fa6521 100644 --- a/old_docs/API_docs_v72/constructors/inputMessagesFilterMyMentions.md +++ b/old_docs/API_docs_v72/constructors/inputMessagesFilterMyMentions.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterMyMentions = ['_' => 'inputMessagesFilterMyMentions']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterMyMentions = ['_' => 'inputMessagesFilterMyMentions']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterMyMentions={_='inputMessagesFilterMyMentions'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMessagesFilterPhoneCalls.md b/old_docs/API_docs_v72/constructors/inputMessagesFilterPhoneCalls.md index 8fe8537a..0cb60836 100644 --- a/old_docs/API_docs_v72/constructors/inputMessagesFilterPhoneCalls.md +++ b/old_docs/API_docs_v72/constructors/inputMessagesFilterPhoneCalls.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool]; ``` @@ -32,10 +32,9 @@ $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'misse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhoneCalls={_='inputMessagesFilterPhoneCalls', missed=Bool} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v72/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v72/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v72/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v72/constructors/inputMessagesFilterPhotoVideoDocuments.md index 0860a9fd..1ac46492 100644 --- a/old_docs/API_docs_v72/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v72/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideoDocuments={_='inputMessagesFilterPhotoVideoDocuments'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v72/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v72/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v72/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMessagesFilterRoundVideo.md b/old_docs/API_docs_v72/constructors/inputMessagesFilterRoundVideo.md index 5bcbbb20..291ebf25 100644 --- a/old_docs/API_docs_v72/constructors/inputMessagesFilterRoundVideo.md +++ b/old_docs/API_docs_v72/constructors/inputMessagesFilterRoundVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterRoundVideo={_='inputMessagesFilterRoundVideo'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMessagesFilterRoundVoice.md b/old_docs/API_docs_v72/constructors/inputMessagesFilterRoundVoice.md index 9e018fc3..4c7fbbec 100644 --- a/old_docs/API_docs_v72/constructors/inputMessagesFilterRoundVoice.md +++ b/old_docs/API_docs_v72/constructors/inputMessagesFilterRoundVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterRoundVoice={_='inputMessagesFilterRoundVoice'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v72/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v72/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v72/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v72/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v72/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v72/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v72/constructors/inputMessagesFilterVoice.md index 026a91be..be3af22a 100644 --- a/old_docs/API_docs_v72/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v72/constructors/inputMessagesFilterVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputNotifyAll.md b/old_docs/API_docs_v72/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v72/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v72/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputNotifyChats.md b/old_docs/API_docs_v72/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v72/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v72/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputNotifyPeer.md b/old_docs/API_docs_v72/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v72/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v72/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v72/constructors/inputNotifyUsers.md b/old_docs/API_docs_v72/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v72/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v72/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPaymentCredentials.md b/old_docs/API_docs_v72/constructors/inputPaymentCredentials.md index 085db55d..4e2883f9 100644 --- a/old_docs/API_docs_v72/constructors/inputPaymentCredentials.md +++ b/old_docs/API_docs_v72/constructors/inputPaymentCredentials.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'data' => DataJSON]; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentials={_='inputPaymentCredentials', save=Bool, data=DataJSON} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPaymentCredentialsSaved.md b/old_docs/API_docs_v72/constructors/inputPaymentCredentialsSaved.md index 63cd678e..c205ee9a 100644 --- a/old_docs/API_docs_v72/constructors/inputPaymentCredentialsSaved.md +++ b/old_docs/API_docs_v72/constructors/inputPaymentCredentialsSaved.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => 'string', 'tmp_password' => 'bytes']; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentialsSaved={_='inputPaymentCredentialsSaved', id='string', tmp_password='bytes'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPeerChannel.md b/old_docs/API_docs_v72/constructors/inputPeerChannel.md index 8b84fe20..14c2f105 100644 --- a/old_docs/API_docs_v72/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v72/constructors/inputPeerChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPeerChat.md b/old_docs/API_docs_v72/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v72/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v72/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPeerEmpty.md b/old_docs/API_docs_v72/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v72/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v72/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v72/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v72/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v72/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v72/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v72/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v72/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v72/constructors/inputPeerNotifySettings.md index 6b281f53..cd18b39e 100644 --- a/old_docs/API_docs_v72/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v72/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPeerSelf.md b/old_docs/API_docs_v72/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v72/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v72/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPeerUser.md b/old_docs/API_docs_v72/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/old_docs/API_docs_v72/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v72/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPhoneCall.md b/old_docs/API_docs_v72/constructors/inputPhoneCall.md index 60cdf8ca..68abe88d 100644 --- a/old_docs/API_docs_v72/constructors/inputPhoneCall.md +++ b/old_docs/API_docs_v72/constructors/inputPhoneCall.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneCall={_='inputPhoneCall', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPhoneContact.md b/old_docs/API_docs_v72/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v72/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v72/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPhoto.md b/old_docs/API_docs_v72/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v72/constructors/inputPhoto.md +++ b/old_docs/API_docs_v72/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v72/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v72/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v72/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v72/constructors/inputPrivacyKeyChatInvite.md index 9c55265f..d96148d4 100644 --- a/old_docs/API_docs_v72/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v72/constructors/inputPrivacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPrivacyKeyPhoneCall.md b/old_docs/API_docs_v72/constructors/inputPrivacyKeyPhoneCall.md index b16316be..510ff979 100644 --- a/old_docs/API_docs_v72/constructors/inputPrivacyKeyPhoneCall.md +++ b/old_docs/API_docs_v72/constructors/inputPrivacyKeyPhoneCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyPhoneCall={_='inputPrivacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v72/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v72/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v72/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v72/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v72/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v72/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v72/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v72/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v72/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v72/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v72/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v72/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v72/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v72/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v72/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v72/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v72/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v72/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v72/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v72/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v72/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v72/constructors/inputReportReasonOther.md b/old_docs/API_docs_v72/constructors/inputReportReasonOther.md index 361582bd..4dbffa18 100644 --- a/old_docs/API_docs_v72/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v72/constructors/inputReportReasonOther.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonOther={_='inputReportReasonOther', text='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v72/constructors/inputReportReasonPornography.md index c18c71d3..5c80f096 100644 --- a/old_docs/API_docs_v72/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v72/constructors/inputReportReasonPornography.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` @@ -27,10 +27,9 @@ $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v72/constructors/inputReportReasonSpam.md index 19ed6687..75d59861 100644 --- a/old_docs/API_docs_v72/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v72/constructors/inputReportReasonSpam.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` @@ -27,10 +27,9 @@ $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v72/constructors/inputReportReasonViolence.md index 10fbce47..28d27e85 100644 --- a/old_docs/API_docs_v72/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v72/constructors/inputReportReasonViolence.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` @@ -27,10 +27,9 @@ $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v72/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/old_docs/API_docs_v72/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v72/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputStickerSetID.md b/old_docs/API_docs_v72/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/old_docs/API_docs_v72/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v72/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v72/constructors/inputStickerSetItem.md b/old_docs/API_docs_v72/constructors/inputStickerSetItem.md index 2efe95ff..39b999c7 100644 --- a/old_docs/API_docs_v72/constructors/inputStickerSetItem.md +++ b/old_docs/API_docs_v72/constructors/inputStickerSetItem.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetItem = ['_' => 'inputStickerSetItem', 'document' => InputDocument, 'emoji' => 'string', 'mask_coords' => MaskCoords]; ``` @@ -34,10 +34,9 @@ $inputStickerSetItem = ['_' => 'inputStickerSetItem', 'document' => InputDocumen ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetItem={_='inputStickerSetItem', document=InputDocument, emoji='string', mask_coords=MaskCoords} ``` diff --git a/old_docs/API_docs_v72/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v72/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/old_docs/API_docs_v72/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v72/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputStickeredMediaDocument.md b/old_docs/API_docs_v72/constructors/inputStickeredMediaDocument.md index c6def51c..72da7b39 100644 --- a/old_docs/API_docs_v72/constructors/inputStickeredMediaDocument.md +++ b/old_docs/API_docs_v72/constructors/inputStickeredMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaDocument={_='inputStickeredMediaDocument', id=InputDocument} ``` diff --git a/old_docs/API_docs_v72/constructors/inputStickeredMediaPhoto.md b/old_docs/API_docs_v72/constructors/inputStickeredMediaPhoto.md index f424c329..d79cd390 100644 --- a/old_docs/API_docs_v72/constructors/inputStickeredMediaPhoto.md +++ b/old_docs/API_docs_v72/constructors/inputStickeredMediaPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaPhoto={_='inputStickeredMediaPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v72/constructors/inputUser.md b/old_docs/API_docs_v72/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/old_docs/API_docs_v72/constructors/inputUser.md +++ b/old_docs/API_docs_v72/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v72/constructors/inputUserEmpty.md b/old_docs/API_docs_v72/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v72/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v72/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputUserSelf.md b/old_docs/API_docs_v72/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v72/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v72/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v72/constructors/inputWebDocument.md b/old_docs/API_docs_v72/constructors/inputWebDocument.md index 8028cb28..cd3ceaa1 100644 --- a/old_docs/API_docs_v72/constructors/inputWebDocument.md +++ b/old_docs/API_docs_v72/constructors/inputWebDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -35,10 +35,9 @@ $inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputWebDocument={_='inputWebDocument', url='string', size=int, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v72/constructors/inputWebFileLocation.md b/old_docs/API_docs_v72/constructors/inputWebFileLocation.md index c484849b..888dcfbe 100644 --- a/old_docs/API_docs_v72/constructors/inputWebFileLocation.md +++ b/old_docs/API_docs_v72/constructors/inputWebFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'acce ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputWebFileLocation={_='inputWebFileLocation', url='string', access_hash=long} ``` diff --git a/old_docs/API_docs_v72/constructors/invoice.md b/old_docs/API_docs_v72/constructors/invoice.md index 7254fd66..ef683c37 100644 --- a/old_docs/API_docs_v72/constructors/invoice.md +++ b/old_docs/API_docs_v72/constructors/invoice.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_requested' => Bool, 'email_requested' => Bool, 'shipping_address_requested' => Bool, 'flexible' => Bool, 'currency' => 'string', 'prices' => [LabeledPrice, LabeledPrice]]; ``` @@ -39,10 +39,9 @@ $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_r ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua invoice={_='invoice', test=Bool, name_requested=Bool, phone_requested=Bool, email_requested=Bool, shipping_address_requested=Bool, flexible=Bool, currency='string', prices={LabeledPrice}} ``` diff --git a/old_docs/API_docs_v72/constructors/ipPort.md b/old_docs/API_docs_v72/constructors/ipPort.md index a22e57e7..16cec197 100644 --- a/old_docs/API_docs_v72/constructors/ipPort.md +++ b/old_docs/API_docs_v72/constructors/ipPort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $ipPort = ['_' => 'ipPort', 'ipv4' => int, 'port' => int]; ``` @@ -33,10 +33,9 @@ $ipPort = ['_' => 'ipPort', 'ipv4' => int, 'port' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua ipPort={_='ipPort', ipv4=int, port=int} ``` diff --git a/old_docs/API_docs_v72/constructors/keyboardButton.md b/old_docs/API_docs_v72/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/old_docs/API_docs_v72/constructors/keyboardButton.md +++ b/old_docs/API_docs_v72/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/keyboardButtonBuy.md b/old_docs/API_docs_v72/constructors/keyboardButtonBuy.md index efff4c6c..cf11ddf6 100644 --- a/old_docs/API_docs_v72/constructors/keyboardButtonBuy.md +++ b/old_docs/API_docs_v72/constructors/keyboardButtonBuy.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonBuy={_='keyboardButtonBuy', text='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/keyboardButtonCallback.md b/old_docs/API_docs_v72/constructors/keyboardButtonCallback.md index 63e87aac..c8f86f50 100644 --- a/old_docs/API_docs_v72/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v72/constructors/keyboardButtonCallback.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` @@ -33,10 +33,9 @@ $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonCallback={_='keyboardButtonCallback', text='string', data='bytes'} ``` diff --git a/old_docs/API_docs_v72/constructors/keyboardButtonGame.md b/old_docs/API_docs_v72/constructors/keyboardButtonGame.md index 08110141..05a565a3 100644 --- a/old_docs/API_docs_v72/constructors/keyboardButtonGame.md +++ b/old_docs/API_docs_v72/constructors/keyboardButtonGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonGame={_='keyboardButtonGame', text='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/keyboardButtonRequestGeoLocation.md b/old_docs/API_docs_v72/constructors/keyboardButtonRequestGeoLocation.md index fc422d90..63d4a82f 100644 --- a/old_docs/API_docs_v72/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v72/constructors/keyboardButtonRequestGeoLocation.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/keyboardButtonRequestPhone.md b/old_docs/API_docs_v72/constructors/keyboardButtonRequestPhone.md index a1719e24..ba58979f 100644 --- a/old_docs/API_docs_v72/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v72/constructors/keyboardButtonRequestPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/keyboardButtonRow.md b/old_docs/API_docs_v72/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/old_docs/API_docs_v72/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v72/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/old_docs/API_docs_v72/constructors/keyboardButtonSwitchInline.md b/old_docs/API_docs_v72/constructors/keyboardButtonSwitchInline.md index 463c473c..52dc897a 100644 --- a/old_docs/API_docs_v72/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v72/constructors/keyboardButtonSwitchInline.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => 'string', 'query' => 'string']; ``` @@ -34,10 +34,9 @@ $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=Bool, text='string', query='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/keyboardButtonUrl.md b/old_docs/API_docs_v72/constructors/keyboardButtonUrl.md index 709d4fa9..56b86f1c 100644 --- a/old_docs/API_docs_v72/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v72/constructors/keyboardButtonUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` @@ -33,10 +33,9 @@ $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonUrl={_='keyboardButtonUrl', text='string', url='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/labeledPrice.md b/old_docs/API_docs_v72/constructors/labeledPrice.md index 22e91c77..d54f53f5 100644 --- a/old_docs/API_docs_v72/constructors/labeledPrice.md +++ b/old_docs/API_docs_v72/constructors/labeledPrice.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` @@ -33,10 +33,9 @@ $labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua labeledPrice={_='labeledPrice', label='string', amount=long} ``` diff --git a/old_docs/API_docs_v72/constructors/langPackDifference.md b/old_docs/API_docs_v72/constructors/langPackDifference.md index 59f57e24..c31de915 100644 --- a/old_docs/API_docs_v72/constructors/langPackDifference.md +++ b/old_docs/API_docs_v72/constructors/langPackDifference.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackDifference = ['_' => 'langPackDifference', 'lang_code' => 'string', 'from_version' => int, 'version' => int, 'strings' => [LangPackString, LangPackString]]; ``` @@ -35,10 +35,9 @@ $langPackDifference = ['_' => 'langPackDifference', 'lang_code' => 'string', 'fr ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackDifference={_='langPackDifference', lang_code='string', from_version=int, version=int, strings={LangPackString}} ``` diff --git a/old_docs/API_docs_v72/constructors/langPackLanguage.md b/old_docs/API_docs_v72/constructors/langPackLanguage.md index a72465ca..51a8486c 100644 --- a/old_docs/API_docs_v72/constructors/langPackLanguage.md +++ b/old_docs/API_docs_v72/constructors/langPackLanguage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackLanguage = ['_' => 'langPackLanguage', 'name' => 'string', 'native_name' => 'string', 'lang_code' => 'string']; ``` @@ -34,10 +34,9 @@ $langPackLanguage = ['_' => 'langPackLanguage', 'name' => 'string', 'native_name ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackLanguage={_='langPackLanguage', name='string', native_name='string', lang_code='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/langPackString.md b/old_docs/API_docs_v72/constructors/langPackString.md index 4034f228..35d7d117 100644 --- a/old_docs/API_docs_v72/constructors/langPackString.md +++ b/old_docs/API_docs_v72/constructors/langPackString.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackString = ['_' => 'langPackString', 'key' => 'string', 'value' => 'string']; ``` @@ -33,10 +33,9 @@ $langPackString = ['_' => 'langPackString', 'key' => 'string', 'value' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackString={_='langPackString', key='string', value='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/langPackStringDeleted.md b/old_docs/API_docs_v72/constructors/langPackStringDeleted.md index 3da641bb..c23ce8f8 100644 --- a/old_docs/API_docs_v72/constructors/langPackStringDeleted.md +++ b/old_docs/API_docs_v72/constructors/langPackStringDeleted.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackStringDeleted = ['_' => 'langPackStringDeleted', 'key' => 'string']; ``` @@ -32,10 +32,9 @@ $langPackStringDeleted = ['_' => 'langPackStringDeleted', 'key' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackStringDeleted={_='langPackStringDeleted', key='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/langPackStringPluralized.md b/old_docs/API_docs_v72/constructors/langPackStringPluralized.md index 92b0b356..37225b53 100644 --- a/old_docs/API_docs_v72/constructors/langPackStringPluralized.md +++ b/old_docs/API_docs_v72/constructors/langPackStringPluralized.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => 'string', 'zero_value' => 'string', 'one_value' => 'string', 'two_value' => 'string', 'few_value' => 'string', 'many_value' => 'string', 'other_value' => 'string']; ``` @@ -38,10 +38,9 @@ $langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackStringPluralized={_='langPackStringPluralized', key='string', zero_value='string', one_value='string', two_value='string', few_value='string', many_value='string', other_value='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/maskCoords.md b/old_docs/API_docs_v72/constructors/maskCoords.md index 21b9ad78..2d393f3a 100644 --- a/old_docs/API_docs_v72/constructors/maskCoords.md +++ b/old_docs/API_docs_v72/constructors/maskCoords.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double]; ``` @@ -35,10 +35,9 @@ $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'z ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua maskCoords={_='maskCoords', n=int, x=double, y=double, zoom=double} ``` diff --git a/old_docs/API_docs_v72/constructors/message.md b/old_docs/API_docs_v72/constructors/message.md index aed48527..b7997777 100644 --- a/old_docs/API_docs_v72/constructors/message.md +++ b/old_docs/API_docs_v72/constructors/message.md @@ -39,7 +39,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'views' => int, 'edit_date' => int, 'post_author' => 'string']; ``` @@ -50,10 +50,9 @@ $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int, post_author='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v72/constructors/messageActionChannelCreate.md index b1750d73..2600ab63 100644 --- a/old_docs/API_docs_v72/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v72/constructors/messageActionChannelCreate.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v72/constructors/messageActionChannelMigrateFrom.md index add136dc..1fdcf3f4 100644 --- a/old_docs/API_docs_v72/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v72/constructors/messageActionChannelMigrateFrom.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 't ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v72/constructors/messageActionChatAddUser.md index 9c7de7f8..283365cd 100644 --- a/old_docs/API_docs_v72/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v72/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', users={int}} ``` diff --git a/old_docs/API_docs_v72/constructors/messageActionChatCreate.md b/old_docs/API_docs_v72/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v72/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v72/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v72/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v72/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v72/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v72/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v72/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v72/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v72/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v72/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v72/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v72/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v72/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v72/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v72/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v72/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v72/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v72/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/old_docs/API_docs_v72/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v72/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v72/constructors/messageActionChatMigrateTo.md index 21d2cb22..8ace1091 100644 --- a/old_docs/API_docs_v72/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v72/constructors/messageActionChatMigrateTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messageActionCustomAction.md b/old_docs/API_docs_v72/constructors/messageActionCustomAction.md index 7dc58857..4087afcf 100644 --- a/old_docs/API_docs_v72/constructors/messageActionCustomAction.md +++ b/old_docs/API_docs_v72/constructors/messageActionCustomAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionCustomAction = ['_' => 'messageActionCustomAction', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionCustomAction = ['_' => 'messageActionCustomAction', 'message' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionCustomAction={_='messageActionCustomAction', message='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/messageActionEmpty.md b/old_docs/API_docs_v72/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v72/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v72/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/messageActionGameScore.md b/old_docs/API_docs_v72/constructors/messageActionGameScore.md index 7a459a3d..c0086b66 100644 --- a/old_docs/API_docs_v72/constructors/messageActionGameScore.md +++ b/old_docs/API_docs_v72/constructors/messageActionGameScore.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int]; ``` @@ -33,10 +33,9 @@ $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionGameScore={_='messageActionGameScore', game_id=long, score=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messageActionHistoryClear.md b/old_docs/API_docs_v72/constructors/messageActionHistoryClear.md index 8b8dcc9d..90875cf6 100644 --- a/old_docs/API_docs_v72/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v72/constructors/messageActionHistoryClear.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` @@ -27,10 +27,9 @@ $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionHistoryClear={_='messageActionHistoryClear'} ``` diff --git a/old_docs/API_docs_v72/constructors/messageActionPaymentSent.md b/old_docs/API_docs_v72/constructors/messageActionPaymentSent.md index b224a125..a5c83837 100644 --- a/old_docs/API_docs_v72/constructors/messageActionPaymentSent.md +++ b/old_docs/API_docs_v72/constructors/messageActionPaymentSent.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 'string', 'total_amount' => long]; ``` @@ -33,10 +33,9 @@ $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPaymentSent={_='messageActionPaymentSent', currency='string', total_amount=long} ``` diff --git a/old_docs/API_docs_v72/constructors/messageActionPaymentSentMe.md b/old_docs/API_docs_v72/constructors/messageActionPaymentSentMe.md index f21ccce0..b1a61d01 100644 --- a/old_docs/API_docs_v72/constructors/messageActionPaymentSentMe.md +++ b/old_docs/API_docs_v72/constructors/messageActionPaymentSentMe.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' => 'string', 'total_amount' => long, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'charge' => PaymentCharge]; ``` @@ -37,10 +37,9 @@ $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPaymentSentMe={_='messageActionPaymentSentMe', currency='string', total_amount=long, payload='bytes', info=PaymentRequestedInfo, shipping_option_id='string', charge=PaymentCharge} ``` diff --git a/old_docs/API_docs_v72/constructors/messageActionPhoneCall.md b/old_docs/API_docs_v72/constructors/messageActionPhoneCall.md index f2f3eb4f..18a6c687 100644 --- a/old_docs/API_docs_v72/constructors/messageActionPhoneCall.md +++ b/old_docs/API_docs_v72/constructors/messageActionPhoneCall.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` @@ -34,10 +34,9 @@ $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPhoneCall={_='messageActionPhoneCall', call_id=long, reason=PhoneCallDiscardReason, duration=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messageActionPinMessage.md b/old_docs/API_docs_v72/constructors/messageActionPinMessage.md index ffa41746..be763787 100644 --- a/old_docs/API_docs_v72/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v72/constructors/messageActionPinMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` @@ -27,10 +27,9 @@ $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/old_docs/API_docs_v72/constructors/messageActionScreenshotTaken.md b/old_docs/API_docs_v72/constructors/messageActionScreenshotTaken.md index f86b1746..cbe504c6 100644 --- a/old_docs/API_docs_v72/constructors/messageActionScreenshotTaken.md +++ b/old_docs/API_docs_v72/constructors/messageActionScreenshotTaken.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionScreenshotTaken = ['_' => 'messageActionScreenshotTaken']; ``` @@ -27,10 +27,9 @@ $messageActionScreenshotTaken = ['_' => 'messageActionScreenshotTaken']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionScreenshotTaken={_='messageActionScreenshotTaken'} ``` diff --git a/old_docs/API_docs_v72/constructors/messageEmpty.md b/old_docs/API_docs_v72/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v72/constructors/messageEmpty.md +++ b/old_docs/API_docs_v72/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messageEntityBold.md b/old_docs/API_docs_v72/constructors/messageEntityBold.md index 950699fb..90f74ad5 100644 --- a/old_docs/API_docs_v72/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v72/constructors/messageEntityBold.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v72/constructors/messageEntityBotCommand.md index 8be471d3..9fb8f6a6 100644 --- a/old_docs/API_docs_v72/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v72/constructors/messageEntityBotCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messageEntityCode.md b/old_docs/API_docs_v72/constructors/messageEntityCode.md index 7c701844..d236e57e 100644 --- a/old_docs/API_docs_v72/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v72/constructors/messageEntityCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messageEntityEmail.md b/old_docs/API_docs_v72/constructors/messageEntityEmail.md index 35a968c7..74e910f3 100644 --- a/old_docs/API_docs_v72/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v72/constructors/messageEntityEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messageEntityHashtag.md b/old_docs/API_docs_v72/constructors/messageEntityHashtag.md index 6b124e73..77e29387 100644 --- a/old_docs/API_docs_v72/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v72/constructors/messageEntityHashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messageEntityItalic.md b/old_docs/API_docs_v72/constructors/messageEntityItalic.md index 25f73428..5975bae2 100644 --- a/old_docs/API_docs_v72/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v72/constructors/messageEntityItalic.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messageEntityMention.md b/old_docs/API_docs_v72/constructors/messageEntityMention.md index 9eb4d266..1a21cb10 100644 --- a/old_docs/API_docs_v72/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v72/constructors/messageEntityMention.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messageEntityMentionName.md b/old_docs/API_docs_v72/constructors/messageEntityMentionName.md index b546570b..0fe142c5 100644 --- a/old_docs/API_docs_v72/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v72/constructors/messageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int]; ``` @@ -34,10 +34,9 @@ $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messageEntityPre.md b/old_docs/API_docs_v72/constructors/messageEntityPre.md index abfc9136..13b165fe 100644 --- a/old_docs/API_docs_v72/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v72/constructors/messageEntityPre.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPre={_='messageEntityPre', offset=int, length=int, language='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v72/constructors/messageEntityTextUrl.md index 91f6d36c..b6d82843 100644 --- a/old_docs/API_docs_v72/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v72/constructors/messageEntityTextUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/messageEntityUnknown.md b/old_docs/API_docs_v72/constructors/messageEntityUnknown.md index 69ca8a1b..4c434fd7 100644 --- a/old_docs/API_docs_v72/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v72/constructors/messageEntityUnknown.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messageEntityUrl.md b/old_docs/API_docs_v72/constructors/messageEntityUrl.md index 377c3dda..2cf334a5 100644 --- a/old_docs/API_docs_v72/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v72/constructors/messageEntityUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messageFwdHeader.md b/old_docs/API_docs_v72/constructors/messageFwdHeader.md index 7c089549..78c54ac3 100644 --- a/old_docs/API_docs_v72/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v72/constructors/messageFwdHeader.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, 'post_author' => 'string']; ``` @@ -36,10 +36,9 @@ $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int, post_author='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/messageMediaContact.md b/old_docs/API_docs_v72/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v72/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v72/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messageMediaDocument.md b/old_docs/API_docs_v72/constructors/messageMediaDocument.md index 18ae1020..4c486785 100644 --- a/old_docs/API_docs_v72/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v72/constructors/messageMediaDocument.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document, caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messageMediaEmpty.md b/old_docs/API_docs_v72/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v72/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v72/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/messageMediaGame.md b/old_docs/API_docs_v72/constructors/messageMediaGame.md index e97b2bd1..980dbbcc 100644 --- a/old_docs/API_docs_v72/constructors/messageMediaGame.md +++ b/old_docs/API_docs_v72/constructors/messageMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` @@ -32,10 +32,9 @@ $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGame={_='messageMediaGame', game=Game} ``` diff --git a/old_docs/API_docs_v72/constructors/messageMediaGeo.md b/old_docs/API_docs_v72/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v72/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v72/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v72/constructors/messageMediaGeoLive.md b/old_docs/API_docs_v72/constructors/messageMediaGeoLive.md index f77c0a16..b238f66e 100644 --- a/old_docs/API_docs_v72/constructors/messageMediaGeoLive.md +++ b/old_docs/API_docs_v72/constructors/messageMediaGeoLive.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeoLive = ['_' => 'messageMediaGeoLive', 'geo' => GeoPoint, 'period' => int]; ``` @@ -33,10 +33,9 @@ $messageMediaGeoLive = ['_' => 'messageMediaGeoLive', 'geo' => GeoPoint, 'period ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeoLive={_='messageMediaGeoLive', geo=GeoPoint, period=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messageMediaInvoice.md b/old_docs/API_docs_v72/constructors/messageMediaInvoice.md index dff83700..e7514d50 100644 --- a/old_docs/API_docs_v72/constructors/messageMediaInvoice.md +++ b/old_docs/API_docs_v72/constructors/messageMediaInvoice.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requested' => Bool, 'test' => Bool, 'title' => 'string', 'description' => 'string', 'photo' => WebDocument, 'receipt_msg_id' => int, 'currency' => 'string', 'total_amount' => long, 'start_param' => 'string']; ``` @@ -40,10 +40,9 @@ $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requeste ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaInvoice={_='messageMediaInvoice', shipping_address_requested=Bool, test=Bool, title='string', description='string', photo=WebDocument, receipt_msg_id=int, currency='string', total_amount=long, start_param='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/messageMediaPhoto.md b/old_docs/API_docs_v72/constructors/messageMediaPhoto.md index 4fa78685..2c7d687d 100644 --- a/old_docs/API_docs_v72/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v72/constructors/messageMediaPhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v72/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v72/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v72/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v72/constructors/messageMediaVenue.md b/old_docs/API_docs_v72/constructors/messageMediaVenue.md index 7d529bf1..4d1ff1b7 100644 --- a/old_docs/API_docs_v72/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v72/constructors/messageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string']; ``` @@ -37,10 +37,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string', venue_type='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/messageMediaWebPage.md b/old_docs/API_docs_v72/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v72/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v72/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v72/constructors/messageRange.md b/old_docs/API_docs_v72/constructors/messageRange.md index 40c3f81a..527e8646 100644 --- a/old_docs/API_docs_v72/constructors/messageRange.md +++ b/old_docs/API_docs_v72/constructors/messageRange.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageRange={_='messageRange', min_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messageService.md b/old_docs/API_docs_v72/constructors/messageService.md index 8f47e32f..f9946e72 100644 --- a/old_docs/API_docs_v72/constructors/messageService.md +++ b/old_docs/API_docs_v72/constructors/messageService.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction]; ``` @@ -42,10 +42,9 @@ $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_affectedHistory.md b/old_docs/API_docs_v72/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v72/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v72/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_affectedMessages.md b/old_docs/API_docs_v72/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v72/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v72/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_allStickers.md b/old_docs/API_docs_v72/constructors/messages_allStickers.md index 2a7d1313..45a66ddf 100644 --- a/old_docs/API_docs_v72/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v72/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v72/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v72/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v72/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_archivedStickers.md b/old_docs/API_docs_v72/constructors/messages_archivedStickers.md index 458c74b9..639d174b 100644 --- a/old_docs/API_docs_v72/constructors/messages_archivedStickers.md +++ b/old_docs/API_docs_v72/constructors/messages_archivedStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -33,10 +33,9 @@ $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v72/constructors/messages_botCallbackAnswer.md index 90095d01..41b90b45 100644 --- a/old_docs/API_docs_v72/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v72/constructors/messages_botCallbackAnswer.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; ``` @@ -36,10 +36,9 @@ $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_botResults.md b/old_docs/API_docs_v72/constructors/messages_botResults.md index 514517e4..5c946daa 100644 --- a/old_docs/API_docs_v72/constructors/messages_botResults.md +++ b/old_docs/API_docs_v72/constructors/messages_botResults.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_channelMessages.md b/old_docs/API_docs_v72/constructors/messages_channelMessages.md index 43f4cdc6..0da0608d 100644 --- a/old_docs/API_docs_v72/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v72/constructors/messages_channelMessages.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'c ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_chatFull.md b/old_docs/API_docs_v72/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v72/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v72/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_chats.md b/old_docs/API_docs_v72/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v72/constructors/messages_chats.md +++ b/old_docs/API_docs_v72/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_chatsSlice.md b/old_docs/API_docs_v72/constructors/messages_chatsSlice.md index 83905f64..d6a204d4 100644 --- a/old_docs/API_docs_v72/constructors/messages_chatsSlice.md +++ b/old_docs/API_docs_v72/constructors/messages_chatsSlice.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; ``` @@ -33,10 +33,9 @@ $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_dhConfig.md b/old_docs/API_docs_v72/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v72/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v72/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v72/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v72/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v72/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_dialogs.md b/old_docs/API_docs_v72/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v72/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v72/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v72/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v72/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v72/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_favedStickers.md b/old_docs/API_docs_v72/constructors/messages_favedStickers.md index b0501427..d058813a 100644 --- a/old_docs/API_docs_v72/constructors/messages_favedStickers.md +++ b/old_docs/API_docs_v72/constructors/messages_favedStickers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_favedStickersNotModified.md b/old_docs/API_docs_v72/constructors/messages_favedStickersNotModified.md index a5215247..91c1ec51 100644 --- a/old_docs/API_docs_v72/constructors/messages_favedStickersNotModified.md +++ b/old_docs/API_docs_v72/constructors/messages_favedStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_favedStickersNotModified={_='messages.favedStickersNotModified'} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_featuredStickers.md b/old_docs/API_docs_v72/constructors/messages_featuredStickers.md index 0ec8be8b..f40ec583 100644 --- a/old_docs/API_docs_v72/constructors/messages_featuredStickers.md +++ b/old_docs/API_docs_v72/constructors/messages_featuredStickers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; ``` @@ -34,10 +34,9 @@ $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v72/constructors/messages_featuredStickersNotModified.md index 87d2e6c7..3457ff96 100644 --- a/old_docs/API_docs_v72/constructors/messages_featuredStickersNotModified.md +++ b/old_docs/API_docs_v72/constructors/messages_featuredStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotMod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_foundGifs.md b/old_docs/API_docs_v72/constructors/messages_foundGifs.md index f86a9fed..4d513264 100644 --- a/old_docs/API_docs_v72/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v72/constructors/messages_foundGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; ``` @@ -33,10 +33,9 @@ $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'resul ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_highScores.md b/old_docs/API_docs_v72/constructors/messages_highScores.md index 1af58a14..08692c07 100644 --- a/old_docs/API_docs_v72/constructors/messages_highScores.md +++ b/old_docs/API_docs_v72/constructors/messages_highScores.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, Hi ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_messageEditData.md b/old_docs/API_docs_v72/constructors/messages_messageEditData.md index aee6e179..fe0f3ab3 100644 --- a/old_docs/API_docs_v72/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v72/constructors/messages_messageEditData.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` @@ -32,10 +32,9 @@ $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messageEditData={_='messages.messageEditData', caption=Bool} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_messages.md b/old_docs/API_docs_v72/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v72/constructors/messages_messages.md +++ b/old_docs/API_docs_v72/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_messagesSlice.md b/old_docs/API_docs_v72/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v72/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v72/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_peerDialogs.md b/old_docs/API_docs_v72/constructors/messages_peerDialogs.md index 93601b21..60aa48e6 100644 --- a/old_docs/API_docs_v72/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v72/constructors/messages_peerDialogs.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -36,10 +36,9 @@ $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Di ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_recentStickers.md b/old_docs/API_docs_v72/constructors/messages_recentStickers.md index b2ea1fa7..47a5c591 100644 --- a/old_docs/API_docs_v72/constructors/messages_recentStickers.md +++ b/old_docs/API_docs_v72/constructors/messages_recentStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v72/constructors/messages_recentStickersNotModified.md index 9bf964da..c3c4f654 100644 --- a/old_docs/API_docs_v72/constructors/messages_recentStickersNotModified.md +++ b/old_docs/API_docs_v72/constructors/messages_recentStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModifie ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickersNotModified={_='messages.recentStickersNotModified'} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_savedGifs.md b/old_docs/API_docs_v72/constructors/messages_savedGifs.md index 4a254ab5..ae7e595f 100644 --- a/old_docs/API_docs_v72/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v72/constructors/messages_savedGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Do ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v72/constructors/messages_savedGifsNotModified.md index 65c17d0c..ef0db669 100644 --- a/old_docs/API_docs_v72/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v72/constructors/messages_savedGifsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` @@ -27,10 +27,9 @@ $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifsNotModified={_='messages.savedGifsNotModified'} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v72/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v72/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v72/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v72/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v72/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v72/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_stickerSet.md b/old_docs/API_docs_v72/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/old_docs/API_docs_v72/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v72/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v72/constructors/messages_stickerSetInstallResultArchive.md index 2f66cfa0..f43e11c0 100644 --- a/old_docs/API_docs_v72/constructors/messages_stickerSetInstallResultArchive.md +++ b/old_docs/API_docs_v72/constructors/messages_stickerSetInstallResultArchive.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -32,10 +32,9 @@ $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v72/constructors/messages_stickerSetInstallResultSuccess.md index ef5752a2..bb6b00f3 100644 --- a/old_docs/API_docs_v72/constructors/messages_stickerSetInstallResultSuccess.md +++ b/old_docs/API_docs_v72/constructors/messages_stickerSetInstallResultSuccess.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; ``` @@ -27,10 +27,9 @@ $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_stickers.md b/old_docs/API_docs_v72/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v72/constructors/messages_stickers.md +++ b/old_docs/API_docs_v72/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v72/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v72/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v72/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v72/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v72/constructors/msg_detailed_info.md b/old_docs/API_docs_v72/constructors/msg_detailed_info.md index 22a4fdb0..238ea35d 100644 --- a/old_docs/API_docs_v72/constructors/msg_detailed_info.md +++ b/old_docs/API_docs_v72/constructors/msg_detailed_info.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_id' => long, 'bytes' => int, 'status' => int]; ``` @@ -35,10 +35,9 @@ $msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_detailed_info={_='msg_detailed_info', msg_id=long, answer_msg_id=long, bytes=int, status=int} ``` diff --git a/old_docs/API_docs_v72/constructors/msg_new_detailed_info.md b/old_docs/API_docs_v72/constructors/msg_new_detailed_info.md index fc671bb9..6e4ad249 100644 --- a/old_docs/API_docs_v72/constructors/msg_new_detailed_info.md +++ b/old_docs/API_docs_v72/constructors/msg_new_detailed_info.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => long, 'bytes' => int, 'status' => int]; ``` @@ -34,10 +34,9 @@ $msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_new_detailed_info={_='msg_new_detailed_info', answer_msg_id=long, bytes=int, status=int} ``` diff --git a/old_docs/API_docs_v72/constructors/msg_resend_req.md b/old_docs/API_docs_v72/constructors/msg_resend_req.md index 3ae86dfc..d9de1768 100644 --- a/old_docs/API_docs_v72/constructors/msg_resend_req.md +++ b/old_docs/API_docs_v72/constructors/msg_resend_req.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long, long]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msg_resend_req={_='msg_resend_req', msg_ids={long}} ``` diff --git a/old_docs/API_docs_v72/constructors/msgs_ack.md b/old_docs/API_docs_v72/constructors/msgs_ack.md index 83c78c01..78b0bed6 100644 --- a/old_docs/API_docs_v72/constructors/msgs_ack.md +++ b/old_docs/API_docs_v72/constructors/msgs_ack.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long, long]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_ack={_='msgs_ack', msg_ids={long}} ``` diff --git a/old_docs/API_docs_v72/constructors/msgs_all_info.md b/old_docs/API_docs_v72/constructors/msgs_all_info.md index f4be85aa..063eb59d 100644 --- a/old_docs/API_docs_v72/constructors/msgs_all_info.md +++ b/old_docs/API_docs_v72/constructors/msgs_all_info.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long, long], 'info' => 'string']; ``` @@ -33,10 +33,9 @@ $msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long, long], 'info' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_all_info={_='msgs_all_info', msg_ids={long}, info='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/msgs_state_info.md b/old_docs/API_docs_v72/constructors/msgs_state_info.md index a1157206..04f1c818 100644 --- a/old_docs/API_docs_v72/constructors/msgs_state_info.md +++ b/old_docs/API_docs_v72/constructors/msgs_state_info.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => 'string']; ``` @@ -33,10 +33,9 @@ $msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_state_info={_='msgs_state_info', req_msg_id=long, info='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/msgs_state_req.md b/old_docs/API_docs_v72/constructors/msgs_state_req.md index ede2520f..feedf3d3 100644 --- a/old_docs/API_docs_v72/constructors/msgs_state_req.md +++ b/old_docs/API_docs_v72/constructors/msgs_state_req.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long, long]]; ``` @@ -32,10 +32,9 @@ $msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long, long]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua msgs_state_req={_='msgs_state_req', msg_ids={long}} ``` diff --git a/old_docs/API_docs_v72/constructors/nearestDc.md b/old_docs/API_docs_v72/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v72/constructors/nearestDc.md +++ b/old_docs/API_docs_v72/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v72/constructors/new_session_created.md b/old_docs/API_docs_v72/constructors/new_session_created.md index b917ad59..aa443caa 100644 --- a/old_docs/API_docs_v72/constructors/new_session_created.md +++ b/old_docs/API_docs_v72/constructors/new_session_created.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'unique_id' => long, 'server_salt' => long]; ``` @@ -34,10 +34,9 @@ $new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'u ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua new_session_created={_='new_session_created', first_msg_id=long, unique_id=long, server_salt=long} ``` diff --git a/old_docs/API_docs_v72/constructors/notifyAll.md b/old_docs/API_docs_v72/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v72/constructors/notifyAll.md +++ b/old_docs/API_docs_v72/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v72/constructors/notifyChats.md b/old_docs/API_docs_v72/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v72/constructors/notifyChats.md +++ b/old_docs/API_docs_v72/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v72/constructors/notifyPeer.md b/old_docs/API_docs_v72/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v72/constructors/notifyPeer.md +++ b/old_docs/API_docs_v72/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v72/constructors/notifyUsers.md b/old_docs/API_docs_v72/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v72/constructors/notifyUsers.md +++ b/old_docs/API_docs_v72/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v72/constructors/p_q_inner_data.md b/old_docs/API_docs_v72/constructors/p_q_inner_data.md index 9a05a5ec..3c4f16f5 100644 --- a/old_docs/API_docs_v72/constructors/p_q_inner_data.md +++ b/old_docs/API_docs_v72/constructors/p_q_inner_data.md @@ -28,7 +28,7 @@ PQ inner data ### Example: -``` +```php $p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => 'string', 'p' => 'string', 'q' => 'string', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256]; ``` @@ -39,10 +39,9 @@ $p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => 'string', 'p' => 'string', ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua p_q_inner_data={_='p_q_inner_data', pq='string', p='string', q='string', nonce=int128, server_nonce=int128, new_nonce=int256} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockAnchor.md b/old_docs/API_docs_v72/constructors/pageBlockAnchor.md index af7f7c2b..5a5757fb 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockAnchor.md +++ b/old_docs/API_docs_v72/constructors/pageBlockAnchor.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` @@ -32,10 +32,9 @@ $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAnchor={_='pageBlockAnchor', name='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockAudio.md b/old_docs/API_docs_v72/constructors/pageBlockAudio.md index 5a7b97c0..af68cf19 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockAudio.md +++ b/old_docs/API_docs_v72/constructors/pageBlockAudio.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAudio = ['_' => 'pageBlockAudio', 'audio_id' => long, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockAudio = ['_' => 'pageBlockAudio', 'audio_id' => long, 'caption' => Ric ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAudio={_='pageBlockAudio', audio_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockAuthorDate.md b/old_docs/API_docs_v72/constructors/pageBlockAuthorDate.md index 4f746156..03daab4b 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockAuthorDate.md +++ b/old_docs/API_docs_v72/constructors/pageBlockAuthorDate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int]; ``` @@ -33,10 +33,9 @@ $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'pub ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAuthorDate={_='pageBlockAuthorDate', author=RichText, published_date=int} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockBlockquote.md b/old_docs/API_docs_v72/constructors/pageBlockBlockquote.md index f78ad5bd..c34f378d 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockBlockquote.md +++ b/old_docs/API_docs_v72/constructors/pageBlockBlockquote.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'capti ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockBlockquote={_='pageBlockBlockquote', text=RichText, caption=RichText} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockChannel.md b/old_docs/API_docs_v72/constructors/pageBlockChannel.md index 6cd78457..95ddd37b 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockChannel.md +++ b/old_docs/API_docs_v72/constructors/pageBlockChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat]; ``` @@ -32,10 +32,9 @@ $pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockChannel={_='pageBlockChannel', channel=Chat} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockCollage.md b/old_docs/API_docs_v72/constructors/pageBlockCollage.md index 45bdee72..beaf8ba2 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockCollage.md +++ b/old_docs/API_docs_v72/constructors/pageBlockCollage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock, PageBlock ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockCollage={_='pageBlockCollage', items={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockCover.md b/old_docs/API_docs_v72/constructors/pageBlockCover.md index 8e8db49e..8c96a1af 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockCover.md +++ b/old_docs/API_docs_v72/constructors/pageBlockCover.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` @@ -32,10 +32,9 @@ $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockCover={_='pageBlockCover', cover=PageBlock} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockDivider.md b/old_docs/API_docs_v72/constructors/pageBlockDivider.md index 5f444cce..ee3e75b7 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockDivider.md +++ b/old_docs/API_docs_v72/constructors/pageBlockDivider.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockDivider = ['_' => 'pageBlockDivider']; ``` @@ -27,10 +27,9 @@ $pageBlockDivider = ['_' => 'pageBlockDivider']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockDivider={_='pageBlockDivider'} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockEmbed.md b/old_docs/API_docs_v72/constructors/pageBlockEmbed.md index 3e508369..9c72b889 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockEmbed.md +++ b/old_docs/API_docs_v72/constructors/pageBlockEmbed.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => 'string', 'html' => 'string', 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText]; ``` @@ -39,10 +39,9 @@ $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolli ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockEmbed={_='pageBlockEmbed', full_width=Bool, allow_scrolling=Bool, url='string', html='string', poster_photo_id=long, w=int, h=int, caption=RichText} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockEmbedPost.md b/old_docs/API_docs_v72/constructors/pageBlockEmbedPost.md index 24c622e6..684952c1 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockEmbedPost.md +++ b/old_docs/API_docs_v72/constructors/pageBlockEmbedPost.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_id' => long, 'author_photo_id' => long, 'author' => 'string', 'date' => int, 'blocks' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -38,10 +38,9 @@ $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockEmbedPost={_='pageBlockEmbedPost', url='string', webpage_id=long, author_photo_id=long, author='string', date=int, blocks={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockFooter.md b/old_docs/API_docs_v72/constructors/pageBlockFooter.md index 3caeb971..e467eb94 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockFooter.md +++ b/old_docs/API_docs_v72/constructors/pageBlockFooter.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockFooter={_='pageBlockFooter', text=RichText} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockHeader.md b/old_docs/API_docs_v72/constructors/pageBlockHeader.md index 950037d0..761196e1 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockHeader.md +++ b/old_docs/API_docs_v72/constructors/pageBlockHeader.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockHeader={_='pageBlockHeader', text=RichText} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockList.md b/old_docs/API_docs_v72/constructors/pageBlockList.md index 37371b18..f841cf2f 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockList.md +++ b/old_docs/API_docs_v72/constructors/pageBlockList.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText, RichText]]; ``` @@ -33,10 +33,9 @@ $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichTex ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockList={_='pageBlockList', ordered=Bool, items={RichText}} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockParagraph.md b/old_docs/API_docs_v72/constructors/pageBlockParagraph.md index 6b22950e..897a7870 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockParagraph.md +++ b/old_docs/API_docs_v72/constructors/pageBlockParagraph.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockParagraph={_='pageBlockParagraph', text=RichText} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockPhoto.md b/old_docs/API_docs_v72/constructors/pageBlockPhoto.md index e80e16f4..470dbc15 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockPhoto.md +++ b/old_docs/API_docs_v72/constructors/pageBlockPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => Ric ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPhoto={_='pageBlockPhoto', photo_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockPreformatted.md b/old_docs/API_docs_v72/constructors/pageBlockPreformatted.md index 49cb8b08..bd505a25 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockPreformatted.md +++ b/old_docs/API_docs_v72/constructors/pageBlockPreformatted.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => 'string']; ``` @@ -33,10 +33,9 @@ $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPreformatted={_='pageBlockPreformatted', text=RichText, language='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockPullquote.md b/old_docs/API_docs_v72/constructors/pageBlockPullquote.md index d73389da..744215e3 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockPullquote.md +++ b/old_docs/API_docs_v72/constructors/pageBlockPullquote.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPullquote={_='pageBlockPullquote', text=RichText, caption=RichText} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockSlideshow.md b/old_docs/API_docs_v72/constructors/pageBlockSlideshow.md index d855e4d8..4a827931 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockSlideshow.md +++ b/old_docs/API_docs_v72/constructors/pageBlockSlideshow.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock, PageB ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSlideshow={_='pageBlockSlideshow', items={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockSubheader.md b/old_docs/API_docs_v72/constructors/pageBlockSubheader.md index 6b6a332e..094c5d2e 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockSubheader.md +++ b/old_docs/API_docs_v72/constructors/pageBlockSubheader.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSubheader={_='pageBlockSubheader', text=RichText} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockSubtitle.md b/old_docs/API_docs_v72/constructors/pageBlockSubtitle.md index 017112c2..6ad657c0 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockSubtitle.md +++ b/old_docs/API_docs_v72/constructors/pageBlockSubtitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSubtitle={_='pageBlockSubtitle', text=RichText} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockTitle.md b/old_docs/API_docs_v72/constructors/pageBlockTitle.md index 9dfe94d2..5c6d228b 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockTitle.md +++ b/old_docs/API_docs_v72/constructors/pageBlockTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockTitle={_='pageBlockTitle', text=RichText} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockUnsupported.md b/old_docs/API_docs_v72/constructors/pageBlockUnsupported.md index 8d127c6d..a0895079 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockUnsupported.md +++ b/old_docs/API_docs_v72/constructors/pageBlockUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` @@ -27,10 +27,9 @@ $pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockUnsupported={_='pageBlockUnsupported'} ``` diff --git a/old_docs/API_docs_v72/constructors/pageBlockVideo.md b/old_docs/API_docs_v72/constructors/pageBlockVideo.md index 03a04d1b..27c2ed6f 100644 --- a/old_docs/API_docs_v72/constructors/pageBlockVideo.md +++ b/old_docs/API_docs_v72/constructors/pageBlockVideo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText]; ``` @@ -35,10 +35,9 @@ $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockVideo={_='pageBlockVideo', autoplay=Bool, loop=Bool, video_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v72/constructors/pageFull.md b/old_docs/API_docs_v72/constructors/pageFull.md index 493f1403..40bae0d4 100644 --- a/old_docs/API_docs_v72/constructors/pageFull.md +++ b/old_docs/API_docs_v72/constructors/pageFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock, PageBlock], 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageFull={_='pageFull', blocks={PageBlock}, photos={Photo}, documents={Document}} ``` diff --git a/old_docs/API_docs_v72/constructors/pagePart.md b/old_docs/API_docs_v72/constructors/pagePart.md index 3e2261ef..430bd942 100644 --- a/old_docs/API_docs_v72/constructors/pagePart.md +++ b/old_docs/API_docs_v72/constructors/pagePart.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock, PageBlock], 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pagePart={_='pagePart', blocks={PageBlock}, photos={Photo}, documents={Document}} ``` diff --git a/old_docs/API_docs_v72/constructors/paymentCharge.md b/old_docs/API_docs_v72/constructors/paymentCharge.md index 83a0d433..56e8e040 100644 --- a/old_docs/API_docs_v72/constructors/paymentCharge.md +++ b/old_docs/API_docs_v72/constructors/paymentCharge.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' => 'string']; ``` @@ -33,10 +33,9 @@ $paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentCharge={_='paymentCharge', id='string', provider_charge_id='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/paymentRequestedInfo.md b/old_docs/API_docs_v72/constructors/paymentRequestedInfo.md index e4b6562a..767ec982 100644 --- a/old_docs/API_docs_v72/constructors/paymentRequestedInfo.md +++ b/old_docs/API_docs_v72/constructors/paymentRequestedInfo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'phone' => 'string', 'email' => 'string', 'shipping_address' => PostAddress]; ``` @@ -35,10 +35,9 @@ $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'pho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentRequestedInfo={_='paymentRequestedInfo', name='string', phone='string', email='string', shipping_address=PostAddress} ``` diff --git a/old_docs/API_docs_v72/constructors/paymentSavedCredentialsCard.md b/old_docs/API_docs_v72/constructors/paymentSavedCredentialsCard.md index 6fc4e934..43b2baf6 100644 --- a/old_docs/API_docs_v72/constructors/paymentSavedCredentialsCard.md +++ b/old_docs/API_docs_v72/constructors/paymentSavedCredentialsCard.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 'string', 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentSavedCredentialsCard={_='paymentSavedCredentialsCard', id='string', title='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/payments_paymentForm.md b/old_docs/API_docs_v72/constructors/payments_paymentForm.md index 74cca6f4..00d9349d 100644 --- a/old_docs/API_docs_v72/constructors/payments_paymentForm.md +++ b/old_docs/API_docs_v72/constructors/payments_paymentForm.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; ``` @@ -42,10 +42,9 @@ $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v72/constructors/payments_paymentReceipt.md index fdf741b4..068f5869 100644 --- a/old_docs/API_docs_v72/constructors/payments_paymentReceipt.md +++ b/old_docs/API_docs_v72/constructors/payments_paymentReceipt.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; ``` @@ -41,10 +41,9 @@ $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/payments_paymentResult.md b/old_docs/API_docs_v72/constructors/payments_paymentResult.md index 7ae00170..a5679a5f 100644 --- a/old_docs/API_docs_v72/constructors/payments_paymentResult.md +++ b/old_docs/API_docs_v72/constructors/payments_paymentResult.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; ``` @@ -32,10 +32,9 @@ $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentResult={_='payments.paymentResult', updates=Updates} ``` diff --git a/old_docs/API_docs_v72/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v72/constructors/payments_paymentVerficationNeeded.md index 4a3f8cdf..e4ca7a8e 100644 --- a/old_docs/API_docs_v72/constructors/payments_paymentVerficationNeeded.md +++ b/old_docs/API_docs_v72/constructors/payments_paymentVerficationNeeded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; ``` @@ -32,10 +32,9 @@ $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/payments_savedInfo.md b/old_docs/API_docs_v72/constructors/payments_savedInfo.md index 3daf671f..c81761c4 100644 --- a/old_docs/API_docs_v72/constructors/payments_savedInfo.md +++ b/old_docs/API_docs_v72/constructors/payments_savedInfo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; ``` @@ -33,10 +33,9 @@ $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} ``` diff --git a/old_docs/API_docs_v72/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v72/constructors/payments_validatedRequestedInfo.md index 676388b7..b84afd83 100644 --- a/old_docs/API_docs_v72/constructors/payments_validatedRequestedInfo.md +++ b/old_docs/API_docs_v72/constructors/payments_validatedRequestedInfo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; ``` @@ -33,10 +33,9 @@ $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} ``` diff --git a/old_docs/API_docs_v72/constructors/peerChannel.md b/old_docs/API_docs_v72/constructors/peerChannel.md index f30e3f41..360d5c42 100644 --- a/old_docs/API_docs_v72/constructors/peerChannel.md +++ b/old_docs/API_docs_v72/constructors/peerChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/peerChat.md b/old_docs/API_docs_v72/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v72/constructors/peerChat.md +++ b/old_docs/API_docs_v72/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v72/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v72/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v72/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v72/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v72/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v72/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v72/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/peerNotifySettings.md b/old_docs/API_docs_v72/constructors/peerNotifySettings.md index f011beb7..2007e4ee 100644 --- a/old_docs/API_docs_v72/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v72/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'si ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v72/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v72/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v72/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/peerSettings.md b/old_docs/API_docs_v72/constructors/peerSettings.md index 8f74bb50..2468fee4 100644 --- a/old_docs/API_docs_v72/constructors/peerSettings.md +++ b/old_docs/API_docs_v72/constructors/peerSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` @@ -32,10 +32,9 @@ $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerSettings={_='peerSettings', report_spam=Bool} ``` diff --git a/old_docs/API_docs_v72/constructors/peerUser.md b/old_docs/API_docs_v72/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v72/constructors/peerUser.md +++ b/old_docs/API_docs_v72/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/phoneCall.md b/old_docs/API_docs_v72/constructors/phoneCall.md index 8104b557..b233076d 100644 --- a/old_docs/API_docs_v72/constructors/phoneCall.md +++ b/old_docs/API_docs_v72/constructors/phoneCall.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, 'connection' => PhoneConnection, 'alternative_connections' => [PhoneConnection, PhoneConnection], 'start_date' => int]; ``` @@ -42,10 +42,9 @@ $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCall={_='phoneCall', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, connection=PhoneConnection, alternative_connections={PhoneConnection}, start_date=int} ``` diff --git a/old_docs/API_docs_v72/constructors/phoneCallAccepted.md b/old_docs/API_docs_v72/constructors/phoneCallAccepted.md index cae97485..80795514 100644 --- a/old_docs/API_docs_v72/constructors/phoneCallAccepted.md +++ b/old_docs/API_docs_v72/constructors/phoneCallAccepted.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` @@ -38,10 +38,9 @@ $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallAccepted={_='phoneCallAccepted', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_b='bytes', protocol=PhoneCallProtocol} ``` diff --git a/old_docs/API_docs_v72/constructors/phoneCallDiscardReasonBusy.md b/old_docs/API_docs_v72/constructors/phoneCallDiscardReasonBusy.md index 10d47acd..8912371f 100644 --- a/old_docs/API_docs_v72/constructors/phoneCallDiscardReasonBusy.md +++ b/old_docs/API_docs_v72/constructors/phoneCallDiscardReasonBusy.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonBusy={_='phoneCallDiscardReasonBusy'} ``` diff --git a/old_docs/API_docs_v72/constructors/phoneCallDiscardReasonDisconnect.md b/old_docs/API_docs_v72/constructors/phoneCallDiscardReasonDisconnect.md index b059c909..3a77aced 100644 --- a/old_docs/API_docs_v72/constructors/phoneCallDiscardReasonDisconnect.md +++ b/old_docs/API_docs_v72/constructors/phoneCallDiscardReasonDisconnect.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonDisconnect={_='phoneCallDiscardReasonDisconnect'} ``` diff --git a/old_docs/API_docs_v72/constructors/phoneCallDiscardReasonHangup.md b/old_docs/API_docs_v72/constructors/phoneCallDiscardReasonHangup.md index 8e6e311c..cac342da 100644 --- a/old_docs/API_docs_v72/constructors/phoneCallDiscardReasonHangup.md +++ b/old_docs/API_docs_v72/constructors/phoneCallDiscardReasonHangup.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonHangup={_='phoneCallDiscardReasonHangup'} ``` diff --git a/old_docs/API_docs_v72/constructors/phoneCallDiscardReasonMissed.md b/old_docs/API_docs_v72/constructors/phoneCallDiscardReasonMissed.md index b8199e88..e10648eb 100644 --- a/old_docs/API_docs_v72/constructors/phoneCallDiscardReasonMissed.md +++ b/old_docs/API_docs_v72/constructors/phoneCallDiscardReasonMissed.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonMissed={_='phoneCallDiscardReasonMissed'} ``` diff --git a/old_docs/API_docs_v72/constructors/phoneCallDiscarded.md b/old_docs/API_docs_v72/constructors/phoneCallDiscarded.md index 69fd1caa..e20027a5 100644 --- a/old_docs/API_docs_v72/constructors/phoneCallDiscarded.md +++ b/old_docs/API_docs_v72/constructors/phoneCallDiscarded.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` @@ -36,10 +36,9 @@ $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscarded={_='phoneCallDiscarded', need_rating=Bool, need_debug=Bool, id=long, reason=PhoneCallDiscardReason, duration=int} ``` diff --git a/old_docs/API_docs_v72/constructors/phoneCallEmpty.md b/old_docs/API_docs_v72/constructors/phoneCallEmpty.md index cfb8125b..a51f3ea2 100644 --- a/old_docs/API_docs_v72/constructors/phoneCallEmpty.md +++ b/old_docs/API_docs_v72/constructors/phoneCallEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallEmpty={_='phoneCallEmpty', id=long} ``` diff --git a/old_docs/API_docs_v72/constructors/phoneCallProtocol.md b/old_docs/API_docs_v72/constructors/phoneCallProtocol.md index 9f0e2eed..01574fa2 100644 --- a/old_docs/API_docs_v72/constructors/phoneCallProtocol.md +++ b/old_docs/API_docs_v72/constructors/phoneCallProtocol.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int]; ``` @@ -35,10 +35,9 @@ $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflec ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallProtocol={_='phoneCallProtocol', udp_p2p=Bool, udp_reflector=Bool, min_layer=int, max_layer=int} ``` diff --git a/old_docs/API_docs_v72/constructors/phoneCallRequested.md b/old_docs/API_docs_v72/constructors/phoneCallRequested.md index c96f398f..0465e0fb 100644 --- a/old_docs/API_docs_v72/constructors/phoneCallRequested.md +++ b/old_docs/API_docs_v72/constructors/phoneCallRequested.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` @@ -38,10 +38,9 @@ $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallRequested={_='phoneCallRequested', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_hash='bytes', protocol=PhoneCallProtocol} ``` diff --git a/old_docs/API_docs_v72/constructors/phoneCallWaiting.md b/old_docs/API_docs_v72/constructors/phoneCallWaiting.md index 8dcf8e30..9d9658c8 100644 --- a/old_docs/API_docs_v72/constructors/phoneCallWaiting.md +++ b/old_docs/API_docs_v72/constructors/phoneCallWaiting.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int]; ``` @@ -38,10 +38,9 @@ $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallWaiting={_='phoneCallWaiting', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, protocol=PhoneCallProtocol, receive_date=int} ``` diff --git a/old_docs/API_docs_v72/constructors/phoneConnection.md b/old_docs/API_docs_v72/constructors/phoneConnection.md index b117e12f..562975aa 100644 --- a/old_docs/API_docs_v72/constructors/phoneConnection.md +++ b/old_docs/API_docs_v72/constructors/phoneConnection.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'ipv6' => 'string', 'port' => int, 'peer_tag' => 'bytes']; ``` @@ -36,10 +36,9 @@ $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneConnection={_='phoneConnection', id=long, ip='string', ipv6='string', port=int, peer_tag='bytes'} ``` diff --git a/old_docs/API_docs_v72/constructors/phone_phoneCall.md b/old_docs/API_docs_v72/constructors/phone_phoneCall.md index 00c21143..58912b3f 100644 --- a/old_docs/API_docs_v72/constructors/phone_phoneCall.md +++ b/old_docs/API_docs_v72/constructors/phone_phoneCall.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/photo.md b/old_docs/API_docs_v72/constructors/photo.md index 0cad6364..980980f4 100644 --- a/old_docs/API_docs_v72/constructors/photo.md +++ b/old_docs/API_docs_v72/constructors/photo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -36,10 +36,9 @@ $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', has_stickers=Bool, id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v72/constructors/photoCachedSize.md b/old_docs/API_docs_v72/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v72/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v72/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v72/constructors/photoEmpty.md b/old_docs/API_docs_v72/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v72/constructors/photoEmpty.md +++ b/old_docs/API_docs_v72/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v72/constructors/photoSize.md b/old_docs/API_docs_v72/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v72/constructors/photoSize.md +++ b/old_docs/API_docs_v72/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v72/constructors/photoSizeEmpty.md b/old_docs/API_docs_v72/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v72/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v72/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/photos_photo.md b/old_docs/API_docs_v72/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v72/constructors/photos_photo.md +++ b/old_docs/API_docs_v72/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/photos_photos.md b/old_docs/API_docs_v72/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v72/constructors/photos_photos.md +++ b/old_docs/API_docs_v72/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/photos_photosSlice.md b/old_docs/API_docs_v72/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v72/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v72/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/pong.md b/old_docs/API_docs_v72/constructors/pong.md index ba5a4195..932940d8 100644 --- a/old_docs/API_docs_v72/constructors/pong.md +++ b/old_docs/API_docs_v72/constructors/pong.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long]; ``` @@ -33,10 +33,9 @@ $pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pong={_='pong', msg_id=long, ping_id=long} ``` diff --git a/old_docs/API_docs_v72/constructors/popularContact.md b/old_docs/API_docs_v72/constructors/popularContact.md index d7fdf7c9..fbdee8e3 100644 --- a/old_docs/API_docs_v72/constructors/popularContact.md +++ b/old_docs/API_docs_v72/constructors/popularContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $popularContact = ['_' => 'popularContact', 'client_id' => long, 'importers' => int]; ``` @@ -33,10 +33,9 @@ $popularContact = ['_' => 'popularContact', 'client_id' => long, 'importers' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua popularContact={_='popularContact', client_id=long, importers=int} ``` diff --git a/old_docs/API_docs_v72/constructors/postAddress.md b/old_docs/API_docs_v72/constructors/postAddress.md index 0bd47333..aa8080ec 100644 --- a/old_docs/API_docs_v72/constructors/postAddress.md +++ b/old_docs/API_docs_v72/constructors/postAddress.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' => 'string', 'city' => 'string', 'state' => 'string', 'country_iso2' => 'string', 'post_code' => 'string']; ``` @@ -37,10 +37,9 @@ $postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua postAddress={_='postAddress', street_line1='string', street_line2='string', city='string', state='string', country_iso2='string', post_code='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/privacyKeyChatInvite.md b/old_docs/API_docs_v72/constructors/privacyKeyChatInvite.md index cc6e39b6..44826e55 100644 --- a/old_docs/API_docs_v72/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v72/constructors/privacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v72/constructors/privacyKeyPhoneCall.md b/old_docs/API_docs_v72/constructors/privacyKeyPhoneCall.md index 2fe6db7d..fc38f6a4 100644 --- a/old_docs/API_docs_v72/constructors/privacyKeyPhoneCall.md +++ b/old_docs/API_docs_v72/constructors/privacyKeyPhoneCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` @@ -27,10 +27,9 @@ $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyPhoneCall={_='privacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v72/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v72/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v72/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v72/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v72/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v72/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v72/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v72/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v72/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v72/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v72/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v72/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v72/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v72/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v72/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v72/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v72/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v72/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v72/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v72/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v72/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v72/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v72/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v72/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v72/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v72/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v72/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v72/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v72/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v72/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/old_docs/API_docs_v72/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v72/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/recentMeUrlChat.md b/old_docs/API_docs_v72/constructors/recentMeUrlChat.md index 8b09f818..38bb1faf 100644 --- a/old_docs/API_docs_v72/constructors/recentMeUrlChat.md +++ b/old_docs/API_docs_v72/constructors/recentMeUrlChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlChat = ['_' => 'recentMeUrlChat', 'url' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $recentMeUrlChat = ['_' => 'recentMeUrlChat', 'url' => 'string', 'chat_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlChat={_='recentMeUrlChat', url='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/recentMeUrlChatInvite.md b/old_docs/API_docs_v72/constructors/recentMeUrlChatInvite.md index d9d3a1c6..f095734f 100644 --- a/old_docs/API_docs_v72/constructors/recentMeUrlChatInvite.md +++ b/old_docs/API_docs_v72/constructors/recentMeUrlChatInvite.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlChatInvite = ['_' => 'recentMeUrlChatInvite', 'url' => 'string', 'chat_invite' => ChatInvite]; ``` @@ -33,10 +33,9 @@ $recentMeUrlChatInvite = ['_' => 'recentMeUrlChatInvite', 'url' => 'string', 'ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlChatInvite={_='recentMeUrlChatInvite', url='string', chat_invite=ChatInvite} ``` diff --git a/old_docs/API_docs_v72/constructors/recentMeUrlStickerSet.md b/old_docs/API_docs_v72/constructors/recentMeUrlStickerSet.md index b70a27c4..e756dd35 100644 --- a/old_docs/API_docs_v72/constructors/recentMeUrlStickerSet.md +++ b/old_docs/API_docs_v72/constructors/recentMeUrlStickerSet.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlStickerSet = ['_' => 'recentMeUrlStickerSet', 'url' => 'string', 'set' => StickerSetCovered]; ``` @@ -33,10 +33,9 @@ $recentMeUrlStickerSet = ['_' => 'recentMeUrlStickerSet', 'url' => 'string', 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlStickerSet={_='recentMeUrlStickerSet', url='string', set=StickerSetCovered} ``` diff --git a/old_docs/API_docs_v72/constructors/recentMeUrlUnknown.md b/old_docs/API_docs_v72/constructors/recentMeUrlUnknown.md index 0f157436..44809d53 100644 --- a/old_docs/API_docs_v72/constructors/recentMeUrlUnknown.md +++ b/old_docs/API_docs_v72/constructors/recentMeUrlUnknown.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlUnknown = ['_' => 'recentMeUrlUnknown', 'url' => 'string']; ``` @@ -32,10 +32,9 @@ $recentMeUrlUnknown = ['_' => 'recentMeUrlUnknown', 'url' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlUnknown={_='recentMeUrlUnknown', url='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/recentMeUrlUser.md b/old_docs/API_docs_v72/constructors/recentMeUrlUser.md index 1e7ea925..7032fb46 100644 --- a/old_docs/API_docs_v72/constructors/recentMeUrlUser.md +++ b/old_docs/API_docs_v72/constructors/recentMeUrlUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlUser = ['_' => 'recentMeUrlUser', 'url' => 'string', 'user_id' => int]; ``` @@ -33,10 +33,9 @@ $recentMeUrlUser = ['_' => 'recentMeUrlUser', 'url' => 'string', 'user_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlUser={_='recentMeUrlUser', url='string', user_id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/replyInlineMarkup.md b/old_docs/API_docs_v72/constructors/replyInlineMarkup.md index 6d353569..6e481165 100644 --- a/old_docs/API_docs_v72/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v72/constructors/replyInlineMarkup.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -32,10 +32,9 @@ $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v72/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v72/constructors/replyKeyboardForceReply.md index 56e255c1..3f7fae8c 100644 --- a/old_docs/API_docs_v72/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v72/constructors/replyKeyboardForceReply.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` @@ -33,10 +33,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool} ``` diff --git a/old_docs/API_docs_v72/constructors/replyKeyboardHide.md b/old_docs/API_docs_v72/constructors/replyKeyboardHide.md index 7251db49..30e9f399 100644 --- a/old_docs/API_docs_v72/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v72/constructors/replyKeyboardHide.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` @@ -32,10 +32,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide', selective=Bool} ``` diff --git a/old_docs/API_docs_v72/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v72/constructors/replyKeyboardMarkup.md index 87a55463..80f3f654 100644 --- a/old_docs/API_docs_v72/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v72/constructors/replyKeyboardMarkup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -35,10 +35,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v72/constructors/resPQ.md b/old_docs/API_docs_v72/constructors/resPQ.md index d712cdd7..4f3e3874 100644 --- a/old_docs/API_docs_v72/constructors/resPQ.md +++ b/old_docs/API_docs_v72/constructors/resPQ.md @@ -26,7 +26,7 @@ Contains pq to factorize ### Example: -``` +```php $resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => 'string', 'server_public_key_fingerprints' => [long, long]]; ``` @@ -37,10 +37,9 @@ $resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua resPQ={_='resPQ', nonce=int128, server_nonce=int128, pq='string', server_public_key_fingerprints={long}} ``` diff --git a/old_docs/API_docs_v72/constructors/rpc_answer_dropped.md b/old_docs/API_docs_v72/constructors/rpc_answer_dropped.md index e05695b5..e41855e9 100644 --- a/old_docs/API_docs_v72/constructors/rpc_answer_dropped.md +++ b/old_docs/API_docs_v72/constructors/rpc_answer_dropped.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' => int, 'bytes' => int]; ``` @@ -34,10 +34,9 @@ $rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_answer_dropped={_='rpc_answer_dropped', msg_id=long, seq_no=int, bytes=int} ``` diff --git a/old_docs/API_docs_v72/constructors/rpc_answer_dropped_running.md b/old_docs/API_docs_v72/constructors/rpc_answer_dropped_running.md index b98a0cf0..675eea40 100644 --- a/old_docs/API_docs_v72/constructors/rpc_answer_dropped_running.md +++ b/old_docs/API_docs_v72/constructors/rpc_answer_dropped_running.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running']; ``` @@ -27,10 +27,9 @@ $rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_answer_dropped_running={_='rpc_answer_dropped_running'} ``` diff --git a/old_docs/API_docs_v72/constructors/rpc_answer_unknown.md b/old_docs/API_docs_v72/constructors/rpc_answer_unknown.md index f9f425cc..3f2d3c02 100644 --- a/old_docs/API_docs_v72/constructors/rpc_answer_unknown.md +++ b/old_docs/API_docs_v72/constructors/rpc_answer_unknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_answer_unknown = ['_' => 'rpc_answer_unknown']; ``` @@ -27,10 +27,9 @@ $rpc_answer_unknown = ['_' => 'rpc_answer_unknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_answer_unknown={_='rpc_answer_unknown'} ``` diff --git a/old_docs/API_docs_v72/constructors/rpc_error.md b/old_docs/API_docs_v72/constructors/rpc_error.md index 5d9c2e9e..5b40250d 100644 --- a/old_docs/API_docs_v72/constructors/rpc_error.md +++ b/old_docs/API_docs_v72/constructors/rpc_error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => 'string']; ``` @@ -33,10 +33,9 @@ $rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua rpc_error={_='rpc_error', error_code=int, error_message='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v72/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v72/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v72/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v72/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v72/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v72/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v72/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v72/constructors/sendMessageGamePlayAction.md b/old_docs/API_docs_v72/constructors/sendMessageGamePlayAction.md index 8238ea55..0c395c75 100644 --- a/old_docs/API_docs_v72/constructors/sendMessageGamePlayAction.md +++ b/old_docs/API_docs_v72/constructors/sendMessageGamePlayAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGamePlayAction={_='sendMessageGamePlayAction'} ``` diff --git a/old_docs/API_docs_v72/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v72/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v72/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v72/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v72/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v72/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v72/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v72/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v72/constructors/sendMessageRecordRoundAction.md b/old_docs/API_docs_v72/constructors/sendMessageRecordRoundAction.md index a388d0ec..30e71ae8 100644 --- a/old_docs/API_docs_v72/constructors/sendMessageRecordRoundAction.md +++ b/old_docs/API_docs_v72/constructors/sendMessageRecordRoundAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordRoundAction={_='sendMessageRecordRoundAction'} ``` diff --git a/old_docs/API_docs_v72/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v72/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v72/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v72/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v72/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v72/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v72/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v72/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v72/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v72/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/old_docs/API_docs_v72/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v72/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/old_docs/API_docs_v72/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v72/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/old_docs/API_docs_v72/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v72/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/old_docs/API_docs_v72/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v72/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/old_docs/API_docs_v72/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v72/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/old_docs/API_docs_v72/constructors/sendMessageUploadRoundAction.md b/old_docs/API_docs_v72/constructors/sendMessageUploadRoundAction.md index ffd14270..b101d308 100644 --- a/old_docs/API_docs_v72/constructors/sendMessageUploadRoundAction.md +++ b/old_docs/API_docs_v72/constructors/sendMessageUploadRoundAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadRoundAction={_='sendMessageUploadRoundAction', progress=int} ``` diff --git a/old_docs/API_docs_v72/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v72/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/old_docs/API_docs_v72/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v72/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/old_docs/API_docs_v72/constructors/server_DH_inner_data.md b/old_docs/API_docs_v72/constructors/server_DH_inner_data.md index 8130e1f8..2b442699 100644 --- a/old_docs/API_docs_v72/constructors/server_DH_inner_data.md +++ b/old_docs/API_docs_v72/constructors/server_DH_inner_data.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'g' => int, 'dh_prime' => 'string', 'g_a' => 'string', 'server_time' => int]; ``` @@ -37,10 +37,9 @@ $server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'serv ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua server_DH_inner_data={_='server_DH_inner_data', nonce=int128, server_nonce=int128, g=int, dh_prime='string', g_a='string', server_time=int} ``` diff --git a/old_docs/API_docs_v72/constructors/server_DH_params_fail.md b/old_docs/API_docs_v72/constructors/server_DH_params_fail.md index 24be7fad..d87ee6c1 100644 --- a/old_docs/API_docs_v72/constructors/server_DH_params_fail.md +++ b/old_docs/API_docs_v72/constructors/server_DH_params_fail.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash' => int128]; ``` @@ -34,10 +34,9 @@ $server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua server_DH_params_fail={_='server_DH_params_fail', nonce=int128, server_nonce=int128, new_nonce_hash=int128} ``` diff --git a/old_docs/API_docs_v72/constructors/server_DH_params_ok.md b/old_docs/API_docs_v72/constructors/server_DH_params_ok.md index 1876910b..6c296a39 100644 --- a/old_docs/API_docs_v72/constructors/server_DH_params_ok.md +++ b/old_docs/API_docs_v72/constructors/server_DH_params_ok.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server_nonce' => int128, 'encrypted_answer' => 'string']; ``` @@ -34,10 +34,9 @@ $server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua server_DH_params_ok={_='server_DH_params_ok', nonce=int128, server_nonce=int128, encrypted_answer='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/shippingOption.md b/old_docs/API_docs_v72/constructors/shippingOption.md index 6f0cbc4c..863fd128 100644 --- a/old_docs/API_docs_v72/constructors/shippingOption.md +++ b/old_docs/API_docs_v72/constructors/shippingOption.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string', 'prices' => [LabeledPrice, LabeledPrice]]; ``` @@ -34,10 +34,9 @@ $shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua shippingOption={_='shippingOption', id='string', title='string', prices={LabeledPrice}} ``` diff --git a/old_docs/API_docs_v72/constructors/stickerPack.md b/old_docs/API_docs_v72/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v72/constructors/stickerPack.md +++ b/old_docs/API_docs_v72/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v72/constructors/stickerSet.md b/old_docs/API_docs_v72/constructors/stickerSet.md index afa3b21f..059e4ae7 100644 --- a/old_docs/API_docs_v72/constructors/stickerSet.md +++ b/old_docs/API_docs_v72/constructors/stickerSet.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -41,10 +41,9 @@ $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'of ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', installed=Bool, archived=Bool, official=Bool, masks=Bool, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/old_docs/API_docs_v72/constructors/stickerSetCovered.md b/old_docs/API_docs_v72/constructors/stickerSetCovered.md index cc1c806e..127b821f 100644 --- a/old_docs/API_docs_v72/constructors/stickerSetCovered.md +++ b/old_docs/API_docs_v72/constructors/stickerSetCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document]; ``` @@ -33,10 +33,9 @@ $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetCovered={_='stickerSetCovered', set=StickerSet, cover=Document} ``` diff --git a/old_docs/API_docs_v72/constructors/stickerSetMultiCovered.md b/old_docs/API_docs_v72/constructors/stickerSetMultiCovered.md index 74d10e38..9fc0ad35 100644 --- a/old_docs/API_docs_v72/constructors/stickerSetMultiCovered.md +++ b/old_docs/API_docs_v72/constructors/stickerSetMultiCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetMultiCovered={_='stickerSetMultiCovered', set=StickerSet, covers={Document}} ``` diff --git a/old_docs/API_docs_v72/constructors/storage_fileGif.md b/old_docs/API_docs_v72/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v72/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v72/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v72/constructors/storage_fileJpeg.md b/old_docs/API_docs_v72/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v72/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v72/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v72/constructors/storage_fileMov.md b/old_docs/API_docs_v72/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v72/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v72/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v72/constructors/storage_fileMp3.md b/old_docs/API_docs_v72/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v72/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v72/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v72/constructors/storage_fileMp4.md b/old_docs/API_docs_v72/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v72/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v72/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v72/constructors/storage_filePartial.md b/old_docs/API_docs_v72/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v72/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v72/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v72/constructors/storage_filePdf.md b/old_docs/API_docs_v72/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v72/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v72/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v72/constructors/storage_filePng.md b/old_docs/API_docs_v72/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v72/constructors/storage_filePng.md +++ b/old_docs/API_docs_v72/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v72/constructors/storage_fileUnknown.md b/old_docs/API_docs_v72/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v72/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v72/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v72/constructors/storage_fileWebp.md b/old_docs/API_docs_v72/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v72/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v72/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v72/constructors/textBold.md b/old_docs/API_docs_v72/constructors/textBold.md index 52b668f6..f847ab68 100644 --- a/old_docs/API_docs_v72/constructors/textBold.md +++ b/old_docs/API_docs_v72/constructors/textBold.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textBold = ['_' => 'textBold', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textBold = ['_' => 'textBold', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textBold={_='textBold', text=RichText} ``` diff --git a/old_docs/API_docs_v72/constructors/textConcat.md b/old_docs/API_docs_v72/constructors/textConcat.md index 3f2656ed..ee998a7e 100644 --- a/old_docs/API_docs_v72/constructors/textConcat.md +++ b/old_docs/API_docs_v72/constructors/textConcat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textConcat = ['_' => 'textConcat', 'texts' => [RichText, RichText]]; ``` @@ -32,10 +32,9 @@ $textConcat = ['_' => 'textConcat', 'texts' => [RichText, RichText]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textConcat={_='textConcat', texts={RichText}} ``` diff --git a/old_docs/API_docs_v72/constructors/textEmail.md b/old_docs/API_docs_v72/constructors/textEmail.md index 0b546415..6a1a2ba2 100644 --- a/old_docs/API_docs_v72/constructors/textEmail.md +++ b/old_docs/API_docs_v72/constructors/textEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` @@ -33,10 +33,9 @@ $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textEmail={_='textEmail', text=RichText, email='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/textEmpty.md b/old_docs/API_docs_v72/constructors/textEmpty.md index 4e96adb3..dfe867ed 100644 --- a/old_docs/API_docs_v72/constructors/textEmpty.md +++ b/old_docs/API_docs_v72/constructors/textEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textEmpty = ['_' => 'textEmpty']; ``` @@ -27,10 +27,9 @@ $textEmpty = ['_' => 'textEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textEmpty={_='textEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/textFixed.md b/old_docs/API_docs_v72/constructors/textFixed.md index e40767d9..a83607fa 100644 --- a/old_docs/API_docs_v72/constructors/textFixed.md +++ b/old_docs/API_docs_v72/constructors/textFixed.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textFixed={_='textFixed', text=RichText} ``` diff --git a/old_docs/API_docs_v72/constructors/textItalic.md b/old_docs/API_docs_v72/constructors/textItalic.md index e32fbec2..4aa819b6 100644 --- a/old_docs/API_docs_v72/constructors/textItalic.md +++ b/old_docs/API_docs_v72/constructors/textItalic.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textItalic={_='textItalic', text=RichText} ``` diff --git a/old_docs/API_docs_v72/constructors/textPlain.md b/old_docs/API_docs_v72/constructors/textPlain.md index 2e654fde..9f83d5fa 100644 --- a/old_docs/API_docs_v72/constructors/textPlain.md +++ b/old_docs/API_docs_v72/constructors/textPlain.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textPlain={_='textPlain', text='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/textStrike.md b/old_docs/API_docs_v72/constructors/textStrike.md index 0090e980..0329cbd9 100644 --- a/old_docs/API_docs_v72/constructors/textStrike.md +++ b/old_docs/API_docs_v72/constructors/textStrike.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textStrike={_='textStrike', text=RichText} ``` diff --git a/old_docs/API_docs_v72/constructors/textUnderline.md b/old_docs/API_docs_v72/constructors/textUnderline.md index 843d0a9a..adee0d2f 100644 --- a/old_docs/API_docs_v72/constructors/textUnderline.md +++ b/old_docs/API_docs_v72/constructors/textUnderline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textUnderline={_='textUnderline', text=RichText} ``` diff --git a/old_docs/API_docs_v72/constructors/textUrl.md b/old_docs/API_docs_v72/constructors/textUrl.md index 6938f27e..bb497739 100644 --- a/old_docs/API_docs_v72/constructors/textUrl.md +++ b/old_docs/API_docs_v72/constructors/textUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id' => long]; ``` @@ -34,10 +34,9 @@ $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textUrl={_='textUrl', text=RichText, url='string', webpage_id=long} ``` diff --git a/old_docs/API_docs_v72/constructors/topPeer.md b/old_docs/API_docs_v72/constructors/topPeer.md index aa49751b..fff00b7d 100644 --- a/old_docs/API_docs_v72/constructors/topPeer.md +++ b/old_docs/API_docs_v72/constructors/topPeer.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` @@ -33,10 +33,9 @@ $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeer={_='topPeer', peer=Peer, rating=double} ``` diff --git a/old_docs/API_docs_v72/constructors/topPeerCategoryBotsInline.md b/old_docs/API_docs_v72/constructors/topPeerCategoryBotsInline.md index 1d57e310..3f7906e2 100644 --- a/old_docs/API_docs_v72/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v72/constructors/topPeerCategoryBotsInline.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsInline={_='topPeerCategoryBotsInline'} ``` diff --git a/old_docs/API_docs_v72/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v72/constructors/topPeerCategoryBotsPM.md index f6207626..78f54b44 100644 --- a/old_docs/API_docs_v72/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v72/constructors/topPeerCategoryBotsPM.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsPM={_='topPeerCategoryBotsPM'} ``` diff --git a/old_docs/API_docs_v72/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v72/constructors/topPeerCategoryChannels.md index 8f0e1fcb..02947d85 100644 --- a/old_docs/API_docs_v72/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v72/constructors/topPeerCategoryChannels.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryChannels={_='topPeerCategoryChannels'} ``` diff --git a/old_docs/API_docs_v72/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v72/constructors/topPeerCategoryCorrespondents.md index 9435610d..c0362f78 100644 --- a/old_docs/API_docs_v72/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v72/constructors/topPeerCategoryCorrespondents.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents'} ``` diff --git a/old_docs/API_docs_v72/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v72/constructors/topPeerCategoryGroups.md index 3b6859df..dddb951c 100644 --- a/old_docs/API_docs_v72/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v72/constructors/topPeerCategoryGroups.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryGroups={_='topPeerCategoryGroups'} ``` diff --git a/old_docs/API_docs_v72/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v72/constructors/topPeerCategoryPeers.md index 886ab6f9..36d071f6 100644 --- a/old_docs/API_docs_v72/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v72/constructors/topPeerCategoryPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer, TopPeer]]; ``` @@ -34,10 +34,9 @@ $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}} ``` diff --git a/old_docs/API_docs_v72/constructors/topPeerCategoryPhoneCalls.md b/old_docs/API_docs_v72/constructors/topPeerCategoryPhoneCalls.md index 4c4a1c2d..518279f8 100644 --- a/old_docs/API_docs_v72/constructors/topPeerCategoryPhoneCalls.md +++ b/old_docs/API_docs_v72/constructors/topPeerCategoryPhoneCalls.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryPhoneCalls = ['_' => 'topPeerCategoryPhoneCalls']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryPhoneCalls = ['_' => 'topPeerCategoryPhoneCalls']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryPhoneCalls={_='topPeerCategoryPhoneCalls'} ``` diff --git a/old_docs/API_docs_v72/constructors/true.md b/old_docs/API_docs_v72/constructors/true.md index 2e27ecbf..4863f16b 100644 --- a/old_docs/API_docs_v72/constructors/true.md +++ b/old_docs/API_docs_v72/constructors/true.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $true = ['_' => 'true']; ``` @@ -27,10 +27,9 @@ $true = ['_' => 'true']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua true={_='true'} ``` diff --git a/old_docs/API_docs_v72/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v72/constructors/updateBotCallbackQuery.md index 2216e362..389295a0 100644 --- a/old_docs/API_docs_v72/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v72/constructors/updateBotCallbackQuery.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -38,10 +38,9 @@ $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v72/constructors/updateBotInlineQuery.md index 1cc45358..ed15d35f 100644 --- a/old_docs/API_docs_v72/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v72/constructors/updateBotInlineQuery.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` @@ -36,10 +36,9 @@ $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query='string', geo=GeoPoint, offset='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/updateBotInlineSend.md b/old_docs/API_docs_v72/constructors/updateBotInlineSend.md index fe6c01d3..dda18420 100644 --- a/old_docs/API_docs_v72/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v72/constructors/updateBotInlineSend.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` @@ -36,10 +36,9 @@ $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineSend={_='updateBotInlineSend', user_id=int, query='string', geo=GeoPoint, id='string', msg_id=InputBotInlineMessageID} ``` diff --git a/old_docs/API_docs_v72/constructors/updateBotPrecheckoutQuery.md b/old_docs/API_docs_v72/constructors/updateBotPrecheckoutQuery.md index f7e13668..94098aac 100644 --- a/old_docs/API_docs_v72/constructors/updateBotPrecheckoutQuery.md +++ b/old_docs/API_docs_v72/constructors/updateBotPrecheckoutQuery.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'currency' => 'string', 'total_amount' => long]; ``` @@ -38,10 +38,9 @@ $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotPrecheckoutQuery={_='updateBotPrecheckoutQuery', query_id=long, user_id=int, payload='bytes', info=PaymentRequestedInfo, shipping_option_id='string', currency='string', total_amount=long} ``` diff --git a/old_docs/API_docs_v72/constructors/updateBotShippingQuery.md b/old_docs/API_docs_v72/constructors/updateBotShippingQuery.md index b7413761..41735d33 100644 --- a/old_docs/API_docs_v72/constructors/updateBotShippingQuery.md +++ b/old_docs/API_docs_v72/constructors/updateBotShippingQuery.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'shipping_address' => PostAddress]; ``` @@ -35,10 +35,9 @@ $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotShippingQuery={_='updateBotShippingQuery', query_id=long, user_id=int, payload='bytes', shipping_address=PostAddress} ``` diff --git a/old_docs/API_docs_v72/constructors/updateBotWebhookJSON.md b/old_docs/API_docs_v72/constructors/updateBotWebhookJSON.md index c444fe16..3b917e17 100644 --- a/old_docs/API_docs_v72/constructors/updateBotWebhookJSON.md +++ b/old_docs/API_docs_v72/constructors/updateBotWebhookJSON.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` @@ -32,10 +32,9 @@ $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotWebhookJSON={_='updateBotWebhookJSON', data=DataJSON} ``` diff --git a/old_docs/API_docs_v72/constructors/updateBotWebhookJSONQuery.md b/old_docs/API_docs_v72/constructors/updateBotWebhookJSONQuery.md index c8014f35..9ede5002 100644 --- a/old_docs/API_docs_v72/constructors/updateBotWebhookJSONQuery.md +++ b/old_docs/API_docs_v72/constructors/updateBotWebhookJSONQuery.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => long, 'data' => DataJSON, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotWebhookJSONQuery={_='updateBotWebhookJSONQuery', query_id=long, data=DataJSON, timeout=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateChannel.md b/old_docs/API_docs_v72/constructors/updateChannel.md index e615920a..fb876328 100644 --- a/old_docs/API_docs_v72/constructors/updateChannel.md +++ b/old_docs/API_docs_v72/constructors/updateChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannel={_='updateChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateChannelAvailableMessages.md b/old_docs/API_docs_v72/constructors/updateChannelAvailableMessages.md index ef499037..a5a6d684 100644 --- a/old_docs/API_docs_v72/constructors/updateChannelAvailableMessages.md +++ b/old_docs/API_docs_v72/constructors/updateChannelAvailableMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelAvailableMessages = ['_' => 'updateChannelAvailableMessages', 'channel_id' => int, 'available_min_id' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelAvailableMessages = ['_' => 'updateChannelAvailableMessages', 'cha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelAvailableMessages={_='updateChannelAvailableMessages', channel_id=int, available_min_id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v72/constructors/updateChannelMessageViews.md index 19e0b648..d62f055a 100644 --- a/old_docs/API_docs_v72/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v72/constructors/updateChannelMessageViews.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` @@ -34,10 +34,9 @@ $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateChannelPinnedMessage.md b/old_docs/API_docs_v72/constructors/updateChannelPinnedMessage.md index c6e66353..0d767fb8 100644 --- a/old_docs/API_docs_v72/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v72/constructors/updateChannelPinnedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateChannelReadMessagesContents.md b/old_docs/API_docs_v72/constructors/updateChannelReadMessagesContents.md index 27c1ca60..95640cfe 100644 --- a/old_docs/API_docs_v72/constructors/updateChannelReadMessagesContents.md +++ b/old_docs/API_docs_v72/constructors/updateChannelReadMessagesContents.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelReadMessagesContents = ['_' => 'updateChannelReadMessagesContents', 'channel_id' => int, 'messages' => [int, int]]; ``` @@ -33,10 +33,9 @@ $updateChannelReadMessagesContents = ['_' => 'updateChannelReadMessagesContents' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelReadMessagesContents={_='updateChannelReadMessagesContents', channel_id=int, messages={int}} ``` diff --git a/old_docs/API_docs_v72/constructors/updateChannelTooLong.md b/old_docs/API_docs_v72/constructors/updateChannelTooLong.md index e42904d0..179a43dd 100644 --- a/old_docs/API_docs_v72/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v72/constructors/updateChannelTooLong.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateChannelWebPage.md b/old_docs/API_docs_v72/constructors/updateChannelWebPage.md index f1ae421b..7b037a9d 100644 --- a/old_docs/API_docs_v72/constructors/updateChannelWebPage.md +++ b/old_docs/API_docs_v72/constructors/updateChannelWebPage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'we ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelWebPage={_='updateChannelWebPage', channel_id=int, webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateChatAdmins.md b/old_docs/API_docs_v72/constructors/updateChatAdmins.md index 87ffd626..aac09762 100644 --- a/old_docs/API_docs_v72/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v72/constructors/updateChatAdmins.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v72/constructors/updateChatParticipantAdd.md index ea5157ad..fe76dc62 100644 --- a/old_docs/API_docs_v72/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v72/constructors/updateChatParticipantAdd.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` @@ -36,10 +36,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v72/constructors/updateChatParticipantAdmin.md index b1022850..d262b2e6 100644 --- a/old_docs/API_docs_v72/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v72/constructors/updateChatParticipantAdmin.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v72/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v72/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v72/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateChatParticipants.md b/old_docs/API_docs_v72/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v72/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v72/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v72/constructors/updateChatUserTyping.md b/old_docs/API_docs_v72/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v72/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v72/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v72/constructors/updateConfig.md b/old_docs/API_docs_v72/constructors/updateConfig.md index 6f25cf11..6d67156d 100644 --- a/old_docs/API_docs_v72/constructors/updateConfig.md +++ b/old_docs/API_docs_v72/constructors/updateConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateConfig = ['_' => 'updateConfig']; ``` @@ -27,10 +27,9 @@ $updateConfig = ['_' => 'updateConfig']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateConfig={_='updateConfig'} ``` diff --git a/old_docs/API_docs_v72/constructors/updateContactLink.md b/old_docs/API_docs_v72/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v72/constructors/updateContactLink.md +++ b/old_docs/API_docs_v72/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v72/constructors/updateContactRegistered.md b/old_docs/API_docs_v72/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v72/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v72/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateContactsReset.md b/old_docs/API_docs_v72/constructors/updateContactsReset.md index 3c9f46af..d2458943 100644 --- a/old_docs/API_docs_v72/constructors/updateContactsReset.md +++ b/old_docs/API_docs_v72/constructors/updateContactsReset.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactsReset = ['_' => 'updateContactsReset']; ``` @@ -27,10 +27,9 @@ $updateContactsReset = ['_' => 'updateContactsReset']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactsReset={_='updateContactsReset'} ``` diff --git a/old_docs/API_docs_v72/constructors/updateDcOptions.md b/old_docs/API_docs_v72/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v72/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v72/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v72/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v72/constructors/updateDeleteChannelMessages.md index 0f84f3f7..8fb10b65 100644 --- a/old_docs/API_docs_v72/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v72/constructors/updateDeleteChannelMessages.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateDeleteMessages.md b/old_docs/API_docs_v72/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v72/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v72/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateDialogPinned.md b/old_docs/API_docs_v72/constructors/updateDialogPinned.md index 8ecafcfd..ba2c9090 100644 --- a/old_docs/API_docs_v72/constructors/updateDialogPinned.md +++ b/old_docs/API_docs_v72/constructors/updateDialogPinned.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer]; ``` @@ -33,10 +33,9 @@ $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDialogPinned={_='updateDialogPinned', pinned=Bool, peer=Peer} ``` diff --git a/old_docs/API_docs_v72/constructors/updateDraftMessage.md b/old_docs/API_docs_v72/constructors/updateDraftMessage.md index 7e759a4f..1bf7c2a4 100644 --- a/old_docs/API_docs_v72/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v72/constructors/updateDraftMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage]; ``` @@ -33,10 +33,9 @@ $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => D ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v72/constructors/updateEditChannelMessage.md b/old_docs/API_docs_v72/constructors/updateEditChannelMessage.md index 959c433a..485afae1 100644 --- a/old_docs/API_docs_v72/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v72/constructors/updateEditChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateEditMessage.md b/old_docs/API_docs_v72/constructors/updateEditMessage.md index f9f820e8..9f986f86 100644 --- a/old_docs/API_docs_v72/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v72/constructors/updateEditMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v72/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v72/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v72/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v72/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v72/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v72/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateEncryption.md b/old_docs/API_docs_v72/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v72/constructors/updateEncryption.md +++ b/old_docs/API_docs_v72/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateFavedStickers.md b/old_docs/API_docs_v72/constructors/updateFavedStickers.md index b474cc03..4e799846 100644 --- a/old_docs/API_docs_v72/constructors/updateFavedStickers.md +++ b/old_docs/API_docs_v72/constructors/updateFavedStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateFavedStickers = ['_' => 'updateFavedStickers']; ``` @@ -27,10 +27,9 @@ $updateFavedStickers = ['_' => 'updateFavedStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateFavedStickers={_='updateFavedStickers'} ``` diff --git a/old_docs/API_docs_v72/constructors/updateInlineBotCallbackQuery.md b/old_docs/API_docs_v72/constructors/updateInlineBotCallbackQuery.md index b1b40479..fb112694 100644 --- a/old_docs/API_docs_v72/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v72/constructors/updateInlineBotCallbackQuery.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -37,10 +37,9 @@ $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/updateLangPack.md b/old_docs/API_docs_v72/constructors/updateLangPack.md index 172c1a9a..9f180e97 100644 --- a/old_docs/API_docs_v72/constructors/updateLangPack.md +++ b/old_docs/API_docs_v72/constructors/updateLangPack.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateLangPack = ['_' => 'updateLangPack', 'difference' => LangPackDifference]; ``` @@ -32,10 +32,9 @@ $updateLangPack = ['_' => 'updateLangPack', 'difference' => LangPackDifference]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateLangPack={_='updateLangPack', difference=LangPackDifference} ``` diff --git a/old_docs/API_docs_v72/constructors/updateLangPackTooLong.md b/old_docs/API_docs_v72/constructors/updateLangPackTooLong.md index b55c7e33..55614347 100644 --- a/old_docs/API_docs_v72/constructors/updateLangPackTooLong.md +++ b/old_docs/API_docs_v72/constructors/updateLangPackTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateLangPackTooLong = ['_' => 'updateLangPackTooLong']; ``` @@ -27,10 +27,9 @@ $updateLangPackTooLong = ['_' => 'updateLangPackTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateLangPackTooLong={_='updateLangPackTooLong'} ``` diff --git a/old_docs/API_docs_v72/constructors/updateMessageID.md b/old_docs/API_docs_v72/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v72/constructors/updateMessageID.md +++ b/old_docs/API_docs_v72/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v72/constructors/updateNewChannelMessage.md index 59dbc820..9fa1c7ec 100644 --- a/old_docs/API_docs_v72/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v72/constructors/updateNewChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Messa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v72/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v72/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v72/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateNewMessage.md b/old_docs/API_docs_v72/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v72/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v72/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateNewStickerSet.md b/old_docs/API_docs_v72/constructors/updateNewStickerSet.md index c36d4617..5ba327ea 100644 --- a/old_docs/API_docs_v72/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v72/constructors/updateNewStickerSet.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` @@ -32,10 +32,9 @@ $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_S ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} ``` diff --git a/old_docs/API_docs_v72/constructors/updateNotifySettings.md b/old_docs/API_docs_v72/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v72/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v72/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v72/constructors/updatePhoneCall.md b/old_docs/API_docs_v72/constructors/updatePhoneCall.md index 61730eae..445e1fc0 100644 --- a/old_docs/API_docs_v72/constructors/updatePhoneCall.md +++ b/old_docs/API_docs_v72/constructors/updatePhoneCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` @@ -32,10 +32,9 @@ $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePhoneCall={_='updatePhoneCall', phone_call=PhoneCall} ``` diff --git a/old_docs/API_docs_v72/constructors/updatePinnedDialogs.md b/old_docs/API_docs_v72/constructors/updatePinnedDialogs.md index 4d082bed..4a99a7bd 100644 --- a/old_docs/API_docs_v72/constructors/updatePinnedDialogs.md +++ b/old_docs/API_docs_v72/constructors/updatePinnedDialogs.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer, Peer]]; ``` @@ -32,10 +32,9 @@ $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer, Peer]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePinnedDialogs={_='updatePinnedDialogs', order={Peer}} ``` diff --git a/old_docs/API_docs_v72/constructors/updatePrivacy.md b/old_docs/API_docs_v72/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v72/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v72/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v72/constructors/updatePtsChanged.md b/old_docs/API_docs_v72/constructors/updatePtsChanged.md index 76b49a1f..dac1d461 100644 --- a/old_docs/API_docs_v72/constructors/updatePtsChanged.md +++ b/old_docs/API_docs_v72/constructors/updatePtsChanged.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` @@ -27,10 +27,9 @@ $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePtsChanged={_='updatePtsChanged'} ``` diff --git a/old_docs/API_docs_v72/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v72/constructors/updateReadChannelInbox.md index be964e20..c8c26acb 100644 --- a/old_docs/API_docs_v72/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v72/constructors/updateReadChannelInbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateReadChannelOutbox.md b/old_docs/API_docs_v72/constructors/updateReadChannelOutbox.md index c725d108..664108d1 100644 --- a/old_docs/API_docs_v72/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v72/constructors/updateReadChannelOutbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelOutbox={_='updateReadChannelOutbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateReadFeaturedStickers.md b/old_docs/API_docs_v72/constructors/updateReadFeaturedStickers.md index ea46d41f..af7fd3d7 100644 --- a/old_docs/API_docs_v72/constructors/updateReadFeaturedStickers.md +++ b/old_docs/API_docs_v72/constructors/updateReadFeaturedStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` @@ -27,10 +27,9 @@ $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadFeaturedStickers={_='updateReadFeaturedStickers'} ``` diff --git a/old_docs/API_docs_v72/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v72/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v72/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v72/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v72/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v72/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v72/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v72/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/old_docs/API_docs_v72/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v72/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateRecentStickers.md b/old_docs/API_docs_v72/constructors/updateRecentStickers.md index cb15d01f..6f9acb77 100644 --- a/old_docs/API_docs_v72/constructors/updateRecentStickers.md +++ b/old_docs/API_docs_v72/constructors/updateRecentStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` @@ -27,10 +27,9 @@ $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateRecentStickers={_='updateRecentStickers'} ``` diff --git a/old_docs/API_docs_v72/constructors/updateSavedGifs.md b/old_docs/API_docs_v72/constructors/updateSavedGifs.md index dd17f321..ea5619fc 100644 --- a/old_docs/API_docs_v72/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v72/constructors/updateSavedGifs.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` @@ -27,10 +27,9 @@ $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v72/constructors/updateServiceNotification.md b/old_docs/API_docs_v72/constructors/updateServiceNotification.md index 1da6885f..0833007b 100644 --- a/old_docs/API_docs_v72/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v72/constructors/updateServiceNotification.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -37,10 +37,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', popup=Bool, inbox_date=int, type='string', message='string', media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v72/constructors/updateShort.md b/old_docs/API_docs_v72/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v72/constructors/updateShort.md +++ b/old_docs/API_docs_v72/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updateShortChatMessage.md b/old_docs/API_docs_v72/constructors/updateShortChatMessage.md index d62e0729..cbeb4739 100644 --- a/old_docs/API_docs_v72/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v72/constructors/updateShortChatMessage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -46,10 +46,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'ment ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v72/constructors/updateShortMessage.md b/old_docs/API_docs_v72/constructors/updateShortMessage.md index d4effcb8..a8348773 100644 --- a/old_docs/API_docs_v72/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v72/constructors/updateShortMessage.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -45,10 +45,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v72/constructors/updateShortSentMessage.md b/old_docs/API_docs_v72/constructors/updateShortSentMessage.md index fd7035c3..2a318e56 100644 --- a/old_docs/API_docs_v72/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v72/constructors/updateShortSentMessage.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -38,10 +38,9 @@ $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v72/constructors/updateStickerSets.md b/old_docs/API_docs_v72/constructors/updateStickerSets.md index 4f045d67..e4cc23a0 100644 --- a/old_docs/API_docs_v72/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v72/constructors/updateStickerSets.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSets = ['_' => 'updateStickerSets']; ``` @@ -27,10 +27,9 @@ $updateStickerSets = ['_' => 'updateStickerSets']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v72/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v72/constructors/updateStickerSetsOrder.md index e36470ad..74405f69 100644 --- a/old_docs/API_docs_v72/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v72/constructors/updateStickerSetsOrder.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long, long]]; ``` @@ -33,10 +33,9 @@ $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'or ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSetsOrder={_='updateStickerSetsOrder', masks=Bool, order={long}} ``` diff --git a/old_docs/API_docs_v72/constructors/updateUserBlocked.md b/old_docs/API_docs_v72/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v72/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v72/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v72/constructors/updateUserName.md b/old_docs/API_docs_v72/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v72/constructors/updateUserName.md +++ b/old_docs/API_docs_v72/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/updateUserPhone.md b/old_docs/API_docs_v72/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v72/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v72/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/updateUserPhoto.md b/old_docs/API_docs_v72/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v72/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v72/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v72/constructors/updateUserStatus.md b/old_docs/API_docs_v72/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v72/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v72/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v72/constructors/updateUserTyping.md b/old_docs/API_docs_v72/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v72/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v72/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v72/constructors/updateWebPage.md b/old_docs/API_docs_v72/constructors/updateWebPage.md index 9f468619..932d8ff2 100644 --- a/old_docs/API_docs_v72/constructors/updateWebPage.md +++ b/old_docs/API_docs_v72/constructors/updateWebPage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updates.md b/old_docs/API_docs_v72/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v72/constructors/updates.md +++ b/old_docs/API_docs_v72/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updatesCombined.md b/old_docs/API_docs_v72/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v72/constructors/updatesCombined.md +++ b/old_docs/API_docs_v72/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updatesTooLong.md b/old_docs/API_docs_v72/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v72/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v72/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v72/constructors/updates_channelDifference.md b/old_docs/API_docs_v72/constructors/updates_channelDifference.md index 21b618c2..df1dafd6 100644 --- a/old_docs/API_docs_v72/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v72/constructors/updates_channelDifference.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v72/constructors/updates_channelDifferenceEmpty.md index a2e49340..a5be0377 100644 --- a/old_docs/API_docs_v72/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v72/constructors/updates_channelDifferenceEmpty.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'fin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v72/constructors/updates_channelDifferenceTooLong.md index 84834a9f..838aaf3b 100644 --- a/old_docs/API_docs_v72/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v72/constructors/updates_channelDifferenceTooLong.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -42,10 +42,9 @@ $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v72/constructors/updates_difference.md b/old_docs/API_docs_v72/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v72/constructors/updates_difference.md +++ b/old_docs/API_docs_v72/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v72/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v72/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v72/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v72/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updates_differenceSlice.md b/old_docs/API_docs_v72/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v72/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v72/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v72/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v72/constructors/updates_differenceTooLong.md index da55eddf..2e96fdd5 100644 --- a/old_docs/API_docs_v72/constructors/updates_differenceTooLong.md +++ b/old_docs/API_docs_v72/constructors/updates_differenceTooLong.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` @@ -32,10 +32,9 @@ $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceTooLong={_='updates.differenceTooLong', pts=int} ``` diff --git a/old_docs/API_docs_v72/constructors/updates_state.md b/old_docs/API_docs_v72/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v72/constructors/updates_state.md +++ b/old_docs/API_docs_v72/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v72/constructors/upload_cdnFile.md b/old_docs/API_docs_v72/constructors/upload_cdnFile.md index b42b285d..586e6c32 100644 --- a/old_docs/API_docs_v72/constructors/upload_cdnFile.md +++ b/old_docs/API_docs_v72/constructors/upload_cdnFile.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; ``` @@ -32,10 +32,9 @@ $upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_cdnFile={_='upload.cdnFile', bytes='bytes'} ``` diff --git a/old_docs/API_docs_v72/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v72/constructors/upload_cdnFileReuploadNeeded.md index b770fdf6..a770ff3d 100644 --- a/old_docs/API_docs_v72/constructors/upload_cdnFileReuploadNeeded.md +++ b/old_docs/API_docs_v72/constructors/upload_cdnFileReuploadNeeded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; ``` @@ -32,10 +32,9 @@ $upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} ``` diff --git a/old_docs/API_docs_v72/constructors/upload_file.md b/old_docs/API_docs_v72/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v72/constructors/upload_file.md +++ b/old_docs/API_docs_v72/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v72/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v72/constructors/upload_fileCdnRedirect.md index 494aa54e..b1918c02 100644 --- a/old_docs/API_docs_v72/constructors/upload_fileCdnRedirect.md +++ b/old_docs/API_docs_v72/constructors/upload_fileCdnRedirect.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'cdn_file_hashes' => [CdnFileHash, CdnFileHash]]; ``` @@ -36,10 +36,9 @@ $upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'fil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', cdn_file_hashes={CdnFileHash}} ``` diff --git a/old_docs/API_docs_v72/constructors/upload_webFile.md b/old_docs/API_docs_v72/constructors/upload_webFile.md index 296105ee..d94afb72 100644 --- a/old_docs/API_docs_v72/constructors/upload_webFile.md +++ b/old_docs/API_docs_v72/constructors/upload_webFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v72/constructors/user.md b/old_docs/API_docs_v72/constructors/user.md index e15841b7..ebe7d5ed 100644 --- a/old_docs/API_docs_v72/constructors/user.md +++ b/old_docs/API_docs_v72/constructors/user.md @@ -43,7 +43,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => 'string', 'bot_inline_placeholder' => 'string', 'lang_code' => 'string']; ``` @@ -54,10 +54,9 @@ $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, min=Bool, bot_inline_geo=Bool, id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason='string', bot_inline_placeholder='string', lang_code='string'} ``` diff --git a/old_docs/API_docs_v72/constructors/userEmpty.md b/old_docs/API_docs_v72/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v72/constructors/userEmpty.md +++ b/old_docs/API_docs_v72/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/userFull.md b/old_docs/API_docs_v72/constructors/userFull.md index 0ab25737..00b03c07 100644 --- a/old_docs/API_docs_v72/constructors/userFull.md +++ b/old_docs/API_docs_v72/constructors/userFull.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` @@ -41,10 +41,9 @@ $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v72/constructors/userProfilePhoto.md b/old_docs/API_docs_v72/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v72/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v72/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v72/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v72/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v72/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v72/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/userStatusEmpty.md b/old_docs/API_docs_v72/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v72/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v72/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v72/constructors/userStatusLastMonth.md b/old_docs/API_docs_v72/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v72/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v72/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v72/constructors/userStatusLastWeek.md b/old_docs/API_docs_v72/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v72/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v72/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v72/constructors/userStatusOffline.md b/old_docs/API_docs_v72/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v72/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v72/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v72/constructors/userStatusOnline.md b/old_docs/API_docs_v72/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v72/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v72/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v72/constructors/userStatusRecently.md b/old_docs/API_docs_v72/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v72/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v72/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v72/constructors/wallPaper.md b/old_docs/API_docs_v72/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v72/constructors/wallPaper.md +++ b/old_docs/API_docs_v72/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v72/constructors/wallPaperSolid.md b/old_docs/API_docs_v72/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v72/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v72/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v72/constructors/webDocument.md b/old_docs/API_docs_v72/constructors/webDocument.md index 064367a3..67e158fa 100644 --- a/old_docs/API_docs_v72/constructors/webDocument.md +++ b/old_docs/API_docs_v72/constructors/webDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'dc_id' => int]; ``` @@ -37,10 +37,9 @@ $webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webDocument={_='webDocument', url='string', access_hash=long, size=int, mime_type='string', attributes={DocumentAttribute}, dc_id=int} ``` diff --git a/old_docs/API_docs_v72/constructors/webPage.md b/old_docs/API_docs_v72/constructors/webPage.md index 371b1e56..ee070624 100644 --- a/old_docs/API_docs_v72/constructors/webPage.md +++ b/old_docs/API_docs_v72/constructors/webPage.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'hash' => int, 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document, 'cached_page' => Page]; ``` @@ -48,10 +48,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', hash=int, type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document, cached_page=Page} ``` diff --git a/old_docs/API_docs_v72/constructors/webPageEmpty.md b/old_docs/API_docs_v72/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v72/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v72/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v72/constructors/webPageNotModified.md b/old_docs/API_docs_v72/constructors/webPageNotModified.md index 557c2947..a180dd51 100644 --- a/old_docs/API_docs_v72/constructors/webPageNotModified.md +++ b/old_docs/API_docs_v72/constructors/webPageNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageNotModified = ['_' => 'webPageNotModified']; ``` @@ -27,10 +27,9 @@ $webPageNotModified = ['_' => 'webPageNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageNotModified={_='webPageNotModified'} ``` diff --git a/old_docs/API_docs_v72/constructors/webPagePending.md b/old_docs/API_docs_v72/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v72/constructors/webPagePending.md +++ b/old_docs/API_docs_v72/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v72/methods/account_changePhone.md b/old_docs/API_docs_v72/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v72/methods/account_changePhone.md +++ b/old_docs/API_docs_v72/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/account_checkUsername.md b/old_docs/API_docs_v72/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v72/methods/account_checkUsername.md +++ b/old_docs/API_docs_v72/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/account_confirmPhone.md b/old_docs/API_docs_v72/methods/account_confirmPhone.md index a42b69b7..214f54e3 100644 --- a/old_docs/API_docs_v72/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v72/methods/account_confirmPhone.md @@ -25,7 +25,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.confirmPhone({phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/account_deleteAccount.md b/old_docs/API_docs_v72/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v72/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v72/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/account_getAccountTTL.md b/old_docs/API_docs_v72/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v72/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v72/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v72/methods/account_getAuthorizations.md b/old_docs/API_docs_v72/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v72/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v72/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v72/methods/account_getNotifySettings.md b/old_docs/API_docs_v72/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v72/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v72/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v72/methods/account_getPassword.md b/old_docs/API_docs_v72/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v72/methods/account_getPassword.md +++ b/old_docs/API_docs_v72/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v72/methods/account_getPasswordSettings.md b/old_docs/API_docs_v72/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v72/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v72/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v72/methods/account_getPrivacy.md b/old_docs/API_docs_v72/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v72/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v72/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v72/methods/account_getTmpPassword.md b/old_docs/API_docs_v72/methods/account_getTmpPassword.md index 504fbbc3..be75dc69 100644 --- a/old_docs/API_docs_v72/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v72/methods/account_getTmpPassword.md @@ -25,7 +25,7 @@ Get temporary password for buying products through bots ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua account_TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/account_getWallPapers.md b/old_docs/API_docs_v72/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v72/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v72/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v72/methods/account_registerDevice.md b/old_docs/API_docs_v72/methods/account_registerDevice.md index 25549dab..ed1fced0 100644 --- a/old_docs/API_docs_v72/methods/account_registerDevice.md +++ b/old_docs/API_docs_v72/methods/account_registerDevice.md @@ -25,7 +25,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/account_reportPeer.md b/old_docs/API_docs_v72/methods/account_reportPeer.md index d8c49851..673b48bf 100644 --- a/old_docs/API_docs_v72/methods/account_reportPeer.md +++ b/old_docs/API_docs_v72/methods/account_reportPeer.md @@ -25,7 +25,7 @@ Report for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reason - Json encoded ReportReason Or, if you're into Lua: -``` +```lua Bool = account.reportPeer({peer=InputPeer, reason=ReportReason, }) ``` diff --git a/old_docs/API_docs_v72/methods/account_resetAuthorization.md b/old_docs/API_docs_v72/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v72/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v72/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v72/methods/account_resetNotifySettings.md b/old_docs/API_docs_v72/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v72/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v72/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v72/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v72/methods/account_sendChangePhoneCode.md index 33a001b9..123a5880 100644 --- a/old_docs/API_docs_v72/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v72/methods/account_sendChangePhoneCode.md @@ -26,7 +26,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v72/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v72/methods/account_sendConfirmPhoneCode.md index a70ad5a3..5c2612c2 100644 --- a/old_docs/API_docs_v72/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v72/methods/account_sendConfirmPhoneCode.md @@ -26,7 +26,7 @@ Send confirmation phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v72/methods/account_setAccountTTL.md b/old_docs/API_docs_v72/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v72/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v72/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v72/methods/account_setPrivacy.md b/old_docs/API_docs_v72/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v72/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v72/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v72/methods/account_unregisterDevice.md b/old_docs/API_docs_v72/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v72/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v72/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v72/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v72/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v72/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/account_updateNotifySettings.md b/old_docs/API_docs_v72/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v72/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v72/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v72/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v72/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v72/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v72/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v72/methods/account_updateProfile.md b/old_docs/API_docs_v72/methods/account_updateProfile.md index f415381f..f54515e5 100644 --- a/old_docs/API_docs_v72/methods/account_updateProfile.md +++ b/old_docs/API_docs_v72/methods/account_updateProfile.md @@ -26,7 +26,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', about='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/account_updateStatus.md b/old_docs/API_docs_v72/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v72/methods/account_updateStatus.md +++ b/old_docs/API_docs_v72/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v72/methods/account_updateUsername.md b/old_docs/API_docs_v72/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v72/methods/account_updateUsername.md +++ b/old_docs/API_docs_v72/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/auth_cancelCode.md b/old_docs/API_docs_v72/methods/auth_cancelCode.md index 0b53954c..352c88e9 100644 --- a/old_docs/API_docs_v72/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v72/methods/auth_cancelCode.md @@ -25,7 +25,7 @@ Invalidate sent phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/auth_checkPhone.md b/old_docs/API_docs_v72/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v72/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v72/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v72/methods/auth_dropTempAuthKeys.md index 26d63e12..64ce7528 100644 --- a/old_docs/API_docs_v72/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v72/methods/auth_dropTempAuthKeys.md @@ -24,7 +24,7 @@ Delete all temporary authorization keys except the ones provided ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ except_auth_keys - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = auth.dropTempAuthKeys({except_auth_keys={long}, }) ``` diff --git a/old_docs/API_docs_v72/methods/auth_recoverPassword.md b/old_docs/API_docs_v72/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v72/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v72/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v72/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v72/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v72/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v72/methods/auth_resendCode.md b/old_docs/API_docs_v72/methods/auth_resendCode.md index 28350d37..4ce58975 100644 --- a/old_docs/API_docs_v72/methods/auth_resendCode.md +++ b/old_docs/API_docs_v72/methods/auth_resendCode.md @@ -25,7 +25,7 @@ Resend the SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v72/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v72/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v72/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v72/methods/auth_sendInvites.md b/old_docs/API_docs_v72/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v72/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v72/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v72/methods/bots_answerWebhookJSONQuery.md index 6ed252ff..33b6c2a3 100644 --- a/old_docs/API_docs_v72/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v72/methods/bots_answerWebhookJSONQuery.md @@ -25,7 +25,7 @@ Send webhook request via bot API ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ data - Json encoded DataJSON Or, if you're into Lua: -``` +```lua Bool = bots.answerWebhookJSONQuery({query_id=long, data=DataJSON, }) ``` diff --git a/old_docs/API_docs_v72/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v72/methods/bots_sendCustomRequest.md index d14215ec..bd368df5 100644 --- a/old_docs/API_docs_v72/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v72/methods/bots_sendCustomRequest.md @@ -25,7 +25,7 @@ Send a custom request to the bot API ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ params - Json encoded DataJSON Or, if you're into Lua: -``` +```lua DataJSON = bots.sendCustomRequest({custom_method='string', params=DataJSON, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_checkUsername.md b/old_docs/API_docs_v72/methods/channels_checkUsername.md index d287b3ca..573bf8f0 100644 --- a/old_docs/API_docs_v72/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v72/methods/channels_checkUsername.md @@ -25,7 +25,7 @@ Check if this username is free and can be assigned to a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.checkUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_createChannel.md b/old_docs/API_docs_v72/methods/channels_createChannel.md index 356f473a..1821c864 100644 --- a/old_docs/API_docs_v72/methods/channels_createChannel.md +++ b/old_docs/API_docs_v72/methods/channels_createChannel.md @@ -27,7 +27,7 @@ Create channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title='string', about='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_deleteChannel.md b/old_docs/API_docs_v72/methods/channels_deleteChannel.md index b55d91b8..a79ccb9f 100644 --- a/old_docs/API_docs_v72/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v72/methods/channels_deleteChannel.md @@ -24,7 +24,7 @@ Delete a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.deleteChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_deleteHistory.md b/old_docs/API_docs_v72/methods/channels_deleteHistory.md index ea331b8b..606eb2dc 100644 --- a/old_docs/API_docs_v72/methods/channels_deleteHistory.md +++ b/old_docs/API_docs_v72/methods/channels_deleteHistory.md @@ -25,7 +25,7 @@ Delete the history of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.deleteHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_deleteMessages.md b/old_docs/API_docs_v72/methods/channels_deleteMessages.md index 03625c94..8cd7ebb3 100644 --- a/old_docs/API_docs_v72/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v72/methods/channels_deleteMessages.md @@ -25,7 +25,7 @@ Delete channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v72/methods/channels_deleteUserHistory.md index 204a8786..78baa90f 100644 --- a/old_docs/API_docs_v72/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v72/methods/channels_deleteUserHistory.md @@ -25,7 +25,7 @@ Delete all messages of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_editAbout.md b/old_docs/API_docs_v72/methods/channels_editAbout.md index fd861133..549d7ea5 100644 --- a/old_docs/API_docs_v72/methods/channels_editAbout.md +++ b/old_docs/API_docs_v72/methods/channels_editAbout.md @@ -25,7 +25,7 @@ Edit the about text of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.editAbout({channel=InputChannel, about='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_editAdmin.md b/old_docs/API_docs_v72/methods/channels_editAdmin.md index 08860c79..19670a43 100644 --- a/old_docs/API_docs_v72/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v72/methods/channels_editAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ admin_rights - Json encoded ChannelAdminRights Or, if you're into Lua: -``` +```lua Updates = channels.editAdmin({channel=InputChannel, user_id=InputUser, admin_rights=ChannelAdminRights, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_editBanned.md b/old_docs/API_docs_v72/methods/channels_editBanned.md index e938acc0..e18f236e 100644 --- a/old_docs/API_docs_v72/methods/channels_editBanned.md +++ b/old_docs/API_docs_v72/methods/channels_editBanned.md @@ -26,7 +26,7 @@ Kick or ban a user from a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ banned_rights - Json encoded ChannelBannedRights Or, if you're into Lua: -``` +```lua Updates = channels.editBanned({channel=InputChannel, user_id=InputUser, banned_rights=ChannelBannedRights, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_editPhoto.md b/old_docs/API_docs_v72/methods/channels_editPhoto.md index ccbaed65..7013c6e2 100644 --- a/old_docs/API_docs_v72/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v72/methods/channels_editPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = channels.editPhoto({channel=InputChannel, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_editTitle.md b/old_docs/API_docs_v72/methods/channels_editTitle.md index ffd868ba..a9c8c50f 100644 --- a/old_docs/API_docs_v72/methods/channels_editTitle.md +++ b/old_docs/API_docs_v72/methods/channels_editTitle.md @@ -25,7 +25,7 @@ Edit the title of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.editTitle({channel=InputChannel, title='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_exportInvite.md b/old_docs/API_docs_v72/methods/channels_exportInvite.md index 0b4b5c31..5a92097a 100644 --- a/old_docs/API_docs_v72/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v72/methods/channels_exportInvite.md @@ -24,7 +24,7 @@ Export the invite link of a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua ExportedChatInvite = channels.exportInvite({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_exportMessageLink.md b/old_docs/API_docs_v72/methods/channels_exportMessageLink.md index f42068f4..a2e2cc10 100644 --- a/old_docs/API_docs_v72/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v72/methods/channels_exportMessageLink.md @@ -25,7 +25,7 @@ Get the link of a message in a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua ExportedMessageLink = channels.exportMessageLink({channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_getAdminLog.md b/old_docs/API_docs_v72/methods/channels_getAdminLog.md index 266c07d7..79a6b402 100644 --- a/old_docs/API_docs_v72/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v72/methods/channels_getAdminLog.md @@ -30,7 +30,7 @@ Get admin log of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v72/methods/channels_getAdminedPublicChannels.md index 67ee8bd4..dc2c29ed 100644 --- a/old_docs/API_docs_v72/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v72/methods/channels_getAdminedPublicChannels.md @@ -19,7 +19,7 @@ Get all supergroups/channels where you're admin ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v72/methods/channels_getChannels.md b/old_docs/API_docs_v72/methods/channels_getChannels.md index 71edac7b..a146be1e 100644 --- a/old_docs/API_docs_v72/methods/channels_getChannels.md +++ b/old_docs/API_docs_v72/methods/channels_getChannels.md @@ -24,7 +24,7 @@ Get info about multiple channels/supergroups ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputChannel Or, if you're into Lua: -``` +```lua messages_Chats = channels.getChannels({id={InputChannel}, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_getMessages.md b/old_docs/API_docs_v72/methods/channels_getMessages.md index 217757eb..208cbcc4 100644 --- a/old_docs/API_docs_v72/methods/channels_getMessages.md +++ b/old_docs/API_docs_v72/methods/channels_getMessages.md @@ -25,7 +25,7 @@ Get channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_getParticipant.md b/old_docs/API_docs_v72/methods/channels_getParticipant.md index a641d213..9cf80799 100644 --- a/old_docs/API_docs_v72/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v72/methods/channels_getParticipant.md @@ -25,7 +25,7 @@ Get info about a certain channel/supergroup participant ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_getParticipants.md b/old_docs/API_docs_v72/methods/channels_getParticipants.md index 25a752cb..eefd0917 100644 --- a/old_docs/API_docs_v72/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v72/methods/channels_getParticipants.md @@ -28,7 +28,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_inviteToChannel.md b/old_docs/API_docs_v72/methods/channels_inviteToChannel.md index 0a350cc8..998e3895 100644 --- a/old_docs/API_docs_v72/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v72/methods/channels_inviteToChannel.md @@ -25,7 +25,7 @@ Add users to channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ users - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Updates = channels.inviteToChannel({channel=InputChannel, users={InputUser}, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_joinChannel.md b/old_docs/API_docs_v72/methods/channels_joinChannel.md index aae2bc1c..3c6a3b94 100644 --- a/old_docs/API_docs_v72/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v72/methods/channels_joinChannel.md @@ -24,7 +24,7 @@ Join a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.joinChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_leaveChannel.md b/old_docs/API_docs_v72/methods/channels_leaveChannel.md index 4e6701fe..0934089f 100644 --- a/old_docs/API_docs_v72/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v72/methods/channels_leaveChannel.md @@ -24,7 +24,7 @@ Leave a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.leaveChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_readHistory.md b/old_docs/API_docs_v72/methods/channels_readHistory.md index d76919ff..cf5c1529 100644 --- a/old_docs/API_docs_v72/methods/channels_readHistory.md +++ b/old_docs/API_docs_v72/methods/channels_readHistory.md @@ -25,7 +25,7 @@ Mark channel/supergroup history as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.readHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_readMessageContents.md b/old_docs/API_docs_v72/methods/channels_readMessageContents.md index 51fffda5..a6cf4f3a 100644 --- a/old_docs/API_docs_v72/methods/channels_readMessageContents.md +++ b/old_docs/API_docs_v72/methods/channels_readMessageContents.md @@ -25,7 +25,7 @@ Mark channel/supergroup messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.readMessageContents({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_reportSpam.md b/old_docs/API_docs_v72/methods/channels_reportSpam.md index 48022662..b0e99eb1 100644 --- a/old_docs/API_docs_v72/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v72/methods/channels_reportSpam.md @@ -26,7 +26,7 @@ Report a message in a supergroup/channel for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.reportSpam({channel=InputChannel, user_id=InputUser, id={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_setStickers.md b/old_docs/API_docs_v72/methods/channels_setStickers.md index 421b3ec1..4338f29a 100644 --- a/old_docs/API_docs_v72/methods/channels_setStickers.md +++ b/old_docs/API_docs_v72/methods/channels_setStickers.md @@ -25,7 +25,7 @@ Set the supergroup/channel stickerpack ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = channels.setStickers({channel=InputChannel, stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_toggleInvites.md b/old_docs/API_docs_v72/methods/channels_toggleInvites.md index d0023b70..bed6ba15 100644 --- a/old_docs/API_docs_v72/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v72/methods/channels_toggleInvites.md @@ -25,7 +25,7 @@ Allow or disallow any user to invite users to this channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleInvites({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_togglePreHistoryHidden.md b/old_docs/API_docs_v72/methods/channels_togglePreHistoryHidden.md index c25f6358..c972473d 100644 --- a/old_docs/API_docs_v72/methods/channels_togglePreHistoryHidden.md +++ b/old_docs/API_docs_v72/methods/channels_togglePreHistoryHidden.md @@ -25,7 +25,7 @@ Enable or disable hidden history for new channel/supergroup users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.togglePreHistoryHidden({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_toggleSignatures.md b/old_docs/API_docs_v72/methods/channels_toggleSignatures.md index 337e8627..c9fe18cc 100644 --- a/old_docs/API_docs_v72/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v72/methods/channels_toggleSignatures.md @@ -25,7 +25,7 @@ Toggle channel signatures ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleSignatures({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v72/methods/channels_updatePinnedMessage.md index c79c5904..9d2cc058 100644 --- a/old_docs/API_docs_v72/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v72/methods/channels_updatePinnedMessage.md @@ -26,7 +26,7 @@ Set the pinned message of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = channels.updatePinnedMessage({silent=Bool, channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/channels_updateUsername.md b/old_docs/API_docs_v72/methods/channels_updateUsername.md index 2e07e123..c0df8c7c 100644 --- a/old_docs/API_docs_v72/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v72/methods/channels_updateUsername.md @@ -25,7 +25,7 @@ Update the username of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.updateUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/contacts_block.md b/old_docs/API_docs_v72/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v72/methods/contacts_block.md +++ b/old_docs/API_docs_v72/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v72/methods/contacts_deleteContact.md b/old_docs/API_docs_v72/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v72/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v72/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v72/methods/contacts_deleteContacts.md b/old_docs/API_docs_v72/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v72/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v72/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v72/methods/contacts_exportCard.md b/old_docs/API_docs_v72/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v72/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v72/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v72/methods/contacts_getBlocked.md b/old_docs/API_docs_v72/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v72/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v72/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/contacts_getContacts.md b/old_docs/API_docs_v72/methods/contacts_getContacts.md index c8b53bc5..19826f89 100644 --- a/old_docs/API_docs_v72/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v72/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/contacts_getStatuses.md b/old_docs/API_docs_v72/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v72/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v72/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v72/methods/contacts_getTopPeers.md b/old_docs/API_docs_v72/methods/contacts_getTopPeers.md index 1cc9c756..c64e7486 100644 --- a/old_docs/API_docs_v72/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v72/methods/contacts_getTopPeers.md @@ -32,7 +32,7 @@ Get most used chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/contacts_importCard.md b/old_docs/API_docs_v72/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v72/methods/contacts_importCard.md +++ b/old_docs/API_docs_v72/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/contacts_importContacts.md b/old_docs/API_docs_v72/methods/contacts_importContacts.md index eddbe116..c42f5c57 100644 --- a/old_docs/API_docs_v72/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v72/methods/contacts_importContacts.md @@ -24,7 +24,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ contacts - Json encoded array of InputContact Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/old_docs/API_docs_v72/methods/contacts_resetSaved.md b/old_docs/API_docs_v72/methods/contacts_resetSaved.md index 6e0214c2..40d528bc 100644 --- a/old_docs/API_docs_v72/methods/contacts_resetSaved.md +++ b/old_docs/API_docs_v72/methods/contacts_resetSaved.md @@ -19,7 +19,7 @@ Reset saved contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = contacts.resetSaved({}) ``` diff --git a/old_docs/API_docs_v72/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v72/methods/contacts_resetTopPeerRating.md index 96ae48ac..94a07f54 100644 --- a/old_docs/API_docs_v72/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v72/methods/contacts_resetTopPeerRating.md @@ -25,7 +25,7 @@ Reset top peer rating for a certain category/peer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = contacts.resetTopPeerRating({category=TopPeerCategory, peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v72/methods/contacts_search.md b/old_docs/API_docs_v72/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v72/methods/contacts_search.md +++ b/old_docs/API_docs_v72/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/contacts_unblock.md b/old_docs/API_docs_v72/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v72/methods/contacts_unblock.md +++ b/old_docs/API_docs_v72/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v72/methods/contest_saveDeveloperInfo.md b/old_docs/API_docs_v72/methods/contest_saveDeveloperInfo.md index 5761cdc8..2776a131 100644 --- a/old_docs/API_docs_v72/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v72/methods/contest_saveDeveloperInfo.md @@ -28,7 +28,7 @@ Save developer info for telegram contest ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ city - Json encoded string Or, if you're into Lua: -``` +```lua Bool = contest.saveDeveloperInfo({vk_id=int, name='string', phone_number='string', age=int, city='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/destroy_auth_key.md b/old_docs/API_docs_v72/methods/destroy_auth_key.md index b5adfce0..aff3981b 100644 --- a/old_docs/API_docs_v72/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v72/methods/destroy_auth_key.md @@ -19,7 +19,7 @@ Destroy current authorization key ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua DestroyAuthKeyRes = destroy_auth_key({}) ``` diff --git a/old_docs/API_docs_v72/methods/destroy_session.md b/old_docs/API_docs_v72/methods/destroy_session.md index 6892d9a0..d7472c3e 100644 --- a/old_docs/API_docs_v72/methods/destroy_session.md +++ b/old_docs/API_docs_v72/methods/destroy_session.md @@ -24,7 +24,7 @@ Destroy the current MTProto session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ session_id - Json encoded long Or, if you're into Lua: -``` +```lua DestroySessionRes = destroy_session({session_id=long, }) ``` diff --git a/old_docs/API_docs_v72/methods/get_future_salts.md b/old_docs/API_docs_v72/methods/get_future_salts.md index 94f0f8ca..2ab445b6 100644 --- a/old_docs/API_docs_v72/methods/get_future_salts.md +++ b/old_docs/API_docs_v72/methods/get_future_salts.md @@ -24,7 +24,7 @@ Get future salts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ num - Json encoded int Or, if you're into Lua: -``` +```lua FutureSalts = get_future_salts({num=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/help_getAppChangelog.md b/old_docs/API_docs_v72/methods/help_getAppChangelog.md index 10b972c1..179eaf3a 100644 --- a/old_docs/API_docs_v72/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v72/methods/help_getAppChangelog.md @@ -24,7 +24,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ prev_app_version - Json encoded string Or, if you're into Lua: -``` +```lua Updates = help.getAppChangelog({prev_app_version='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/help_getAppUpdate.md b/old_docs/API_docs_v72/methods/help_getAppUpdate.md index 4ddc0e4d..541b5972 100644 --- a/old_docs/API_docs_v72/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v72/methods/help_getAppUpdate.md @@ -19,7 +19,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v72/methods/help_getCdnConfig.md b/old_docs/API_docs_v72/methods/help_getCdnConfig.md index be572516..766896c7 100644 --- a/old_docs/API_docs_v72/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v72/methods/help_getCdnConfig.md @@ -19,7 +19,7 @@ Get CDN configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua CdnConfig = help.getCdnConfig({}) ``` diff --git a/old_docs/API_docs_v72/methods/help_getConfig.md b/old_docs/API_docs_v72/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v72/methods/help_getConfig.md +++ b/old_docs/API_docs_v72/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v72/methods/help_getInviteText.md b/old_docs/API_docs_v72/methods/help_getInviteText.md index 1510e64f..f05ac4ac 100644 --- a/old_docs/API_docs_v72/methods/help_getInviteText.md +++ b/old_docs/API_docs_v72/methods/help_getInviteText.md @@ -19,7 +19,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v72/methods/help_getNearestDc.md b/old_docs/API_docs_v72/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v72/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v72/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v72/methods/help_getRecentMeUrls.md b/old_docs/API_docs_v72/methods/help_getRecentMeUrls.md index 27a451bb..c9641f67 100644 --- a/old_docs/API_docs_v72/methods/help_getRecentMeUrls.md +++ b/old_docs/API_docs_v72/methods/help_getRecentMeUrls.md @@ -24,7 +24,7 @@ Get recent t.me URLs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ referer - Json encoded string Or, if you're into Lua: -``` +```lua help_RecentMeUrls = help.getRecentMeUrls({referer='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/help_getSupport.md b/old_docs/API_docs_v72/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v72/methods/help_getSupport.md +++ b/old_docs/API_docs_v72/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v72/methods/help_getTermsOfService.md b/old_docs/API_docs_v72/methods/help_getTermsOfService.md index bf421bf6..95d51e60 100644 --- a/old_docs/API_docs_v72/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v72/methods/help_getTermsOfService.md @@ -19,7 +19,7 @@ Get terms of service ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v72/methods/help_saveAppLog.md b/old_docs/API_docs_v72/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v72/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v72/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v72/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v72/methods/help_setBotUpdatesStatus.md index 0429f8a0..53736da7 100644 --- a/old_docs/API_docs_v72/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v72/methods/help_setBotUpdatesStatus.md @@ -25,7 +25,7 @@ Set the update status of webhook ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = help.setBotUpdatesStatus({pending_updates_count=int, message='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/initConnection.md b/old_docs/API_docs_v72/methods/initConnection.md index 692a41e8..858a9e5d 100644 --- a/old_docs/API_docs_v72/methods/initConnection.md +++ b/old_docs/API_docs_v72/methods/initConnection.md @@ -31,7 +31,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -83,7 +83,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', system_lang_code='string', lang_pack='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v72/methods/invokeAfterMsg.md b/old_docs/API_docs_v72/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v72/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v72/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v72/methods/invokeAfterMsgs.md b/old_docs/API_docs_v72/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v72/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v72/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v72/methods/invokeWithLayer.md b/old_docs/API_docs_v72/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v72/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v72/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v72/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v72/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/old_docs/API_docs_v72/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v72/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/old_docs/API_docs_v72/methods/langpack_getDifference.md b/old_docs/API_docs_v72/methods/langpack_getDifference.md index 0614d869..30184f61 100644 --- a/old_docs/API_docs_v72/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v72/methods/langpack_getDifference.md @@ -24,7 +24,7 @@ Get language pack updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ from_version - Json encoded int Or, if you're into Lua: -``` +```lua LangPackDifference = langpack.getDifference({from_version=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/langpack_getLangPack.md b/old_docs/API_docs_v72/methods/langpack_getLangPack.md index 70f9eb73..98001615 100644 --- a/old_docs/API_docs_v72/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v72/methods/langpack_getLangPack.md @@ -24,7 +24,7 @@ Get language pack ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua LangPackDifference = langpack.getLangPack({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/langpack_getLanguages.md b/old_docs/API_docs_v72/methods/langpack_getLanguages.md index 5eaf2049..8a592a86 100644 --- a/old_docs/API_docs_v72/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v72/methods/langpack_getLanguages.md @@ -19,7 +19,7 @@ Get available languages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_LangPackLanguage = langpack.getLanguages({}) ``` diff --git a/old_docs/API_docs_v72/methods/langpack_getStrings.md b/old_docs/API_docs_v72/methods/langpack_getStrings.md index 3042b040..ccd0a684 100644 --- a/old_docs/API_docs_v72/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v72/methods/langpack_getStrings.md @@ -25,7 +25,7 @@ Get language pack strings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ keys - Json encoded array of string Or, if you're into Lua: -``` +```lua Vector_of_LangPackString = langpack.getStrings({lang_code='string', keys={'string'}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_addChatUser.md b/old_docs/API_docs_v72/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v72/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v72/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_checkChatInvite.md b/old_docs/API_docs_v72/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/old_docs/API_docs_v72/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v72/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v72/methods/messages_clearRecentStickers.md index 56634143..53e1fa4f 100644 --- a/old_docs/API_docs_v72/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v72/methods/messages_clearRecentStickers.md @@ -24,7 +24,7 @@ Clear all recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ attached - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.clearRecentStickers({attached=Bool, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_createChat.md b/old_docs/API_docs_v72/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v72/methods/messages_createChat.md +++ b/old_docs/API_docs_v72/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_deleteChatUser.md b/old_docs/API_docs_v72/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v72/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v72/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_deleteHistory.md b/old_docs/API_docs_v72/methods/messages_deleteHistory.md index 866ba216..33d1ca52 100644 --- a/old_docs/API_docs_v72/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v72/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_deleteMessages.md b/old_docs/API_docs_v72/methods/messages_deleteMessages.md index eaf9cd86..9158e8bd 100644 --- a/old_docs/API_docs_v72/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v72/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_editChatAdmin.md b/old_docs/API_docs_v72/methods/messages_editChatAdmin.md index a2dad97f..f883b50e 100644 --- a/old_docs/API_docs_v72/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v72/methods/messages_editChatAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ is_admin - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.editChatAdmin({chat_id=InputPeer, user_id=InputUser, is_admin=Bool, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_editChatPhoto.md b/old_docs/API_docs_v72/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v72/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v72/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_editChatTitle.md b/old_docs/API_docs_v72/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v72/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v72/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v72/methods/messages_editInlineBotMessage.md index c669c8d7..6c04ab6f 100644 --- a/old_docs/API_docs_v72/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v72/methods/messages_editInlineBotMessage.md @@ -29,7 +29,7 @@ Edit a sent inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -66,7 +66,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.editInlineBotMessage({no_webpage=Bool, id=InputBotInlineMessageID, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_editMessage.md b/old_docs/API_docs_v72/methods/messages_editMessage.md index 9dcca8d5..7c96b3fb 100644 --- a/old_docs/API_docs_v72/methods/messages_editMessage.md +++ b/old_docs/API_docs_v72/methods/messages_editMessage.md @@ -32,7 +32,7 @@ Edit a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ geo_point - Json encoded InputGeoPoint Or, if you're into Lua: -``` +```lua Updates = messages.editMessage({no_webpage=Bool, stop_geo_live=Bool, peer=InputPeer, id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', geo_point=InputGeoPoint, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_exportChatInvite.md b/old_docs/API_docs_v72/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/old_docs/API_docs_v72/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v72/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_faveSticker.md b/old_docs/API_docs_v72/methods/messages_faveSticker.md index 302957c5..26e49af9 100644 --- a/old_docs/API_docs_v72/methods/messages_faveSticker.md +++ b/old_docs/API_docs_v72/methods/messages_faveSticker.md @@ -25,7 +25,7 @@ Add a sticker to favorites ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ unfave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.faveSticker({id=InputDocument, unfave=Bool, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_forwardMessage.md b/old_docs/API_docs_v72/methods/messages_forwardMessage.md index 586670b8..d9c0453f 100644 --- a/old_docs/API_docs_v72/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v72/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_forwardMessages.md b/old_docs/API_docs_v72/methods/messages_forwardMessages.md index 99815a44..caf61d66 100644 --- a/old_docs/API_docs_v72/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v72/methods/messages_forwardMessages.md @@ -29,7 +29,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ to_peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({silent=Bool, background=Bool, with_my_score=Bool, from_peer=InputPeer, id={int}, to_peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getAllChats.md b/old_docs/API_docs_v72/methods/messages_getAllChats.md index 663af07c..38cbbbae 100644 --- a/old_docs/API_docs_v72/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v72/methods/messages_getAllChats.md @@ -24,7 +24,7 @@ Get all chats (not supergroups or channels) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ except_ids - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getAllChats({except_ids={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getAllDrafts.md b/old_docs/API_docs_v72/methods/messages_getAllDrafts.md index 31aa8176..7300e01a 100644 --- a/old_docs/API_docs_v72/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v72/methods/messages_getAllDrafts.md @@ -19,7 +19,7 @@ Get all message drafts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Updates = messages.getAllDrafts({}) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getAllStickers.md b/old_docs/API_docs_v72/methods/messages_getAllStickers.md index 966af122..c25a823b 100644 --- a/old_docs/API_docs_v72/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v72/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v72/methods/messages_getArchivedStickers.md index e98ab6ec..ef79ee6e 100644 --- a/old_docs/API_docs_v72/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v72/methods/messages_getArchivedStickers.md @@ -26,7 +26,7 @@ Get all archived stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v72/methods/messages_getAttachedStickers.md index 0e221a84..9ada6655 100644 --- a/old_docs/API_docs_v72/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v72/methods/messages_getAttachedStickers.md @@ -24,7 +24,7 @@ Get stickers attachable to images ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ media - Json encoded InputStickeredMedia Or, if you're into Lua: -``` +```lua Vector_of_StickerSetCovered = messages.getAttachedStickers({media=InputStickeredMedia, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v72/methods/messages_getBotCallbackAnswer.md index ffcd8a2e..b4f1d02f 100644 --- a/old_docs/API_docs_v72/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v72/methods/messages_getBotCallbackAnswer.md @@ -27,7 +27,7 @@ Get the callback answer of a bot (after clicking a button) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ data - Json encoded bytes Or, if you're into Lua: -``` +```lua messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getChats.md b/old_docs/API_docs_v72/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v72/methods/messages_getChats.md +++ b/old_docs/API_docs_v72/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getCommonChats.md b/old_docs/API_docs_v72/methods/messages_getCommonChats.md index e6921d5e..83237f64 100644 --- a/old_docs/API_docs_v72/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v72/methods/messages_getCommonChats.md @@ -26,7 +26,7 @@ Get chats in common with a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getDialogs.md b/old_docs/API_docs_v72/methods/messages_getDialogs.md index 694c916f..0bc314b5 100644 --- a/old_docs/API_docs_v72/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v72/methods/messages_getDialogs.md @@ -28,7 +28,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v72/methods/messages_getDocumentByHash.md index 5b6f6f21..00f0a558 100644 --- a/old_docs/API_docs_v72/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v72/methods/messages_getDocumentByHash.md @@ -26,7 +26,7 @@ Get document by SHA256 hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ mime_type - Json encoded string Or, if you're into Lua: -``` +```lua Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getFavedStickers.md b/old_docs/API_docs_v72/methods/messages_getFavedStickers.md index 6bc1560c..95d6d4a2 100644 --- a/old_docs/API_docs_v72/methods/messages_getFavedStickers.md +++ b/old_docs/API_docs_v72/methods/messages_getFavedStickers.md @@ -24,7 +24,7 @@ Get favorite stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v72/methods/messages_getFeaturedStickers.md index a837377b..c257621e 100644 --- a/old_docs/API_docs_v72/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v72/methods/messages_getFeaturedStickers.md @@ -24,7 +24,7 @@ Get featured stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getGameHighScores.md b/old_docs/API_docs_v72/methods/messages_getGameHighScores.md index f7837998..a97fb1ff 100644 --- a/old_docs/API_docs_v72/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v72/methods/messages_getGameHighScores.md @@ -26,7 +26,7 @@ Get high scores of a game ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getHistory.md b/old_docs/API_docs_v72/methods/messages_getHistory.md index 76d20b70..23f2d6e9 100644 --- a/old_docs/API_docs_v72/methods/messages_getHistory.md +++ b/old_docs/API_docs_v72/methods/messages_getHistory.md @@ -30,7 +30,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v72/methods/messages_getInlineBotResults.md index 03b5d845..73f2deb2 100644 --- a/old_docs/API_docs_v72/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v72/methods/messages_getInlineBotResults.md @@ -28,7 +28,7 @@ Call inline bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ offset - Json encoded string Or, if you're into Lua: -``` +```lua messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v72/methods/messages_getInlineGameHighScores.md index e8be8e81..046c1cfb 100644 --- a/old_docs/API_docs_v72/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v72/methods/messages_getInlineGameHighScores.md @@ -25,7 +25,7 @@ Get high scores of a game sent in an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getMaskStickers.md b/old_docs/API_docs_v72/methods/messages_getMaskStickers.md index 55c4edea..06fd153e 100644 --- a/old_docs/API_docs_v72/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v72/methods/messages_getMaskStickers.md @@ -24,7 +24,7 @@ Get masks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getMessageEditData.md b/old_docs/API_docs_v72/methods/messages_getMessageEditData.md index 2c44a1dc..77e2c030 100644 --- a/old_docs/API_docs_v72/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v72/methods/messages_getMessageEditData.md @@ -25,7 +25,7 @@ Check if about to edit a message or a media caption ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getMessages.md b/old_docs/API_docs_v72/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v72/methods/messages_getMessages.md +++ b/old_docs/API_docs_v72/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getMessagesViews.md b/old_docs/API_docs_v72/methods/messages_getMessagesViews.md index 57a99054..b2b6110e 100644 --- a/old_docs/API_docs_v72/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v72/methods/messages_getMessagesViews.md @@ -26,7 +26,7 @@ Get and increase message views ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ increment - Json encoded Bool Or, if you're into Lua: -``` +```lua Vector_of_int = messages.getMessagesViews({peer=InputPeer, id={int}, increment=Bool, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v72/methods/messages_getPeerDialogs.md index ca746b3b..a34873df 100644 --- a/old_docs/API_docs_v72/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v72/methods/messages_getPeerDialogs.md @@ -24,7 +24,7 @@ Get dialog info of peers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peers - Json encoded array of InputPeer Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getPeerSettings.md b/old_docs/API_docs_v72/methods/messages_getPeerSettings.md index 92d4697a..e2b3ec4f 100644 --- a/old_docs/API_docs_v72/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v72/methods/messages_getPeerSettings.md @@ -24,7 +24,7 @@ Get the settings of apeer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua PeerSettings = messages.getPeerSettings({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v72/methods/messages_getPinnedDialogs.md index 634f4c41..77eb98ce 100644 --- a/old_docs/API_docs_v72/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v72/methods/messages_getPinnedDialogs.md @@ -19,7 +19,7 @@ Get pinned dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPinnedDialogs({}) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getRecentLocations.md b/old_docs/API_docs_v72/methods/messages_getRecentLocations.md index c9037187..5764b32a 100644 --- a/old_docs/API_docs_v72/methods/messages_getRecentLocations.md +++ b/old_docs/API_docs_v72/methods/messages_getRecentLocations.md @@ -25,7 +25,7 @@ Get recent locations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getRecentLocations({peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getRecentStickers.md b/old_docs/API_docs_v72/methods/messages_getRecentStickers.md index d89272fd..939fd036 100644 --- a/old_docs/API_docs_v72/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v72/methods/messages_getRecentStickers.md @@ -25,7 +25,7 @@ Get recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getSavedGifs.md b/old_docs/API_docs_v72/methods/messages_getSavedGifs.md index cafba4e1..1a879907 100644 --- a/old_docs/API_docs_v72/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v72/methods/messages_getSavedGifs.md @@ -24,7 +24,7 @@ Get saved gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getStickerSet.md b/old_docs/API_docs_v72/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/old_docs/API_docs_v72/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v72/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getUnreadMentions.md b/old_docs/API_docs_v72/methods/messages_getUnreadMentions.md index 9b221db9..d30c19c5 100644 --- a/old_docs/API_docs_v72/methods/messages_getUnreadMentions.md +++ b/old_docs/API_docs_v72/methods/messages_getUnreadMentions.md @@ -29,7 +29,7 @@ Get unread mentions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getWebPage.md b/old_docs/API_docs_v72/methods/messages_getWebPage.md index fb7152af..9237d4b7 100644 --- a/old_docs/API_docs_v72/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v72/methods/messages_getWebPage.md @@ -25,7 +25,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua WebPage = messages.getWebPage({url='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v72/methods/messages_getWebPagePreview.md index 8475c8f5..4838be94 100644 --- a/old_docs/API_docs_v72/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v72/methods/messages_getWebPagePreview.md @@ -24,7 +24,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_hideReportSpam.md b/old_docs/API_docs_v72/methods/messages_hideReportSpam.md index 17a7f8ef..1c0d72c5 100644 --- a/old_docs/API_docs_v72/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v72/methods/messages_hideReportSpam.md @@ -24,7 +24,7 @@ Hide report spam popup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.hideReportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_importChatInvite.md b/old_docs/API_docs_v72/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/old_docs/API_docs_v72/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v72/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_installStickerSet.md b/old_docs/API_docs_v72/methods/messages_installStickerSet.md index 88131136..6bdb9390 100644 --- a/old_docs/API_docs_v72/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v72/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ archived - Json encoded Bool Or, if you're into Lua: -``` +```lua messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_migrateChat.md b/old_docs/API_docs_v72/methods/messages_migrateChat.md index df91f510..e789ff7d 100644 --- a/old_docs/API_docs_v72/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v72/methods/messages_migrateChat.md @@ -24,7 +24,7 @@ Convert chat to supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.migrateChat({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v72/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v72/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v72/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v72/methods/messages_readFeaturedStickers.md index 2c34ac0f..9fef6621 100644 --- a/old_docs/API_docs_v72/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v72/methods/messages_readFeaturedStickers.md @@ -24,7 +24,7 @@ Mark new featured stickers as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.readFeaturedStickers({id={long}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_readHistory.md b/old_docs/API_docs_v72/methods/messages_readHistory.md index 48d7fb45..4a2188d8 100644 --- a/old_docs/API_docs_v72/methods/messages_readHistory.md +++ b/old_docs/API_docs_v72/methods/messages_readHistory.md @@ -25,7 +25,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_readMentions.md b/old_docs/API_docs_v72/methods/messages_readMentions.md index 31874ee6..237da9c4 100644 --- a/old_docs/API_docs_v72/methods/messages_readMentions.md +++ b/old_docs/API_docs_v72/methods/messages_readMentions.md @@ -24,7 +24,7 @@ Mark mentions as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.readMentions({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_readMessageContents.md b/old_docs/API_docs_v72/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v72/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v72/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_receivedMessages.md b/old_docs/API_docs_v72/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/old_docs/API_docs_v72/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v72/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v72/methods/messages_reorderPinnedDialogs.md index 4d2cb53e..d8aeefa7 100644 --- a/old_docs/API_docs_v72/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v72/methods/messages_reorderPinnedDialogs.md @@ -25,7 +25,7 @@ Reorder pinned dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reorderPinnedDialogs({force=Bool, order={InputPeer}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v72/methods/messages_reorderStickerSets.md index c1c35ef6..cd73daa0 100644 --- a/old_docs/API_docs_v72/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v72/methods/messages_reorderStickerSets.md @@ -25,7 +25,7 @@ Reorder sticker sets ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.reorderStickerSets({masks=Bool, order={long}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v72/methods/messages_reportEncryptedSpam.md index dffdffc9..5d5f0dab 100644 --- a/old_docs/API_docs_v72/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v72/methods/messages_reportEncryptedSpam.md @@ -24,7 +24,7 @@ Report for spam a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputEncryptedChat Or, if you're into Lua: -``` +```lua Bool = messages.reportEncryptedSpam({peer=InputEncryptedChat, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_reportSpam.md b/old_docs/API_docs_v72/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/old_docs/API_docs_v72/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v72/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_saveDraft.md b/old_docs/API_docs_v72/methods/messages_saveDraft.md index ede72c41..14e69f93 100644 --- a/old_docs/API_docs_v72/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v72/methods/messages_saveDraft.md @@ -29,7 +29,7 @@ Save a message draft ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -57,7 +57,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.saveDraft({no_webpage=Bool, reply_to_msg_id=int, peer=InputPeer, message='string', entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_saveGif.md b/old_docs/API_docs_v72/methods/messages_saveGif.md index adae6d86..dfa956ab 100644 --- a/old_docs/API_docs_v72/methods/messages_saveGif.md +++ b/old_docs/API_docs_v72/methods/messages_saveGif.md @@ -25,7 +25,7 @@ Save a GIF ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveGif({id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v72/methods/messages_saveRecentSticker.md index 9cd06ea1..1abf524f 100644 --- a/old_docs/API_docs_v72/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v72/methods/messages_saveRecentSticker.md @@ -26,7 +26,7 @@ Add a sticker to recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveRecentSticker({attached=Bool, id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_search.md b/old_docs/API_docs_v72/methods/messages_search.md index a1f7ea03..85ff60bc 100644 --- a/old_docs/API_docs_v72/methods/messages_search.md +++ b/old_docs/API_docs_v72/methods/messages_search.md @@ -34,7 +34,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -83,7 +83,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_searchGifs.md b/old_docs/API_docs_v72/methods/messages_searchGifs.md index 1ef77d23..a12cdd21 100644 --- a/old_docs/API_docs_v72/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v72/methods/messages_searchGifs.md @@ -25,7 +25,7 @@ Search gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_searchGlobal.md b/old_docs/API_docs_v72/methods/messages_searchGlobal.md index 4d05bf0d..1fb73592 100644 --- a/old_docs/API_docs_v72/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v72/methods/messages_searchGlobal.md @@ -28,7 +28,7 @@ Global message search ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_sendEncrypted.md b/old_docs/API_docs_v72/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v72/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v72/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v72/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v72/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v72/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v72/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v72/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v72/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v72/methods/messages_sendInlineBotResult.md index 8de674c6..37fae63a 100644 --- a/old_docs/API_docs_v72/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v72/methods/messages_sendInlineBotResult.md @@ -30,7 +30,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ id - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.sendInlineBotResult({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_sendMedia.md b/old_docs/API_docs_v72/methods/messages_sendMedia.md index 2290e52e..7c4e0dcf 100644 --- a/old_docs/API_docs_v72/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v72/methods/messages_sendMedia.md @@ -30,7 +30,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, media=InputMedia, reply_markup=ReplyMarkup, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_sendMessage.md b/old_docs/API_docs_v72/methods/messages_sendMessage.md index 77790562..9cdc74eb 100644 --- a/old_docs/API_docs_v72/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v72/methods/messages_sendMessage.md @@ -33,7 +33,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMessage({no_webpage=Bool, silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_sendScreenshotNotification.md b/old_docs/API_docs_v72/methods/messages_sendScreenshotNotification.md index 3a71c404..d4fd79b6 100644 --- a/old_docs/API_docs_v72/methods/messages_sendScreenshotNotification.md +++ b/old_docs/API_docs_v72/methods/messages_sendScreenshotNotification.md @@ -25,7 +25,7 @@ Send screenshot notification ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reply_to_msg_id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.sendScreenshotNotification({peer=InputPeer, reply_to_msg_id=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v72/methods/messages_setBotCallbackAnswer.md index 0395b468..47d74918 100644 --- a/old_docs/API_docs_v72/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v72/methods/messages_setBotCallbackAnswer.md @@ -28,7 +28,7 @@ Bots only: set the callback answer (after a button was clicked) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ cache_time - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message='string', url='string', cache_time=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v72/methods/messages_setBotPrecheckoutResults.md index 486ab585..92e8ea5a 100644 --- a/old_docs/API_docs_v72/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v72/methods/messages_setBotPrecheckoutResults.md @@ -26,7 +26,7 @@ Bots only: set precheckout results ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ error - Json encoded string Or, if you're into Lua: -``` +```lua Bool = messages.setBotPrecheckoutResults({success=Bool, query_id=long, error='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v72/methods/messages_setBotShippingResults.md index a9e43c49..6e223219 100644 --- a/old_docs/API_docs_v72/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v72/methods/messages_setBotShippingResults.md @@ -26,7 +26,7 @@ Bots only: set shipping results ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ shipping_options - Json encoded array of ShippingOption Or, if you're into Lua: -``` +```lua Bool = messages.setBotShippingResults({query_id=long, error='string', shipping_options={ShippingOption}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v72/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v72/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v72/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_setGameScore.md b/old_docs/API_docs_v72/methods/messages_setGameScore.md index 41ee4591..1a50326e 100644 --- a/old_docs/API_docs_v72/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v72/methods/messages_setGameScore.md @@ -29,7 +29,7 @@ Set the game score ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.setGameScore({edit_message=Bool, force=Bool, peer=InputPeer, id=int, user_id=InputUser, score=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v72/methods/messages_setInlineBotResults.md index 443a028e..e1ebe4e3 100644 --- a/old_docs/API_docs_v72/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v72/methods/messages_setInlineBotResults.md @@ -30,7 +30,7 @@ Bots only: set the results of an inline query ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: -``` +```lua Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset='string', switch_pm=InlineBotSwitchPM, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v72/methods/messages_setInlineGameScore.md index 0d97b9bf..76db49dd 100644 --- a/old_docs/API_docs_v72/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v72/methods/messages_setInlineGameScore.md @@ -28,7 +28,7 @@ Set the game score of an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setInlineGameScore({edit_message=Bool, force=Bool, id=InputBotInlineMessageID, user_id=InputUser, score=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_setTyping.md b/old_docs/API_docs_v72/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v72/methods/messages_setTyping.md +++ b/old_docs/API_docs_v72/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_startBot.md b/old_docs/API_docs_v72/methods/messages_startBot.md index 506957a7..71f82822 100644 --- a/old_docs/API_docs_v72/methods/messages_startBot.md +++ b/old_docs/API_docs_v72/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v72/methods/messages_toggleChatAdmins.md index 0f1e56fa..56438277 100644 --- a/old_docs/API_docs_v72/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v72/methods/messages_toggleChatAdmins.md @@ -25,7 +25,7 @@ Enable all users are admins in normal groups (not supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = messages.toggleChatAdmins({chat_id=InputPeer, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v72/methods/messages_toggleDialogPin.md index 57f673a0..02adfd4b 100644 --- a/old_docs/API_docs_v72/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v72/methods/messages_toggleDialogPin.md @@ -25,7 +25,7 @@ Pin or unpin dialog ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.toggleDialogPin({pinned=Bool, peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v72/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/old_docs/API_docs_v72/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v72/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages_uploadMedia.md b/old_docs/API_docs_v72/methods/messages_uploadMedia.md index 65fed5f8..af710357 100644 --- a/old_docs/API_docs_v72/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v72/methods/messages_uploadMedia.md @@ -25,7 +25,7 @@ Upload a file without sending it to anyone ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua MessageMedia = messages.uploadMedia({peer=InputPeer, media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v72/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v72/methods/payments_clearSavedInfo.md index 8ac2d538..1fb58ffa 100644 --- a/old_docs/API_docs_v72/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v72/methods/payments_clearSavedInfo.md @@ -25,7 +25,7 @@ Clear saved payments info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ info - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = payments.clearSavedInfo({credentials=Bool, info=Bool, }) ``` diff --git a/old_docs/API_docs_v72/methods/payments_getPaymentForm.md b/old_docs/API_docs_v72/methods/payments_getPaymentForm.md index c53c7d10..480e7d6d 100644 --- a/old_docs/API_docs_v72/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v72/methods/payments_getPaymentForm.md @@ -24,7 +24,7 @@ Get payment form ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ msg_id - Json encoded int Or, if you're into Lua: -``` +```lua payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v72/methods/payments_getPaymentReceipt.md index b6bbb3e5..074aed0e 100644 --- a/old_docs/API_docs_v72/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v72/methods/payments_getPaymentReceipt.md @@ -24,7 +24,7 @@ Get payment receipt ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ msg_id - Json encoded int Or, if you're into Lua: -``` +```lua payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/payments_getSavedInfo.md b/old_docs/API_docs_v72/methods/payments_getSavedInfo.md index acaa603f..df3796a2 100644 --- a/old_docs/API_docs_v72/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v72/methods/payments_getSavedInfo.md @@ -19,7 +19,7 @@ Get saved payments info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua payments_SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v72/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v72/methods/payments_sendPaymentForm.md index 5ac22160..582f446a 100644 --- a/old_docs/API_docs_v72/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v72/methods/payments_sendPaymentForm.md @@ -27,7 +27,7 @@ Bots only: send payment form ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ credentials - Json encoded InputPaymentCredentials Or, if you're into Lua: -``` +```lua payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` diff --git a/old_docs/API_docs_v72/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v72/methods/payments_validateRequestedInfo.md index bc60d68f..524c8515 100644 --- a/old_docs/API_docs_v72/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v72/methods/payments_validateRequestedInfo.md @@ -26,7 +26,7 @@ Validate requested payment info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ info - Json encoded PaymentRequestedInfo Or, if you're into Lua: -``` +```lua payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` diff --git a/old_docs/API_docs_v72/methods/phone_getCallConfig.md b/old_docs/API_docs_v72/methods/phone_getCallConfig.md index dc8619e8..4ee97d2f 100644 --- a/old_docs/API_docs_v72/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v72/methods/phone_getCallConfig.md @@ -19,7 +19,7 @@ Get call configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua DataJSON = phone.getCallConfig({}) ``` diff --git a/old_docs/API_docs_v72/methods/phone_receivedCall.md b/old_docs/API_docs_v72/methods/phone_receivedCall.md index b6cebd0c..c030fe43 100644 --- a/old_docs/API_docs_v72/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v72/methods/phone_receivedCall.md @@ -24,7 +24,7 @@ Notify server that you received a call (server will refuse all incoming calls un ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPhoneCall Or, if you're into Lua: -``` +```lua Bool = phone.receivedCall({peer=InputPhoneCall, }) ``` diff --git a/old_docs/API_docs_v72/methods/phone_saveCallDebug.md b/old_docs/API_docs_v72/methods/phone_saveCallDebug.md index 176f0838..3aff7998 100644 --- a/old_docs/API_docs_v72/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v72/methods/phone_saveCallDebug.md @@ -25,7 +25,7 @@ Save call debugging info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ debug - Json encoded DataJSON Or, if you're into Lua: -``` +```lua Bool = phone.saveCallDebug({peer=InputPhoneCall, debug=DataJSON, }) ``` diff --git a/old_docs/API_docs_v72/methods/phone_setCallRating.md b/old_docs/API_docs_v72/methods/phone_setCallRating.md index 0861c10e..fa83b2c7 100644 --- a/old_docs/API_docs_v72/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v72/methods/phone_setCallRating.md @@ -26,7 +26,7 @@ Set phone call rating ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ comment - Json encoded string Or, if you're into Lua: -``` +```lua Updates = phone.setCallRating({peer=InputPhoneCall, rating=int, comment='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/photos_deletePhotos.md b/old_docs/API_docs_v72/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v72/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v72/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v72/methods/photos_getUserPhotos.md b/old_docs/API_docs_v72/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/old_docs/API_docs_v72/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v72/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v72/methods/photos_updateProfilePhoto.md index 8eb42e5d..26ab417e 100644 --- a/old_docs/API_docs_v72/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v72/methods/photos_updateProfilePhoto.md @@ -24,7 +24,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputPhoto Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, }) ``` diff --git a/old_docs/API_docs_v72/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v72/methods/photos_uploadProfilePhoto.md index 9b838b89..8d047d9a 100644 --- a/old_docs/API_docs_v72/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v72/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ file - Json encoded InputFile Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` diff --git a/old_docs/API_docs_v72/methods/ping.md b/old_docs/API_docs_v72/methods/ping.md index d07839e4..de80b551 100644 --- a/old_docs/API_docs_v72/methods/ping.md +++ b/old_docs/API_docs_v72/methods/ping.md @@ -24,7 +24,7 @@ pings the server ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ ping_id - Json encoded long Or, if you're into Lua: -``` +```lua Pong = ping({ping_id=long, }) ``` diff --git a/old_docs/API_docs_v72/methods/ping_delay_disconnect.md b/old_docs/API_docs_v72/methods/ping_delay_disconnect.md index 9b89e38d..337ba565 100644 --- a/old_docs/API_docs_v72/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v72/methods/ping_delay_disconnect.md @@ -25,7 +25,7 @@ Pings the server and causes disconection if the same method is not called within ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ disconnect_delay - Json encoded int Or, if you're into Lua: -``` +```lua Pong = ping_delay_disconnect({ping_id=long, disconnect_delay=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/req_DH_params.md b/old_docs/API_docs_v72/methods/req_DH_params.md index 54dd35a0..405e5acf 100644 --- a/old_docs/API_docs_v72/methods/req_DH_params.md +++ b/old_docs/API_docs_v72/methods/req_DH_params.md @@ -29,7 +29,7 @@ Requests Diffie-hellman parameters for key exchange ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ encrypted_data - Json encoded string Or, if you're into Lua: -``` +```lua Server_DH_Params = req_DH_params({nonce=int128, server_nonce=int128, p='string', q='string', public_key_fingerprint=long, encrypted_data='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/req_pq.md b/old_docs/API_docs_v72/methods/req_pq.md index 64da6ef7..8c764814 100644 --- a/old_docs/API_docs_v72/methods/req_pq.md +++ b/old_docs/API_docs_v72/methods/req_pq.md @@ -24,7 +24,7 @@ Requests PQ for factorization ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ nonce - Json encoded int128 Or, if you're into Lua: -``` +```lua ResPQ = req_pq({nonce=int128, }) ``` diff --git a/old_docs/API_docs_v72/methods/rpc_drop_answer.md b/old_docs/API_docs_v72/methods/rpc_drop_answer.md index 8e08d16b..8b81eefd 100644 --- a/old_docs/API_docs_v72/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v72/methods/rpc_drop_answer.md @@ -24,7 +24,7 @@ Do not send answer to provided request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ req_msg_id - Json encoded long Or, if you're into Lua: -``` +```lua RpcDropAnswer = rpc_drop_answer({req_msg_id=long, }) ``` diff --git a/old_docs/API_docs_v72/methods/set_client_DH_params.md b/old_docs/API_docs_v72/methods/set_client_DH_params.md index 41bbb00f..8bf36c8a 100644 --- a/old_docs/API_docs_v72/methods/set_client_DH_params.md +++ b/old_docs/API_docs_v72/methods/set_client_DH_params.md @@ -26,7 +26,7 @@ Sets client diffie-hellman parameters ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ encrypted_data - Json encoded string Or, if you're into Lua: -``` +```lua Set_client_DH_params_answer = set_client_DH_params({nonce=int128, server_nonce=int128, encrypted_data='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v72/methods/stickers_addStickerToSet.md index 7029d543..0946e28a 100644 --- a/old_docs/API_docs_v72/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v72/methods/stickers_addStickerToSet.md @@ -25,7 +25,7 @@ Add sticker to stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ sticker - Json encoded InputStickerSetItem Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` diff --git a/old_docs/API_docs_v72/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v72/methods/stickers_changeStickerPosition.md index e6a2951e..ff27fd3c 100644 --- a/old_docs/API_docs_v72/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v72/methods/stickers_changeStickerPosition.md @@ -25,7 +25,7 @@ Change sticker position in photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ position - Json encoded int Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/stickers_createStickerSet.md b/old_docs/API_docs_v72/methods/stickers_createStickerSet.md index 58ed89b7..7dd29ccd 100644 --- a/old_docs/API_docs_v72/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v72/methods/stickers_createStickerSet.md @@ -28,7 +28,7 @@ Create stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ stickers - Json encoded array of InputStickerSetItem Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` diff --git a/old_docs/API_docs_v72/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v72/methods/stickers_removeStickerFromSet.md index 7349779f..64ce97a3 100644 --- a/old_docs/API_docs_v72/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v72/methods/stickers_removeStickerFromSet.md @@ -24,7 +24,7 @@ Remove sticker from stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ sticker - Json encoded InputDocument Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` diff --git a/old_docs/API_docs_v72/methods/upload_getWebFile.md b/old_docs/API_docs_v72/methods/upload_getWebFile.md index d7d5d631..16952ff9 100644 --- a/old_docs/API_docs_v72/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v72/methods/upload_getWebFile.md @@ -26,7 +26,7 @@ Download a file through telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/users_getUsers.md b/old_docs/API_docs_v72/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v72/methods/users_getUsers.md +++ b/old_docs/API_docs_v72/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v72/types/Chat.md b/old_docs/API_docs_v72/types/Chat.md index cd83aacb..58654e6e 100644 --- a/old_docs/API_docs_v72/types/Chat.md +++ b/old_docs/API_docs_v72/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v72/types/InputChannel.md b/old_docs/API_docs_v72/types/InputChannel.md index 3882099d..6dc802fc 100644 --- a/old_docs/API_docs_v72/types/InputChannel.md +++ b/old_docs/API_docs_v72/types/InputChannel.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputChannel = '@username'; // Username $InputChannel = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v72/types/InputEncryptedChat.md b/old_docs/API_docs_v72/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v72/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v72/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v72/types/InputEncryptedFile.md b/old_docs/API_docs_v72/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v72/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v72/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v72/types/InputFile.md b/old_docs/API_docs_v72/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v72/types/InputFile.md +++ b/old_docs/API_docs_v72/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v72/types/InputNotifyPeer.md b/old_docs/API_docs_v72/types/InputNotifyPeer.md index ffc1f0cf..f9d0a662 100644 --- a/old_docs/API_docs_v72/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v72/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v72/types/InputPeer.md b/old_docs/API_docs_v72/types/InputPeer.md index 2076c00b..2649db1a 100644 --- a/old_docs/API_docs_v72/types/InputPeer.md +++ b/old_docs/API_docs_v72/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v72/types/InputUser.md b/old_docs/API_docs_v72/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/old_docs/API_docs_v72/types/InputUser.md +++ b/old_docs/API_docs_v72/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v72/types/KeyboardButton.md b/old_docs/API_docs_v72/types/KeyboardButton.md index ac4b9e1e..69f33796 100644 --- a/old_docs/API_docs_v72/types/KeyboardButton.md +++ b/old_docs/API_docs_v72/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/old_docs/API_docs_v72/types/NotifyPeer.md b/old_docs/API_docs_v72/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v72/types/NotifyPeer.md +++ b/old_docs/API_docs_v72/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v72/types/Peer.md b/old_docs/API_docs_v72/types/Peer.md index ebb98e91..0ab7fdcc 100644 --- a/old_docs/API_docs_v72/types/Peer.md +++ b/old_docs/API_docs_v72/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v72/types/PhoneCall.md b/old_docs/API_docs_v72/types/PhoneCall.md index 64d95972..0aa87799 100644 --- a/old_docs/API_docs_v72/types/PhoneCall.md +++ b/old_docs/API_docs_v72/types/PhoneCall.md @@ -159,7 +159,7 @@ The audio configuration is an array structured in the following way: Easy as pie: -``` +```php $call->storage["pony"] = "fluttershy"; \danog\MadelineProto\Logger::log($call->storage["pony"]); // fluttershy ``` @@ -173,7 +173,7 @@ You can only modify the data saving mode, the network type, the logging file pat Example: -``` +```php $call->configuration["log_file_path"] = "logs".$call->getOtherID().".log"; // Default is /dev/null $call->configuration["stats_dump_file_path"] = "stats".$call->getOtherID().".log"; // Default is /dev/null $call->configuration["network_type"] = \danog\MadelineProto\VoIP::NET_TYPE_WIFI; // Default is NET_TYPE_ETHERNET diff --git a/old_docs/API_docs_v72/types/User.md b/old_docs/API_docs_v72/types/User.md index 3abd182f..425c8d2b 100644 --- a/old_docs/API_docs_v72/types/User.md +++ b/old_docs/API_docs_v72/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v73/constructors/accountDaysTTL.md b/old_docs/API_docs_v73/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v73/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v73/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v73/constructors/account_authorizations.md b/old_docs/API_docs_v73/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v73/constructors/account_authorizations.md +++ b/old_docs/API_docs_v73/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v73/constructors/account_noPassword.md b/old_docs/API_docs_v73/constructors/account_noPassword.md index 81a483d6..63a4af6d 100644 --- a/old_docs/API_docs_v73/constructors/account_noPassword.md +++ b/old_docs/API_docs_v73/constructors/account_noPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -33,10 +33,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'emai ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/account_password.md b/old_docs/API_docs_v73/constructors/account_password.md index 9a8b31c6..5c4c334b 100644 --- a/old_docs/API_docs_v73/constructors/account_password.md +++ b/old_docs/API_docs_v73/constructors/account_password.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` @@ -36,10 +36,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v73/constructors/account_passwordInputSettings.md index f474e0c7..b5838f0a 100644 --- a/old_docs/API_docs_v73/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v73/constructors/account_passwordInputSettings.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v73/constructors/account_passwordSettings.md b/old_docs/API_docs_v73/constructors/account_passwordSettings.md index 27d14f59..04fc8621 100644 --- a/old_docs/API_docs_v73/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v73/constructors/account_passwordSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v73/constructors/account_privacyRules.md b/old_docs/API_docs_v73/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v73/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v73/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v73/constructors/account_tmpPassword.md b/old_docs/API_docs_v73/constructors/account_tmpPassword.md index e16b6f3c..90d36e0e 100644 --- a/old_docs/API_docs_v73/constructors/account_tmpPassword.md +++ b/old_docs/API_docs_v73/constructors/account_tmpPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/auth_authorization.md b/old_docs/API_docs_v73/constructors/auth_authorization.md index c8133016..b858e501 100644 --- a/old_docs/API_docs_v73/constructors/auth_authorization.md +++ b/old_docs/API_docs_v73/constructors/auth_authorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/auth_checkedPhone.md b/old_docs/API_docs_v73/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v73/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v73/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v73/constructors/auth_codeTypeCall.md index 6a4f28d1..788a2c37 100644 --- a/old_docs/API_docs_v73/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v73/constructors/auth_codeTypeCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeCall={_='auth.codeTypeCall'} ``` diff --git a/old_docs/API_docs_v73/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v73/constructors/auth_codeTypeFlashCall.md index 2851bf4e..abb65fcf 100644 --- a/old_docs/API_docs_v73/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v73/constructors/auth_codeTypeFlashCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} ``` diff --git a/old_docs/API_docs_v73/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v73/constructors/auth_codeTypeSms.md index 04b78a3d..34b42c95 100644 --- a/old_docs/API_docs_v73/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v73/constructors/auth_codeTypeSms.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeSms={_='auth.codeTypeSms'} ``` diff --git a/old_docs/API_docs_v73/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v73/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v73/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v73/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v73/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v73/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v73/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v73/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v73/constructors/auth_sentCode.md b/old_docs/API_docs_v73/constructors/auth_sentCode.md index 0226e79e..2b3f2017 100644 --- a/old_docs/API_docs_v73/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v73/constructors/auth_sentCode.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; ``` @@ -36,10 +36,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v73/constructors/auth_sentCodeTypeApp.md index eb4f4530..eba1784a 100644 --- a/old_docs/API_docs_v73/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v73/constructors/auth_sentCodeTypeApp.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v73/constructors/auth_sentCodeTypeCall.md index b72a7550..5948ce63 100644 --- a/old_docs/API_docs_v73/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v73/constructors/auth_sentCodeTypeCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v73/constructors/auth_sentCodeTypeFlashCall.md index 2c59cad5..bcc7acf6 100644 --- a/old_docs/API_docs_v73/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v73/constructors/auth_sentCodeTypeFlashCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v73/constructors/auth_sentCodeTypeSms.md index db6858ea..3073333f 100644 --- a/old_docs/API_docs_v73/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v73/constructors/auth_sentCodeTypeSms.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/authorization.md b/old_docs/API_docs_v73/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v73/constructors/authorization.md +++ b/old_docs/API_docs_v73/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v73/constructors/botCommand.md b/old_docs/API_docs_v73/constructors/botCommand.md index 8569358d..fcb65461 100644 --- a/old_docs/API_docs_v73/constructors/botCommand.md +++ b/old_docs/API_docs_v73/constructors/botCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v73/constructors/botInfo.md b/old_docs/API_docs_v73/constructors/botInfo.md index 507f9f8c..ad88f390 100644 --- a/old_docs/API_docs_v73/constructors/botInfo.md +++ b/old_docs/API_docs_v73/constructors/botInfo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v73/constructors/botInlineMediaResult.md b/old_docs/API_docs_v73/constructors/botInlineMediaResult.md index 43454784..0131af98 100644 --- a/old_docs/API_docs_v73/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v73/constructors/botInlineMediaResult.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` @@ -38,10 +38,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v73/constructors/botInlineMessageMediaAuto.md index 71557e0c..89ef07e4 100644 --- a/old_docs/API_docs_v73/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v73/constructors/botInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v73/constructors/botInlineMessageMediaContact.md b/old_docs/API_docs_v73/constructors/botInlineMessageMediaContact.md index c3f25947..771472fa 100644 --- a/old_docs/API_docs_v73/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v73/constructors/botInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v73/constructors/botInlineMessageMediaGeo.md b/old_docs/API_docs_v73/constructors/botInlineMessageMediaGeo.md index 996ded36..d68db150 100644 --- a/old_docs/API_docs_v73/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v73/constructors/botInlineMessageMediaGeo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'period' => int, 'reply_markup' => ReplyMarkup]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/botInlineMessageMediaVenue.md b/old_docs/API_docs_v73/constructors/botInlineMessageMediaVenue.md index 4795ba75..8108a37c 100644 --- a/old_docs/API_docs_v73/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v73/constructors/botInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v73/constructors/botInlineMessageText.md b/old_docs/API_docs_v73/constructors/botInlineMessageText.md index 4a274d28..b3fa92ed 100644 --- a/old_docs/API_docs_v73/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v73/constructors/botInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/botInlineResult.md b/old_docs/API_docs_v73/constructors/botInlineResult.md index c7abbd71..8b6ead75 100644 --- a/old_docs/API_docs_v73/constructors/botInlineResult.md +++ b/old_docs/API_docs_v73/constructors/botInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` @@ -43,10 +43,9 @@ $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_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v73/constructors/cdnConfig.md b/old_docs/API_docs_v73/constructors/cdnConfig.md index 3df3585d..6487cf42 100644 --- a/old_docs/API_docs_v73/constructors/cdnConfig.md +++ b/old_docs/API_docs_v73/constructors/cdnConfig.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]]; ``` @@ -32,10 +32,9 @@ $cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}} ``` diff --git a/old_docs/API_docs_v73/constructors/cdnFileHash.md b/old_docs/API_docs_v73/constructors/cdnFileHash.md index 0806a8ad..c19c8a16 100644 --- a/old_docs/API_docs_v73/constructors/cdnFileHash.md +++ b/old_docs/API_docs_v73/constructors/cdnFileHash.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnFileHash = ['_' => 'cdnFileHash', 'offset' => int, 'limit' => int, 'hash' => 'bytes']; ``` @@ -34,10 +34,9 @@ $cdnFileHash = ['_' => 'cdnFileHash', 'offset' => int, 'limit' => int, 'hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua cdnFileHash={_='cdnFileHash', offset=int, limit=int, hash='bytes'} ``` diff --git a/old_docs/API_docs_v73/constructors/cdnPublicKey.md b/old_docs/API_docs_v73/constructors/cdnPublicKey.md index 78ec2a83..2277ee59 100644 --- a/old_docs/API_docs_v73/constructors/cdnPublicKey.md +++ b/old_docs/API_docs_v73/constructors/cdnPublicKey.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v73/constructors/channel.md b/old_docs/API_docs_v73/constructors/channel.md index 6508ee8d..265e39c2 100644 --- a/old_docs/API_docs_v73/constructors/channel.md +++ b/old_docs/API_docs_v73/constructors/channel.md @@ -41,7 +41,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -52,10 +52,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/channelAdminLogEvent.md b/old_docs/API_docs_v73/constructors/channelAdminLogEvent.md index f48cb8db..5a939425 100644 --- a/old_docs/API_docs_v73/constructors/channelAdminLogEvent.md +++ b/old_docs/API_docs_v73/constructors/channelAdminLogEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEvent = ['_' => 'channelAdminLogEvent', 'id' => long, 'date' => int, 'user_id' => int, 'action' => ChannelAdminLogEventAction]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionChangeAbout.md b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionChangeAbout.md index ebec258a..aef21894 100644 --- a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionChangeAbout.md +++ b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionChangeAbout.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChangeAbout', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeAbout={_='channelAdminLogEventActionChangeAbout', prev_value='string', new_value='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionChangePhoto.md b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionChangePhoto.md index 7c687202..7c38537e 100644 --- a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionChangePhoto.md +++ b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionChangePhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChangePhoto', 'prev_photo' => ChatPhoto, 'new_photo' => ChatPhoto]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangePhoto={_='channelAdminLogEventActionChangePhoto', prev_photo=ChatPhoto, new_photo=ChatPhoto} ``` diff --git a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionChangeStickerSet.md b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionChangeStickerSet.md index 74a2d4d4..74f7d943 100644 --- a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionChangeStickerSet.md +++ b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionChangeStickerSet.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeStickerSet = ['_' => 'channelAdminLogEventActionChangeStickerSet', 'prev_stickerset' => InputStickerSet, 'new_stickerset' => InputStickerSet]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeStickerSet = ['_' => 'channelAdminLogEventActio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeStickerSet={_='channelAdminLogEventActionChangeStickerSet', prev_stickerset=InputStickerSet, new_stickerset=InputStickerSet} ``` diff --git a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionChangeTitle.md b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionChangeTitle.md index dbf4ca87..ab2d88ef 100644 --- a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionChangeTitle.md +++ b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionChangeTitle.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChangeTitle', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeTitle={_='channelAdminLogEventActionChangeTitle', prev_value='string', new_value='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionChangeUsername.md b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionChangeUsername.md index 8a48ba97..d0016c2b 100644 --- a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionChangeUsername.md +++ b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionChangeUsername.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionChangeUsername', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionC ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeUsername={_='channelAdminLogEventActionChangeUsername', prev_value='string', new_value='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionDeleteMessage.md b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionDeleteMessage.md index e6ffe7f5..3af17f94 100644 --- a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionDeleteMessage.md +++ b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionDeleteMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDeleteMessage', 'message' => Message]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionDeleteMessage={_='channelAdminLogEventActionDeleteMessage', message=Message} ``` diff --git a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionEditMessage.md b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionEditMessage.md index 67b7a176..66e5de48 100644 --- a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionEditMessage.md +++ b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionEditMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEditMessage', 'prev_message' => Message, 'new_message' => Message]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEdit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionEditMessage={_='channelAdminLogEventActionEditMessage', prev_message=Message, new_message=Message} ``` diff --git a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionParticipantInvite.md b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionParticipantInvite.md index 260a3346..82029fee 100644 --- a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionParticipantInvite.md +++ b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionParticipantInvite.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActionParticipantInvite', 'participant' => ChannelParticipant]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActi ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantInvite={_='channelAdminLogEventActionParticipantInvite', participant=ChannelParticipant} ``` diff --git a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionParticipantJoin.md b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionParticipantJoin.md index 9f59031b..4c8ca622 100644 --- a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionParticipantJoin.md +++ b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionParticipantJoin.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventActionParticipantJoin']; ``` @@ -27,10 +27,9 @@ $channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventAction ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantJoin={_='channelAdminLogEventActionParticipantJoin'} ``` diff --git a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionParticipantLeave.md b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionParticipantLeave.md index 03328132..dde98f82 100644 --- a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionParticipantLeave.md +++ b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionParticipantLeave.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActionParticipantLeave']; ``` @@ -27,10 +27,9 @@ $channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantLeave={_='channelAdminLogEventActionParticipantLeave'} ``` diff --git a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionParticipantToggleAdmin.md b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionParticipantToggleAdmin.md index b570076b..053db714 100644 --- a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionParticipantToggleAdmin.md +++ b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionParticipantToggleAdmin.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEventActionParticipantToggleAdmin', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEven ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantToggleAdmin={_='channelAdminLogEventActionParticipantToggleAdmin', prev_participant=ChannelParticipant, new_participant=ChannelParticipant} ``` diff --git a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionParticipantToggleBan.md b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionParticipantToggleBan.md index ef119daa..5321e678 100644 --- a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionParticipantToggleBan.md +++ b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionParticipantToggleBan.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventActionParticipantToggleBan', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventA ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantToggleBan={_='channelAdminLogEventActionParticipantToggleBan', prev_participant=ChannelParticipant, new_participant=ChannelParticipant} ``` diff --git a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionToggleInvites.md b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionToggleInvites.md index 5a25a689..47ba2358 100644 --- a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionToggleInvites.md +++ b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionToggleInvites.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionToggleInvites', 'new_value' => Bool]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionTo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionToggleInvites={_='channelAdminLogEventActionToggleInvites', new_value=Bool} ``` diff --git a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionTogglePreHistoryHidden.md b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionTogglePreHistoryHidden.md index c0b8bfce..95ed7b5b 100644 --- a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionTogglePreHistoryHidden.md +++ b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionTogglePreHistoryHidden.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionTogglePreHistoryHidden = ['_' => 'channelAdminLogEventActionTogglePreHistoryHidden', 'new_value' => Bool]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionTogglePreHistoryHidden = ['_' => 'channelAdminLogEven ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionTogglePreHistoryHidden={_='channelAdminLogEventActionTogglePreHistoryHidden', new_value=Bool} ``` diff --git a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionToggleSignatures.md b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionToggleSignatures.md index e7119bb6..ad529669 100644 --- a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionToggleSignatures.md +++ b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionToggleSignatures.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActionToggleSignatures', 'new_value' => Bool]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionToggleSignatures={_='channelAdminLogEventActionToggleSignatures', new_value=Bool} ``` diff --git a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionUpdatePinned.md b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionUpdatePinned.md index de066195..2facbac2 100644 --- a/old_docs/API_docs_v73/constructors/channelAdminLogEventActionUpdatePinned.md +++ b/old_docs/API_docs_v73/constructors/channelAdminLogEventActionUpdatePinned.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpdatePinned', 'message' => Message]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionUpdatePinned={_='channelAdminLogEventActionUpdatePinned', message=Message} ``` diff --git a/old_docs/API_docs_v73/constructors/channelAdminLogEventsFilter.md b/old_docs/API_docs_v73/constructors/channelAdminLogEventsFilter.md index 04ece393..db2f4ee8 100644 --- a/old_docs/API_docs_v73/constructors/channelAdminLogEventsFilter.md +++ b/old_docs/API_docs_v73/constructors/channelAdminLogEventsFilter.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -45,10 +45,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/channelAdminRights.md b/old_docs/API_docs_v73/constructors/channelAdminRights.md index 88cb5969..f3204317 100644 --- a/old_docs/API_docs_v73/constructors/channelAdminRights.md +++ b/old_docs/API_docs_v73/constructors/channelAdminRights.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -40,10 +40,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/channelBannedRights.md b/old_docs/API_docs_v73/constructors/channelBannedRights.md index 13dde648..f2ae995f 100644 --- a/old_docs/API_docs_v73/constructors/channelBannedRights.md +++ b/old_docs/API_docs_v73/constructors/channelBannedRights.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -40,10 +40,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/channelForbidden.md b/old_docs/API_docs_v73/constructors/channelForbidden.md index 00b4cbbe..0bccd01f 100644 --- a/old_docs/API_docs_v73/constructors/channelForbidden.md +++ b/old_docs/API_docs_v73/constructors/channelForbidden.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'until_date' => int]; ``` @@ -37,10 +37,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/channelFull.md b/old_docs/API_docs_v73/constructors/channelFull.md index 304660de..2e757a5b 100644 --- a/old_docs/API_docs_v73/constructors/channelFull.md +++ b/old_docs/API_docs_v73/constructors/channelFull.md @@ -42,7 +42,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, 'stickerset' => StickerSet, 'available_min_id' => int]; ``` @@ -53,10 +53,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/channelMessagesFilter.md b/old_docs/API_docs_v73/constructors/channelMessagesFilter.md index b19d3151..1b953ba3 100644 --- a/old_docs/API_docs_v73/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v73/constructors/channelMessagesFilter.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v73/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v73/constructors/channelMessagesFilterEmpty.md index 350e50de..a446b896 100644 --- a/old_docs/API_docs_v73/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v73/constructors/channelMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/channelParticipant.md b/old_docs/API_docs_v73/constructors/channelParticipant.md index c7de5400..dbcb792b 100644 --- a/old_docs/API_docs_v73/constructors/channelParticipant.md +++ b/old_docs/API_docs_v73/constructors/channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/channelParticipantAdmin.md b/old_docs/API_docs_v73/constructors/channelParticipantAdmin.md index 95ef84e9..73f4e2ab 100644 --- a/old_docs/API_docs_v73/constructors/channelParticipantAdmin.md +++ b/old_docs/API_docs_v73/constructors/channelParticipantAdmin.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantAdmin = ['_' => 'channelParticipantAdmin', 'can_edit' => Bool, 'user_id' => int, 'inviter_id' => int, 'promoted_by' => int, 'date' => int, 'admin_rights' => ChannelAdminRights]; ``` @@ -37,10 +37,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/channelParticipantBanned.md b/old_docs/API_docs_v73/constructors/channelParticipantBanned.md index be3be304..171f76d9 100644 --- a/old_docs/API_docs_v73/constructors/channelParticipantBanned.md +++ b/old_docs/API_docs_v73/constructors/channelParticipantBanned.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantBanned = ['_' => 'channelParticipantBanned', 'left' => Bool, 'user_id' => int, 'kicked_by' => int, 'date' => int, 'banned_rights' => ChannelBannedRights]; ``` @@ -36,10 +36,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/channelParticipantCreator.md b/old_docs/API_docs_v73/constructors/channelParticipantCreator.md index 86cafe0a..e999fb9c 100644 --- a/old_docs/API_docs_v73/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v73/constructors/channelParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantCreator={_='channelParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/channelParticipantSelf.md b/old_docs/API_docs_v73/constructors/channelParticipantSelf.md index 83864972..4b5949ac 100644 --- a/old_docs/API_docs_v73/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v73/constructors/channelParticipantSelf.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v73/constructors/channelParticipantsAdmins.md index c86cb9a4..4b0c30d4 100644 --- a/old_docs/API_docs_v73/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v73/constructors/channelParticipantsAdmins.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` @@ -27,10 +27,9 @@ $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v73/constructors/channelParticipantsBanned.md b/old_docs/API_docs_v73/constructors/channelParticipantsBanned.md index 75a86f75..7f956691 100644 --- a/old_docs/API_docs_v73/constructors/channelParticipantsBanned.md +++ b/old_docs/API_docs_v73/constructors/channelParticipantsBanned.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBanned={_='channelParticipantsBanned', q='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/channelParticipantsBots.md b/old_docs/API_docs_v73/constructors/channelParticipantsBots.md index 30875f94..66e510c7 100644 --- a/old_docs/API_docs_v73/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v73/constructors/channelParticipantsBots.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` @@ -27,10 +27,9 @@ $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v73/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v73/constructors/channelParticipantsKicked.md index fba5808a..7a985ca9 100644 --- a/old_docs/API_docs_v73/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v73/constructors/channelParticipantsKicked.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsKicked={_='channelParticipantsKicked', q='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v73/constructors/channelParticipantsRecent.md index e4cb6466..51e57069 100644 --- a/old_docs/API_docs_v73/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v73/constructors/channelParticipantsRecent.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` @@ -27,10 +27,9 @@ $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v73/constructors/channelParticipantsSearch.md b/old_docs/API_docs_v73/constructors/channelParticipantsSearch.md index 727a7279..9e2d3e7f 100644 --- a/old_docs/API_docs_v73/constructors/channelParticipantsSearch.md +++ b/old_docs/API_docs_v73/constructors/channelParticipantsSearch.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsSearch={_='channelParticipantsSearch', q='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/channels_adminLogResults.md b/old_docs/API_docs_v73/constructors/channels_adminLogResults.md index bd652b78..5a76ce73 100644 --- a/old_docs/API_docs_v73/constructors/channels_adminLogResults.md +++ b/old_docs/API_docs_v73/constructors/channels_adminLogResults.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v73/constructors/channels_channelParticipant.md b/old_docs/API_docs_v73/constructors/channels_channelParticipant.md index bdf27b08..107502c5 100644 --- a/old_docs/API_docs_v73/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v73/constructors/channels_channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v73/constructors/channels_channelParticipants.md b/old_docs/API_docs_v73/constructors/channels_channelParticipants.md index 1b76b1e0..0402423f 100644 --- a/old_docs/API_docs_v73/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v73/constructors/channels_channelParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v73/constructors/channels_channelParticipantsNotModified.md b/old_docs/API_docs_v73/constructors/channels_channelParticipantsNotModified.md index f3794494..d476a9f6 100644 --- a/old_docs/API_docs_v73/constructors/channels_channelParticipantsNotModified.md +++ b/old_docs/API_docs_v73/constructors/channels_channelParticipantsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; ``` @@ -27,10 +27,9 @@ $channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipants ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} ``` diff --git a/old_docs/API_docs_v73/constructors/chat.md b/old_docs/API_docs_v73/constructors/chat.md index 5ae1811d..b6f24f3e 100644 --- a/old_docs/API_docs_v73/constructors/chat.md +++ b/old_docs/API_docs_v73/constructors/chat.md @@ -33,7 +33,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -44,10 +44,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/chatEmpty.md b/old_docs/API_docs_v73/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v73/constructors/chatEmpty.md +++ b/old_docs/API_docs_v73/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/chatForbidden.md b/old_docs/API_docs_v73/constructors/chatForbidden.md index de5bb302..61c45660 100644 --- a/old_docs/API_docs_v73/constructors/chatForbidden.md +++ b/old_docs/API_docs_v73/constructors/chatForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v73/constructors/chatFull.md b/old_docs/API_docs_v73/constructors/chatFull.md index 6e138596..2a5f67f6 100644 --- a/old_docs/API_docs_v73/constructors/chatFull.md +++ b/old_docs/API_docs_v73/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v73/constructors/chatInvite.md b/old_docs/API_docs_v73/constructors/chatInvite.md index c0f14de6..54027d67 100644 --- a/old_docs/API_docs_v73/constructors/chatInvite.md +++ b/old_docs/API_docs_v73/constructors/chatInvite.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User, User]]; ``` @@ -39,10 +39,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v73/constructors/chatInviteAlready.md b/old_docs/API_docs_v73/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/old_docs/API_docs_v73/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v73/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/old_docs/API_docs_v73/constructors/chatInviteEmpty.md b/old_docs/API_docs_v73/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/old_docs/API_docs_v73/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v73/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/chatInviteExported.md b/old_docs/API_docs_v73/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/old_docs/API_docs_v73/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v73/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/chatParticipant.md b/old_docs/API_docs_v73/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v73/constructors/chatParticipant.md +++ b/old_docs/API_docs_v73/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v73/constructors/chatParticipantAdmin.md index 62aee9a4..63a38575 100644 --- a/old_docs/API_docs_v73/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v73/constructors/chatParticipantAdmin.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/chatParticipantCreator.md b/old_docs/API_docs_v73/constructors/chatParticipantCreator.md index 0fb7b6ef..75b9c4d4 100644 --- a/old_docs/API_docs_v73/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v73/constructors/chatParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantCreator={_='chatParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/chatParticipants.md b/old_docs/API_docs_v73/constructors/chatParticipants.md index 38af2ca5..ae254290 100644 --- a/old_docs/API_docs_v73/constructors/chatParticipants.md +++ b/old_docs/API_docs_v73/constructors/chatParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v73/constructors/chatParticipantsForbidden.md index 2ecdfe10..639b30ee 100644 --- a/old_docs/API_docs_v73/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v73/constructors/chatParticipantsForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/chatPhoto.md b/old_docs/API_docs_v73/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v73/constructors/chatPhoto.md +++ b/old_docs/API_docs_v73/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v73/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v73/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v73/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/config.md b/old_docs/API_docs_v73/constructors/config.md index 059cee29..b4bd5562 100644 --- a/old_docs/API_docs_v73/constructors/config.md +++ b/old_docs/API_docs_v73/constructors/config.md @@ -55,7 +55,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'default_p2p_contacts' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'stickers_faved_limit' => int, 'channels_read_media_period' => int, 'tmp_sessions' => int, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'me_url_prefix' => 'string', 'suggested_lang_code' => 'string', 'lang_pack_version' => int, 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -66,10 +66,9 @@ $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, date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, stickers_faved_limit=int, channels_read_media_period=int, tmp_sessions=int, pinned_dialogs_count_max=int, call_receive_timeout_ms=int, call_ring_timeout_ms=int, call_connect_timeout_ms=int, call_packet_timeout_ms=int, me_url_prefix='string', suggested_lang_code='string', lang_pack_version=int, disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v73/constructors/contact.md b/old_docs/API_docs_v73/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v73/constructors/contact.md +++ b/old_docs/API_docs_v73/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/contactBlocked.md b/old_docs/API_docs_v73/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v73/constructors/contactBlocked.md +++ b/old_docs/API_docs_v73/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/contactLinkContact.md b/old_docs/API_docs_v73/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v73/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v73/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v73/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v73/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v73/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v73/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v73/constructors/contactLinkNone.md b/old_docs/API_docs_v73/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v73/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v73/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v73/constructors/contactLinkUnknown.md b/old_docs/API_docs_v73/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v73/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v73/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v73/constructors/contactStatus.md b/old_docs/API_docs_v73/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v73/constructors/contactStatus.md +++ b/old_docs/API_docs_v73/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v73/constructors/contacts_blocked.md b/old_docs/API_docs_v73/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v73/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v73/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v73/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v73/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v73/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/contacts_contacts.md b/old_docs/API_docs_v73/constructors/contacts_contacts.md index 542bf62b..7f923ef5 100644 --- a/old_docs/API_docs_v73/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v73/constructors/contacts_contacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v73/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v73/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v73/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v73/constructors/contacts_found.md b/old_docs/API_docs_v73/constructors/contacts_found.md index 7e0e458c..624fa475 100644 --- a/old_docs/API_docs_v73/constructors/contacts_found.md +++ b/old_docs/API_docs_v73/constructors/contacts_found.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/contacts_importedContacts.md b/old_docs/API_docs_v73/constructors/contacts_importedContacts.md index fdc042d2..250deb52 100644 --- a/old_docs/API_docs_v73/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v73/constructors/contacts_importedContacts.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/contacts_link.md b/old_docs/API_docs_v73/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v73/constructors/contacts_link.md +++ b/old_docs/API_docs_v73/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v73/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v73/constructors/contacts_resolvedPeer.md index add29235..4aa323dd 100644 --- a/old_docs/API_docs_v73/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v73/constructors/contacts_resolvedPeer.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/contacts_topPeers.md b/old_docs/API_docs_v73/constructors/contacts_topPeers.md index 8777bff2..e4728594 100644 --- a/old_docs/API_docs_v73/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v73/constructors/contacts_topPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCatego ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v73/constructors/contacts_topPeersNotModified.md index 3aa2236a..7ec0114a 100644 --- a/old_docs/API_docs_v73/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v73/constructors/contacts_topPeersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeersNotModified={_='contacts.topPeersNotModified'} ``` diff --git a/old_docs/API_docs_v73/constructors/dataJSON.md b/old_docs/API_docs_v73/constructors/dataJSON.md index c49ec0c0..a6555aea 100644 --- a/old_docs/API_docs_v73/constructors/dataJSON.md +++ b/old_docs/API_docs_v73/constructors/dataJSON.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` @@ -32,10 +32,9 @@ $dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dataJSON={_='dataJSON', data='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/dcOption.md b/old_docs/API_docs_v73/constructors/dcOption.md index d1b1f2ef..75146eef 100644 --- a/old_docs/API_docs_v73/constructors/dcOption.md +++ b/old_docs/API_docs_v73/constructors/dcOption.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'cdn' => Bool, 'static' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` @@ -39,10 +39,9 @@ $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, cdn=Bool, static=Bool, id=int, ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v73/constructors/dialog.md b/old_docs/API_docs_v73/constructors/dialog.md index 9b8b4af4..f4b8163c 100644 --- a/old_docs/API_docs_v73/constructors/dialog.md +++ b/old_docs/API_docs_v73/constructors/dialog.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'pinned' => Bool, 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage]; ``` @@ -41,10 +41,9 @@ $dialog = ['_' => 'dialog', 'pinned' => Bool, 'peer' => Peer, 'top_message' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', pinned=Bool, peer=Peer, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, notify_settings=PeerNotifySettings, pts=int, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v73/constructors/disabledFeature.md b/old_docs/API_docs_v73/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v73/constructors/disabledFeature.md +++ b/old_docs/API_docs_v73/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/document.md b/old_docs/API_docs_v73/constructors/document.md index 1a0f1fc1..58c44a23 100644 --- a/old_docs/API_docs_v73/constructors/document.md +++ b/old_docs/API_docs_v73/constructors/document.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -40,10 +40,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, version=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v73/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v73/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v73/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v73/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v73/constructors/documentAttributeAudio.md b/old_docs/API_docs_v73/constructors/documentAttributeAudio.md index 0dc5decc..f427a05c 100644 --- a/old_docs/API_docs_v73/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v73/constructors/documentAttributeAudio.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` @@ -36,10 +36,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'du ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title='string', performer='string', waveform='bytes'} ``` diff --git a/old_docs/API_docs_v73/constructors/documentAttributeFilename.md b/old_docs/API_docs_v73/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v73/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v73/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/documentAttributeHasStickers.md b/old_docs/API_docs_v73/constructors/documentAttributeHasStickers.md index fff783df..90c58e35 100644 --- a/old_docs/API_docs_v73/constructors/documentAttributeHasStickers.md +++ b/old_docs/API_docs_v73/constructors/documentAttributeHasStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` @@ -27,10 +27,9 @@ $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeHasStickers={_='documentAttributeHasStickers'} ``` diff --git a/old_docs/API_docs_v73/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v73/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v73/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v73/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v73/constructors/documentAttributeSticker.md b/old_docs/API_docs_v73/constructors/documentAttributeSticker.md index ba5243fb..b200f7f0 100644 --- a/old_docs/API_docs_v73/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v73/constructors/documentAttributeSticker.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => 'string', 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords]; ``` @@ -35,10 +35,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', mask=Bool, alt='string', stickerset=InputStickerSet, mask_coords=MaskCoords} ``` diff --git a/old_docs/API_docs_v73/constructors/documentAttributeVideo.md b/old_docs/API_docs_v73/constructors/documentAttributeVideo.md index 21f4580a..bd43440e 100644 --- a/old_docs/API_docs_v73/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v73/constructors/documentAttributeVideo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -35,10 +35,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', round_message=Bool, duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v73/constructors/documentEmpty.md b/old_docs/API_docs_v73/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v73/constructors/documentEmpty.md +++ b/old_docs/API_docs_v73/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v73/constructors/draftMessage.md b/old_docs/API_docs_v73/constructors/draftMessage.md index 370ffaef..ecec69a1 100644 --- a/old_docs/API_docs_v73/constructors/draftMessage.md +++ b/old_docs/API_docs_v73/constructors/draftMessage.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'date' => int]; ``` @@ -36,10 +36,9 @@ $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message='string', entities={MessageEntity}, date=int} ``` diff --git a/old_docs/API_docs_v73/constructors/draftMessageEmpty.md b/old_docs/API_docs_v73/constructors/draftMessageEmpty.md index 15b2aa67..65902a71 100644 --- a/old_docs/API_docs_v73/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v73/constructors/draftMessageEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` @@ -27,10 +27,9 @@ $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessageEmpty={_='draftMessageEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/encryptedChat.md b/old_docs/API_docs_v73/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v73/constructors/encryptedChat.md +++ b/old_docs/API_docs_v73/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v73/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v73/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v73/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v73/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v73/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v73/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v73/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/encryptedChatRequested.md b/old_docs/API_docs_v73/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v73/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v73/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v73/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v73/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v73/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v73/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/encryptedFile.md b/old_docs/API_docs_v73/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v73/constructors/encryptedFile.md +++ b/old_docs/API_docs_v73/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v73/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v73/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v73/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v73/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/encryptedMessage.md b/old_docs/API_docs_v73/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v73/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v73/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v73/constructors/encryptedMessageService.md b/old_docs/API_docs_v73/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v73/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v73/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v73/constructors/error.md b/old_docs/API_docs_v73/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v73/constructors/error.md +++ b/old_docs/API_docs_v73/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/exportedMessageLink.md b/old_docs/API_docs_v73/constructors/exportedMessageLink.md index 423c9fa3..9db8d71a 100644 --- a/old_docs/API_docs_v73/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v73/constructors/exportedMessageLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua exportedMessageLink={_='exportedMessageLink', link='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/fileLocation.md b/old_docs/API_docs_v73/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v73/constructors/fileLocation.md +++ b/old_docs/API_docs_v73/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v73/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v73/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v73/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v73/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v73/constructors/foundGif.md b/old_docs/API_docs_v73/constructors/foundGif.md index d8ee3695..c2f0ce33 100644 --- a/old_docs/API_docs_v73/constructors/foundGif.md +++ b/old_docs/API_docs_v73/constructors/foundGif.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` @@ -37,10 +37,9 @@ $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'con ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGif={_='foundGif', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int} ``` diff --git a/old_docs/API_docs_v73/constructors/foundGifCached.md b/old_docs/API_docs_v73/constructors/foundGifCached.md index e4a1a552..03e67917 100644 --- a/old_docs/API_docs_v73/constructors/foundGifCached.md +++ b/old_docs/API_docs_v73/constructors/foundGifCached.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -34,10 +34,9 @@ $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGifCached={_='foundGifCached', url='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v73/constructors/game.md b/old_docs/API_docs_v73/constructors/game.md index 790fbeeb..088ca95e 100644 --- a/old_docs/API_docs_v73/constructors/game.md +++ b/old_docs/API_docs_v73/constructors/game.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -38,10 +38,9 @@ $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua game={_='game', id=long, access_hash=long, short_name='string', title='string', description='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v73/constructors/geoPoint.md b/old_docs/API_docs_v73/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v73/constructors/geoPoint.md +++ b/old_docs/API_docs_v73/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v73/constructors/geoPointEmpty.md b/old_docs/API_docs_v73/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v73/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v73/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/help_appUpdate.md b/old_docs/API_docs_v73/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v73/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v73/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/help_inviteText.md b/old_docs/API_docs_v73/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v73/constructors/help_inviteText.md +++ b/old_docs/API_docs_v73/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/help_noAppUpdate.md b/old_docs/API_docs_v73/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v73/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v73/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v73/constructors/help_recentMeUrls.md b/old_docs/API_docs_v73/constructors/help_recentMeUrls.md index 4fa513b5..986fa1e7 100644 --- a/old_docs/API_docs_v73/constructors/help_recentMeUrls.md +++ b/old_docs/API_docs_v73/constructors/help_recentMeUrls.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, Recent ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/help_support.md b/old_docs/API_docs_v73/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v73/constructors/help_support.md +++ b/old_docs/API_docs_v73/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v73/constructors/help_termsOfService.md b/old_docs/API_docs_v73/constructors/help_termsOfService.md index 8e558bed..ec7a8121 100644 --- a/old_docs/API_docs_v73/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v73/constructors/help_termsOfService.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_termsOfService={_='help.termsOfService', text='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/highScore.md b/old_docs/API_docs_v73/constructors/highScore.md index 63a8ab05..265c0487 100644 --- a/old_docs/API_docs_v73/constructors/highScore.md +++ b/old_docs/API_docs_v73/constructors/highScore.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int]; ``` @@ -34,10 +34,9 @@ $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua highScore={_='highScore', pos=int, user_id=int, score=int} ``` diff --git a/old_docs/API_docs_v73/constructors/importedContact.md b/old_docs/API_docs_v73/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v73/constructors/importedContact.md +++ b/old_docs/API_docs_v73/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v73/constructors/inlineBotSwitchPM.md b/old_docs/API_docs_v73/constructors/inlineBotSwitchPM.md index 0dfd4714..b4fb8185 100644 --- a/old_docs/API_docs_v73/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v73/constructors/inlineBotSwitchPM.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` @@ -33,10 +33,9 @@ $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_par ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inlineBotSwitchPM={_='inlineBotSwitchPM', text='string', start_param='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputAppEvent.md b/old_docs/API_docs_v73/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v73/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v73/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputBotInlineMessageGame.md b/old_docs/API_docs_v73/constructors/inputBotInlineMessageGame.md index 8e59cd54..66c8997b 100644 --- a/old_docs/API_docs_v73/constructors/inputBotInlineMessageGame.md +++ b/old_docs/API_docs_v73/constructors/inputBotInlineMessageGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup]; ``` @@ -32,10 +32,9 @@ $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageGame={_='inputBotInlineMessageGame', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v73/constructors/inputBotInlineMessageID.md b/old_docs/API_docs_v73/constructors/inputBotInlineMessageID.md index 91c7586d..aecbb733 100644 --- a/old_docs/API_docs_v73/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v73/constructors/inputBotInlineMessageID.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v73/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v73/constructors/inputBotInlineMessageMediaAuto.md index 28d93836..17e2a1cb 100644 --- a/old_docs/API_docs_v73/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v73/constructors/inputBotInlineMessageMediaAuto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -33,10 +33,9 @@ $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'cap ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v73/constructors/inputBotInlineMessageMediaContact.md b/old_docs/API_docs_v73/constructors/inputBotInlineMessageMediaContact.md index 5b78709f..25dd9029 100644 --- a/old_docs/API_docs_v73/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v73/constructors/inputBotInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v73/constructors/inputBotInlineMessageMediaGeo.md b/old_docs/API_docs_v73/constructors/inputBotInlineMessageMediaGeo.md index 2f1f75ad..a4588d95 100644 --- a/old_docs/API_docs_v73/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v73/constructors/inputBotInlineMessageMediaGeo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'period' => int, 'reply_markup' => ReplyMarkup]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, period=int, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v73/constructors/inputBotInlineMessageMediaVenue.md b/old_docs/API_docs_v73/constructors/inputBotInlineMessageMediaVenue.md index 7dbc6a6c..56ec0745 100644 --- a/old_docs/API_docs_v73/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v73/constructors/inputBotInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'g ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v73/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v73/constructors/inputBotInlineMessageText.md index e6a0bbb7..acae47bc 100644 --- a/old_docs/API_docs_v73/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v73/constructors/inputBotInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v73/constructors/inputBotInlineResult.md b/old_docs/API_docs_v73/constructors/inputBotInlineResult.md index 668af514..34148d70 100644 --- a/old_docs/API_docs_v73/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v73/constructors/inputBotInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` @@ -43,10 +43,9 @@ $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v73/constructors/inputBotInlineResultDocument.md b/old_docs/API_docs_v73/constructors/inputBotInlineResultDocument.md index ad13df76..9d5f1eb6 100644 --- a/old_docs/API_docs_v73/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v73/constructors/inputBotInlineResultDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` @@ -37,10 +37,9 @@ $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultDocument={_='inputBotInlineResultDocument', id='string', type='string', title='string', description='string', document=InputDocument, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v73/constructors/inputBotInlineResultGame.md b/old_docs/API_docs_v73/constructors/inputBotInlineResultGame.md index 5967bea6..b7821035 100644 --- a/old_docs/API_docs_v73/constructors/inputBotInlineResultGame.md +++ b/old_docs/API_docs_v73/constructors/inputBotInlineResultGame.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string', 'short_name' => 'string', 'send_message' => InputBotInlineMessage]; ``` @@ -34,10 +34,9 @@ $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultGame={_='inputBotInlineResultGame', id='string', short_name='string', send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v73/constructors/inputBotInlineResultPhoto.md b/old_docs/API_docs_v73/constructors/inputBotInlineResultPhoto.md index 43f00813..271bb02e 100644 --- a/old_docs/API_docs_v73/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v73/constructors/inputBotInlineResultPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` @@ -35,10 +35,9 @@ $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id='string', type='string', photo=InputPhoto, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v73/constructors/inputChannel.md b/old_docs/API_docs_v73/constructors/inputChannel.md index b5cb3566..34ed10ca 100644 --- a/old_docs/API_docs_v73/constructors/inputChannel.md +++ b/old_docs/API_docs_v73/constructors/inputChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannel={_='inputChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v73/constructors/inputChannelEmpty.md b/old_docs/API_docs_v73/constructors/inputChannelEmpty.md index f7e18434..bd53602b 100644 --- a/old_docs/API_docs_v73/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v73/constructors/inputChannelEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` @@ -27,10 +27,9 @@ $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputChatPhoto.md b/old_docs/API_docs_v73/constructors/inputChatPhoto.md index 636d6f68..cbae66d1 100644 --- a/old_docs/API_docs_v73/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v73/constructors/inputChatPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v73/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v73/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v73/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v73/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v73/constructors/inputChatUploadedPhoto.md index 840ed815..8b5535ab 100644 --- a/old_docs/API_docs_v73/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v73/constructors/inputChatUploadedPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile]; ``` @@ -32,10 +32,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile} ``` diff --git a/old_docs/API_docs_v73/constructors/inputDocument.md b/old_docs/API_docs_v73/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v73/constructors/inputDocument.md +++ b/old_docs/API_docs_v73/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v73/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v73/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v73/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v73/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v73/constructors/inputDocumentFileLocation.md index df556f40..94ab0038 100644 --- a/old_docs/API_docs_v73/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v73/constructors/inputDocumentFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int]; ``` @@ -34,10 +34,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, version=int} ``` diff --git a/old_docs/API_docs_v73/constructors/inputEncryptedChat.md b/old_docs/API_docs_v73/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v73/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v73/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v73/constructors/inputEncryptedFile.md b/old_docs/API_docs_v73/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v73/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v73/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v73/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v73/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v73/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v73/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v73/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v73/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v73/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v73/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v73/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v73/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v73/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v73/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v73/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v73/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v73/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v73/constructors/inputFile.md b/old_docs/API_docs_v73/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v73/constructors/inputFile.md +++ b/old_docs/API_docs_v73/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputFileBig.md b/old_docs/API_docs_v73/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v73/constructors/inputFileBig.md +++ b/old_docs/API_docs_v73/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputFileLocation.md b/old_docs/API_docs_v73/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v73/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v73/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v73/constructors/inputGameID.md b/old_docs/API_docs_v73/constructors/inputGameID.md index 1fff2dd1..fba24333 100644 --- a/old_docs/API_docs_v73/constructors/inputGameID.md +++ b/old_docs/API_docs_v73/constructors/inputGameID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameID={_='inputGameID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v73/constructors/inputGameShortName.md b/old_docs/API_docs_v73/constructors/inputGameShortName.md index 742b5ae5..031e3f4c 100644 --- a/old_docs/API_docs_v73/constructors/inputGameShortName.md +++ b/old_docs/API_docs_v73/constructors/inputGameShortName.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => 'string']; ``` @@ -33,10 +33,9 @@ $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'shor ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameShortName={_='inputGameShortName', bot_id=InputUser, short_name='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputGeoPoint.md b/old_docs/API_docs_v73/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v73/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v73/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v73/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v73/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v73/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v73/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMediaContact.md b/old_docs/API_docs_v73/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v73/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v73/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMediaDocument.md b/old_docs/API_docs_v73/constructors/inputMediaDocument.md index 72c79560..4b43d0c2 100644 --- a/old_docs/API_docs_v73/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v73/constructors/inputMediaDocument.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'capt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument, caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMediaDocumentExternal.md b/old_docs/API_docs_v73/constructors/inputMediaDocumentExternal.md index 441087f7..c3378783 100644 --- a/old_docs/API_docs_v73/constructors/inputMediaDocumentExternal.md +++ b/old_docs/API_docs_v73/constructors/inputMediaDocumentExternal.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'string', 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocumentExternal={_='inputMediaDocumentExternal', url='string', caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMediaEmpty.md b/old_docs/API_docs_v73/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v73/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v73/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMediaGame.md b/old_docs/API_docs_v73/constructors/inputMediaGame.md index 883e5672..c4cc2cfc 100644 --- a/old_docs/API_docs_v73/constructors/inputMediaGame.md +++ b/old_docs/API_docs_v73/constructors/inputMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` @@ -32,10 +32,9 @@ $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGame={_='inputMediaGame', id=InputGame} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMediaGeoLive.md b/old_docs/API_docs_v73/constructors/inputMediaGeoLive.md index bf72edfb..be8d4038 100644 --- a/old_docs/API_docs_v73/constructors/inputMediaGeoLive.md +++ b/old_docs/API_docs_v73/constructors/inputMediaGeoLive.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoLive = ['_' => 'inputMediaGeoLive', 'geo_point' => InputGeoPoint, 'period' => int]; ``` @@ -33,10 +33,9 @@ $inputMediaGeoLive = ['_' => 'inputMediaGeoLive', 'geo_point' => InputGeoPoint, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoLive={_='inputMediaGeoLive', geo_point=InputGeoPoint, period=int} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v73/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v73/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v73/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v73/constructors/inputMediaGifExternal.md index cf68972a..14153a43 100644 --- a/old_docs/API_docs_v73/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v73/constructors/inputMediaGifExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGifExternal={_='inputMediaGifExternal', url='string', q='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMediaInvoice.md b/old_docs/API_docs_v73/constructors/inputMediaInvoice.md index 7f66c4c3..e2441e27 100644 --- a/old_docs/API_docs_v73/constructors/inputMediaInvoice.md +++ b/old_docs/API_docs_v73/constructors/inputMediaInvoice.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'description' => 'string', 'photo' => InputWebDocument, 'invoice' => Invoice, 'payload' => 'bytes', 'provider' => 'string', 'provider_data' => DataJSON, 'start_param' => 'string']; ``` @@ -39,10 +39,9 @@ $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'descript ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaInvoice={_='inputMediaInvoice', title='string', description='string', photo=InputWebDocument, invoice=Invoice, payload='bytes', provider='string', provider_data=DataJSON, start_param='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMediaPhoto.md b/old_docs/API_docs_v73/constructors/inputMediaPhoto.md index 36950fb6..1ae02323 100644 --- a/old_docs/API_docs_v73/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v73/constructors/inputMediaPhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMediaPhotoExternal.md b/old_docs/API_docs_v73/constructors/inputMediaPhotoExternal.md index d4fd1a49..85251482 100644 --- a/old_docs/API_docs_v73/constructors/inputMediaPhotoExternal.md +++ b/old_docs/API_docs_v73/constructors/inputMediaPhotoExternal.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhotoExternal={_='inputMediaPhotoExternal', url='string', caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v73/constructors/inputMediaUploadedDocument.md index 19a83f7f..660855e0 100644 --- a/old_docs/API_docs_v73/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v73/constructors/inputMediaUploadedDocument.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'nosound_video' => Bool, 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument, InputDocument], 'ttl_seconds' => int]; ``` @@ -39,10 +39,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'nosound_vid ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', nosound_video=Bool, file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string', stickers={InputDocument}, ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v73/constructors/inputMediaUploadedPhoto.md index e2519a91..2701cc6b 100644 --- a/old_docs/API_docs_v73/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v73/constructors/inputMediaUploadedPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => 'string', 'stickers' => [InputDocument, InputDocument], 'ttl_seconds' => int]; ``` @@ -35,10 +35,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, caption='string', stickers={InputDocument}, ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMediaVenue.md b/old_docs/API_docs_v73/constructors/inputMediaVenue.md index 017f62ee..6f023afa 100644 --- a/old_docs/API_docs_v73/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v73/constructors/inputMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string']; ``` @@ -37,10 +37,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', venue_type='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMessageEntityMentionName.md b/old_docs/API_docs_v73/constructors/inputMessageEntityMentionName.md index 92d5c8d9..19a0b4e3 100644 --- a/old_docs/API_docs_v73/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v73/constructors/inputMessageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser]; ``` @@ -34,10 +34,9 @@ $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessageEntityMentionName={_='inputMessageEntityMentionName', offset=int, length=int, user_id=InputUser} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMessagesFilterChatPhotos.md b/old_docs/API_docs_v73/constructors/inputMessagesFilterChatPhotos.md index a02425b1..b72281f3 100644 --- a/old_docs/API_docs_v73/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v73/constructors/inputMessagesFilterChatPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMessagesFilterContacts.md b/old_docs/API_docs_v73/constructors/inputMessagesFilterContacts.md index 98de3f5e..fbfc7fc2 100644 --- a/old_docs/API_docs_v73/constructors/inputMessagesFilterContacts.md +++ b/old_docs/API_docs_v73/constructors/inputMessagesFilterContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterContacts = ['_' => 'inputMessagesFilterContacts']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterContacts = ['_' => 'inputMessagesFilterContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterContacts={_='inputMessagesFilterContacts'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v73/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v73/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v73/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v73/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v73/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v73/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMessagesFilterGeo.md b/old_docs/API_docs_v73/constructors/inputMessagesFilterGeo.md index 96da554b..059d4ba1 100644 --- a/old_docs/API_docs_v73/constructors/inputMessagesFilterGeo.md +++ b/old_docs/API_docs_v73/constructors/inputMessagesFilterGeo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGeo = ['_' => 'inputMessagesFilterGeo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGeo = ['_' => 'inputMessagesFilterGeo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGeo={_='inputMessagesFilterGeo'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v73/constructors/inputMessagesFilterGif.md index 94698ecd..a3a51104 100644 --- a/old_docs/API_docs_v73/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v73/constructors/inputMessagesFilterGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v73/constructors/inputMessagesFilterMusic.md index ac6373c2..b2ed1044 100644 --- a/old_docs/API_docs_v73/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v73/constructors/inputMessagesFilterMusic.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMessagesFilterMyMentions.md b/old_docs/API_docs_v73/constructors/inputMessagesFilterMyMentions.md index 68411008..54fa6521 100644 --- a/old_docs/API_docs_v73/constructors/inputMessagesFilterMyMentions.md +++ b/old_docs/API_docs_v73/constructors/inputMessagesFilterMyMentions.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterMyMentions = ['_' => 'inputMessagesFilterMyMentions']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterMyMentions = ['_' => 'inputMessagesFilterMyMentions']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterMyMentions={_='inputMessagesFilterMyMentions'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMessagesFilterPhoneCalls.md b/old_docs/API_docs_v73/constructors/inputMessagesFilterPhoneCalls.md index 8fe8537a..0cb60836 100644 --- a/old_docs/API_docs_v73/constructors/inputMessagesFilterPhoneCalls.md +++ b/old_docs/API_docs_v73/constructors/inputMessagesFilterPhoneCalls.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool]; ``` @@ -32,10 +32,9 @@ $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'misse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhoneCalls={_='inputMessagesFilterPhoneCalls', missed=Bool} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v73/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v73/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v73/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v73/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v73/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v73/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMessagesFilterRoundVideo.md b/old_docs/API_docs_v73/constructors/inputMessagesFilterRoundVideo.md index 5bcbbb20..291ebf25 100644 --- a/old_docs/API_docs_v73/constructors/inputMessagesFilterRoundVideo.md +++ b/old_docs/API_docs_v73/constructors/inputMessagesFilterRoundVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterRoundVideo={_='inputMessagesFilterRoundVideo'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMessagesFilterRoundVoice.md b/old_docs/API_docs_v73/constructors/inputMessagesFilterRoundVoice.md index 9e018fc3..4c7fbbec 100644 --- a/old_docs/API_docs_v73/constructors/inputMessagesFilterRoundVoice.md +++ b/old_docs/API_docs_v73/constructors/inputMessagesFilterRoundVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterRoundVoice={_='inputMessagesFilterRoundVoice'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v73/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v73/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v73/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v73/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v73/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v73/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v73/constructors/inputMessagesFilterVoice.md index 026a91be..be3af22a 100644 --- a/old_docs/API_docs_v73/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v73/constructors/inputMessagesFilterVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputNotifyAll.md b/old_docs/API_docs_v73/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v73/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v73/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputNotifyChats.md b/old_docs/API_docs_v73/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v73/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v73/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputNotifyPeer.md b/old_docs/API_docs_v73/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v73/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v73/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v73/constructors/inputNotifyUsers.md b/old_docs/API_docs_v73/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v73/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v73/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPaymentCredentials.md b/old_docs/API_docs_v73/constructors/inputPaymentCredentials.md index 085db55d..4e2883f9 100644 --- a/old_docs/API_docs_v73/constructors/inputPaymentCredentials.md +++ b/old_docs/API_docs_v73/constructors/inputPaymentCredentials.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'data' => DataJSON]; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentials={_='inputPaymentCredentials', save=Bool, data=DataJSON} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPaymentCredentialsAndroidPay.md b/old_docs/API_docs_v73/constructors/inputPaymentCredentialsAndroidPay.md index b917b628..4ad7332d 100644 --- a/old_docs/API_docs_v73/constructors/inputPaymentCredentialsAndroidPay.md +++ b/old_docs/API_docs_v73/constructors/inputPaymentCredentialsAndroidPay.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentialsAndroidPay = ['_' => 'inputPaymentCredentialsAndroidPay', 'payment_token' => DataJSON]; ``` @@ -32,10 +32,9 @@ $inputPaymentCredentialsAndroidPay = ['_' => 'inputPaymentCredentialsAndroidPay' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentialsAndroidPay={_='inputPaymentCredentialsAndroidPay', payment_token=DataJSON} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPaymentCredentialsApplePay.md b/old_docs/API_docs_v73/constructors/inputPaymentCredentialsApplePay.md index 53f9901a..2f3af18e 100644 --- a/old_docs/API_docs_v73/constructors/inputPaymentCredentialsApplePay.md +++ b/old_docs/API_docs_v73/constructors/inputPaymentCredentialsApplePay.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentialsApplePay = ['_' => 'inputPaymentCredentialsApplePay', 'payment_data' => DataJSON]; ``` @@ -32,10 +32,9 @@ $inputPaymentCredentialsApplePay = ['_' => 'inputPaymentCredentialsApplePay', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentialsApplePay={_='inputPaymentCredentialsApplePay', payment_data=DataJSON} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPaymentCredentialsSaved.md b/old_docs/API_docs_v73/constructors/inputPaymentCredentialsSaved.md index 63cd678e..c205ee9a 100644 --- a/old_docs/API_docs_v73/constructors/inputPaymentCredentialsSaved.md +++ b/old_docs/API_docs_v73/constructors/inputPaymentCredentialsSaved.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => 'string', 'tmp_password' => 'bytes']; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentialsSaved={_='inputPaymentCredentialsSaved', id='string', tmp_password='bytes'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPeerChannel.md b/old_docs/API_docs_v73/constructors/inputPeerChannel.md index 8b84fe20..14c2f105 100644 --- a/old_docs/API_docs_v73/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v73/constructors/inputPeerChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPeerChat.md b/old_docs/API_docs_v73/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v73/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v73/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPeerEmpty.md b/old_docs/API_docs_v73/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v73/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v73/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v73/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v73/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v73/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v73/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v73/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v73/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v73/constructors/inputPeerNotifySettings.md index 6b281f53..cd18b39e 100644 --- a/old_docs/API_docs_v73/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v73/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPeerSelf.md b/old_docs/API_docs_v73/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v73/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v73/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPeerUser.md b/old_docs/API_docs_v73/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/old_docs/API_docs_v73/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v73/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPhoneCall.md b/old_docs/API_docs_v73/constructors/inputPhoneCall.md index 60cdf8ca..68abe88d 100644 --- a/old_docs/API_docs_v73/constructors/inputPhoneCall.md +++ b/old_docs/API_docs_v73/constructors/inputPhoneCall.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneCall={_='inputPhoneCall', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPhoneContact.md b/old_docs/API_docs_v73/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v73/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v73/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPhoto.md b/old_docs/API_docs_v73/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v73/constructors/inputPhoto.md +++ b/old_docs/API_docs_v73/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v73/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v73/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v73/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v73/constructors/inputPrivacyKeyChatInvite.md index 9c55265f..d96148d4 100644 --- a/old_docs/API_docs_v73/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v73/constructors/inputPrivacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPrivacyKeyPhoneCall.md b/old_docs/API_docs_v73/constructors/inputPrivacyKeyPhoneCall.md index b16316be..510ff979 100644 --- a/old_docs/API_docs_v73/constructors/inputPrivacyKeyPhoneCall.md +++ b/old_docs/API_docs_v73/constructors/inputPrivacyKeyPhoneCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyPhoneCall={_='inputPrivacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v73/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v73/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v73/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v73/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v73/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v73/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v73/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v73/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v73/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v73/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v73/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v73/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v73/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v73/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v73/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v73/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v73/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v73/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v73/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v73/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v73/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v73/constructors/inputReportReasonOther.md b/old_docs/API_docs_v73/constructors/inputReportReasonOther.md index 361582bd..4dbffa18 100644 --- a/old_docs/API_docs_v73/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v73/constructors/inputReportReasonOther.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonOther={_='inputReportReasonOther', text='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v73/constructors/inputReportReasonPornography.md index c18c71d3..5c80f096 100644 --- a/old_docs/API_docs_v73/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v73/constructors/inputReportReasonPornography.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` @@ -27,10 +27,9 @@ $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v73/constructors/inputReportReasonSpam.md index 19ed6687..75d59861 100644 --- a/old_docs/API_docs_v73/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v73/constructors/inputReportReasonSpam.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` @@ -27,10 +27,9 @@ $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v73/constructors/inputReportReasonViolence.md index 10fbce47..28d27e85 100644 --- a/old_docs/API_docs_v73/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v73/constructors/inputReportReasonViolence.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` @@ -27,10 +27,9 @@ $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputSingleMedia.md b/old_docs/API_docs_v73/constructors/inputSingleMedia.md index 5a2c7ed2..3a687a04 100644 --- a/old_docs/API_docs_v73/constructors/inputSingleMedia.md +++ b/old_docs/API_docs_v73/constructors/inputSingleMedia.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputSingleMedia = ['_' => 'inputSingleMedia', 'media' => InputMedia]; ``` @@ -32,10 +32,9 @@ $inputSingleMedia = ['_' => 'inputSingleMedia', 'media' => InputMedia]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputSingleMedia={_='inputSingleMedia', media=InputMedia} ``` diff --git a/old_docs/API_docs_v73/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v73/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/old_docs/API_docs_v73/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v73/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputStickerSetID.md b/old_docs/API_docs_v73/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/old_docs/API_docs_v73/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v73/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v73/constructors/inputStickerSetItem.md b/old_docs/API_docs_v73/constructors/inputStickerSetItem.md index 2efe95ff..39b999c7 100644 --- a/old_docs/API_docs_v73/constructors/inputStickerSetItem.md +++ b/old_docs/API_docs_v73/constructors/inputStickerSetItem.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetItem = ['_' => 'inputStickerSetItem', 'document' => InputDocument, 'emoji' => 'string', 'mask_coords' => MaskCoords]; ``` @@ -34,10 +34,9 @@ $inputStickerSetItem = ['_' => 'inputStickerSetItem', 'document' => InputDocumen ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetItem={_='inputStickerSetItem', document=InputDocument, emoji='string', mask_coords=MaskCoords} ``` diff --git a/old_docs/API_docs_v73/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v73/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/old_docs/API_docs_v73/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v73/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputStickeredMediaDocument.md b/old_docs/API_docs_v73/constructors/inputStickeredMediaDocument.md index c6def51c..72da7b39 100644 --- a/old_docs/API_docs_v73/constructors/inputStickeredMediaDocument.md +++ b/old_docs/API_docs_v73/constructors/inputStickeredMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaDocument={_='inputStickeredMediaDocument', id=InputDocument} ``` diff --git a/old_docs/API_docs_v73/constructors/inputStickeredMediaPhoto.md b/old_docs/API_docs_v73/constructors/inputStickeredMediaPhoto.md index f424c329..d79cd390 100644 --- a/old_docs/API_docs_v73/constructors/inputStickeredMediaPhoto.md +++ b/old_docs/API_docs_v73/constructors/inputStickeredMediaPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaPhoto={_='inputStickeredMediaPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v73/constructors/inputUser.md b/old_docs/API_docs_v73/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/old_docs/API_docs_v73/constructors/inputUser.md +++ b/old_docs/API_docs_v73/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v73/constructors/inputUserEmpty.md b/old_docs/API_docs_v73/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v73/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v73/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputUserSelf.md b/old_docs/API_docs_v73/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v73/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v73/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v73/constructors/inputWebDocument.md b/old_docs/API_docs_v73/constructors/inputWebDocument.md index 8028cb28..cd3ceaa1 100644 --- a/old_docs/API_docs_v73/constructors/inputWebDocument.md +++ b/old_docs/API_docs_v73/constructors/inputWebDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -35,10 +35,9 @@ $inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputWebDocument={_='inputWebDocument', url='string', size=int, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v73/constructors/inputWebFileLocation.md b/old_docs/API_docs_v73/constructors/inputWebFileLocation.md index c484849b..888dcfbe 100644 --- a/old_docs/API_docs_v73/constructors/inputWebFileLocation.md +++ b/old_docs/API_docs_v73/constructors/inputWebFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'acce ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputWebFileLocation={_='inputWebFileLocation', url='string', access_hash=long} ``` diff --git a/old_docs/API_docs_v73/constructors/invoice.md b/old_docs/API_docs_v73/constructors/invoice.md index 5caa32f5..1e2de02c 100644 --- a/old_docs/API_docs_v73/constructors/invoice.md +++ b/old_docs/API_docs_v73/constructors/invoice.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_requested' => Bool, 'email_requested' => Bool, 'shipping_address_requested' => Bool, 'flexible' => Bool, 'phone_to_provider' => Bool, 'email_to_provider' => Bool, 'currency' => 'string', 'prices' => [LabeledPrice, LabeledPrice]]; ``` @@ -41,10 +41,9 @@ $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_r ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua invoice={_='invoice', test=Bool, name_requested=Bool, phone_requested=Bool, email_requested=Bool, shipping_address_requested=Bool, flexible=Bool, phone_to_provider=Bool, email_to_provider=Bool, currency='string', prices={LabeledPrice}} ``` diff --git a/old_docs/API_docs_v73/constructors/keyboardButton.md b/old_docs/API_docs_v73/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/old_docs/API_docs_v73/constructors/keyboardButton.md +++ b/old_docs/API_docs_v73/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/keyboardButtonBuy.md b/old_docs/API_docs_v73/constructors/keyboardButtonBuy.md index efff4c6c..cf11ddf6 100644 --- a/old_docs/API_docs_v73/constructors/keyboardButtonBuy.md +++ b/old_docs/API_docs_v73/constructors/keyboardButtonBuy.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonBuy={_='keyboardButtonBuy', text='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/keyboardButtonCallback.md b/old_docs/API_docs_v73/constructors/keyboardButtonCallback.md index 63e87aac..c8f86f50 100644 --- a/old_docs/API_docs_v73/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v73/constructors/keyboardButtonCallback.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` @@ -33,10 +33,9 @@ $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonCallback={_='keyboardButtonCallback', text='string', data='bytes'} ``` diff --git a/old_docs/API_docs_v73/constructors/keyboardButtonGame.md b/old_docs/API_docs_v73/constructors/keyboardButtonGame.md index 08110141..05a565a3 100644 --- a/old_docs/API_docs_v73/constructors/keyboardButtonGame.md +++ b/old_docs/API_docs_v73/constructors/keyboardButtonGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonGame={_='keyboardButtonGame', text='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/keyboardButtonRequestGeoLocation.md b/old_docs/API_docs_v73/constructors/keyboardButtonRequestGeoLocation.md index fc422d90..63d4a82f 100644 --- a/old_docs/API_docs_v73/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v73/constructors/keyboardButtonRequestGeoLocation.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/keyboardButtonRequestPhone.md b/old_docs/API_docs_v73/constructors/keyboardButtonRequestPhone.md index a1719e24..ba58979f 100644 --- a/old_docs/API_docs_v73/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v73/constructors/keyboardButtonRequestPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/keyboardButtonRow.md b/old_docs/API_docs_v73/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/old_docs/API_docs_v73/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v73/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/old_docs/API_docs_v73/constructors/keyboardButtonSwitchInline.md b/old_docs/API_docs_v73/constructors/keyboardButtonSwitchInline.md index 463c473c..52dc897a 100644 --- a/old_docs/API_docs_v73/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v73/constructors/keyboardButtonSwitchInline.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => 'string', 'query' => 'string']; ``` @@ -34,10 +34,9 @@ $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=Bool, text='string', query='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/keyboardButtonUrl.md b/old_docs/API_docs_v73/constructors/keyboardButtonUrl.md index 709d4fa9..56b86f1c 100644 --- a/old_docs/API_docs_v73/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v73/constructors/keyboardButtonUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` @@ -33,10 +33,9 @@ $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonUrl={_='keyboardButtonUrl', text='string', url='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/labeledPrice.md b/old_docs/API_docs_v73/constructors/labeledPrice.md index 22e91c77..d54f53f5 100644 --- a/old_docs/API_docs_v73/constructors/labeledPrice.md +++ b/old_docs/API_docs_v73/constructors/labeledPrice.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` @@ -33,10 +33,9 @@ $labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua labeledPrice={_='labeledPrice', label='string', amount=long} ``` diff --git a/old_docs/API_docs_v73/constructors/langPackDifference.md b/old_docs/API_docs_v73/constructors/langPackDifference.md index 59f57e24..c31de915 100644 --- a/old_docs/API_docs_v73/constructors/langPackDifference.md +++ b/old_docs/API_docs_v73/constructors/langPackDifference.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackDifference = ['_' => 'langPackDifference', 'lang_code' => 'string', 'from_version' => int, 'version' => int, 'strings' => [LangPackString, LangPackString]]; ``` @@ -35,10 +35,9 @@ $langPackDifference = ['_' => 'langPackDifference', 'lang_code' => 'string', 'fr ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackDifference={_='langPackDifference', lang_code='string', from_version=int, version=int, strings={LangPackString}} ``` diff --git a/old_docs/API_docs_v73/constructors/langPackLanguage.md b/old_docs/API_docs_v73/constructors/langPackLanguage.md index a72465ca..51a8486c 100644 --- a/old_docs/API_docs_v73/constructors/langPackLanguage.md +++ b/old_docs/API_docs_v73/constructors/langPackLanguage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackLanguage = ['_' => 'langPackLanguage', 'name' => 'string', 'native_name' => 'string', 'lang_code' => 'string']; ``` @@ -34,10 +34,9 @@ $langPackLanguage = ['_' => 'langPackLanguage', 'name' => 'string', 'native_name ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackLanguage={_='langPackLanguage', name='string', native_name='string', lang_code='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/langPackString.md b/old_docs/API_docs_v73/constructors/langPackString.md index 4034f228..35d7d117 100644 --- a/old_docs/API_docs_v73/constructors/langPackString.md +++ b/old_docs/API_docs_v73/constructors/langPackString.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackString = ['_' => 'langPackString', 'key' => 'string', 'value' => 'string']; ``` @@ -33,10 +33,9 @@ $langPackString = ['_' => 'langPackString', 'key' => 'string', 'value' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackString={_='langPackString', key='string', value='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/langPackStringDeleted.md b/old_docs/API_docs_v73/constructors/langPackStringDeleted.md index 3da641bb..c23ce8f8 100644 --- a/old_docs/API_docs_v73/constructors/langPackStringDeleted.md +++ b/old_docs/API_docs_v73/constructors/langPackStringDeleted.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackStringDeleted = ['_' => 'langPackStringDeleted', 'key' => 'string']; ``` @@ -32,10 +32,9 @@ $langPackStringDeleted = ['_' => 'langPackStringDeleted', 'key' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackStringDeleted={_='langPackStringDeleted', key='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/langPackStringPluralized.md b/old_docs/API_docs_v73/constructors/langPackStringPluralized.md index 92b0b356..37225b53 100644 --- a/old_docs/API_docs_v73/constructors/langPackStringPluralized.md +++ b/old_docs/API_docs_v73/constructors/langPackStringPluralized.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => 'string', 'zero_value' => 'string', 'one_value' => 'string', 'two_value' => 'string', 'few_value' => 'string', 'many_value' => 'string', 'other_value' => 'string']; ``` @@ -38,10 +38,9 @@ $langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackStringPluralized={_='langPackStringPluralized', key='string', zero_value='string', one_value='string', two_value='string', few_value='string', many_value='string', other_value='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/maskCoords.md b/old_docs/API_docs_v73/constructors/maskCoords.md index 21b9ad78..2d393f3a 100644 --- a/old_docs/API_docs_v73/constructors/maskCoords.md +++ b/old_docs/API_docs_v73/constructors/maskCoords.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double]; ``` @@ -35,10 +35,9 @@ $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'z ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua maskCoords={_='maskCoords', n=int, x=double, y=double, zoom=double} ``` diff --git a/old_docs/API_docs_v73/constructors/message.md b/old_docs/API_docs_v73/constructors/message.md index 98ea00b3..c7c87fd0 100644 --- a/old_docs/API_docs_v73/constructors/message.md +++ b/old_docs/API_docs_v73/constructors/message.md @@ -40,7 +40,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'views' => int, 'edit_date' => int, 'post_author' => 'string', 'grouped_id' => long]; ``` @@ -51,10 +51,9 @@ $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int, post_author='string', grouped_id=long} ``` diff --git a/old_docs/API_docs_v73/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v73/constructors/messageActionChannelCreate.md index b1750d73..2600ab63 100644 --- a/old_docs/API_docs_v73/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v73/constructors/messageActionChannelCreate.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v73/constructors/messageActionChannelMigrateFrom.md index add136dc..1fdcf3f4 100644 --- a/old_docs/API_docs_v73/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v73/constructors/messageActionChannelMigrateFrom.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 't ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v73/constructors/messageActionChatAddUser.md index 9c7de7f8..283365cd 100644 --- a/old_docs/API_docs_v73/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v73/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', users={int}} ``` diff --git a/old_docs/API_docs_v73/constructors/messageActionChatCreate.md b/old_docs/API_docs_v73/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v73/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v73/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v73/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v73/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v73/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v73/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v73/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v73/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v73/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v73/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v73/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v73/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v73/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v73/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v73/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v73/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v73/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v73/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/old_docs/API_docs_v73/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v73/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v73/constructors/messageActionChatMigrateTo.md index 21d2cb22..8ace1091 100644 --- a/old_docs/API_docs_v73/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v73/constructors/messageActionChatMigrateTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageActionCustomAction.md b/old_docs/API_docs_v73/constructors/messageActionCustomAction.md index 7dc58857..4087afcf 100644 --- a/old_docs/API_docs_v73/constructors/messageActionCustomAction.md +++ b/old_docs/API_docs_v73/constructors/messageActionCustomAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionCustomAction = ['_' => 'messageActionCustomAction', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionCustomAction = ['_' => 'messageActionCustomAction', 'message' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionCustomAction={_='messageActionCustomAction', message='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/messageActionEmpty.md b/old_docs/API_docs_v73/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v73/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v73/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/messageActionGameScore.md b/old_docs/API_docs_v73/constructors/messageActionGameScore.md index 7a459a3d..c0086b66 100644 --- a/old_docs/API_docs_v73/constructors/messageActionGameScore.md +++ b/old_docs/API_docs_v73/constructors/messageActionGameScore.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int]; ``` @@ -33,10 +33,9 @@ $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionGameScore={_='messageActionGameScore', game_id=long, score=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageActionHistoryClear.md b/old_docs/API_docs_v73/constructors/messageActionHistoryClear.md index 8b8dcc9d..90875cf6 100644 --- a/old_docs/API_docs_v73/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v73/constructors/messageActionHistoryClear.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` @@ -27,10 +27,9 @@ $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionHistoryClear={_='messageActionHistoryClear'} ``` diff --git a/old_docs/API_docs_v73/constructors/messageActionPaymentSent.md b/old_docs/API_docs_v73/constructors/messageActionPaymentSent.md index b224a125..a5c83837 100644 --- a/old_docs/API_docs_v73/constructors/messageActionPaymentSent.md +++ b/old_docs/API_docs_v73/constructors/messageActionPaymentSent.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 'string', 'total_amount' => long]; ``` @@ -33,10 +33,9 @@ $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPaymentSent={_='messageActionPaymentSent', currency='string', total_amount=long} ``` diff --git a/old_docs/API_docs_v73/constructors/messageActionPaymentSentMe.md b/old_docs/API_docs_v73/constructors/messageActionPaymentSentMe.md index f21ccce0..b1a61d01 100644 --- a/old_docs/API_docs_v73/constructors/messageActionPaymentSentMe.md +++ b/old_docs/API_docs_v73/constructors/messageActionPaymentSentMe.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' => 'string', 'total_amount' => long, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'charge' => PaymentCharge]; ``` @@ -37,10 +37,9 @@ $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPaymentSentMe={_='messageActionPaymentSentMe', currency='string', total_amount=long, payload='bytes', info=PaymentRequestedInfo, shipping_option_id='string', charge=PaymentCharge} ``` diff --git a/old_docs/API_docs_v73/constructors/messageActionPhoneCall.md b/old_docs/API_docs_v73/constructors/messageActionPhoneCall.md index f2f3eb4f..18a6c687 100644 --- a/old_docs/API_docs_v73/constructors/messageActionPhoneCall.md +++ b/old_docs/API_docs_v73/constructors/messageActionPhoneCall.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` @@ -34,10 +34,9 @@ $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPhoneCall={_='messageActionPhoneCall', call_id=long, reason=PhoneCallDiscardReason, duration=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageActionPinMessage.md b/old_docs/API_docs_v73/constructors/messageActionPinMessage.md index ffa41746..be763787 100644 --- a/old_docs/API_docs_v73/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v73/constructors/messageActionPinMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` @@ -27,10 +27,9 @@ $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/old_docs/API_docs_v73/constructors/messageActionScreenshotTaken.md b/old_docs/API_docs_v73/constructors/messageActionScreenshotTaken.md index f86b1746..cbe504c6 100644 --- a/old_docs/API_docs_v73/constructors/messageActionScreenshotTaken.md +++ b/old_docs/API_docs_v73/constructors/messageActionScreenshotTaken.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionScreenshotTaken = ['_' => 'messageActionScreenshotTaken']; ``` @@ -27,10 +27,9 @@ $messageActionScreenshotTaken = ['_' => 'messageActionScreenshotTaken']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionScreenshotTaken={_='messageActionScreenshotTaken'} ``` diff --git a/old_docs/API_docs_v73/constructors/messageEmpty.md b/old_docs/API_docs_v73/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v73/constructors/messageEmpty.md +++ b/old_docs/API_docs_v73/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageEntityBold.md b/old_docs/API_docs_v73/constructors/messageEntityBold.md index 950699fb..90f74ad5 100644 --- a/old_docs/API_docs_v73/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v73/constructors/messageEntityBold.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v73/constructors/messageEntityBotCommand.md index 8be471d3..9fb8f6a6 100644 --- a/old_docs/API_docs_v73/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v73/constructors/messageEntityBotCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageEntityCode.md b/old_docs/API_docs_v73/constructors/messageEntityCode.md index 7c701844..d236e57e 100644 --- a/old_docs/API_docs_v73/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v73/constructors/messageEntityCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageEntityEmail.md b/old_docs/API_docs_v73/constructors/messageEntityEmail.md index 35a968c7..74e910f3 100644 --- a/old_docs/API_docs_v73/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v73/constructors/messageEntityEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageEntityHashtag.md b/old_docs/API_docs_v73/constructors/messageEntityHashtag.md index 6b124e73..77e29387 100644 --- a/old_docs/API_docs_v73/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v73/constructors/messageEntityHashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageEntityItalic.md b/old_docs/API_docs_v73/constructors/messageEntityItalic.md index 25f73428..5975bae2 100644 --- a/old_docs/API_docs_v73/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v73/constructors/messageEntityItalic.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageEntityMention.md b/old_docs/API_docs_v73/constructors/messageEntityMention.md index 9eb4d266..1a21cb10 100644 --- a/old_docs/API_docs_v73/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v73/constructors/messageEntityMention.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageEntityMentionName.md b/old_docs/API_docs_v73/constructors/messageEntityMentionName.md index b546570b..0fe142c5 100644 --- a/old_docs/API_docs_v73/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v73/constructors/messageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int]; ``` @@ -34,10 +34,9 @@ $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageEntityPre.md b/old_docs/API_docs_v73/constructors/messageEntityPre.md index abfc9136..13b165fe 100644 --- a/old_docs/API_docs_v73/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v73/constructors/messageEntityPre.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPre={_='messageEntityPre', offset=int, length=int, language='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v73/constructors/messageEntityTextUrl.md index 91f6d36c..b6d82843 100644 --- a/old_docs/API_docs_v73/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v73/constructors/messageEntityTextUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/messageEntityUnknown.md b/old_docs/API_docs_v73/constructors/messageEntityUnknown.md index 69ca8a1b..4c434fd7 100644 --- a/old_docs/API_docs_v73/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v73/constructors/messageEntityUnknown.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageEntityUrl.md b/old_docs/API_docs_v73/constructors/messageEntityUrl.md index 377c3dda..2cf334a5 100644 --- a/old_docs/API_docs_v73/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v73/constructors/messageEntityUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageFwdHeader.md b/old_docs/API_docs_v73/constructors/messageFwdHeader.md index 17fd301c..3fe7ca9b 100644 --- a/old_docs/API_docs_v73/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v73/constructors/messageFwdHeader.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, 'post_author' => 'string', 'saved_from_peer' => Peer, 'saved_from_msg_id' => int]; ``` @@ -38,10 +38,9 @@ $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int, post_author='string', saved_from_peer=Peer, saved_from_msg_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageMediaContact.md b/old_docs/API_docs_v73/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v73/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v73/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageMediaDocument.md b/old_docs/API_docs_v73/constructors/messageMediaDocument.md index 18ae1020..4c486785 100644 --- a/old_docs/API_docs_v73/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v73/constructors/messageMediaDocument.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document, caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageMediaEmpty.md b/old_docs/API_docs_v73/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v73/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v73/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/messageMediaGame.md b/old_docs/API_docs_v73/constructors/messageMediaGame.md index e97b2bd1..980dbbcc 100644 --- a/old_docs/API_docs_v73/constructors/messageMediaGame.md +++ b/old_docs/API_docs_v73/constructors/messageMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` @@ -32,10 +32,9 @@ $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGame={_='messageMediaGame', game=Game} ``` diff --git a/old_docs/API_docs_v73/constructors/messageMediaGeo.md b/old_docs/API_docs_v73/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v73/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v73/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v73/constructors/messageMediaGeoLive.md b/old_docs/API_docs_v73/constructors/messageMediaGeoLive.md index f77c0a16..b238f66e 100644 --- a/old_docs/API_docs_v73/constructors/messageMediaGeoLive.md +++ b/old_docs/API_docs_v73/constructors/messageMediaGeoLive.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeoLive = ['_' => 'messageMediaGeoLive', 'geo' => GeoPoint, 'period' => int]; ``` @@ -33,10 +33,9 @@ $messageMediaGeoLive = ['_' => 'messageMediaGeoLive', 'geo' => GeoPoint, 'period ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeoLive={_='messageMediaGeoLive', geo=GeoPoint, period=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageMediaInvoice.md b/old_docs/API_docs_v73/constructors/messageMediaInvoice.md index dff83700..e7514d50 100644 --- a/old_docs/API_docs_v73/constructors/messageMediaInvoice.md +++ b/old_docs/API_docs_v73/constructors/messageMediaInvoice.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requested' => Bool, 'test' => Bool, 'title' => 'string', 'description' => 'string', 'photo' => WebDocument, 'receipt_msg_id' => int, 'currency' => 'string', 'total_amount' => long, 'start_param' => 'string']; ``` @@ -40,10 +40,9 @@ $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requeste ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaInvoice={_='messageMediaInvoice', shipping_address_requested=Bool, test=Bool, title='string', description='string', photo=WebDocument, receipt_msg_id=int, currency='string', total_amount=long, start_param='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/messageMediaPhoto.md b/old_docs/API_docs_v73/constructors/messageMediaPhoto.md index 4fa78685..2c7d687d 100644 --- a/old_docs/API_docs_v73/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v73/constructors/messageMediaPhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => 'string', 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, caption='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v73/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v73/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v73/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v73/constructors/messageMediaVenue.md b/old_docs/API_docs_v73/constructors/messageMediaVenue.md index 7d529bf1..4d1ff1b7 100644 --- a/old_docs/API_docs_v73/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v73/constructors/messageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string']; ``` @@ -37,10 +37,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string', venue_type='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/messageMediaWebPage.md b/old_docs/API_docs_v73/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v73/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v73/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v73/constructors/messageRange.md b/old_docs/API_docs_v73/constructors/messageRange.md index 40c3f81a..527e8646 100644 --- a/old_docs/API_docs_v73/constructors/messageRange.md +++ b/old_docs/API_docs_v73/constructors/messageRange.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageRange={_='messageRange', min_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messageService.md b/old_docs/API_docs_v73/constructors/messageService.md index 8f47e32f..f9946e72 100644 --- a/old_docs/API_docs_v73/constructors/messageService.md +++ b/old_docs/API_docs_v73/constructors/messageService.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction]; ``` @@ -42,10 +42,9 @@ $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_affectedHistory.md b/old_docs/API_docs_v73/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v73/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v73/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_affectedMessages.md b/old_docs/API_docs_v73/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v73/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v73/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_allStickers.md b/old_docs/API_docs_v73/constructors/messages_allStickers.md index 2a7d1313..45a66ddf 100644 --- a/old_docs/API_docs_v73/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v73/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v73/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v73/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v73/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_archivedStickers.md b/old_docs/API_docs_v73/constructors/messages_archivedStickers.md index 458c74b9..639d174b 100644 --- a/old_docs/API_docs_v73/constructors/messages_archivedStickers.md +++ b/old_docs/API_docs_v73/constructors/messages_archivedStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -33,10 +33,9 @@ $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v73/constructors/messages_botCallbackAnswer.md index 657ba0fc..f7536196 100644 --- a/old_docs/API_docs_v73/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v73/constructors/messages_botCallbackAnswer.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; ``` @@ -37,10 +37,9 @@ $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_botResults.md b/old_docs/API_docs_v73/constructors/messages_botResults.md index 514517e4..5c946daa 100644 --- a/old_docs/API_docs_v73/constructors/messages_botResults.md +++ b/old_docs/API_docs_v73/constructors/messages_botResults.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_channelMessages.md b/old_docs/API_docs_v73/constructors/messages_channelMessages.md index 43f4cdc6..0da0608d 100644 --- a/old_docs/API_docs_v73/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v73/constructors/messages_channelMessages.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'c ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_chatFull.md b/old_docs/API_docs_v73/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v73/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v73/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_chats.md b/old_docs/API_docs_v73/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v73/constructors/messages_chats.md +++ b/old_docs/API_docs_v73/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_chatsSlice.md b/old_docs/API_docs_v73/constructors/messages_chatsSlice.md index 83905f64..d6a204d4 100644 --- a/old_docs/API_docs_v73/constructors/messages_chatsSlice.md +++ b/old_docs/API_docs_v73/constructors/messages_chatsSlice.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; ``` @@ -33,10 +33,9 @@ $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_dhConfig.md b/old_docs/API_docs_v73/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v73/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v73/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v73/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v73/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v73/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_dialogs.md b/old_docs/API_docs_v73/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v73/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v73/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v73/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v73/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v73/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_favedStickers.md b/old_docs/API_docs_v73/constructors/messages_favedStickers.md index b0501427..d058813a 100644 --- a/old_docs/API_docs_v73/constructors/messages_favedStickers.md +++ b/old_docs/API_docs_v73/constructors/messages_favedStickers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_favedStickersNotModified.md b/old_docs/API_docs_v73/constructors/messages_favedStickersNotModified.md index a5215247..91c1ec51 100644 --- a/old_docs/API_docs_v73/constructors/messages_favedStickersNotModified.md +++ b/old_docs/API_docs_v73/constructors/messages_favedStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_favedStickersNotModified={_='messages.favedStickersNotModified'} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_featuredStickers.md b/old_docs/API_docs_v73/constructors/messages_featuredStickers.md index 0ec8be8b..f40ec583 100644 --- a/old_docs/API_docs_v73/constructors/messages_featuredStickers.md +++ b/old_docs/API_docs_v73/constructors/messages_featuredStickers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; ``` @@ -34,10 +34,9 @@ $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v73/constructors/messages_featuredStickersNotModified.md index 87d2e6c7..3457ff96 100644 --- a/old_docs/API_docs_v73/constructors/messages_featuredStickersNotModified.md +++ b/old_docs/API_docs_v73/constructors/messages_featuredStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotMod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_foundGifs.md b/old_docs/API_docs_v73/constructors/messages_foundGifs.md index f86a9fed..4d513264 100644 --- a/old_docs/API_docs_v73/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v73/constructors/messages_foundGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; ``` @@ -33,10 +33,9 @@ $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'resul ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_highScores.md b/old_docs/API_docs_v73/constructors/messages_highScores.md index 1af58a14..08692c07 100644 --- a/old_docs/API_docs_v73/constructors/messages_highScores.md +++ b/old_docs/API_docs_v73/constructors/messages_highScores.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, Hi ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_messageEditData.md b/old_docs/API_docs_v73/constructors/messages_messageEditData.md index aee6e179..fe0f3ab3 100644 --- a/old_docs/API_docs_v73/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v73/constructors/messages_messageEditData.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` @@ -32,10 +32,9 @@ $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messageEditData={_='messages.messageEditData', caption=Bool} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_messages.md b/old_docs/API_docs_v73/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v73/constructors/messages_messages.md +++ b/old_docs/API_docs_v73/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_messagesNotModified.md b/old_docs/API_docs_v73/constructors/messages_messagesNotModified.md index 524d4c6f..05c192e5 100644 --- a/old_docs/API_docs_v73/constructors/messages_messagesNotModified.md +++ b/old_docs/API_docs_v73/constructors/messages_messagesNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; ``` @@ -32,10 +32,9 @@ $messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesNotModified={_='messages.messagesNotModified', count=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_messagesSlice.md b/old_docs/API_docs_v73/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v73/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v73/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_peerDialogs.md b/old_docs/API_docs_v73/constructors/messages_peerDialogs.md index 93601b21..60aa48e6 100644 --- a/old_docs/API_docs_v73/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v73/constructors/messages_peerDialogs.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -36,10 +36,9 @@ $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Di ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_recentStickers.md b/old_docs/API_docs_v73/constructors/messages_recentStickers.md index b2ea1fa7..47a5c591 100644 --- a/old_docs/API_docs_v73/constructors/messages_recentStickers.md +++ b/old_docs/API_docs_v73/constructors/messages_recentStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v73/constructors/messages_recentStickersNotModified.md index 9bf964da..c3c4f654 100644 --- a/old_docs/API_docs_v73/constructors/messages_recentStickersNotModified.md +++ b/old_docs/API_docs_v73/constructors/messages_recentStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModifie ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickersNotModified={_='messages.recentStickersNotModified'} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_savedGifs.md b/old_docs/API_docs_v73/constructors/messages_savedGifs.md index 4a254ab5..ae7e595f 100644 --- a/old_docs/API_docs_v73/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v73/constructors/messages_savedGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Do ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v73/constructors/messages_savedGifsNotModified.md index 65c17d0c..ef0db669 100644 --- a/old_docs/API_docs_v73/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v73/constructors/messages_savedGifsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` @@ -27,10 +27,9 @@ $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifsNotModified={_='messages.savedGifsNotModified'} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v73/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v73/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v73/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v73/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v73/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v73/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_stickerSet.md b/old_docs/API_docs_v73/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/old_docs/API_docs_v73/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v73/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v73/constructors/messages_stickerSetInstallResultArchive.md index 2f66cfa0..f43e11c0 100644 --- a/old_docs/API_docs_v73/constructors/messages_stickerSetInstallResultArchive.md +++ b/old_docs/API_docs_v73/constructors/messages_stickerSetInstallResultArchive.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -32,10 +32,9 @@ $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v73/constructors/messages_stickerSetInstallResultSuccess.md index ef5752a2..bb6b00f3 100644 --- a/old_docs/API_docs_v73/constructors/messages_stickerSetInstallResultSuccess.md +++ b/old_docs/API_docs_v73/constructors/messages_stickerSetInstallResultSuccess.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; ``` @@ -27,10 +27,9 @@ $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_stickers.md b/old_docs/API_docs_v73/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v73/constructors/messages_stickers.md +++ b/old_docs/API_docs_v73/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v73/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v73/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v73/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v73/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v73/constructors/nearestDc.md b/old_docs/API_docs_v73/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v73/constructors/nearestDc.md +++ b/old_docs/API_docs_v73/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v73/constructors/notifyAll.md b/old_docs/API_docs_v73/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v73/constructors/notifyAll.md +++ b/old_docs/API_docs_v73/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v73/constructors/notifyChats.md b/old_docs/API_docs_v73/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v73/constructors/notifyChats.md +++ b/old_docs/API_docs_v73/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v73/constructors/notifyPeer.md b/old_docs/API_docs_v73/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v73/constructors/notifyPeer.md +++ b/old_docs/API_docs_v73/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v73/constructors/notifyUsers.md b/old_docs/API_docs_v73/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v73/constructors/notifyUsers.md +++ b/old_docs/API_docs_v73/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockAnchor.md b/old_docs/API_docs_v73/constructors/pageBlockAnchor.md index af7f7c2b..5a5757fb 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockAnchor.md +++ b/old_docs/API_docs_v73/constructors/pageBlockAnchor.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` @@ -32,10 +32,9 @@ $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAnchor={_='pageBlockAnchor', name='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockAudio.md b/old_docs/API_docs_v73/constructors/pageBlockAudio.md index 5a7b97c0..af68cf19 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockAudio.md +++ b/old_docs/API_docs_v73/constructors/pageBlockAudio.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAudio = ['_' => 'pageBlockAudio', 'audio_id' => long, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockAudio = ['_' => 'pageBlockAudio', 'audio_id' => long, 'caption' => Ric ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAudio={_='pageBlockAudio', audio_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockAuthorDate.md b/old_docs/API_docs_v73/constructors/pageBlockAuthorDate.md index 4f746156..03daab4b 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockAuthorDate.md +++ b/old_docs/API_docs_v73/constructors/pageBlockAuthorDate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int]; ``` @@ -33,10 +33,9 @@ $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'pub ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAuthorDate={_='pageBlockAuthorDate', author=RichText, published_date=int} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockBlockquote.md b/old_docs/API_docs_v73/constructors/pageBlockBlockquote.md index f78ad5bd..c34f378d 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockBlockquote.md +++ b/old_docs/API_docs_v73/constructors/pageBlockBlockquote.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'capti ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockBlockquote={_='pageBlockBlockquote', text=RichText, caption=RichText} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockChannel.md b/old_docs/API_docs_v73/constructors/pageBlockChannel.md index 6cd78457..95ddd37b 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockChannel.md +++ b/old_docs/API_docs_v73/constructors/pageBlockChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat]; ``` @@ -32,10 +32,9 @@ $pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockChannel={_='pageBlockChannel', channel=Chat} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockCollage.md b/old_docs/API_docs_v73/constructors/pageBlockCollage.md index 45bdee72..beaf8ba2 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockCollage.md +++ b/old_docs/API_docs_v73/constructors/pageBlockCollage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock, PageBlock ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockCollage={_='pageBlockCollage', items={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockCover.md b/old_docs/API_docs_v73/constructors/pageBlockCover.md index 8e8db49e..8c96a1af 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockCover.md +++ b/old_docs/API_docs_v73/constructors/pageBlockCover.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` @@ -32,10 +32,9 @@ $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockCover={_='pageBlockCover', cover=PageBlock} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockDivider.md b/old_docs/API_docs_v73/constructors/pageBlockDivider.md index 5f444cce..ee3e75b7 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockDivider.md +++ b/old_docs/API_docs_v73/constructors/pageBlockDivider.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockDivider = ['_' => 'pageBlockDivider']; ``` @@ -27,10 +27,9 @@ $pageBlockDivider = ['_' => 'pageBlockDivider']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockDivider={_='pageBlockDivider'} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockEmbed.md b/old_docs/API_docs_v73/constructors/pageBlockEmbed.md index 3e508369..9c72b889 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockEmbed.md +++ b/old_docs/API_docs_v73/constructors/pageBlockEmbed.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => 'string', 'html' => 'string', 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText]; ``` @@ -39,10 +39,9 @@ $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolli ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockEmbed={_='pageBlockEmbed', full_width=Bool, allow_scrolling=Bool, url='string', html='string', poster_photo_id=long, w=int, h=int, caption=RichText} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockEmbedPost.md b/old_docs/API_docs_v73/constructors/pageBlockEmbedPost.md index 24c622e6..684952c1 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockEmbedPost.md +++ b/old_docs/API_docs_v73/constructors/pageBlockEmbedPost.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_id' => long, 'author_photo_id' => long, 'author' => 'string', 'date' => int, 'blocks' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -38,10 +38,9 @@ $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockEmbedPost={_='pageBlockEmbedPost', url='string', webpage_id=long, author_photo_id=long, author='string', date=int, blocks={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockFooter.md b/old_docs/API_docs_v73/constructors/pageBlockFooter.md index 3caeb971..e467eb94 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockFooter.md +++ b/old_docs/API_docs_v73/constructors/pageBlockFooter.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockFooter={_='pageBlockFooter', text=RichText} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockHeader.md b/old_docs/API_docs_v73/constructors/pageBlockHeader.md index 950037d0..761196e1 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockHeader.md +++ b/old_docs/API_docs_v73/constructors/pageBlockHeader.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockHeader={_='pageBlockHeader', text=RichText} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockList.md b/old_docs/API_docs_v73/constructors/pageBlockList.md index 37371b18..f841cf2f 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockList.md +++ b/old_docs/API_docs_v73/constructors/pageBlockList.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText, RichText]]; ``` @@ -33,10 +33,9 @@ $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichTex ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockList={_='pageBlockList', ordered=Bool, items={RichText}} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockParagraph.md b/old_docs/API_docs_v73/constructors/pageBlockParagraph.md index 6b22950e..897a7870 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockParagraph.md +++ b/old_docs/API_docs_v73/constructors/pageBlockParagraph.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockParagraph={_='pageBlockParagraph', text=RichText} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockPhoto.md b/old_docs/API_docs_v73/constructors/pageBlockPhoto.md index e80e16f4..470dbc15 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockPhoto.md +++ b/old_docs/API_docs_v73/constructors/pageBlockPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => Ric ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPhoto={_='pageBlockPhoto', photo_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockPreformatted.md b/old_docs/API_docs_v73/constructors/pageBlockPreformatted.md index 49cb8b08..bd505a25 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockPreformatted.md +++ b/old_docs/API_docs_v73/constructors/pageBlockPreformatted.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => 'string']; ``` @@ -33,10 +33,9 @@ $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPreformatted={_='pageBlockPreformatted', text=RichText, language='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockPullquote.md b/old_docs/API_docs_v73/constructors/pageBlockPullquote.md index d73389da..744215e3 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockPullquote.md +++ b/old_docs/API_docs_v73/constructors/pageBlockPullquote.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPullquote={_='pageBlockPullquote', text=RichText, caption=RichText} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockSlideshow.md b/old_docs/API_docs_v73/constructors/pageBlockSlideshow.md index d855e4d8..4a827931 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockSlideshow.md +++ b/old_docs/API_docs_v73/constructors/pageBlockSlideshow.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock, PageB ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSlideshow={_='pageBlockSlideshow', items={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockSubheader.md b/old_docs/API_docs_v73/constructors/pageBlockSubheader.md index 6b6a332e..094c5d2e 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockSubheader.md +++ b/old_docs/API_docs_v73/constructors/pageBlockSubheader.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSubheader={_='pageBlockSubheader', text=RichText} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockSubtitle.md b/old_docs/API_docs_v73/constructors/pageBlockSubtitle.md index 017112c2..6ad657c0 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockSubtitle.md +++ b/old_docs/API_docs_v73/constructors/pageBlockSubtitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSubtitle={_='pageBlockSubtitle', text=RichText} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockTitle.md b/old_docs/API_docs_v73/constructors/pageBlockTitle.md index 9dfe94d2..5c6d228b 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockTitle.md +++ b/old_docs/API_docs_v73/constructors/pageBlockTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockTitle={_='pageBlockTitle', text=RichText} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockUnsupported.md b/old_docs/API_docs_v73/constructors/pageBlockUnsupported.md index 8d127c6d..a0895079 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockUnsupported.md +++ b/old_docs/API_docs_v73/constructors/pageBlockUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` @@ -27,10 +27,9 @@ $pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockUnsupported={_='pageBlockUnsupported'} ``` diff --git a/old_docs/API_docs_v73/constructors/pageBlockVideo.md b/old_docs/API_docs_v73/constructors/pageBlockVideo.md index 03a04d1b..27c2ed6f 100644 --- a/old_docs/API_docs_v73/constructors/pageBlockVideo.md +++ b/old_docs/API_docs_v73/constructors/pageBlockVideo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText]; ``` @@ -35,10 +35,9 @@ $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockVideo={_='pageBlockVideo', autoplay=Bool, loop=Bool, video_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v73/constructors/pageFull.md b/old_docs/API_docs_v73/constructors/pageFull.md index 493f1403..40bae0d4 100644 --- a/old_docs/API_docs_v73/constructors/pageFull.md +++ b/old_docs/API_docs_v73/constructors/pageFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock, PageBlock], 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageFull={_='pageFull', blocks={PageBlock}, photos={Photo}, documents={Document}} ``` diff --git a/old_docs/API_docs_v73/constructors/pagePart.md b/old_docs/API_docs_v73/constructors/pagePart.md index 3e2261ef..430bd942 100644 --- a/old_docs/API_docs_v73/constructors/pagePart.md +++ b/old_docs/API_docs_v73/constructors/pagePart.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock, PageBlock], 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pagePart={_='pagePart', blocks={PageBlock}, photos={Photo}, documents={Document}} ``` diff --git a/old_docs/API_docs_v73/constructors/paymentCharge.md b/old_docs/API_docs_v73/constructors/paymentCharge.md index 83a0d433..56e8e040 100644 --- a/old_docs/API_docs_v73/constructors/paymentCharge.md +++ b/old_docs/API_docs_v73/constructors/paymentCharge.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' => 'string']; ``` @@ -33,10 +33,9 @@ $paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentCharge={_='paymentCharge', id='string', provider_charge_id='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/paymentRequestedInfo.md b/old_docs/API_docs_v73/constructors/paymentRequestedInfo.md index e4b6562a..767ec982 100644 --- a/old_docs/API_docs_v73/constructors/paymentRequestedInfo.md +++ b/old_docs/API_docs_v73/constructors/paymentRequestedInfo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'phone' => 'string', 'email' => 'string', 'shipping_address' => PostAddress]; ``` @@ -35,10 +35,9 @@ $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'pho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentRequestedInfo={_='paymentRequestedInfo', name='string', phone='string', email='string', shipping_address=PostAddress} ``` diff --git a/old_docs/API_docs_v73/constructors/paymentSavedCredentialsCard.md b/old_docs/API_docs_v73/constructors/paymentSavedCredentialsCard.md index 6fc4e934..43b2baf6 100644 --- a/old_docs/API_docs_v73/constructors/paymentSavedCredentialsCard.md +++ b/old_docs/API_docs_v73/constructors/paymentSavedCredentialsCard.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 'string', 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentSavedCredentialsCard={_='paymentSavedCredentialsCard', id='string', title='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/payments_paymentForm.md b/old_docs/API_docs_v73/constructors/payments_paymentForm.md index 74cca6f4..00d9349d 100644 --- a/old_docs/API_docs_v73/constructors/payments_paymentForm.md +++ b/old_docs/API_docs_v73/constructors/payments_paymentForm.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; ``` @@ -42,10 +42,9 @@ $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v73/constructors/payments_paymentReceipt.md index fdf741b4..068f5869 100644 --- a/old_docs/API_docs_v73/constructors/payments_paymentReceipt.md +++ b/old_docs/API_docs_v73/constructors/payments_paymentReceipt.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; ``` @@ -41,10 +41,9 @@ $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/payments_paymentResult.md b/old_docs/API_docs_v73/constructors/payments_paymentResult.md index 7ae00170..a5679a5f 100644 --- a/old_docs/API_docs_v73/constructors/payments_paymentResult.md +++ b/old_docs/API_docs_v73/constructors/payments_paymentResult.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; ``` @@ -32,10 +32,9 @@ $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentResult={_='payments.paymentResult', updates=Updates} ``` diff --git a/old_docs/API_docs_v73/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v73/constructors/payments_paymentVerficationNeeded.md index 4a3f8cdf..e4ca7a8e 100644 --- a/old_docs/API_docs_v73/constructors/payments_paymentVerficationNeeded.md +++ b/old_docs/API_docs_v73/constructors/payments_paymentVerficationNeeded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; ``` @@ -32,10 +32,9 @@ $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/payments_savedInfo.md b/old_docs/API_docs_v73/constructors/payments_savedInfo.md index 3daf671f..c81761c4 100644 --- a/old_docs/API_docs_v73/constructors/payments_savedInfo.md +++ b/old_docs/API_docs_v73/constructors/payments_savedInfo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; ``` @@ -33,10 +33,9 @@ $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} ``` diff --git a/old_docs/API_docs_v73/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v73/constructors/payments_validatedRequestedInfo.md index 676388b7..b84afd83 100644 --- a/old_docs/API_docs_v73/constructors/payments_validatedRequestedInfo.md +++ b/old_docs/API_docs_v73/constructors/payments_validatedRequestedInfo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; ``` @@ -33,10 +33,9 @@ $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} ``` diff --git a/old_docs/API_docs_v73/constructors/peerChannel.md b/old_docs/API_docs_v73/constructors/peerChannel.md index f30e3f41..360d5c42 100644 --- a/old_docs/API_docs_v73/constructors/peerChannel.md +++ b/old_docs/API_docs_v73/constructors/peerChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/peerChat.md b/old_docs/API_docs_v73/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v73/constructors/peerChat.md +++ b/old_docs/API_docs_v73/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v73/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v73/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v73/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v73/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v73/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v73/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v73/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/peerNotifySettings.md b/old_docs/API_docs_v73/constructors/peerNotifySettings.md index f011beb7..2007e4ee 100644 --- a/old_docs/API_docs_v73/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v73/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'si ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v73/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v73/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v73/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/peerSettings.md b/old_docs/API_docs_v73/constructors/peerSettings.md index 8f74bb50..2468fee4 100644 --- a/old_docs/API_docs_v73/constructors/peerSettings.md +++ b/old_docs/API_docs_v73/constructors/peerSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` @@ -32,10 +32,9 @@ $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerSettings={_='peerSettings', report_spam=Bool} ``` diff --git a/old_docs/API_docs_v73/constructors/peerUser.md b/old_docs/API_docs_v73/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v73/constructors/peerUser.md +++ b/old_docs/API_docs_v73/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/phoneCall.md b/old_docs/API_docs_v73/constructors/phoneCall.md index 8104b557..b233076d 100644 --- a/old_docs/API_docs_v73/constructors/phoneCall.md +++ b/old_docs/API_docs_v73/constructors/phoneCall.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, 'connection' => PhoneConnection, 'alternative_connections' => [PhoneConnection, PhoneConnection], 'start_date' => int]; ``` @@ -42,10 +42,9 @@ $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCall={_='phoneCall', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, connection=PhoneConnection, alternative_connections={PhoneConnection}, start_date=int} ``` diff --git a/old_docs/API_docs_v73/constructors/phoneCallAccepted.md b/old_docs/API_docs_v73/constructors/phoneCallAccepted.md index cae97485..80795514 100644 --- a/old_docs/API_docs_v73/constructors/phoneCallAccepted.md +++ b/old_docs/API_docs_v73/constructors/phoneCallAccepted.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` @@ -38,10 +38,9 @@ $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallAccepted={_='phoneCallAccepted', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_b='bytes', protocol=PhoneCallProtocol} ``` diff --git a/old_docs/API_docs_v73/constructors/phoneCallDiscardReasonBusy.md b/old_docs/API_docs_v73/constructors/phoneCallDiscardReasonBusy.md index 10d47acd..8912371f 100644 --- a/old_docs/API_docs_v73/constructors/phoneCallDiscardReasonBusy.md +++ b/old_docs/API_docs_v73/constructors/phoneCallDiscardReasonBusy.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonBusy={_='phoneCallDiscardReasonBusy'} ``` diff --git a/old_docs/API_docs_v73/constructors/phoneCallDiscardReasonDisconnect.md b/old_docs/API_docs_v73/constructors/phoneCallDiscardReasonDisconnect.md index b059c909..3a77aced 100644 --- a/old_docs/API_docs_v73/constructors/phoneCallDiscardReasonDisconnect.md +++ b/old_docs/API_docs_v73/constructors/phoneCallDiscardReasonDisconnect.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonDisconnect={_='phoneCallDiscardReasonDisconnect'} ``` diff --git a/old_docs/API_docs_v73/constructors/phoneCallDiscardReasonHangup.md b/old_docs/API_docs_v73/constructors/phoneCallDiscardReasonHangup.md index 8e6e311c..cac342da 100644 --- a/old_docs/API_docs_v73/constructors/phoneCallDiscardReasonHangup.md +++ b/old_docs/API_docs_v73/constructors/phoneCallDiscardReasonHangup.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonHangup={_='phoneCallDiscardReasonHangup'} ``` diff --git a/old_docs/API_docs_v73/constructors/phoneCallDiscardReasonMissed.md b/old_docs/API_docs_v73/constructors/phoneCallDiscardReasonMissed.md index b8199e88..e10648eb 100644 --- a/old_docs/API_docs_v73/constructors/phoneCallDiscardReasonMissed.md +++ b/old_docs/API_docs_v73/constructors/phoneCallDiscardReasonMissed.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonMissed={_='phoneCallDiscardReasonMissed'} ``` diff --git a/old_docs/API_docs_v73/constructors/phoneCallDiscarded.md b/old_docs/API_docs_v73/constructors/phoneCallDiscarded.md index 69fd1caa..e20027a5 100644 --- a/old_docs/API_docs_v73/constructors/phoneCallDiscarded.md +++ b/old_docs/API_docs_v73/constructors/phoneCallDiscarded.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` @@ -36,10 +36,9 @@ $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscarded={_='phoneCallDiscarded', need_rating=Bool, need_debug=Bool, id=long, reason=PhoneCallDiscardReason, duration=int} ``` diff --git a/old_docs/API_docs_v73/constructors/phoneCallEmpty.md b/old_docs/API_docs_v73/constructors/phoneCallEmpty.md index cfb8125b..a51f3ea2 100644 --- a/old_docs/API_docs_v73/constructors/phoneCallEmpty.md +++ b/old_docs/API_docs_v73/constructors/phoneCallEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallEmpty={_='phoneCallEmpty', id=long} ``` diff --git a/old_docs/API_docs_v73/constructors/phoneCallProtocol.md b/old_docs/API_docs_v73/constructors/phoneCallProtocol.md index 9f0e2eed..01574fa2 100644 --- a/old_docs/API_docs_v73/constructors/phoneCallProtocol.md +++ b/old_docs/API_docs_v73/constructors/phoneCallProtocol.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int]; ``` @@ -35,10 +35,9 @@ $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflec ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallProtocol={_='phoneCallProtocol', udp_p2p=Bool, udp_reflector=Bool, min_layer=int, max_layer=int} ``` diff --git a/old_docs/API_docs_v73/constructors/phoneCallRequested.md b/old_docs/API_docs_v73/constructors/phoneCallRequested.md index c96f398f..0465e0fb 100644 --- a/old_docs/API_docs_v73/constructors/phoneCallRequested.md +++ b/old_docs/API_docs_v73/constructors/phoneCallRequested.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` @@ -38,10 +38,9 @@ $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallRequested={_='phoneCallRequested', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_hash='bytes', protocol=PhoneCallProtocol} ``` diff --git a/old_docs/API_docs_v73/constructors/phoneCallWaiting.md b/old_docs/API_docs_v73/constructors/phoneCallWaiting.md index 8dcf8e30..9d9658c8 100644 --- a/old_docs/API_docs_v73/constructors/phoneCallWaiting.md +++ b/old_docs/API_docs_v73/constructors/phoneCallWaiting.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int]; ``` @@ -38,10 +38,9 @@ $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallWaiting={_='phoneCallWaiting', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, protocol=PhoneCallProtocol, receive_date=int} ``` diff --git a/old_docs/API_docs_v73/constructors/phoneConnection.md b/old_docs/API_docs_v73/constructors/phoneConnection.md index b117e12f..562975aa 100644 --- a/old_docs/API_docs_v73/constructors/phoneConnection.md +++ b/old_docs/API_docs_v73/constructors/phoneConnection.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'ipv6' => 'string', 'port' => int, 'peer_tag' => 'bytes']; ``` @@ -36,10 +36,9 @@ $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneConnection={_='phoneConnection', id=long, ip='string', ipv6='string', port=int, peer_tag='bytes'} ``` diff --git a/old_docs/API_docs_v73/constructors/phone_phoneCall.md b/old_docs/API_docs_v73/constructors/phone_phoneCall.md index 00c21143..58912b3f 100644 --- a/old_docs/API_docs_v73/constructors/phone_phoneCall.md +++ b/old_docs/API_docs_v73/constructors/phone_phoneCall.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/photo.md b/old_docs/API_docs_v73/constructors/photo.md index 0cad6364..980980f4 100644 --- a/old_docs/API_docs_v73/constructors/photo.md +++ b/old_docs/API_docs_v73/constructors/photo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -36,10 +36,9 @@ $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', has_stickers=Bool, id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v73/constructors/photoCachedSize.md b/old_docs/API_docs_v73/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v73/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v73/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v73/constructors/photoEmpty.md b/old_docs/API_docs_v73/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v73/constructors/photoEmpty.md +++ b/old_docs/API_docs_v73/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v73/constructors/photoSize.md b/old_docs/API_docs_v73/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v73/constructors/photoSize.md +++ b/old_docs/API_docs_v73/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v73/constructors/photoSizeEmpty.md b/old_docs/API_docs_v73/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v73/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v73/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/photos_photo.md b/old_docs/API_docs_v73/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v73/constructors/photos_photo.md +++ b/old_docs/API_docs_v73/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/photos_photos.md b/old_docs/API_docs_v73/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v73/constructors/photos_photos.md +++ b/old_docs/API_docs_v73/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/photos_photosSlice.md b/old_docs/API_docs_v73/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v73/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v73/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/popularContact.md b/old_docs/API_docs_v73/constructors/popularContact.md index d7fdf7c9..fbdee8e3 100644 --- a/old_docs/API_docs_v73/constructors/popularContact.md +++ b/old_docs/API_docs_v73/constructors/popularContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $popularContact = ['_' => 'popularContact', 'client_id' => long, 'importers' => int]; ``` @@ -33,10 +33,9 @@ $popularContact = ['_' => 'popularContact', 'client_id' => long, 'importers' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua popularContact={_='popularContact', client_id=long, importers=int} ``` diff --git a/old_docs/API_docs_v73/constructors/postAddress.md b/old_docs/API_docs_v73/constructors/postAddress.md index 0bd47333..aa8080ec 100644 --- a/old_docs/API_docs_v73/constructors/postAddress.md +++ b/old_docs/API_docs_v73/constructors/postAddress.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' => 'string', 'city' => 'string', 'state' => 'string', 'country_iso2' => 'string', 'post_code' => 'string']; ``` @@ -37,10 +37,9 @@ $postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua postAddress={_='postAddress', street_line1='string', street_line2='string', city='string', state='string', country_iso2='string', post_code='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/privacyKeyChatInvite.md b/old_docs/API_docs_v73/constructors/privacyKeyChatInvite.md index cc6e39b6..44826e55 100644 --- a/old_docs/API_docs_v73/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v73/constructors/privacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v73/constructors/privacyKeyPhoneCall.md b/old_docs/API_docs_v73/constructors/privacyKeyPhoneCall.md index 2fe6db7d..fc38f6a4 100644 --- a/old_docs/API_docs_v73/constructors/privacyKeyPhoneCall.md +++ b/old_docs/API_docs_v73/constructors/privacyKeyPhoneCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` @@ -27,10 +27,9 @@ $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyPhoneCall={_='privacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v73/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v73/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v73/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v73/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v73/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v73/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v73/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v73/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v73/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v73/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v73/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v73/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v73/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v73/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v73/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v73/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v73/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v73/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v73/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v73/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v73/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v73/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v73/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v73/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v73/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v73/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v73/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v73/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v73/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v73/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/old_docs/API_docs_v73/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v73/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/recentMeUrlChat.md b/old_docs/API_docs_v73/constructors/recentMeUrlChat.md index 8b09f818..38bb1faf 100644 --- a/old_docs/API_docs_v73/constructors/recentMeUrlChat.md +++ b/old_docs/API_docs_v73/constructors/recentMeUrlChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlChat = ['_' => 'recentMeUrlChat', 'url' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $recentMeUrlChat = ['_' => 'recentMeUrlChat', 'url' => 'string', 'chat_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlChat={_='recentMeUrlChat', url='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/recentMeUrlChatInvite.md b/old_docs/API_docs_v73/constructors/recentMeUrlChatInvite.md index d9d3a1c6..f095734f 100644 --- a/old_docs/API_docs_v73/constructors/recentMeUrlChatInvite.md +++ b/old_docs/API_docs_v73/constructors/recentMeUrlChatInvite.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlChatInvite = ['_' => 'recentMeUrlChatInvite', 'url' => 'string', 'chat_invite' => ChatInvite]; ``` @@ -33,10 +33,9 @@ $recentMeUrlChatInvite = ['_' => 'recentMeUrlChatInvite', 'url' => 'string', 'ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlChatInvite={_='recentMeUrlChatInvite', url='string', chat_invite=ChatInvite} ``` diff --git a/old_docs/API_docs_v73/constructors/recentMeUrlStickerSet.md b/old_docs/API_docs_v73/constructors/recentMeUrlStickerSet.md index b70a27c4..e756dd35 100644 --- a/old_docs/API_docs_v73/constructors/recentMeUrlStickerSet.md +++ b/old_docs/API_docs_v73/constructors/recentMeUrlStickerSet.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlStickerSet = ['_' => 'recentMeUrlStickerSet', 'url' => 'string', 'set' => StickerSetCovered]; ``` @@ -33,10 +33,9 @@ $recentMeUrlStickerSet = ['_' => 'recentMeUrlStickerSet', 'url' => 'string', 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlStickerSet={_='recentMeUrlStickerSet', url='string', set=StickerSetCovered} ``` diff --git a/old_docs/API_docs_v73/constructors/recentMeUrlUnknown.md b/old_docs/API_docs_v73/constructors/recentMeUrlUnknown.md index 0f157436..44809d53 100644 --- a/old_docs/API_docs_v73/constructors/recentMeUrlUnknown.md +++ b/old_docs/API_docs_v73/constructors/recentMeUrlUnknown.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlUnknown = ['_' => 'recentMeUrlUnknown', 'url' => 'string']; ``` @@ -32,10 +32,9 @@ $recentMeUrlUnknown = ['_' => 'recentMeUrlUnknown', 'url' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlUnknown={_='recentMeUrlUnknown', url='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/recentMeUrlUser.md b/old_docs/API_docs_v73/constructors/recentMeUrlUser.md index 1e7ea925..7032fb46 100644 --- a/old_docs/API_docs_v73/constructors/recentMeUrlUser.md +++ b/old_docs/API_docs_v73/constructors/recentMeUrlUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlUser = ['_' => 'recentMeUrlUser', 'url' => 'string', 'user_id' => int]; ``` @@ -33,10 +33,9 @@ $recentMeUrlUser = ['_' => 'recentMeUrlUser', 'url' => 'string', 'user_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlUser={_='recentMeUrlUser', url='string', user_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/replyInlineMarkup.md b/old_docs/API_docs_v73/constructors/replyInlineMarkup.md index 6d353569..6e481165 100644 --- a/old_docs/API_docs_v73/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v73/constructors/replyInlineMarkup.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -32,10 +32,9 @@ $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v73/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v73/constructors/replyKeyboardForceReply.md index 56e255c1..3f7fae8c 100644 --- a/old_docs/API_docs_v73/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v73/constructors/replyKeyboardForceReply.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` @@ -33,10 +33,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool} ``` diff --git a/old_docs/API_docs_v73/constructors/replyKeyboardHide.md b/old_docs/API_docs_v73/constructors/replyKeyboardHide.md index 7251db49..30e9f399 100644 --- a/old_docs/API_docs_v73/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v73/constructors/replyKeyboardHide.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` @@ -32,10 +32,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide', selective=Bool} ``` diff --git a/old_docs/API_docs_v73/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v73/constructors/replyKeyboardMarkup.md index 87a55463..80f3f654 100644 --- a/old_docs/API_docs_v73/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v73/constructors/replyKeyboardMarkup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -35,10 +35,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v73/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v73/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v73/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v73/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v73/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v73/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v73/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v73/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v73/constructors/sendMessageGamePlayAction.md b/old_docs/API_docs_v73/constructors/sendMessageGamePlayAction.md index 8238ea55..0c395c75 100644 --- a/old_docs/API_docs_v73/constructors/sendMessageGamePlayAction.md +++ b/old_docs/API_docs_v73/constructors/sendMessageGamePlayAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGamePlayAction={_='sendMessageGamePlayAction'} ``` diff --git a/old_docs/API_docs_v73/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v73/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v73/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v73/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v73/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v73/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v73/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v73/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v73/constructors/sendMessageRecordRoundAction.md b/old_docs/API_docs_v73/constructors/sendMessageRecordRoundAction.md index a388d0ec..30e71ae8 100644 --- a/old_docs/API_docs_v73/constructors/sendMessageRecordRoundAction.md +++ b/old_docs/API_docs_v73/constructors/sendMessageRecordRoundAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordRoundAction={_='sendMessageRecordRoundAction'} ``` diff --git a/old_docs/API_docs_v73/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v73/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v73/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v73/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v73/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v73/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v73/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v73/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v73/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v73/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/old_docs/API_docs_v73/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v73/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/old_docs/API_docs_v73/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v73/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/old_docs/API_docs_v73/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v73/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/old_docs/API_docs_v73/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v73/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/old_docs/API_docs_v73/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v73/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/old_docs/API_docs_v73/constructors/sendMessageUploadRoundAction.md b/old_docs/API_docs_v73/constructors/sendMessageUploadRoundAction.md index ffd14270..b101d308 100644 --- a/old_docs/API_docs_v73/constructors/sendMessageUploadRoundAction.md +++ b/old_docs/API_docs_v73/constructors/sendMessageUploadRoundAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadRoundAction={_='sendMessageUploadRoundAction', progress=int} ``` diff --git a/old_docs/API_docs_v73/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v73/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/old_docs/API_docs_v73/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v73/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/old_docs/API_docs_v73/constructors/shippingOption.md b/old_docs/API_docs_v73/constructors/shippingOption.md index 6f0cbc4c..863fd128 100644 --- a/old_docs/API_docs_v73/constructors/shippingOption.md +++ b/old_docs/API_docs_v73/constructors/shippingOption.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string', 'prices' => [LabeledPrice, LabeledPrice]]; ``` @@ -34,10 +34,9 @@ $shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua shippingOption={_='shippingOption', id='string', title='string', prices={LabeledPrice}} ``` diff --git a/old_docs/API_docs_v73/constructors/stickerPack.md b/old_docs/API_docs_v73/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v73/constructors/stickerPack.md +++ b/old_docs/API_docs_v73/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v73/constructors/stickerSet.md b/old_docs/API_docs_v73/constructors/stickerSet.md index afa3b21f..059e4ae7 100644 --- a/old_docs/API_docs_v73/constructors/stickerSet.md +++ b/old_docs/API_docs_v73/constructors/stickerSet.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -41,10 +41,9 @@ $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'of ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', installed=Bool, archived=Bool, official=Bool, masks=Bool, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/old_docs/API_docs_v73/constructors/stickerSetCovered.md b/old_docs/API_docs_v73/constructors/stickerSetCovered.md index cc1c806e..127b821f 100644 --- a/old_docs/API_docs_v73/constructors/stickerSetCovered.md +++ b/old_docs/API_docs_v73/constructors/stickerSetCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document]; ``` @@ -33,10 +33,9 @@ $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetCovered={_='stickerSetCovered', set=StickerSet, cover=Document} ``` diff --git a/old_docs/API_docs_v73/constructors/stickerSetMultiCovered.md b/old_docs/API_docs_v73/constructors/stickerSetMultiCovered.md index 74d10e38..9fc0ad35 100644 --- a/old_docs/API_docs_v73/constructors/stickerSetMultiCovered.md +++ b/old_docs/API_docs_v73/constructors/stickerSetMultiCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetMultiCovered={_='stickerSetMultiCovered', set=StickerSet, covers={Document}} ``` diff --git a/old_docs/API_docs_v73/constructors/storage_fileGif.md b/old_docs/API_docs_v73/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v73/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v73/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v73/constructors/storage_fileJpeg.md b/old_docs/API_docs_v73/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v73/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v73/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v73/constructors/storage_fileMov.md b/old_docs/API_docs_v73/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v73/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v73/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v73/constructors/storage_fileMp3.md b/old_docs/API_docs_v73/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v73/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v73/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v73/constructors/storage_fileMp4.md b/old_docs/API_docs_v73/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v73/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v73/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v73/constructors/storage_filePartial.md b/old_docs/API_docs_v73/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v73/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v73/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v73/constructors/storage_filePdf.md b/old_docs/API_docs_v73/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v73/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v73/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v73/constructors/storage_filePng.md b/old_docs/API_docs_v73/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v73/constructors/storage_filePng.md +++ b/old_docs/API_docs_v73/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v73/constructors/storage_fileUnknown.md b/old_docs/API_docs_v73/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v73/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v73/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v73/constructors/storage_fileWebp.md b/old_docs/API_docs_v73/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v73/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v73/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v73/constructors/textBold.md b/old_docs/API_docs_v73/constructors/textBold.md index 52b668f6..f847ab68 100644 --- a/old_docs/API_docs_v73/constructors/textBold.md +++ b/old_docs/API_docs_v73/constructors/textBold.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textBold = ['_' => 'textBold', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textBold = ['_' => 'textBold', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textBold={_='textBold', text=RichText} ``` diff --git a/old_docs/API_docs_v73/constructors/textConcat.md b/old_docs/API_docs_v73/constructors/textConcat.md index 3f2656ed..ee998a7e 100644 --- a/old_docs/API_docs_v73/constructors/textConcat.md +++ b/old_docs/API_docs_v73/constructors/textConcat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textConcat = ['_' => 'textConcat', 'texts' => [RichText, RichText]]; ``` @@ -32,10 +32,9 @@ $textConcat = ['_' => 'textConcat', 'texts' => [RichText, RichText]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textConcat={_='textConcat', texts={RichText}} ``` diff --git a/old_docs/API_docs_v73/constructors/textEmail.md b/old_docs/API_docs_v73/constructors/textEmail.md index 0b546415..6a1a2ba2 100644 --- a/old_docs/API_docs_v73/constructors/textEmail.md +++ b/old_docs/API_docs_v73/constructors/textEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` @@ -33,10 +33,9 @@ $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textEmail={_='textEmail', text=RichText, email='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/textEmpty.md b/old_docs/API_docs_v73/constructors/textEmpty.md index 4e96adb3..dfe867ed 100644 --- a/old_docs/API_docs_v73/constructors/textEmpty.md +++ b/old_docs/API_docs_v73/constructors/textEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textEmpty = ['_' => 'textEmpty']; ``` @@ -27,10 +27,9 @@ $textEmpty = ['_' => 'textEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textEmpty={_='textEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/textFixed.md b/old_docs/API_docs_v73/constructors/textFixed.md index e40767d9..a83607fa 100644 --- a/old_docs/API_docs_v73/constructors/textFixed.md +++ b/old_docs/API_docs_v73/constructors/textFixed.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textFixed={_='textFixed', text=RichText} ``` diff --git a/old_docs/API_docs_v73/constructors/textItalic.md b/old_docs/API_docs_v73/constructors/textItalic.md index e32fbec2..4aa819b6 100644 --- a/old_docs/API_docs_v73/constructors/textItalic.md +++ b/old_docs/API_docs_v73/constructors/textItalic.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textItalic={_='textItalic', text=RichText} ``` diff --git a/old_docs/API_docs_v73/constructors/textPlain.md b/old_docs/API_docs_v73/constructors/textPlain.md index 2e654fde..9f83d5fa 100644 --- a/old_docs/API_docs_v73/constructors/textPlain.md +++ b/old_docs/API_docs_v73/constructors/textPlain.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textPlain={_='textPlain', text='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/textStrike.md b/old_docs/API_docs_v73/constructors/textStrike.md index 0090e980..0329cbd9 100644 --- a/old_docs/API_docs_v73/constructors/textStrike.md +++ b/old_docs/API_docs_v73/constructors/textStrike.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textStrike={_='textStrike', text=RichText} ``` diff --git a/old_docs/API_docs_v73/constructors/textUnderline.md b/old_docs/API_docs_v73/constructors/textUnderline.md index 843d0a9a..adee0d2f 100644 --- a/old_docs/API_docs_v73/constructors/textUnderline.md +++ b/old_docs/API_docs_v73/constructors/textUnderline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textUnderline={_='textUnderline', text=RichText} ``` diff --git a/old_docs/API_docs_v73/constructors/textUrl.md b/old_docs/API_docs_v73/constructors/textUrl.md index 6938f27e..bb497739 100644 --- a/old_docs/API_docs_v73/constructors/textUrl.md +++ b/old_docs/API_docs_v73/constructors/textUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id' => long]; ``` @@ -34,10 +34,9 @@ $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textUrl={_='textUrl', text=RichText, url='string', webpage_id=long} ``` diff --git a/old_docs/API_docs_v73/constructors/topPeer.md b/old_docs/API_docs_v73/constructors/topPeer.md index aa49751b..fff00b7d 100644 --- a/old_docs/API_docs_v73/constructors/topPeer.md +++ b/old_docs/API_docs_v73/constructors/topPeer.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` @@ -33,10 +33,9 @@ $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeer={_='topPeer', peer=Peer, rating=double} ``` diff --git a/old_docs/API_docs_v73/constructors/topPeerCategoryBotsInline.md b/old_docs/API_docs_v73/constructors/topPeerCategoryBotsInline.md index 1d57e310..3f7906e2 100644 --- a/old_docs/API_docs_v73/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v73/constructors/topPeerCategoryBotsInline.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsInline={_='topPeerCategoryBotsInline'} ``` diff --git a/old_docs/API_docs_v73/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v73/constructors/topPeerCategoryBotsPM.md index f6207626..78f54b44 100644 --- a/old_docs/API_docs_v73/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v73/constructors/topPeerCategoryBotsPM.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsPM={_='topPeerCategoryBotsPM'} ``` diff --git a/old_docs/API_docs_v73/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v73/constructors/topPeerCategoryChannels.md index 8f0e1fcb..02947d85 100644 --- a/old_docs/API_docs_v73/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v73/constructors/topPeerCategoryChannels.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryChannels={_='topPeerCategoryChannels'} ``` diff --git a/old_docs/API_docs_v73/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v73/constructors/topPeerCategoryCorrespondents.md index 9435610d..c0362f78 100644 --- a/old_docs/API_docs_v73/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v73/constructors/topPeerCategoryCorrespondents.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents'} ``` diff --git a/old_docs/API_docs_v73/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v73/constructors/topPeerCategoryGroups.md index 3b6859df..dddb951c 100644 --- a/old_docs/API_docs_v73/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v73/constructors/topPeerCategoryGroups.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryGroups={_='topPeerCategoryGroups'} ``` diff --git a/old_docs/API_docs_v73/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v73/constructors/topPeerCategoryPeers.md index 886ab6f9..36d071f6 100644 --- a/old_docs/API_docs_v73/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v73/constructors/topPeerCategoryPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer, TopPeer]]; ``` @@ -34,10 +34,9 @@ $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}} ``` diff --git a/old_docs/API_docs_v73/constructors/topPeerCategoryPhoneCalls.md b/old_docs/API_docs_v73/constructors/topPeerCategoryPhoneCalls.md index 4c4a1c2d..518279f8 100644 --- a/old_docs/API_docs_v73/constructors/topPeerCategoryPhoneCalls.md +++ b/old_docs/API_docs_v73/constructors/topPeerCategoryPhoneCalls.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryPhoneCalls = ['_' => 'topPeerCategoryPhoneCalls']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryPhoneCalls = ['_' => 'topPeerCategoryPhoneCalls']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryPhoneCalls={_='topPeerCategoryPhoneCalls'} ``` diff --git a/old_docs/API_docs_v73/constructors/true.md b/old_docs/API_docs_v73/constructors/true.md index 2e27ecbf..4863f16b 100644 --- a/old_docs/API_docs_v73/constructors/true.md +++ b/old_docs/API_docs_v73/constructors/true.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $true = ['_' => 'true']; ``` @@ -27,10 +27,9 @@ $true = ['_' => 'true']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua true={_='true'} ``` diff --git a/old_docs/API_docs_v73/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v73/constructors/updateBotCallbackQuery.md index 2216e362..389295a0 100644 --- a/old_docs/API_docs_v73/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v73/constructors/updateBotCallbackQuery.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -38,10 +38,9 @@ $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v73/constructors/updateBotInlineQuery.md index 1cc45358..ed15d35f 100644 --- a/old_docs/API_docs_v73/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v73/constructors/updateBotInlineQuery.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` @@ -36,10 +36,9 @@ $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query='string', geo=GeoPoint, offset='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/updateBotInlineSend.md b/old_docs/API_docs_v73/constructors/updateBotInlineSend.md index fe6c01d3..dda18420 100644 --- a/old_docs/API_docs_v73/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v73/constructors/updateBotInlineSend.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` @@ -36,10 +36,9 @@ $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineSend={_='updateBotInlineSend', user_id=int, query='string', geo=GeoPoint, id='string', msg_id=InputBotInlineMessageID} ``` diff --git a/old_docs/API_docs_v73/constructors/updateBotPrecheckoutQuery.md b/old_docs/API_docs_v73/constructors/updateBotPrecheckoutQuery.md index f7e13668..94098aac 100644 --- a/old_docs/API_docs_v73/constructors/updateBotPrecheckoutQuery.md +++ b/old_docs/API_docs_v73/constructors/updateBotPrecheckoutQuery.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'currency' => 'string', 'total_amount' => long]; ``` @@ -38,10 +38,9 @@ $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotPrecheckoutQuery={_='updateBotPrecheckoutQuery', query_id=long, user_id=int, payload='bytes', info=PaymentRequestedInfo, shipping_option_id='string', currency='string', total_amount=long} ``` diff --git a/old_docs/API_docs_v73/constructors/updateBotShippingQuery.md b/old_docs/API_docs_v73/constructors/updateBotShippingQuery.md index b7413761..41735d33 100644 --- a/old_docs/API_docs_v73/constructors/updateBotShippingQuery.md +++ b/old_docs/API_docs_v73/constructors/updateBotShippingQuery.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'shipping_address' => PostAddress]; ``` @@ -35,10 +35,9 @@ $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotShippingQuery={_='updateBotShippingQuery', query_id=long, user_id=int, payload='bytes', shipping_address=PostAddress} ``` diff --git a/old_docs/API_docs_v73/constructors/updateBotWebhookJSON.md b/old_docs/API_docs_v73/constructors/updateBotWebhookJSON.md index c444fe16..3b917e17 100644 --- a/old_docs/API_docs_v73/constructors/updateBotWebhookJSON.md +++ b/old_docs/API_docs_v73/constructors/updateBotWebhookJSON.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` @@ -32,10 +32,9 @@ $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotWebhookJSON={_='updateBotWebhookJSON', data=DataJSON} ``` diff --git a/old_docs/API_docs_v73/constructors/updateBotWebhookJSONQuery.md b/old_docs/API_docs_v73/constructors/updateBotWebhookJSONQuery.md index c8014f35..9ede5002 100644 --- a/old_docs/API_docs_v73/constructors/updateBotWebhookJSONQuery.md +++ b/old_docs/API_docs_v73/constructors/updateBotWebhookJSONQuery.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => long, 'data' => DataJSON, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotWebhookJSONQuery={_='updateBotWebhookJSONQuery', query_id=long, data=DataJSON, timeout=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateChannel.md b/old_docs/API_docs_v73/constructors/updateChannel.md index e615920a..fb876328 100644 --- a/old_docs/API_docs_v73/constructors/updateChannel.md +++ b/old_docs/API_docs_v73/constructors/updateChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannel={_='updateChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateChannelAvailableMessages.md b/old_docs/API_docs_v73/constructors/updateChannelAvailableMessages.md index ef499037..a5a6d684 100644 --- a/old_docs/API_docs_v73/constructors/updateChannelAvailableMessages.md +++ b/old_docs/API_docs_v73/constructors/updateChannelAvailableMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelAvailableMessages = ['_' => 'updateChannelAvailableMessages', 'channel_id' => int, 'available_min_id' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelAvailableMessages = ['_' => 'updateChannelAvailableMessages', 'cha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelAvailableMessages={_='updateChannelAvailableMessages', channel_id=int, available_min_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v73/constructors/updateChannelMessageViews.md index 19e0b648..d62f055a 100644 --- a/old_docs/API_docs_v73/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v73/constructors/updateChannelMessageViews.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` @@ -34,10 +34,9 @@ $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateChannelPinnedMessage.md b/old_docs/API_docs_v73/constructors/updateChannelPinnedMessage.md index c6e66353..0d767fb8 100644 --- a/old_docs/API_docs_v73/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v73/constructors/updateChannelPinnedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateChannelReadMessagesContents.md b/old_docs/API_docs_v73/constructors/updateChannelReadMessagesContents.md index 27c1ca60..95640cfe 100644 --- a/old_docs/API_docs_v73/constructors/updateChannelReadMessagesContents.md +++ b/old_docs/API_docs_v73/constructors/updateChannelReadMessagesContents.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelReadMessagesContents = ['_' => 'updateChannelReadMessagesContents', 'channel_id' => int, 'messages' => [int, int]]; ``` @@ -33,10 +33,9 @@ $updateChannelReadMessagesContents = ['_' => 'updateChannelReadMessagesContents' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelReadMessagesContents={_='updateChannelReadMessagesContents', channel_id=int, messages={int}} ``` diff --git a/old_docs/API_docs_v73/constructors/updateChannelTooLong.md b/old_docs/API_docs_v73/constructors/updateChannelTooLong.md index e42904d0..179a43dd 100644 --- a/old_docs/API_docs_v73/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v73/constructors/updateChannelTooLong.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateChannelWebPage.md b/old_docs/API_docs_v73/constructors/updateChannelWebPage.md index f1ae421b..7b037a9d 100644 --- a/old_docs/API_docs_v73/constructors/updateChannelWebPage.md +++ b/old_docs/API_docs_v73/constructors/updateChannelWebPage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'we ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelWebPage={_='updateChannelWebPage', channel_id=int, webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateChatAdmins.md b/old_docs/API_docs_v73/constructors/updateChatAdmins.md index 87ffd626..aac09762 100644 --- a/old_docs/API_docs_v73/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v73/constructors/updateChatAdmins.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v73/constructors/updateChatParticipantAdd.md index ea5157ad..fe76dc62 100644 --- a/old_docs/API_docs_v73/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v73/constructors/updateChatParticipantAdd.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` @@ -36,10 +36,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v73/constructors/updateChatParticipantAdmin.md index b1022850..d262b2e6 100644 --- a/old_docs/API_docs_v73/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v73/constructors/updateChatParticipantAdmin.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v73/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v73/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v73/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateChatParticipants.md b/old_docs/API_docs_v73/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v73/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v73/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v73/constructors/updateChatUserTyping.md b/old_docs/API_docs_v73/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v73/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v73/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v73/constructors/updateConfig.md b/old_docs/API_docs_v73/constructors/updateConfig.md index 6f25cf11..6d67156d 100644 --- a/old_docs/API_docs_v73/constructors/updateConfig.md +++ b/old_docs/API_docs_v73/constructors/updateConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateConfig = ['_' => 'updateConfig']; ``` @@ -27,10 +27,9 @@ $updateConfig = ['_' => 'updateConfig']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateConfig={_='updateConfig'} ``` diff --git a/old_docs/API_docs_v73/constructors/updateContactLink.md b/old_docs/API_docs_v73/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v73/constructors/updateContactLink.md +++ b/old_docs/API_docs_v73/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v73/constructors/updateContactRegistered.md b/old_docs/API_docs_v73/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v73/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v73/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateContactsReset.md b/old_docs/API_docs_v73/constructors/updateContactsReset.md index 3c9f46af..d2458943 100644 --- a/old_docs/API_docs_v73/constructors/updateContactsReset.md +++ b/old_docs/API_docs_v73/constructors/updateContactsReset.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactsReset = ['_' => 'updateContactsReset']; ``` @@ -27,10 +27,9 @@ $updateContactsReset = ['_' => 'updateContactsReset']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactsReset={_='updateContactsReset'} ``` diff --git a/old_docs/API_docs_v73/constructors/updateDcOptions.md b/old_docs/API_docs_v73/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v73/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v73/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v73/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v73/constructors/updateDeleteChannelMessages.md index 0f84f3f7..8fb10b65 100644 --- a/old_docs/API_docs_v73/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v73/constructors/updateDeleteChannelMessages.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateDeleteMessages.md b/old_docs/API_docs_v73/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v73/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v73/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateDialogPinned.md b/old_docs/API_docs_v73/constructors/updateDialogPinned.md index 8ecafcfd..ba2c9090 100644 --- a/old_docs/API_docs_v73/constructors/updateDialogPinned.md +++ b/old_docs/API_docs_v73/constructors/updateDialogPinned.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer]; ``` @@ -33,10 +33,9 @@ $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDialogPinned={_='updateDialogPinned', pinned=Bool, peer=Peer} ``` diff --git a/old_docs/API_docs_v73/constructors/updateDraftMessage.md b/old_docs/API_docs_v73/constructors/updateDraftMessage.md index 7e759a4f..1bf7c2a4 100644 --- a/old_docs/API_docs_v73/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v73/constructors/updateDraftMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage]; ``` @@ -33,10 +33,9 @@ $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => D ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v73/constructors/updateEditChannelMessage.md b/old_docs/API_docs_v73/constructors/updateEditChannelMessage.md index 959c433a..485afae1 100644 --- a/old_docs/API_docs_v73/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v73/constructors/updateEditChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateEditMessage.md b/old_docs/API_docs_v73/constructors/updateEditMessage.md index f9f820e8..9f986f86 100644 --- a/old_docs/API_docs_v73/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v73/constructors/updateEditMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v73/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v73/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v73/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v73/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v73/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v73/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateEncryption.md b/old_docs/API_docs_v73/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v73/constructors/updateEncryption.md +++ b/old_docs/API_docs_v73/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateFavedStickers.md b/old_docs/API_docs_v73/constructors/updateFavedStickers.md index b474cc03..4e799846 100644 --- a/old_docs/API_docs_v73/constructors/updateFavedStickers.md +++ b/old_docs/API_docs_v73/constructors/updateFavedStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateFavedStickers = ['_' => 'updateFavedStickers']; ``` @@ -27,10 +27,9 @@ $updateFavedStickers = ['_' => 'updateFavedStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateFavedStickers={_='updateFavedStickers'} ``` diff --git a/old_docs/API_docs_v73/constructors/updateInlineBotCallbackQuery.md b/old_docs/API_docs_v73/constructors/updateInlineBotCallbackQuery.md index b1b40479..fb112694 100644 --- a/old_docs/API_docs_v73/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v73/constructors/updateInlineBotCallbackQuery.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -37,10 +37,9 @@ $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/updateLangPack.md b/old_docs/API_docs_v73/constructors/updateLangPack.md index 172c1a9a..9f180e97 100644 --- a/old_docs/API_docs_v73/constructors/updateLangPack.md +++ b/old_docs/API_docs_v73/constructors/updateLangPack.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateLangPack = ['_' => 'updateLangPack', 'difference' => LangPackDifference]; ``` @@ -32,10 +32,9 @@ $updateLangPack = ['_' => 'updateLangPack', 'difference' => LangPackDifference]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateLangPack={_='updateLangPack', difference=LangPackDifference} ``` diff --git a/old_docs/API_docs_v73/constructors/updateLangPackTooLong.md b/old_docs/API_docs_v73/constructors/updateLangPackTooLong.md index b55c7e33..55614347 100644 --- a/old_docs/API_docs_v73/constructors/updateLangPackTooLong.md +++ b/old_docs/API_docs_v73/constructors/updateLangPackTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateLangPackTooLong = ['_' => 'updateLangPackTooLong']; ``` @@ -27,10 +27,9 @@ $updateLangPackTooLong = ['_' => 'updateLangPackTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateLangPackTooLong={_='updateLangPackTooLong'} ``` diff --git a/old_docs/API_docs_v73/constructors/updateMessageID.md b/old_docs/API_docs_v73/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v73/constructors/updateMessageID.md +++ b/old_docs/API_docs_v73/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v73/constructors/updateNewChannelMessage.md index 59dbc820..9fa1c7ec 100644 --- a/old_docs/API_docs_v73/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v73/constructors/updateNewChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Messa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v73/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v73/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v73/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateNewMessage.md b/old_docs/API_docs_v73/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v73/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v73/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateNewStickerSet.md b/old_docs/API_docs_v73/constructors/updateNewStickerSet.md index c36d4617..5ba327ea 100644 --- a/old_docs/API_docs_v73/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v73/constructors/updateNewStickerSet.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` @@ -32,10 +32,9 @@ $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_S ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} ``` diff --git a/old_docs/API_docs_v73/constructors/updateNotifySettings.md b/old_docs/API_docs_v73/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v73/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v73/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v73/constructors/updatePhoneCall.md b/old_docs/API_docs_v73/constructors/updatePhoneCall.md index 61730eae..445e1fc0 100644 --- a/old_docs/API_docs_v73/constructors/updatePhoneCall.md +++ b/old_docs/API_docs_v73/constructors/updatePhoneCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` @@ -32,10 +32,9 @@ $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePhoneCall={_='updatePhoneCall', phone_call=PhoneCall} ``` diff --git a/old_docs/API_docs_v73/constructors/updatePinnedDialogs.md b/old_docs/API_docs_v73/constructors/updatePinnedDialogs.md index 4d082bed..4a99a7bd 100644 --- a/old_docs/API_docs_v73/constructors/updatePinnedDialogs.md +++ b/old_docs/API_docs_v73/constructors/updatePinnedDialogs.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer, Peer]]; ``` @@ -32,10 +32,9 @@ $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer, Peer]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePinnedDialogs={_='updatePinnedDialogs', order={Peer}} ``` diff --git a/old_docs/API_docs_v73/constructors/updatePrivacy.md b/old_docs/API_docs_v73/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v73/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v73/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v73/constructors/updatePtsChanged.md b/old_docs/API_docs_v73/constructors/updatePtsChanged.md index 76b49a1f..dac1d461 100644 --- a/old_docs/API_docs_v73/constructors/updatePtsChanged.md +++ b/old_docs/API_docs_v73/constructors/updatePtsChanged.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` @@ -27,10 +27,9 @@ $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePtsChanged={_='updatePtsChanged'} ``` diff --git a/old_docs/API_docs_v73/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v73/constructors/updateReadChannelInbox.md index be964e20..c8c26acb 100644 --- a/old_docs/API_docs_v73/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v73/constructors/updateReadChannelInbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateReadChannelOutbox.md b/old_docs/API_docs_v73/constructors/updateReadChannelOutbox.md index c725d108..664108d1 100644 --- a/old_docs/API_docs_v73/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v73/constructors/updateReadChannelOutbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelOutbox={_='updateReadChannelOutbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateReadFeaturedStickers.md b/old_docs/API_docs_v73/constructors/updateReadFeaturedStickers.md index ea46d41f..af7fd3d7 100644 --- a/old_docs/API_docs_v73/constructors/updateReadFeaturedStickers.md +++ b/old_docs/API_docs_v73/constructors/updateReadFeaturedStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` @@ -27,10 +27,9 @@ $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadFeaturedStickers={_='updateReadFeaturedStickers'} ``` diff --git a/old_docs/API_docs_v73/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v73/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v73/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v73/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v73/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v73/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v73/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v73/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/old_docs/API_docs_v73/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v73/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateRecentStickers.md b/old_docs/API_docs_v73/constructors/updateRecentStickers.md index cb15d01f..6f9acb77 100644 --- a/old_docs/API_docs_v73/constructors/updateRecentStickers.md +++ b/old_docs/API_docs_v73/constructors/updateRecentStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` @@ -27,10 +27,9 @@ $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateRecentStickers={_='updateRecentStickers'} ``` diff --git a/old_docs/API_docs_v73/constructors/updateSavedGifs.md b/old_docs/API_docs_v73/constructors/updateSavedGifs.md index dd17f321..ea5619fc 100644 --- a/old_docs/API_docs_v73/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v73/constructors/updateSavedGifs.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` @@ -27,10 +27,9 @@ $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v73/constructors/updateServiceNotification.md b/old_docs/API_docs_v73/constructors/updateServiceNotification.md index 1da6885f..0833007b 100644 --- a/old_docs/API_docs_v73/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v73/constructors/updateServiceNotification.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -37,10 +37,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', popup=Bool, inbox_date=int, type='string', message='string', media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v73/constructors/updateShort.md b/old_docs/API_docs_v73/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v73/constructors/updateShort.md +++ b/old_docs/API_docs_v73/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updateShortChatMessage.md b/old_docs/API_docs_v73/constructors/updateShortChatMessage.md index d62e0729..cbeb4739 100644 --- a/old_docs/API_docs_v73/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v73/constructors/updateShortChatMessage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -46,10 +46,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'ment ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v73/constructors/updateShortMessage.md b/old_docs/API_docs_v73/constructors/updateShortMessage.md index d4effcb8..a8348773 100644 --- a/old_docs/API_docs_v73/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v73/constructors/updateShortMessage.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -45,10 +45,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v73/constructors/updateShortSentMessage.md b/old_docs/API_docs_v73/constructors/updateShortSentMessage.md index fd7035c3..2a318e56 100644 --- a/old_docs/API_docs_v73/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v73/constructors/updateShortSentMessage.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -38,10 +38,9 @@ $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v73/constructors/updateStickerSets.md b/old_docs/API_docs_v73/constructors/updateStickerSets.md index 4f045d67..e4cc23a0 100644 --- a/old_docs/API_docs_v73/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v73/constructors/updateStickerSets.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSets = ['_' => 'updateStickerSets']; ``` @@ -27,10 +27,9 @@ $updateStickerSets = ['_' => 'updateStickerSets']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v73/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v73/constructors/updateStickerSetsOrder.md index e36470ad..74405f69 100644 --- a/old_docs/API_docs_v73/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v73/constructors/updateStickerSetsOrder.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long, long]]; ``` @@ -33,10 +33,9 @@ $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'or ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSetsOrder={_='updateStickerSetsOrder', masks=Bool, order={long}} ``` diff --git a/old_docs/API_docs_v73/constructors/updateUserBlocked.md b/old_docs/API_docs_v73/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v73/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v73/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v73/constructors/updateUserName.md b/old_docs/API_docs_v73/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v73/constructors/updateUserName.md +++ b/old_docs/API_docs_v73/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/updateUserPhone.md b/old_docs/API_docs_v73/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v73/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v73/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/updateUserPhoto.md b/old_docs/API_docs_v73/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v73/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v73/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v73/constructors/updateUserStatus.md b/old_docs/API_docs_v73/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v73/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v73/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v73/constructors/updateUserTyping.md b/old_docs/API_docs_v73/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v73/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v73/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v73/constructors/updateWebPage.md b/old_docs/API_docs_v73/constructors/updateWebPage.md index 9f468619..932d8ff2 100644 --- a/old_docs/API_docs_v73/constructors/updateWebPage.md +++ b/old_docs/API_docs_v73/constructors/updateWebPage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updates.md b/old_docs/API_docs_v73/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v73/constructors/updates.md +++ b/old_docs/API_docs_v73/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updatesCombined.md b/old_docs/API_docs_v73/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v73/constructors/updatesCombined.md +++ b/old_docs/API_docs_v73/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updatesTooLong.md b/old_docs/API_docs_v73/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v73/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v73/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v73/constructors/updates_channelDifference.md b/old_docs/API_docs_v73/constructors/updates_channelDifference.md index 21b618c2..df1dafd6 100644 --- a/old_docs/API_docs_v73/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v73/constructors/updates_channelDifference.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v73/constructors/updates_channelDifferenceEmpty.md index a2e49340..a5be0377 100644 --- a/old_docs/API_docs_v73/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v73/constructors/updates_channelDifferenceEmpty.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'fin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v73/constructors/updates_channelDifferenceTooLong.md index 84834a9f..838aaf3b 100644 --- a/old_docs/API_docs_v73/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v73/constructors/updates_channelDifferenceTooLong.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -42,10 +42,9 @@ $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v73/constructors/updates_difference.md b/old_docs/API_docs_v73/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v73/constructors/updates_difference.md +++ b/old_docs/API_docs_v73/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v73/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v73/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v73/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v73/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updates_differenceSlice.md b/old_docs/API_docs_v73/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v73/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v73/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v73/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v73/constructors/updates_differenceTooLong.md index da55eddf..2e96fdd5 100644 --- a/old_docs/API_docs_v73/constructors/updates_differenceTooLong.md +++ b/old_docs/API_docs_v73/constructors/updates_differenceTooLong.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` @@ -32,10 +32,9 @@ $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceTooLong={_='updates.differenceTooLong', pts=int} ``` diff --git a/old_docs/API_docs_v73/constructors/updates_state.md b/old_docs/API_docs_v73/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v73/constructors/updates_state.md +++ b/old_docs/API_docs_v73/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v73/constructors/upload_cdnFile.md b/old_docs/API_docs_v73/constructors/upload_cdnFile.md index b42b285d..586e6c32 100644 --- a/old_docs/API_docs_v73/constructors/upload_cdnFile.md +++ b/old_docs/API_docs_v73/constructors/upload_cdnFile.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; ``` @@ -32,10 +32,9 @@ $upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_cdnFile={_='upload.cdnFile', bytes='bytes'} ``` diff --git a/old_docs/API_docs_v73/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v73/constructors/upload_cdnFileReuploadNeeded.md index b770fdf6..a770ff3d 100644 --- a/old_docs/API_docs_v73/constructors/upload_cdnFileReuploadNeeded.md +++ b/old_docs/API_docs_v73/constructors/upload_cdnFileReuploadNeeded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; ``` @@ -32,10 +32,9 @@ $upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} ``` diff --git a/old_docs/API_docs_v73/constructors/upload_file.md b/old_docs/API_docs_v73/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v73/constructors/upload_file.md +++ b/old_docs/API_docs_v73/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v73/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v73/constructors/upload_fileCdnRedirect.md index 494aa54e..b1918c02 100644 --- a/old_docs/API_docs_v73/constructors/upload_fileCdnRedirect.md +++ b/old_docs/API_docs_v73/constructors/upload_fileCdnRedirect.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'cdn_file_hashes' => [CdnFileHash, CdnFileHash]]; ``` @@ -36,10 +36,9 @@ $upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'fil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', cdn_file_hashes={CdnFileHash}} ``` diff --git a/old_docs/API_docs_v73/constructors/upload_webFile.md b/old_docs/API_docs_v73/constructors/upload_webFile.md index 296105ee..d94afb72 100644 --- a/old_docs/API_docs_v73/constructors/upload_webFile.md +++ b/old_docs/API_docs_v73/constructors/upload_webFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v73/constructors/user.md b/old_docs/API_docs_v73/constructors/user.md index e15841b7..ebe7d5ed 100644 --- a/old_docs/API_docs_v73/constructors/user.md +++ b/old_docs/API_docs_v73/constructors/user.md @@ -43,7 +43,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => 'string', 'bot_inline_placeholder' => 'string', 'lang_code' => 'string']; ``` @@ -54,10 +54,9 @@ $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, min=Bool, bot_inline_geo=Bool, id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason='string', bot_inline_placeholder='string', lang_code='string'} ``` diff --git a/old_docs/API_docs_v73/constructors/userEmpty.md b/old_docs/API_docs_v73/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v73/constructors/userEmpty.md +++ b/old_docs/API_docs_v73/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/userFull.md b/old_docs/API_docs_v73/constructors/userFull.md index 0ab25737..00b03c07 100644 --- a/old_docs/API_docs_v73/constructors/userFull.md +++ b/old_docs/API_docs_v73/constructors/userFull.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` @@ -41,10 +41,9 @@ $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v73/constructors/userProfilePhoto.md b/old_docs/API_docs_v73/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v73/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v73/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v73/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v73/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v73/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v73/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/userStatusEmpty.md b/old_docs/API_docs_v73/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v73/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v73/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v73/constructors/userStatusLastMonth.md b/old_docs/API_docs_v73/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v73/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v73/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v73/constructors/userStatusLastWeek.md b/old_docs/API_docs_v73/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v73/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v73/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v73/constructors/userStatusOffline.md b/old_docs/API_docs_v73/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v73/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v73/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v73/constructors/userStatusOnline.md b/old_docs/API_docs_v73/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v73/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v73/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v73/constructors/userStatusRecently.md b/old_docs/API_docs_v73/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v73/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v73/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v73/constructors/wallPaper.md b/old_docs/API_docs_v73/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v73/constructors/wallPaper.md +++ b/old_docs/API_docs_v73/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v73/constructors/wallPaperSolid.md b/old_docs/API_docs_v73/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v73/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v73/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v73/constructors/webDocument.md b/old_docs/API_docs_v73/constructors/webDocument.md index 064367a3..67e158fa 100644 --- a/old_docs/API_docs_v73/constructors/webDocument.md +++ b/old_docs/API_docs_v73/constructors/webDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'dc_id' => int]; ``` @@ -37,10 +37,9 @@ $webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webDocument={_='webDocument', url='string', access_hash=long, size=int, mime_type='string', attributes={DocumentAttribute}, dc_id=int} ``` diff --git a/old_docs/API_docs_v73/constructors/webPage.md b/old_docs/API_docs_v73/constructors/webPage.md index 371b1e56..ee070624 100644 --- a/old_docs/API_docs_v73/constructors/webPage.md +++ b/old_docs/API_docs_v73/constructors/webPage.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'hash' => int, 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document, 'cached_page' => Page]; ``` @@ -48,10 +48,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', hash=int, type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document, cached_page=Page} ``` diff --git a/old_docs/API_docs_v73/constructors/webPageEmpty.md b/old_docs/API_docs_v73/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v73/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v73/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v73/constructors/webPageNotModified.md b/old_docs/API_docs_v73/constructors/webPageNotModified.md index 557c2947..a180dd51 100644 --- a/old_docs/API_docs_v73/constructors/webPageNotModified.md +++ b/old_docs/API_docs_v73/constructors/webPageNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageNotModified = ['_' => 'webPageNotModified']; ``` @@ -27,10 +27,9 @@ $webPageNotModified = ['_' => 'webPageNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageNotModified={_='webPageNotModified'} ``` diff --git a/old_docs/API_docs_v73/constructors/webPagePending.md b/old_docs/API_docs_v73/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v73/constructors/webPagePending.md +++ b/old_docs/API_docs_v73/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v73/methods/account_changePhone.md b/old_docs/API_docs_v73/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v73/methods/account_changePhone.md +++ b/old_docs/API_docs_v73/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/account_checkUsername.md b/old_docs/API_docs_v73/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v73/methods/account_checkUsername.md +++ b/old_docs/API_docs_v73/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/account_confirmPhone.md b/old_docs/API_docs_v73/methods/account_confirmPhone.md index a42b69b7..214f54e3 100644 --- a/old_docs/API_docs_v73/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v73/methods/account_confirmPhone.md @@ -25,7 +25,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.confirmPhone({phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/account_deleteAccount.md b/old_docs/API_docs_v73/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v73/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v73/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/account_getAccountTTL.md b/old_docs/API_docs_v73/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v73/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v73/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v73/methods/account_getAuthorizations.md b/old_docs/API_docs_v73/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v73/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v73/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v73/methods/account_getNotifySettings.md b/old_docs/API_docs_v73/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v73/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v73/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v73/methods/account_getPassword.md b/old_docs/API_docs_v73/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v73/methods/account_getPassword.md +++ b/old_docs/API_docs_v73/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v73/methods/account_getPasswordSettings.md b/old_docs/API_docs_v73/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v73/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v73/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v73/methods/account_getPrivacy.md b/old_docs/API_docs_v73/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v73/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v73/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v73/methods/account_getTmpPassword.md b/old_docs/API_docs_v73/methods/account_getTmpPassword.md index 504fbbc3..be75dc69 100644 --- a/old_docs/API_docs_v73/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v73/methods/account_getTmpPassword.md @@ -25,7 +25,7 @@ Get temporary password for buying products through bots ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua account_TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/account_getWallPapers.md b/old_docs/API_docs_v73/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v73/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v73/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v73/methods/account_registerDevice.md b/old_docs/API_docs_v73/methods/account_registerDevice.md index 25549dab..ed1fced0 100644 --- a/old_docs/API_docs_v73/methods/account_registerDevice.md +++ b/old_docs/API_docs_v73/methods/account_registerDevice.md @@ -25,7 +25,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/account_reportPeer.md b/old_docs/API_docs_v73/methods/account_reportPeer.md index d8c49851..673b48bf 100644 --- a/old_docs/API_docs_v73/methods/account_reportPeer.md +++ b/old_docs/API_docs_v73/methods/account_reportPeer.md @@ -25,7 +25,7 @@ Report for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reason - Json encoded ReportReason Or, if you're into Lua: -``` +```lua Bool = account.reportPeer({peer=InputPeer, reason=ReportReason, }) ``` diff --git a/old_docs/API_docs_v73/methods/account_resetAuthorization.md b/old_docs/API_docs_v73/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v73/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v73/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v73/methods/account_resetNotifySettings.md b/old_docs/API_docs_v73/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v73/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v73/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v73/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v73/methods/account_sendChangePhoneCode.md index 33a001b9..123a5880 100644 --- a/old_docs/API_docs_v73/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v73/methods/account_sendChangePhoneCode.md @@ -26,7 +26,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v73/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v73/methods/account_sendConfirmPhoneCode.md index a70ad5a3..5c2612c2 100644 --- a/old_docs/API_docs_v73/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v73/methods/account_sendConfirmPhoneCode.md @@ -26,7 +26,7 @@ Send confirmation phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v73/methods/account_setAccountTTL.md b/old_docs/API_docs_v73/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v73/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v73/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v73/methods/account_setPrivacy.md b/old_docs/API_docs_v73/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v73/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v73/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v73/methods/account_unregisterDevice.md b/old_docs/API_docs_v73/methods/account_unregisterDevice.md index 96db2eb2..ad6ab670 100644 --- a/old_docs/API_docs_v73/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v73/methods/account_unregisterDevice.md @@ -25,7 +25,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ token - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v73/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v73/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v73/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/account_updateNotifySettings.md b/old_docs/API_docs_v73/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v73/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v73/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v73/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v73/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v73/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v73/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v73/methods/account_updateProfile.md b/old_docs/API_docs_v73/methods/account_updateProfile.md index f415381f..f54515e5 100644 --- a/old_docs/API_docs_v73/methods/account_updateProfile.md +++ b/old_docs/API_docs_v73/methods/account_updateProfile.md @@ -26,7 +26,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', about='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/account_updateStatus.md b/old_docs/API_docs_v73/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v73/methods/account_updateStatus.md +++ b/old_docs/API_docs_v73/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v73/methods/account_updateUsername.md b/old_docs/API_docs_v73/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v73/methods/account_updateUsername.md +++ b/old_docs/API_docs_v73/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/auth_cancelCode.md b/old_docs/API_docs_v73/methods/auth_cancelCode.md index 0b53954c..352c88e9 100644 --- a/old_docs/API_docs_v73/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v73/methods/auth_cancelCode.md @@ -25,7 +25,7 @@ Invalidate sent phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/auth_checkPhone.md b/old_docs/API_docs_v73/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v73/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v73/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v73/methods/auth_dropTempAuthKeys.md index 26d63e12..64ce7528 100644 --- a/old_docs/API_docs_v73/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v73/methods/auth_dropTempAuthKeys.md @@ -24,7 +24,7 @@ Delete all temporary authorization keys except the ones provided ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ except_auth_keys - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = auth.dropTempAuthKeys({except_auth_keys={long}, }) ``` diff --git a/old_docs/API_docs_v73/methods/auth_recoverPassword.md b/old_docs/API_docs_v73/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v73/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v73/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v73/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v73/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v73/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v73/methods/auth_resendCode.md b/old_docs/API_docs_v73/methods/auth_resendCode.md index 28350d37..4ce58975 100644 --- a/old_docs/API_docs_v73/methods/auth_resendCode.md +++ b/old_docs/API_docs_v73/methods/auth_resendCode.md @@ -25,7 +25,7 @@ Resend the SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v73/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v73/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v73/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v73/methods/auth_sendInvites.md b/old_docs/API_docs_v73/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v73/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v73/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v73/methods/bots_answerWebhookJSONQuery.md index 6ed252ff..33b6c2a3 100644 --- a/old_docs/API_docs_v73/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v73/methods/bots_answerWebhookJSONQuery.md @@ -25,7 +25,7 @@ Send webhook request via bot API ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ data - Json encoded DataJSON Or, if you're into Lua: -``` +```lua Bool = bots.answerWebhookJSONQuery({query_id=long, data=DataJSON, }) ``` diff --git a/old_docs/API_docs_v73/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v73/methods/bots_sendCustomRequest.md index d14215ec..bd368df5 100644 --- a/old_docs/API_docs_v73/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v73/methods/bots_sendCustomRequest.md @@ -25,7 +25,7 @@ Send a custom request to the bot API ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ params - Json encoded DataJSON Or, if you're into Lua: -``` +```lua DataJSON = bots.sendCustomRequest({custom_method='string', params=DataJSON, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_checkUsername.md b/old_docs/API_docs_v73/methods/channels_checkUsername.md index d287b3ca..573bf8f0 100644 --- a/old_docs/API_docs_v73/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v73/methods/channels_checkUsername.md @@ -25,7 +25,7 @@ Check if this username is free and can be assigned to a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.checkUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_createChannel.md b/old_docs/API_docs_v73/methods/channels_createChannel.md index 356f473a..1821c864 100644 --- a/old_docs/API_docs_v73/methods/channels_createChannel.md +++ b/old_docs/API_docs_v73/methods/channels_createChannel.md @@ -27,7 +27,7 @@ Create channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title='string', about='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_deleteChannel.md b/old_docs/API_docs_v73/methods/channels_deleteChannel.md index b55d91b8..a79ccb9f 100644 --- a/old_docs/API_docs_v73/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v73/methods/channels_deleteChannel.md @@ -24,7 +24,7 @@ Delete a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.deleteChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_deleteHistory.md b/old_docs/API_docs_v73/methods/channels_deleteHistory.md index ea331b8b..606eb2dc 100644 --- a/old_docs/API_docs_v73/methods/channels_deleteHistory.md +++ b/old_docs/API_docs_v73/methods/channels_deleteHistory.md @@ -25,7 +25,7 @@ Delete the history of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.deleteHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_deleteMessages.md b/old_docs/API_docs_v73/methods/channels_deleteMessages.md index 03625c94..8cd7ebb3 100644 --- a/old_docs/API_docs_v73/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v73/methods/channels_deleteMessages.md @@ -25,7 +25,7 @@ Delete channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v73/methods/channels_deleteUserHistory.md index 204a8786..78baa90f 100644 --- a/old_docs/API_docs_v73/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v73/methods/channels_deleteUserHistory.md @@ -25,7 +25,7 @@ Delete all messages of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_editAbout.md b/old_docs/API_docs_v73/methods/channels_editAbout.md index fd861133..549d7ea5 100644 --- a/old_docs/API_docs_v73/methods/channels_editAbout.md +++ b/old_docs/API_docs_v73/methods/channels_editAbout.md @@ -25,7 +25,7 @@ Edit the about text of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.editAbout({channel=InputChannel, about='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_editAdmin.md b/old_docs/API_docs_v73/methods/channels_editAdmin.md index 08860c79..19670a43 100644 --- a/old_docs/API_docs_v73/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v73/methods/channels_editAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ admin_rights - Json encoded ChannelAdminRights Or, if you're into Lua: -``` +```lua Updates = channels.editAdmin({channel=InputChannel, user_id=InputUser, admin_rights=ChannelAdminRights, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_editBanned.md b/old_docs/API_docs_v73/methods/channels_editBanned.md index e938acc0..e18f236e 100644 --- a/old_docs/API_docs_v73/methods/channels_editBanned.md +++ b/old_docs/API_docs_v73/methods/channels_editBanned.md @@ -26,7 +26,7 @@ Kick or ban a user from a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ banned_rights - Json encoded ChannelBannedRights Or, if you're into Lua: -``` +```lua Updates = channels.editBanned({channel=InputChannel, user_id=InputUser, banned_rights=ChannelBannedRights, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_editPhoto.md b/old_docs/API_docs_v73/methods/channels_editPhoto.md index ccbaed65..7013c6e2 100644 --- a/old_docs/API_docs_v73/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v73/methods/channels_editPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = channels.editPhoto({channel=InputChannel, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_editTitle.md b/old_docs/API_docs_v73/methods/channels_editTitle.md index ffd868ba..a9c8c50f 100644 --- a/old_docs/API_docs_v73/methods/channels_editTitle.md +++ b/old_docs/API_docs_v73/methods/channels_editTitle.md @@ -25,7 +25,7 @@ Edit the title of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.editTitle({channel=InputChannel, title='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_exportInvite.md b/old_docs/API_docs_v73/methods/channels_exportInvite.md index 0b4b5c31..5a92097a 100644 --- a/old_docs/API_docs_v73/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v73/methods/channels_exportInvite.md @@ -24,7 +24,7 @@ Export the invite link of a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua ExportedChatInvite = channels.exportInvite({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_exportMessageLink.md b/old_docs/API_docs_v73/methods/channels_exportMessageLink.md index f42068f4..a2e2cc10 100644 --- a/old_docs/API_docs_v73/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v73/methods/channels_exportMessageLink.md @@ -25,7 +25,7 @@ Get the link of a message in a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua ExportedMessageLink = channels.exportMessageLink({channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_getAdminLog.md b/old_docs/API_docs_v73/methods/channels_getAdminLog.md index 266c07d7..79a6b402 100644 --- a/old_docs/API_docs_v73/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v73/methods/channels_getAdminLog.md @@ -30,7 +30,7 @@ Get admin log of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v73/methods/channels_getAdminedPublicChannels.md index 67ee8bd4..dc2c29ed 100644 --- a/old_docs/API_docs_v73/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v73/methods/channels_getAdminedPublicChannels.md @@ -19,7 +19,7 @@ Get all supergroups/channels where you're admin ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v73/methods/channels_getChannels.md b/old_docs/API_docs_v73/methods/channels_getChannels.md index 71edac7b..a146be1e 100644 --- a/old_docs/API_docs_v73/methods/channels_getChannels.md +++ b/old_docs/API_docs_v73/methods/channels_getChannels.md @@ -24,7 +24,7 @@ Get info about multiple channels/supergroups ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputChannel Or, if you're into Lua: -``` +```lua messages_Chats = channels.getChannels({id={InputChannel}, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_getMessages.md b/old_docs/API_docs_v73/methods/channels_getMessages.md index 217757eb..208cbcc4 100644 --- a/old_docs/API_docs_v73/methods/channels_getMessages.md +++ b/old_docs/API_docs_v73/methods/channels_getMessages.md @@ -25,7 +25,7 @@ Get channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_getParticipant.md b/old_docs/API_docs_v73/methods/channels_getParticipant.md index a641d213..9cf80799 100644 --- a/old_docs/API_docs_v73/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v73/methods/channels_getParticipant.md @@ -25,7 +25,7 @@ Get info about a certain channel/supergroup participant ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_getParticipants.md b/old_docs/API_docs_v73/methods/channels_getParticipants.md index 25a752cb..eefd0917 100644 --- a/old_docs/API_docs_v73/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v73/methods/channels_getParticipants.md @@ -28,7 +28,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_inviteToChannel.md b/old_docs/API_docs_v73/methods/channels_inviteToChannel.md index 0a350cc8..998e3895 100644 --- a/old_docs/API_docs_v73/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v73/methods/channels_inviteToChannel.md @@ -25,7 +25,7 @@ Add users to channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ users - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Updates = channels.inviteToChannel({channel=InputChannel, users={InputUser}, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_joinChannel.md b/old_docs/API_docs_v73/methods/channels_joinChannel.md index aae2bc1c..3c6a3b94 100644 --- a/old_docs/API_docs_v73/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v73/methods/channels_joinChannel.md @@ -24,7 +24,7 @@ Join a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.joinChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_leaveChannel.md b/old_docs/API_docs_v73/methods/channels_leaveChannel.md index 4e6701fe..0934089f 100644 --- a/old_docs/API_docs_v73/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v73/methods/channels_leaveChannel.md @@ -24,7 +24,7 @@ Leave a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.leaveChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_readHistory.md b/old_docs/API_docs_v73/methods/channels_readHistory.md index d76919ff..cf5c1529 100644 --- a/old_docs/API_docs_v73/methods/channels_readHistory.md +++ b/old_docs/API_docs_v73/methods/channels_readHistory.md @@ -25,7 +25,7 @@ Mark channel/supergroup history as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.readHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_readMessageContents.md b/old_docs/API_docs_v73/methods/channels_readMessageContents.md index 51fffda5..a6cf4f3a 100644 --- a/old_docs/API_docs_v73/methods/channels_readMessageContents.md +++ b/old_docs/API_docs_v73/methods/channels_readMessageContents.md @@ -25,7 +25,7 @@ Mark channel/supergroup messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.readMessageContents({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_reportSpam.md b/old_docs/API_docs_v73/methods/channels_reportSpam.md index 48022662..b0e99eb1 100644 --- a/old_docs/API_docs_v73/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v73/methods/channels_reportSpam.md @@ -26,7 +26,7 @@ Report a message in a supergroup/channel for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.reportSpam({channel=InputChannel, user_id=InputUser, id={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_setStickers.md b/old_docs/API_docs_v73/methods/channels_setStickers.md index 421b3ec1..4338f29a 100644 --- a/old_docs/API_docs_v73/methods/channels_setStickers.md +++ b/old_docs/API_docs_v73/methods/channels_setStickers.md @@ -25,7 +25,7 @@ Set the supergroup/channel stickerpack ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = channels.setStickers({channel=InputChannel, stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_toggleInvites.md b/old_docs/API_docs_v73/methods/channels_toggleInvites.md index d0023b70..bed6ba15 100644 --- a/old_docs/API_docs_v73/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v73/methods/channels_toggleInvites.md @@ -25,7 +25,7 @@ Allow or disallow any user to invite users to this channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleInvites({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_togglePreHistoryHidden.md b/old_docs/API_docs_v73/methods/channels_togglePreHistoryHidden.md index c25f6358..c972473d 100644 --- a/old_docs/API_docs_v73/methods/channels_togglePreHistoryHidden.md +++ b/old_docs/API_docs_v73/methods/channels_togglePreHistoryHidden.md @@ -25,7 +25,7 @@ Enable or disable hidden history for new channel/supergroup users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.togglePreHistoryHidden({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_toggleSignatures.md b/old_docs/API_docs_v73/methods/channels_toggleSignatures.md index 337e8627..c9fe18cc 100644 --- a/old_docs/API_docs_v73/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v73/methods/channels_toggleSignatures.md @@ -25,7 +25,7 @@ Toggle channel signatures ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleSignatures({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v73/methods/channels_updatePinnedMessage.md index c79c5904..9d2cc058 100644 --- a/old_docs/API_docs_v73/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v73/methods/channels_updatePinnedMessage.md @@ -26,7 +26,7 @@ Set the pinned message of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = channels.updatePinnedMessage({silent=Bool, channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/channels_updateUsername.md b/old_docs/API_docs_v73/methods/channels_updateUsername.md index 2e07e123..c0df8c7c 100644 --- a/old_docs/API_docs_v73/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v73/methods/channels_updateUsername.md @@ -25,7 +25,7 @@ Update the username of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.updateUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/contacts_block.md b/old_docs/API_docs_v73/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v73/methods/contacts_block.md +++ b/old_docs/API_docs_v73/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v73/methods/contacts_deleteContact.md b/old_docs/API_docs_v73/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v73/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v73/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v73/methods/contacts_deleteContacts.md b/old_docs/API_docs_v73/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v73/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v73/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v73/methods/contacts_exportCard.md b/old_docs/API_docs_v73/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v73/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v73/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v73/methods/contacts_getBlocked.md b/old_docs/API_docs_v73/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v73/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v73/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/contacts_getContacts.md b/old_docs/API_docs_v73/methods/contacts_getContacts.md index c8b53bc5..19826f89 100644 --- a/old_docs/API_docs_v73/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v73/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/contacts_getStatuses.md b/old_docs/API_docs_v73/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v73/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v73/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v73/methods/contacts_getTopPeers.md b/old_docs/API_docs_v73/methods/contacts_getTopPeers.md index 1cc9c756..c64e7486 100644 --- a/old_docs/API_docs_v73/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v73/methods/contacts_getTopPeers.md @@ -32,7 +32,7 @@ Get most used chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/contacts_importCard.md b/old_docs/API_docs_v73/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v73/methods/contacts_importCard.md +++ b/old_docs/API_docs_v73/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/contacts_importContacts.md b/old_docs/API_docs_v73/methods/contacts_importContacts.md index eddbe116..c42f5c57 100644 --- a/old_docs/API_docs_v73/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v73/methods/contacts_importContacts.md @@ -24,7 +24,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ contacts - Json encoded array of InputContact Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/old_docs/API_docs_v73/methods/contacts_resetSaved.md b/old_docs/API_docs_v73/methods/contacts_resetSaved.md index 6e0214c2..40d528bc 100644 --- a/old_docs/API_docs_v73/methods/contacts_resetSaved.md +++ b/old_docs/API_docs_v73/methods/contacts_resetSaved.md @@ -19,7 +19,7 @@ Reset saved contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = contacts.resetSaved({}) ``` diff --git a/old_docs/API_docs_v73/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v73/methods/contacts_resetTopPeerRating.md index 96ae48ac..94a07f54 100644 --- a/old_docs/API_docs_v73/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v73/methods/contacts_resetTopPeerRating.md @@ -25,7 +25,7 @@ Reset top peer rating for a certain category/peer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = contacts.resetTopPeerRating({category=TopPeerCategory, peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v73/methods/contacts_search.md b/old_docs/API_docs_v73/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v73/methods/contacts_search.md +++ b/old_docs/API_docs_v73/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/contacts_unblock.md b/old_docs/API_docs_v73/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v73/methods/contacts_unblock.md +++ b/old_docs/API_docs_v73/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v73/methods/help_getAppChangelog.md b/old_docs/API_docs_v73/methods/help_getAppChangelog.md index 10b972c1..179eaf3a 100644 --- a/old_docs/API_docs_v73/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v73/methods/help_getAppChangelog.md @@ -24,7 +24,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ prev_app_version - Json encoded string Or, if you're into Lua: -``` +```lua Updates = help.getAppChangelog({prev_app_version='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/help_getAppUpdate.md b/old_docs/API_docs_v73/methods/help_getAppUpdate.md index 4ddc0e4d..541b5972 100644 --- a/old_docs/API_docs_v73/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v73/methods/help_getAppUpdate.md @@ -19,7 +19,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v73/methods/help_getCdnConfig.md b/old_docs/API_docs_v73/methods/help_getCdnConfig.md index be572516..766896c7 100644 --- a/old_docs/API_docs_v73/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v73/methods/help_getCdnConfig.md @@ -19,7 +19,7 @@ Get CDN configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua CdnConfig = help.getCdnConfig({}) ``` diff --git a/old_docs/API_docs_v73/methods/help_getConfig.md b/old_docs/API_docs_v73/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v73/methods/help_getConfig.md +++ b/old_docs/API_docs_v73/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v73/methods/help_getInviteText.md b/old_docs/API_docs_v73/methods/help_getInviteText.md index 1510e64f..f05ac4ac 100644 --- a/old_docs/API_docs_v73/methods/help_getInviteText.md +++ b/old_docs/API_docs_v73/methods/help_getInviteText.md @@ -19,7 +19,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v73/methods/help_getNearestDc.md b/old_docs/API_docs_v73/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v73/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v73/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v73/methods/help_getRecentMeUrls.md b/old_docs/API_docs_v73/methods/help_getRecentMeUrls.md index 27a451bb..c9641f67 100644 --- a/old_docs/API_docs_v73/methods/help_getRecentMeUrls.md +++ b/old_docs/API_docs_v73/methods/help_getRecentMeUrls.md @@ -24,7 +24,7 @@ Get recent t.me URLs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ referer - Json encoded string Or, if you're into Lua: -``` +```lua help_RecentMeUrls = help.getRecentMeUrls({referer='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/help_getSupport.md b/old_docs/API_docs_v73/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v73/methods/help_getSupport.md +++ b/old_docs/API_docs_v73/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v73/methods/help_getTermsOfService.md b/old_docs/API_docs_v73/methods/help_getTermsOfService.md index bf421bf6..95d51e60 100644 --- a/old_docs/API_docs_v73/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v73/methods/help_getTermsOfService.md @@ -19,7 +19,7 @@ Get terms of service ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v73/methods/help_saveAppLog.md b/old_docs/API_docs_v73/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v73/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v73/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v73/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v73/methods/help_setBotUpdatesStatus.md index 0429f8a0..53736da7 100644 --- a/old_docs/API_docs_v73/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v73/methods/help_setBotUpdatesStatus.md @@ -25,7 +25,7 @@ Set the update status of webhook ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = help.setBotUpdatesStatus({pending_updates_count=int, message='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/initConnection.md b/old_docs/API_docs_v73/methods/initConnection.md index 692a41e8..858a9e5d 100644 --- a/old_docs/API_docs_v73/methods/initConnection.md +++ b/old_docs/API_docs_v73/methods/initConnection.md @@ -31,7 +31,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -83,7 +83,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', system_lang_code='string', lang_pack='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v73/methods/invokeAfterMsg.md b/old_docs/API_docs_v73/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v73/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v73/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v73/methods/invokeAfterMsgs.md b/old_docs/API_docs_v73/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v73/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v73/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v73/methods/invokeWithLayer.md b/old_docs/API_docs_v73/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v73/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v73/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v73/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v73/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/old_docs/API_docs_v73/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v73/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/old_docs/API_docs_v73/methods/langpack_getDifference.md b/old_docs/API_docs_v73/methods/langpack_getDifference.md index 0614d869..30184f61 100644 --- a/old_docs/API_docs_v73/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v73/methods/langpack_getDifference.md @@ -24,7 +24,7 @@ Get language pack updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ from_version - Json encoded int Or, if you're into Lua: -``` +```lua LangPackDifference = langpack.getDifference({from_version=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/langpack_getLangPack.md b/old_docs/API_docs_v73/methods/langpack_getLangPack.md index 70f9eb73..98001615 100644 --- a/old_docs/API_docs_v73/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v73/methods/langpack_getLangPack.md @@ -24,7 +24,7 @@ Get language pack ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua LangPackDifference = langpack.getLangPack({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/langpack_getLanguages.md b/old_docs/API_docs_v73/methods/langpack_getLanguages.md index 5eaf2049..8a592a86 100644 --- a/old_docs/API_docs_v73/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v73/methods/langpack_getLanguages.md @@ -19,7 +19,7 @@ Get available languages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_LangPackLanguage = langpack.getLanguages({}) ``` diff --git a/old_docs/API_docs_v73/methods/langpack_getStrings.md b/old_docs/API_docs_v73/methods/langpack_getStrings.md index 3042b040..ccd0a684 100644 --- a/old_docs/API_docs_v73/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v73/methods/langpack_getStrings.md @@ -25,7 +25,7 @@ Get language pack strings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ keys - Json encoded array of string Or, if you're into Lua: -``` +```lua Vector_of_LangPackString = langpack.getStrings({lang_code='string', keys={'string'}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_addChatUser.md b/old_docs/API_docs_v73/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v73/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v73/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_checkChatInvite.md b/old_docs/API_docs_v73/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/old_docs/API_docs_v73/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v73/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v73/methods/messages_clearRecentStickers.md index 56634143..53e1fa4f 100644 --- a/old_docs/API_docs_v73/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v73/methods/messages_clearRecentStickers.md @@ -24,7 +24,7 @@ Clear all recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ attached - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.clearRecentStickers({attached=Bool, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_createChat.md b/old_docs/API_docs_v73/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v73/methods/messages_createChat.md +++ b/old_docs/API_docs_v73/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_deleteChatUser.md b/old_docs/API_docs_v73/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v73/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v73/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_deleteHistory.md b/old_docs/API_docs_v73/methods/messages_deleteHistory.md index 866ba216..33d1ca52 100644 --- a/old_docs/API_docs_v73/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v73/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_deleteMessages.md b/old_docs/API_docs_v73/methods/messages_deleteMessages.md index eaf9cd86..9158e8bd 100644 --- a/old_docs/API_docs_v73/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v73/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_editChatAdmin.md b/old_docs/API_docs_v73/methods/messages_editChatAdmin.md index a2dad97f..f883b50e 100644 --- a/old_docs/API_docs_v73/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v73/methods/messages_editChatAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ is_admin - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.editChatAdmin({chat_id=InputPeer, user_id=InputUser, is_admin=Bool, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_editChatPhoto.md b/old_docs/API_docs_v73/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v73/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v73/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_editChatTitle.md b/old_docs/API_docs_v73/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v73/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v73/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v73/methods/messages_editInlineBotMessage.md index d62d7bb6..e55d42b0 100644 --- a/old_docs/API_docs_v73/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v73/methods/messages_editInlineBotMessage.md @@ -31,7 +31,7 @@ Edit a sent inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -70,7 +70,7 @@ geo_point - Json encoded InputGeoPoint Or, if you're into Lua: -``` +```lua Bool = messages.editInlineBotMessage({no_webpage=Bool, stop_geo_live=Bool, id=InputBotInlineMessageID, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', geo_point=InputGeoPoint, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_editMessage.md b/old_docs/API_docs_v73/methods/messages_editMessage.md index 9dcca8d5..7c96b3fb 100644 --- a/old_docs/API_docs_v73/methods/messages_editMessage.md +++ b/old_docs/API_docs_v73/methods/messages_editMessage.md @@ -32,7 +32,7 @@ Edit a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ geo_point - Json encoded InputGeoPoint Or, if you're into Lua: -``` +```lua Updates = messages.editMessage({no_webpage=Bool, stop_geo_live=Bool, peer=InputPeer, id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', geo_point=InputGeoPoint, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_exportChatInvite.md b/old_docs/API_docs_v73/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/old_docs/API_docs_v73/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v73/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_faveSticker.md b/old_docs/API_docs_v73/methods/messages_faveSticker.md index 302957c5..26e49af9 100644 --- a/old_docs/API_docs_v73/methods/messages_faveSticker.md +++ b/old_docs/API_docs_v73/methods/messages_faveSticker.md @@ -25,7 +25,7 @@ Add a sticker to favorites ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ unfave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.faveSticker({id=InputDocument, unfave=Bool, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_forwardMessage.md b/old_docs/API_docs_v73/methods/messages_forwardMessage.md index 586670b8..d9c0453f 100644 --- a/old_docs/API_docs_v73/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v73/methods/messages_forwardMessage.md @@ -25,7 +25,7 @@ Forward message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessage({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_forwardMessages.md b/old_docs/API_docs_v73/methods/messages_forwardMessages.md index 3372333c..b7d19145 100644 --- a/old_docs/API_docs_v73/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v73/methods/messages_forwardMessages.md @@ -30,7 +30,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ to_peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({silent=Bool, background=Bool, with_my_score=Bool, grouped=Bool, from_peer=InputPeer, id={int}, to_peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getAllChats.md b/old_docs/API_docs_v73/methods/messages_getAllChats.md index 663af07c..38cbbbae 100644 --- a/old_docs/API_docs_v73/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v73/methods/messages_getAllChats.md @@ -24,7 +24,7 @@ Get all chats (not supergroups or channels) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ except_ids - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getAllChats({except_ids={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getAllDrafts.md b/old_docs/API_docs_v73/methods/messages_getAllDrafts.md index 31aa8176..7300e01a 100644 --- a/old_docs/API_docs_v73/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v73/methods/messages_getAllDrafts.md @@ -19,7 +19,7 @@ Get all message drafts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Updates = messages.getAllDrafts({}) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getAllStickers.md b/old_docs/API_docs_v73/methods/messages_getAllStickers.md index 966af122..c25a823b 100644 --- a/old_docs/API_docs_v73/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v73/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v73/methods/messages_getArchivedStickers.md index e98ab6ec..ef79ee6e 100644 --- a/old_docs/API_docs_v73/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v73/methods/messages_getArchivedStickers.md @@ -26,7 +26,7 @@ Get all archived stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v73/methods/messages_getAttachedStickers.md index 0e221a84..9ada6655 100644 --- a/old_docs/API_docs_v73/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v73/methods/messages_getAttachedStickers.md @@ -24,7 +24,7 @@ Get stickers attachable to images ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ media - Json encoded InputStickeredMedia Or, if you're into Lua: -``` +```lua Vector_of_StickerSetCovered = messages.getAttachedStickers({media=InputStickeredMedia, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v73/methods/messages_getBotCallbackAnswer.md index ffcd8a2e..b4f1d02f 100644 --- a/old_docs/API_docs_v73/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v73/methods/messages_getBotCallbackAnswer.md @@ -27,7 +27,7 @@ Get the callback answer of a bot (after clicking a button) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ data - Json encoded bytes Or, if you're into Lua: -``` +```lua messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getChats.md b/old_docs/API_docs_v73/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v73/methods/messages_getChats.md +++ b/old_docs/API_docs_v73/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getCommonChats.md b/old_docs/API_docs_v73/methods/messages_getCommonChats.md index e6921d5e..83237f64 100644 --- a/old_docs/API_docs_v73/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v73/methods/messages_getCommonChats.md @@ -26,7 +26,7 @@ Get chats in common with a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getDialogs.md b/old_docs/API_docs_v73/methods/messages_getDialogs.md index 694c916f..0bc314b5 100644 --- a/old_docs/API_docs_v73/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v73/methods/messages_getDialogs.md @@ -28,7 +28,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v73/methods/messages_getDocumentByHash.md index 5b6f6f21..00f0a558 100644 --- a/old_docs/API_docs_v73/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v73/methods/messages_getDocumentByHash.md @@ -26,7 +26,7 @@ Get document by SHA256 hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ mime_type - Json encoded string Or, if you're into Lua: -``` +```lua Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getFavedStickers.md b/old_docs/API_docs_v73/methods/messages_getFavedStickers.md index 6bc1560c..95d6d4a2 100644 --- a/old_docs/API_docs_v73/methods/messages_getFavedStickers.md +++ b/old_docs/API_docs_v73/methods/messages_getFavedStickers.md @@ -24,7 +24,7 @@ Get favorite stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v73/methods/messages_getFeaturedStickers.md index a837377b..c257621e 100644 --- a/old_docs/API_docs_v73/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v73/methods/messages_getFeaturedStickers.md @@ -24,7 +24,7 @@ Get featured stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getGameHighScores.md b/old_docs/API_docs_v73/methods/messages_getGameHighScores.md index f7837998..a97fb1ff 100644 --- a/old_docs/API_docs_v73/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v73/methods/messages_getGameHighScores.md @@ -26,7 +26,7 @@ Get high scores of a game ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getHistory.md b/old_docs/API_docs_v73/methods/messages_getHistory.md index d79f2694..215e949d 100644 --- a/old_docs/API_docs_v73/methods/messages_getHistory.md +++ b/old_docs/API_docs_v73/methods/messages_getHistory.md @@ -31,7 +31,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v73/methods/messages_getInlineBotResults.md index 03b5d845..73f2deb2 100644 --- a/old_docs/API_docs_v73/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v73/methods/messages_getInlineBotResults.md @@ -28,7 +28,7 @@ Call inline bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ offset - Json encoded string Or, if you're into Lua: -``` +```lua messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v73/methods/messages_getInlineGameHighScores.md index e8be8e81..046c1cfb 100644 --- a/old_docs/API_docs_v73/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v73/methods/messages_getInlineGameHighScores.md @@ -25,7 +25,7 @@ Get high scores of a game sent in an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getMaskStickers.md b/old_docs/API_docs_v73/methods/messages_getMaskStickers.md index 55c4edea..06fd153e 100644 --- a/old_docs/API_docs_v73/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v73/methods/messages_getMaskStickers.md @@ -24,7 +24,7 @@ Get masks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getMessageEditData.md b/old_docs/API_docs_v73/methods/messages_getMessageEditData.md index 2c44a1dc..77e2c030 100644 --- a/old_docs/API_docs_v73/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v73/methods/messages_getMessageEditData.md @@ -25,7 +25,7 @@ Check if about to edit a message or a media caption ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getMessages.md b/old_docs/API_docs_v73/methods/messages_getMessages.md index e9bf53a4..5ffeec2e 100644 --- a/old_docs/API_docs_v73/methods/messages_getMessages.md +++ b/old_docs/API_docs_v73/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getMessagesViews.md b/old_docs/API_docs_v73/methods/messages_getMessagesViews.md index 57a99054..b2b6110e 100644 --- a/old_docs/API_docs_v73/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v73/methods/messages_getMessagesViews.md @@ -26,7 +26,7 @@ Get and increase message views ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ increment - Json encoded Bool Or, if you're into Lua: -``` +```lua Vector_of_int = messages.getMessagesViews({peer=InputPeer, id={int}, increment=Bool, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v73/methods/messages_getPeerDialogs.md index ca746b3b..a34873df 100644 --- a/old_docs/API_docs_v73/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v73/methods/messages_getPeerDialogs.md @@ -24,7 +24,7 @@ Get dialog info of peers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peers - Json encoded array of InputPeer Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getPeerSettings.md b/old_docs/API_docs_v73/methods/messages_getPeerSettings.md index 92d4697a..e2b3ec4f 100644 --- a/old_docs/API_docs_v73/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v73/methods/messages_getPeerSettings.md @@ -24,7 +24,7 @@ Get the settings of apeer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua PeerSettings = messages.getPeerSettings({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v73/methods/messages_getPinnedDialogs.md index 634f4c41..77eb98ce 100644 --- a/old_docs/API_docs_v73/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v73/methods/messages_getPinnedDialogs.md @@ -19,7 +19,7 @@ Get pinned dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPinnedDialogs({}) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getRecentLocations.md b/old_docs/API_docs_v73/methods/messages_getRecentLocations.md index c9037187..5764b32a 100644 --- a/old_docs/API_docs_v73/methods/messages_getRecentLocations.md +++ b/old_docs/API_docs_v73/methods/messages_getRecentLocations.md @@ -25,7 +25,7 @@ Get recent locations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getRecentLocations({peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getRecentStickers.md b/old_docs/API_docs_v73/methods/messages_getRecentStickers.md index d89272fd..939fd036 100644 --- a/old_docs/API_docs_v73/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v73/methods/messages_getRecentStickers.md @@ -25,7 +25,7 @@ Get recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getSavedGifs.md b/old_docs/API_docs_v73/methods/messages_getSavedGifs.md index cafba4e1..1a879907 100644 --- a/old_docs/API_docs_v73/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v73/methods/messages_getSavedGifs.md @@ -24,7 +24,7 @@ Get saved gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getStickerSet.md b/old_docs/API_docs_v73/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/old_docs/API_docs_v73/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v73/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getUnreadMentions.md b/old_docs/API_docs_v73/methods/messages_getUnreadMentions.md index 9b221db9..d30c19c5 100644 --- a/old_docs/API_docs_v73/methods/messages_getUnreadMentions.md +++ b/old_docs/API_docs_v73/methods/messages_getUnreadMentions.md @@ -29,7 +29,7 @@ Get unread mentions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getWebPage.md b/old_docs/API_docs_v73/methods/messages_getWebPage.md index fb7152af..9237d4b7 100644 --- a/old_docs/API_docs_v73/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v73/methods/messages_getWebPage.md @@ -25,7 +25,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua WebPage = messages.getWebPage({url='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v73/methods/messages_getWebPagePreview.md index 8475c8f5..4838be94 100644 --- a/old_docs/API_docs_v73/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v73/methods/messages_getWebPagePreview.md @@ -24,7 +24,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_hideReportSpam.md b/old_docs/API_docs_v73/methods/messages_hideReportSpam.md index 17a7f8ef..1c0d72c5 100644 --- a/old_docs/API_docs_v73/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v73/methods/messages_hideReportSpam.md @@ -24,7 +24,7 @@ Hide report spam popup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.hideReportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_importChatInvite.md b/old_docs/API_docs_v73/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/old_docs/API_docs_v73/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v73/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_installStickerSet.md b/old_docs/API_docs_v73/methods/messages_installStickerSet.md index 88131136..6bdb9390 100644 --- a/old_docs/API_docs_v73/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v73/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ archived - Json encoded Bool Or, if you're into Lua: -``` +```lua messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_migrateChat.md b/old_docs/API_docs_v73/methods/messages_migrateChat.md index df91f510..e789ff7d 100644 --- a/old_docs/API_docs_v73/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v73/methods/messages_migrateChat.md @@ -24,7 +24,7 @@ Convert chat to supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.migrateChat({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v73/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v73/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v73/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v73/methods/messages_readFeaturedStickers.md index 2c34ac0f..9fef6621 100644 --- a/old_docs/API_docs_v73/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v73/methods/messages_readFeaturedStickers.md @@ -24,7 +24,7 @@ Mark new featured stickers as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.readFeaturedStickers({id={long}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_readHistory.md b/old_docs/API_docs_v73/methods/messages_readHistory.md index 48d7fb45..4a2188d8 100644 --- a/old_docs/API_docs_v73/methods/messages_readHistory.md +++ b/old_docs/API_docs_v73/methods/messages_readHistory.md @@ -25,7 +25,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_readMentions.md b/old_docs/API_docs_v73/methods/messages_readMentions.md index 31874ee6..237da9c4 100644 --- a/old_docs/API_docs_v73/methods/messages_readMentions.md +++ b/old_docs/API_docs_v73/methods/messages_readMentions.md @@ -24,7 +24,7 @@ Mark mentions as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.readMentions({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_readMessageContents.md b/old_docs/API_docs_v73/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v73/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v73/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_receivedMessages.md b/old_docs/API_docs_v73/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/old_docs/API_docs_v73/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v73/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v73/methods/messages_reorderPinnedDialogs.md index 4d2cb53e..d8aeefa7 100644 --- a/old_docs/API_docs_v73/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v73/methods/messages_reorderPinnedDialogs.md @@ -25,7 +25,7 @@ Reorder pinned dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reorderPinnedDialogs({force=Bool, order={InputPeer}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v73/methods/messages_reorderStickerSets.md index c1c35ef6..cd73daa0 100644 --- a/old_docs/API_docs_v73/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v73/methods/messages_reorderStickerSets.md @@ -25,7 +25,7 @@ Reorder sticker sets ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.reorderStickerSets({masks=Bool, order={long}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v73/methods/messages_reportEncryptedSpam.md index dffdffc9..5d5f0dab 100644 --- a/old_docs/API_docs_v73/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v73/methods/messages_reportEncryptedSpam.md @@ -24,7 +24,7 @@ Report for spam a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputEncryptedChat Or, if you're into Lua: -``` +```lua Bool = messages.reportEncryptedSpam({peer=InputEncryptedChat, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_reportSpam.md b/old_docs/API_docs_v73/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/old_docs/API_docs_v73/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v73/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_saveDraft.md b/old_docs/API_docs_v73/methods/messages_saveDraft.md index ede72c41..14e69f93 100644 --- a/old_docs/API_docs_v73/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v73/methods/messages_saveDraft.md @@ -29,7 +29,7 @@ Save a message draft ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -57,7 +57,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.saveDraft({no_webpage=Bool, reply_to_msg_id=int, peer=InputPeer, message='string', entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_saveGif.md b/old_docs/API_docs_v73/methods/messages_saveGif.md index adae6d86..dfa956ab 100644 --- a/old_docs/API_docs_v73/methods/messages_saveGif.md +++ b/old_docs/API_docs_v73/methods/messages_saveGif.md @@ -25,7 +25,7 @@ Save a GIF ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveGif({id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v73/methods/messages_saveRecentSticker.md index 9cd06ea1..1abf524f 100644 --- a/old_docs/API_docs_v73/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v73/methods/messages_saveRecentSticker.md @@ -26,7 +26,7 @@ Add a sticker to recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveRecentSticker({attached=Bool, id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_search.md b/old_docs/API_docs_v73/methods/messages_search.md index a1f7ea03..85ff60bc 100644 --- a/old_docs/API_docs_v73/methods/messages_search.md +++ b/old_docs/API_docs_v73/methods/messages_search.md @@ -34,7 +34,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -83,7 +83,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_searchGifs.md b/old_docs/API_docs_v73/methods/messages_searchGifs.md index 1ef77d23..a12cdd21 100644 --- a/old_docs/API_docs_v73/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v73/methods/messages_searchGifs.md @@ -25,7 +25,7 @@ Search gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_searchGlobal.md b/old_docs/API_docs_v73/methods/messages_searchGlobal.md index 4d05bf0d..1fb73592 100644 --- a/old_docs/API_docs_v73/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v73/methods/messages_searchGlobal.md @@ -28,7 +28,7 @@ Global message search ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_sendEncrypted.md b/old_docs/API_docs_v73/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v73/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v73/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v73/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v73/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v73/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v73/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v73/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v73/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v73/methods/messages_sendInlineBotResult.md index 8de674c6..37fae63a 100644 --- a/old_docs/API_docs_v73/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v73/methods/messages_sendInlineBotResult.md @@ -30,7 +30,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ id - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.sendInlineBotResult({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_sendMedia.md b/old_docs/API_docs_v73/methods/messages_sendMedia.md index 2290e52e..7c4e0dcf 100644 --- a/old_docs/API_docs_v73/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v73/methods/messages_sendMedia.md @@ -30,7 +30,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ reply_markup - Json encoded ReplyMarkup Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, media=InputMedia, reply_markup=ReplyMarkup, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_sendMessage.md b/old_docs/API_docs_v73/methods/messages_sendMessage.md index 77790562..9cdc74eb 100644 --- a/old_docs/API_docs_v73/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v73/methods/messages_sendMessage.md @@ -33,7 +33,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMessage({no_webpage=Bool, silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_sendMultiMedia.md b/old_docs/API_docs_v73/methods/messages_sendMultiMedia.md index 115d2f60..a6cd72c4 100644 --- a/old_docs/API_docs_v73/methods/messages_sendMultiMedia.md +++ b/old_docs/API_docs_v73/methods/messages_sendMultiMedia.md @@ -29,7 +29,7 @@ Send an album ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ multi_media - Json encoded array of InputSingleMedia Or, if you're into Lua: -``` +```lua Updates = messages.sendMultiMedia({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, multi_media={InputSingleMedia}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_sendScreenshotNotification.md b/old_docs/API_docs_v73/methods/messages_sendScreenshotNotification.md index 3a71c404..d4fd79b6 100644 --- a/old_docs/API_docs_v73/methods/messages_sendScreenshotNotification.md +++ b/old_docs/API_docs_v73/methods/messages_sendScreenshotNotification.md @@ -25,7 +25,7 @@ Send screenshot notification ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reply_to_msg_id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.sendScreenshotNotification({peer=InputPeer, reply_to_msg_id=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v73/methods/messages_setBotCallbackAnswer.md index 0395b468..47d74918 100644 --- a/old_docs/API_docs_v73/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v73/methods/messages_setBotCallbackAnswer.md @@ -28,7 +28,7 @@ Bots only: set the callback answer (after a button was clicked) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ cache_time - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message='string', url='string', cache_time=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v73/methods/messages_setBotPrecheckoutResults.md index 486ab585..92e8ea5a 100644 --- a/old_docs/API_docs_v73/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v73/methods/messages_setBotPrecheckoutResults.md @@ -26,7 +26,7 @@ Bots only: set precheckout results ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ error - Json encoded string Or, if you're into Lua: -``` +```lua Bool = messages.setBotPrecheckoutResults({success=Bool, query_id=long, error='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v73/methods/messages_setBotShippingResults.md index a9e43c49..6e223219 100644 --- a/old_docs/API_docs_v73/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v73/methods/messages_setBotShippingResults.md @@ -26,7 +26,7 @@ Bots only: set shipping results ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ shipping_options - Json encoded array of ShippingOption Or, if you're into Lua: -``` +```lua Bool = messages.setBotShippingResults({query_id=long, error='string', shipping_options={ShippingOption}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v73/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v73/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v73/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_setGameScore.md b/old_docs/API_docs_v73/methods/messages_setGameScore.md index 41ee4591..1a50326e 100644 --- a/old_docs/API_docs_v73/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v73/methods/messages_setGameScore.md @@ -29,7 +29,7 @@ Set the game score ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.setGameScore({edit_message=Bool, force=Bool, peer=InputPeer, id=int, user_id=InputUser, score=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v73/methods/messages_setInlineBotResults.md index 443a028e..e1ebe4e3 100644 --- a/old_docs/API_docs_v73/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v73/methods/messages_setInlineBotResults.md @@ -30,7 +30,7 @@ Bots only: set the results of an inline query ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: -``` +```lua Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset='string', switch_pm=InlineBotSwitchPM, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v73/methods/messages_setInlineGameScore.md index 0d97b9bf..76db49dd 100644 --- a/old_docs/API_docs_v73/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v73/methods/messages_setInlineGameScore.md @@ -28,7 +28,7 @@ Set the game score of an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setInlineGameScore({edit_message=Bool, force=Bool, id=InputBotInlineMessageID, user_id=InputUser, score=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_setTyping.md b/old_docs/API_docs_v73/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v73/methods/messages_setTyping.md +++ b/old_docs/API_docs_v73/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_startBot.md b/old_docs/API_docs_v73/methods/messages_startBot.md index 506957a7..71f82822 100644 --- a/old_docs/API_docs_v73/methods/messages_startBot.md +++ b/old_docs/API_docs_v73/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v73/methods/messages_toggleChatAdmins.md index 0f1e56fa..56438277 100644 --- a/old_docs/API_docs_v73/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v73/methods/messages_toggleChatAdmins.md @@ -25,7 +25,7 @@ Enable all users are admins in normal groups (not supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = messages.toggleChatAdmins({chat_id=InputPeer, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v73/methods/messages_toggleDialogPin.md index 57f673a0..02adfd4b 100644 --- a/old_docs/API_docs_v73/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v73/methods/messages_toggleDialogPin.md @@ -25,7 +25,7 @@ Pin or unpin dialog ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.toggleDialogPin({pinned=Bool, peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v73/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/old_docs/API_docs_v73/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v73/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_uploadEncryptedFile.md b/old_docs/API_docs_v73/methods/messages_uploadEncryptedFile.md index 91159bb5..f3d5d0e5 100644 --- a/old_docs/API_docs_v73/methods/messages_uploadEncryptedFile.md +++ b/old_docs/API_docs_v73/methods/messages_uploadEncryptedFile.md @@ -25,7 +25,7 @@ Upload a secret chat file without sending it to anyone ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua EncryptedFile = messages.uploadEncryptedFile({peer=InputEncryptedChat, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages_uploadMedia.md b/old_docs/API_docs_v73/methods/messages_uploadMedia.md index 65fed5f8..af710357 100644 --- a/old_docs/API_docs_v73/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v73/methods/messages_uploadMedia.md @@ -25,7 +25,7 @@ Upload a file without sending it to anyone ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua MessageMedia = messages.uploadMedia({peer=InputPeer, media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v73/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v73/methods/payments_clearSavedInfo.md index 8ac2d538..1fb58ffa 100644 --- a/old_docs/API_docs_v73/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v73/methods/payments_clearSavedInfo.md @@ -25,7 +25,7 @@ Clear saved payments info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ info - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = payments.clearSavedInfo({credentials=Bool, info=Bool, }) ``` diff --git a/old_docs/API_docs_v73/methods/payments_getPaymentForm.md b/old_docs/API_docs_v73/methods/payments_getPaymentForm.md index c53c7d10..480e7d6d 100644 --- a/old_docs/API_docs_v73/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v73/methods/payments_getPaymentForm.md @@ -24,7 +24,7 @@ Get payment form ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ msg_id - Json encoded int Or, if you're into Lua: -``` +```lua payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v73/methods/payments_getPaymentReceipt.md index b6bbb3e5..074aed0e 100644 --- a/old_docs/API_docs_v73/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v73/methods/payments_getPaymentReceipt.md @@ -24,7 +24,7 @@ Get payment receipt ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ msg_id - Json encoded int Or, if you're into Lua: -``` +```lua payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/payments_getSavedInfo.md b/old_docs/API_docs_v73/methods/payments_getSavedInfo.md index acaa603f..df3796a2 100644 --- a/old_docs/API_docs_v73/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v73/methods/payments_getSavedInfo.md @@ -19,7 +19,7 @@ Get saved payments info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua payments_SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v73/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v73/methods/payments_sendPaymentForm.md index 5ac22160..582f446a 100644 --- a/old_docs/API_docs_v73/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v73/methods/payments_sendPaymentForm.md @@ -27,7 +27,7 @@ Bots only: send payment form ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ credentials - Json encoded InputPaymentCredentials Or, if you're into Lua: -``` +```lua payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` diff --git a/old_docs/API_docs_v73/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v73/methods/payments_validateRequestedInfo.md index bc60d68f..524c8515 100644 --- a/old_docs/API_docs_v73/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v73/methods/payments_validateRequestedInfo.md @@ -26,7 +26,7 @@ Validate requested payment info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ info - Json encoded PaymentRequestedInfo Or, if you're into Lua: -``` +```lua payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` diff --git a/old_docs/API_docs_v73/methods/phone_getCallConfig.md b/old_docs/API_docs_v73/methods/phone_getCallConfig.md index dc8619e8..4ee97d2f 100644 --- a/old_docs/API_docs_v73/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v73/methods/phone_getCallConfig.md @@ -19,7 +19,7 @@ Get call configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua DataJSON = phone.getCallConfig({}) ``` diff --git a/old_docs/API_docs_v73/methods/phone_receivedCall.md b/old_docs/API_docs_v73/methods/phone_receivedCall.md index b6cebd0c..c030fe43 100644 --- a/old_docs/API_docs_v73/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v73/methods/phone_receivedCall.md @@ -24,7 +24,7 @@ Notify server that you received a call (server will refuse all incoming calls un ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPhoneCall Or, if you're into Lua: -``` +```lua Bool = phone.receivedCall({peer=InputPhoneCall, }) ``` diff --git a/old_docs/API_docs_v73/methods/phone_saveCallDebug.md b/old_docs/API_docs_v73/methods/phone_saveCallDebug.md index 176f0838..3aff7998 100644 --- a/old_docs/API_docs_v73/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v73/methods/phone_saveCallDebug.md @@ -25,7 +25,7 @@ Save call debugging info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ debug - Json encoded DataJSON Or, if you're into Lua: -``` +```lua Bool = phone.saveCallDebug({peer=InputPhoneCall, debug=DataJSON, }) ``` diff --git a/old_docs/API_docs_v73/methods/phone_setCallRating.md b/old_docs/API_docs_v73/methods/phone_setCallRating.md index 0861c10e..fa83b2c7 100644 --- a/old_docs/API_docs_v73/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v73/methods/phone_setCallRating.md @@ -26,7 +26,7 @@ Set phone call rating ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ comment - Json encoded string Or, if you're into Lua: -``` +```lua Updates = phone.setCallRating({peer=InputPhoneCall, rating=int, comment='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/photos_deletePhotos.md b/old_docs/API_docs_v73/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v73/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v73/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v73/methods/photos_getUserPhotos.md b/old_docs/API_docs_v73/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/old_docs/API_docs_v73/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v73/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v73/methods/photos_updateProfilePhoto.md index 8eb42e5d..26ab417e 100644 --- a/old_docs/API_docs_v73/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v73/methods/photos_updateProfilePhoto.md @@ -24,7 +24,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputPhoto Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, }) ``` diff --git a/old_docs/API_docs_v73/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v73/methods/photos_uploadProfilePhoto.md index 9b838b89..8d047d9a 100644 --- a/old_docs/API_docs_v73/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v73/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ file - Json encoded InputFile Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` diff --git a/old_docs/API_docs_v73/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v73/methods/stickers_addStickerToSet.md index 7029d543..0946e28a 100644 --- a/old_docs/API_docs_v73/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v73/methods/stickers_addStickerToSet.md @@ -25,7 +25,7 @@ Add sticker to stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ sticker - Json encoded InputStickerSetItem Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` diff --git a/old_docs/API_docs_v73/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v73/methods/stickers_changeStickerPosition.md index e6a2951e..ff27fd3c 100644 --- a/old_docs/API_docs_v73/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v73/methods/stickers_changeStickerPosition.md @@ -25,7 +25,7 @@ Change sticker position in photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ position - Json encoded int Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/stickers_createStickerSet.md b/old_docs/API_docs_v73/methods/stickers_createStickerSet.md index 58ed89b7..7dd29ccd 100644 --- a/old_docs/API_docs_v73/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v73/methods/stickers_createStickerSet.md @@ -28,7 +28,7 @@ Create stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ stickers - Json encoded array of InputStickerSetItem Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` diff --git a/old_docs/API_docs_v73/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v73/methods/stickers_removeStickerFromSet.md index 7349779f..64ce97a3 100644 --- a/old_docs/API_docs_v73/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v73/methods/stickers_removeStickerFromSet.md @@ -24,7 +24,7 @@ Remove sticker from stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ sticker - Json encoded InputDocument Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` diff --git a/old_docs/API_docs_v73/methods/upload_getWebFile.md b/old_docs/API_docs_v73/methods/upload_getWebFile.md index d7d5d631..16952ff9 100644 --- a/old_docs/API_docs_v73/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v73/methods/upload_getWebFile.md @@ -26,7 +26,7 @@ Download a file through telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/users_getUsers.md b/old_docs/API_docs_v73/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v73/methods/users_getUsers.md +++ b/old_docs/API_docs_v73/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v73/types/Chat.md b/old_docs/API_docs_v73/types/Chat.md index cd83aacb..58654e6e 100644 --- a/old_docs/API_docs_v73/types/Chat.md +++ b/old_docs/API_docs_v73/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v73/types/InputChannel.md b/old_docs/API_docs_v73/types/InputChannel.md index 3882099d..6dc802fc 100644 --- a/old_docs/API_docs_v73/types/InputChannel.md +++ b/old_docs/API_docs_v73/types/InputChannel.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputChannel = '@username'; // Username $InputChannel = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v73/types/InputEncryptedChat.md b/old_docs/API_docs_v73/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v73/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v73/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v73/types/InputEncryptedFile.md b/old_docs/API_docs_v73/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v73/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v73/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v73/types/InputFile.md b/old_docs/API_docs_v73/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v73/types/InputFile.md +++ b/old_docs/API_docs_v73/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v73/types/InputNotifyPeer.md b/old_docs/API_docs_v73/types/InputNotifyPeer.md index ffc1f0cf..f9d0a662 100644 --- a/old_docs/API_docs_v73/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v73/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v73/types/InputPeer.md b/old_docs/API_docs_v73/types/InputPeer.md index 2076c00b..2649db1a 100644 --- a/old_docs/API_docs_v73/types/InputPeer.md +++ b/old_docs/API_docs_v73/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v73/types/InputUser.md b/old_docs/API_docs_v73/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/old_docs/API_docs_v73/types/InputUser.md +++ b/old_docs/API_docs_v73/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v73/types/KeyboardButton.md b/old_docs/API_docs_v73/types/KeyboardButton.md index ac4b9e1e..69f33796 100644 --- a/old_docs/API_docs_v73/types/KeyboardButton.md +++ b/old_docs/API_docs_v73/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/old_docs/API_docs_v73/types/NotifyPeer.md b/old_docs/API_docs_v73/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v73/types/NotifyPeer.md +++ b/old_docs/API_docs_v73/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v73/types/Peer.md b/old_docs/API_docs_v73/types/Peer.md index ebb98e91..0ab7fdcc 100644 --- a/old_docs/API_docs_v73/types/Peer.md +++ b/old_docs/API_docs_v73/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v73/types/PhoneCall.md b/old_docs/API_docs_v73/types/PhoneCall.md index 64d95972..0aa87799 100644 --- a/old_docs/API_docs_v73/types/PhoneCall.md +++ b/old_docs/API_docs_v73/types/PhoneCall.md @@ -159,7 +159,7 @@ The audio configuration is an array structured in the following way: Easy as pie: -``` +```php $call->storage["pony"] = "fluttershy"; \danog\MadelineProto\Logger::log($call->storage["pony"]); // fluttershy ``` @@ -173,7 +173,7 @@ You can only modify the data saving mode, the network type, the logging file pat Example: -``` +```php $call->configuration["log_file_path"] = "logs".$call->getOtherID().".log"; // Default is /dev/null $call->configuration["stats_dump_file_path"] = "stats".$call->getOtherID().".log"; // Default is /dev/null $call->configuration["network_type"] = \danog\MadelineProto\VoIP::NET_TYPE_WIFI; // Default is NET_TYPE_ETHERNET diff --git a/old_docs/API_docs_v73/types/User.md b/old_docs/API_docs_v73/types/User.md index 3abd182f..425c8d2b 100644 --- a/old_docs/API_docs_v73/types/User.md +++ b/old_docs/API_docs_v73/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v75/constructors/accountDaysTTL.md b/old_docs/API_docs_v75/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v75/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v75/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v75/constructors/account_authorizations.md b/old_docs/API_docs_v75/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v75/constructors/account_authorizations.md +++ b/old_docs/API_docs_v75/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v75/constructors/account_noPassword.md b/old_docs/API_docs_v75/constructors/account_noPassword.md index 81a483d6..63a4af6d 100644 --- a/old_docs/API_docs_v75/constructors/account_noPassword.md +++ b/old_docs/API_docs_v75/constructors/account_noPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -33,10 +33,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'emai ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/account_password.md b/old_docs/API_docs_v75/constructors/account_password.md index 9a8b31c6..5c4c334b 100644 --- a/old_docs/API_docs_v75/constructors/account_password.md +++ b/old_docs/API_docs_v75/constructors/account_password.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; ``` @@ -36,10 +36,9 @@ $account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v75/constructors/account_passwordInputSettings.md index f474e0c7..b5838f0a 100644 --- a/old_docs/API_docs_v75/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v75/constructors/account_passwordInputSettings.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v75/constructors/account_passwordSettings.md b/old_docs/API_docs_v75/constructors/account_passwordSettings.md index 27d14f59..04fc8621 100644 --- a/old_docs/API_docs_v75/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v75/constructors/account_passwordSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v75/constructors/account_privacyRules.md b/old_docs/API_docs_v75/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v75/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v75/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v75/constructors/account_tmpPassword.md b/old_docs/API_docs_v75/constructors/account_tmpPassword.md index e16b6f3c..90d36e0e 100644 --- a/old_docs/API_docs_v75/constructors/account_tmpPassword.md +++ b/old_docs/API_docs_v75/constructors/account_tmpPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/account_webAuthorizations.md b/old_docs/API_docs_v75/constructors/account_webAuthorizations.md index 5157ffdc..51d382f3 100644 --- a/old_docs/API_docs_v75/constructors/account_webAuthorizations.md +++ b/old_docs/API_docs_v75/constructors/account_webAuthorizations.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v75/constructors/auth_authorization.md b/old_docs/API_docs_v75/constructors/auth_authorization.md index c8133016..b858e501 100644 --- a/old_docs/API_docs_v75/constructors/auth_authorization.md +++ b/old_docs/API_docs_v75/constructors/auth_authorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/auth_checkedPhone.md b/old_docs/API_docs_v75/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v75/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v75/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v75/constructors/auth_codeTypeCall.md index 6a4f28d1..788a2c37 100644 --- a/old_docs/API_docs_v75/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v75/constructors/auth_codeTypeCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeCall={_='auth.codeTypeCall'} ``` diff --git a/old_docs/API_docs_v75/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v75/constructors/auth_codeTypeFlashCall.md index 2851bf4e..abb65fcf 100644 --- a/old_docs/API_docs_v75/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v75/constructors/auth_codeTypeFlashCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} ``` diff --git a/old_docs/API_docs_v75/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v75/constructors/auth_codeTypeSms.md index 04b78a3d..34b42c95 100644 --- a/old_docs/API_docs_v75/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v75/constructors/auth_codeTypeSms.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeSms={_='auth.codeTypeSms'} ``` diff --git a/old_docs/API_docs_v75/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v75/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v75/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v75/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v75/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v75/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v75/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v75/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v75/constructors/auth_sentCode.md b/old_docs/API_docs_v75/constructors/auth_sentCode.md index 0226e79e..2b3f2017 100644 --- a/old_docs/API_docs_v75/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v75/constructors/auth_sentCode.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; ``` @@ -36,10 +36,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v75/constructors/auth_sentCodeTypeApp.md index eb4f4530..eba1784a 100644 --- a/old_docs/API_docs_v75/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v75/constructors/auth_sentCodeTypeApp.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v75/constructors/auth_sentCodeTypeCall.md index b72a7550..5948ce63 100644 --- a/old_docs/API_docs_v75/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v75/constructors/auth_sentCodeTypeCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v75/constructors/auth_sentCodeTypeFlashCall.md index 2c59cad5..bcc7acf6 100644 --- a/old_docs/API_docs_v75/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v75/constructors/auth_sentCodeTypeFlashCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v75/constructors/auth_sentCodeTypeSms.md index db6858ea..3073333f 100644 --- a/old_docs/API_docs_v75/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v75/constructors/auth_sentCodeTypeSms.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/authorization.md b/old_docs/API_docs_v75/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v75/constructors/authorization.md +++ b/old_docs/API_docs_v75/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v75/constructors/botCommand.md b/old_docs/API_docs_v75/constructors/botCommand.md index 8569358d..fcb65461 100644 --- a/old_docs/API_docs_v75/constructors/botCommand.md +++ b/old_docs/API_docs_v75/constructors/botCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v75/constructors/botInfo.md b/old_docs/API_docs_v75/constructors/botInfo.md index 507f9f8c..ad88f390 100644 --- a/old_docs/API_docs_v75/constructors/botInfo.md +++ b/old_docs/API_docs_v75/constructors/botInfo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v75/constructors/botInlineMediaResult.md b/old_docs/API_docs_v75/constructors/botInlineMediaResult.md index 43454784..0131af98 100644 --- a/old_docs/API_docs_v75/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v75/constructors/botInlineMediaResult.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` @@ -38,10 +38,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v75/constructors/botInlineMessageMediaAuto.md index 07111aa3..45500723 100644 --- a/old_docs/API_docs_v75/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v75/constructors/botInlineMessageMediaAuto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/botInlineMessageMediaContact.md b/old_docs/API_docs_v75/constructors/botInlineMessageMediaContact.md index c3f25947..771472fa 100644 --- a/old_docs/API_docs_v75/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v75/constructors/botInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v75/constructors/botInlineMessageMediaGeo.md b/old_docs/API_docs_v75/constructors/botInlineMessageMediaGeo.md index 996ded36..d68db150 100644 --- a/old_docs/API_docs_v75/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v75/constructors/botInlineMessageMediaGeo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'period' => int, 'reply_markup' => ReplyMarkup]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/botInlineMessageMediaVenue.md b/old_docs/API_docs_v75/constructors/botInlineMessageMediaVenue.md index 4795ba75..8108a37c 100644 --- a/old_docs/API_docs_v75/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v75/constructors/botInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v75/constructors/botInlineMessageText.md b/old_docs/API_docs_v75/constructors/botInlineMessageText.md index 4a274d28..b3fa92ed 100644 --- a/old_docs/API_docs_v75/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v75/constructors/botInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/botInlineResult.md b/old_docs/API_docs_v75/constructors/botInlineResult.md index c7abbd71..8b6ead75 100644 --- a/old_docs/API_docs_v75/constructors/botInlineResult.md +++ b/old_docs/API_docs_v75/constructors/botInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage]; ``` @@ -43,10 +43,9 @@ $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_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=BotInlineMessage} ``` diff --git a/old_docs/API_docs_v75/constructors/cdnConfig.md b/old_docs/API_docs_v75/constructors/cdnConfig.md index 3df3585d..6487cf42 100644 --- a/old_docs/API_docs_v75/constructors/cdnConfig.md +++ b/old_docs/API_docs_v75/constructors/cdnConfig.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]]; ``` @@ -32,10 +32,9 @@ $cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}} ``` diff --git a/old_docs/API_docs_v75/constructors/cdnFileHash.md b/old_docs/API_docs_v75/constructors/cdnFileHash.md index 0806a8ad..c19c8a16 100644 --- a/old_docs/API_docs_v75/constructors/cdnFileHash.md +++ b/old_docs/API_docs_v75/constructors/cdnFileHash.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnFileHash = ['_' => 'cdnFileHash', 'offset' => int, 'limit' => int, 'hash' => 'bytes']; ``` @@ -34,10 +34,9 @@ $cdnFileHash = ['_' => 'cdnFileHash', 'offset' => int, 'limit' => int, 'hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua cdnFileHash={_='cdnFileHash', offset=int, limit=int, hash='bytes'} ``` diff --git a/old_docs/API_docs_v75/constructors/cdnPublicKey.md b/old_docs/API_docs_v75/constructors/cdnPublicKey.md index 78ec2a83..2277ee59 100644 --- a/old_docs/API_docs_v75/constructors/cdnPublicKey.md +++ b/old_docs/API_docs_v75/constructors/cdnPublicKey.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v75/constructors/channel.md b/old_docs/API_docs_v75/constructors/channel.md index 6508ee8d..265e39c2 100644 --- a/old_docs/API_docs_v75/constructors/channel.md +++ b/old_docs/API_docs_v75/constructors/channel.md @@ -41,7 +41,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -52,10 +52,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/channelAdminLogEvent.md b/old_docs/API_docs_v75/constructors/channelAdminLogEvent.md index f48cb8db..5a939425 100644 --- a/old_docs/API_docs_v75/constructors/channelAdminLogEvent.md +++ b/old_docs/API_docs_v75/constructors/channelAdminLogEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEvent = ['_' => 'channelAdminLogEvent', 'id' => long, 'date' => int, 'user_id' => int, 'action' => ChannelAdminLogEventAction]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionChangeAbout.md b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionChangeAbout.md index ebec258a..aef21894 100644 --- a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionChangeAbout.md +++ b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionChangeAbout.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChangeAbout', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeAbout={_='channelAdminLogEventActionChangeAbout', prev_value='string', new_value='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionChangePhoto.md b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionChangePhoto.md index 7c687202..7c38537e 100644 --- a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionChangePhoto.md +++ b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionChangePhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChangePhoto', 'prev_photo' => ChatPhoto, 'new_photo' => ChatPhoto]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangePhoto={_='channelAdminLogEventActionChangePhoto', prev_photo=ChatPhoto, new_photo=ChatPhoto} ``` diff --git a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionChangeStickerSet.md b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionChangeStickerSet.md index 74a2d4d4..74f7d943 100644 --- a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionChangeStickerSet.md +++ b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionChangeStickerSet.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeStickerSet = ['_' => 'channelAdminLogEventActionChangeStickerSet', 'prev_stickerset' => InputStickerSet, 'new_stickerset' => InputStickerSet]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeStickerSet = ['_' => 'channelAdminLogEventActio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeStickerSet={_='channelAdminLogEventActionChangeStickerSet', prev_stickerset=InputStickerSet, new_stickerset=InputStickerSet} ``` diff --git a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionChangeTitle.md b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionChangeTitle.md index dbf4ca87..ab2d88ef 100644 --- a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionChangeTitle.md +++ b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionChangeTitle.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChangeTitle', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeTitle={_='channelAdminLogEventActionChangeTitle', prev_value='string', new_value='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionChangeUsername.md b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionChangeUsername.md index 8a48ba97..d0016c2b 100644 --- a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionChangeUsername.md +++ b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionChangeUsername.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionChangeUsername', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionC ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeUsername={_='channelAdminLogEventActionChangeUsername', prev_value='string', new_value='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionDeleteMessage.md b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionDeleteMessage.md index e6ffe7f5..3af17f94 100644 --- a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionDeleteMessage.md +++ b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionDeleteMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDeleteMessage', 'message' => Message]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionDeleteMessage={_='channelAdminLogEventActionDeleteMessage', message=Message} ``` diff --git a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionEditMessage.md b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionEditMessage.md index 67b7a176..66e5de48 100644 --- a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionEditMessage.md +++ b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionEditMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEditMessage', 'prev_message' => Message, 'new_message' => Message]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEdit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionEditMessage={_='channelAdminLogEventActionEditMessage', prev_message=Message, new_message=Message} ``` diff --git a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionParticipantInvite.md b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionParticipantInvite.md index 260a3346..82029fee 100644 --- a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionParticipantInvite.md +++ b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionParticipantInvite.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActionParticipantInvite', 'participant' => ChannelParticipant]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActi ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantInvite={_='channelAdminLogEventActionParticipantInvite', participant=ChannelParticipant} ``` diff --git a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionParticipantJoin.md b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionParticipantJoin.md index 9f59031b..4c8ca622 100644 --- a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionParticipantJoin.md +++ b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionParticipantJoin.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventActionParticipantJoin']; ``` @@ -27,10 +27,9 @@ $channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventAction ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantJoin={_='channelAdminLogEventActionParticipantJoin'} ``` diff --git a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionParticipantLeave.md b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionParticipantLeave.md index 03328132..dde98f82 100644 --- a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionParticipantLeave.md +++ b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionParticipantLeave.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActionParticipantLeave']; ``` @@ -27,10 +27,9 @@ $channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantLeave={_='channelAdminLogEventActionParticipantLeave'} ``` diff --git a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionParticipantToggleAdmin.md b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionParticipantToggleAdmin.md index b570076b..053db714 100644 --- a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionParticipantToggleAdmin.md +++ b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionParticipantToggleAdmin.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEventActionParticipantToggleAdmin', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEven ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantToggleAdmin={_='channelAdminLogEventActionParticipantToggleAdmin', prev_participant=ChannelParticipant, new_participant=ChannelParticipant} ``` diff --git a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionParticipantToggleBan.md b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionParticipantToggleBan.md index ef119daa..5321e678 100644 --- a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionParticipantToggleBan.md +++ b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionParticipantToggleBan.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventActionParticipantToggleBan', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventA ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantToggleBan={_='channelAdminLogEventActionParticipantToggleBan', prev_participant=ChannelParticipant, new_participant=ChannelParticipant} ``` diff --git a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionToggleInvites.md b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionToggleInvites.md index 5a25a689..47ba2358 100644 --- a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionToggleInvites.md +++ b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionToggleInvites.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionToggleInvites', 'new_value' => Bool]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionTo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionToggleInvites={_='channelAdminLogEventActionToggleInvites', new_value=Bool} ``` diff --git a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionTogglePreHistoryHidden.md b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionTogglePreHistoryHidden.md index c0b8bfce..95ed7b5b 100644 --- a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionTogglePreHistoryHidden.md +++ b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionTogglePreHistoryHidden.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionTogglePreHistoryHidden = ['_' => 'channelAdminLogEventActionTogglePreHistoryHidden', 'new_value' => Bool]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionTogglePreHistoryHidden = ['_' => 'channelAdminLogEven ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionTogglePreHistoryHidden={_='channelAdminLogEventActionTogglePreHistoryHidden', new_value=Bool} ``` diff --git a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionToggleSignatures.md b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionToggleSignatures.md index e7119bb6..ad529669 100644 --- a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionToggleSignatures.md +++ b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionToggleSignatures.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActionToggleSignatures', 'new_value' => Bool]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionToggleSignatures={_='channelAdminLogEventActionToggleSignatures', new_value=Bool} ``` diff --git a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionUpdatePinned.md b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionUpdatePinned.md index de066195..2facbac2 100644 --- a/old_docs/API_docs_v75/constructors/channelAdminLogEventActionUpdatePinned.md +++ b/old_docs/API_docs_v75/constructors/channelAdminLogEventActionUpdatePinned.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpdatePinned', 'message' => Message]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionUpdatePinned={_='channelAdminLogEventActionUpdatePinned', message=Message} ``` diff --git a/old_docs/API_docs_v75/constructors/channelAdminLogEventsFilter.md b/old_docs/API_docs_v75/constructors/channelAdminLogEventsFilter.md index 04ece393..db2f4ee8 100644 --- a/old_docs/API_docs_v75/constructors/channelAdminLogEventsFilter.md +++ b/old_docs/API_docs_v75/constructors/channelAdminLogEventsFilter.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -45,10 +45,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/channelAdminRights.md b/old_docs/API_docs_v75/constructors/channelAdminRights.md index 88cb5969..f3204317 100644 --- a/old_docs/API_docs_v75/constructors/channelAdminRights.md +++ b/old_docs/API_docs_v75/constructors/channelAdminRights.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -40,10 +40,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/channelBannedRights.md b/old_docs/API_docs_v75/constructors/channelBannedRights.md index 13dde648..f2ae995f 100644 --- a/old_docs/API_docs_v75/constructors/channelBannedRights.md +++ b/old_docs/API_docs_v75/constructors/channelBannedRights.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -40,10 +40,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/channelForbidden.md b/old_docs/API_docs_v75/constructors/channelForbidden.md index 00b4cbbe..0bccd01f 100644 --- a/old_docs/API_docs_v75/constructors/channelForbidden.md +++ b/old_docs/API_docs_v75/constructors/channelForbidden.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'until_date' => int]; ``` @@ -37,10 +37,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/channelFull.md b/old_docs/API_docs_v75/constructors/channelFull.md index 304660de..2e757a5b 100644 --- a/old_docs/API_docs_v75/constructors/channelFull.md +++ b/old_docs/API_docs_v75/constructors/channelFull.md @@ -42,7 +42,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, 'stickerset' => StickerSet, 'available_min_id' => int]; ``` @@ -53,10 +53,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/channelMessagesFilter.md b/old_docs/API_docs_v75/constructors/channelMessagesFilter.md index b19d3151..1b953ba3 100644 --- a/old_docs/API_docs_v75/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v75/constructors/channelMessagesFilter.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v75/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v75/constructors/channelMessagesFilterEmpty.md index 350e50de..a446b896 100644 --- a/old_docs/API_docs_v75/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v75/constructors/channelMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/channelParticipant.md b/old_docs/API_docs_v75/constructors/channelParticipant.md index c7de5400..dbcb792b 100644 --- a/old_docs/API_docs_v75/constructors/channelParticipant.md +++ b/old_docs/API_docs_v75/constructors/channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/channelParticipantAdmin.md b/old_docs/API_docs_v75/constructors/channelParticipantAdmin.md index 95ef84e9..73f4e2ab 100644 --- a/old_docs/API_docs_v75/constructors/channelParticipantAdmin.md +++ b/old_docs/API_docs_v75/constructors/channelParticipantAdmin.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantAdmin = ['_' => 'channelParticipantAdmin', 'can_edit' => Bool, 'user_id' => int, 'inviter_id' => int, 'promoted_by' => int, 'date' => int, 'admin_rights' => ChannelAdminRights]; ``` @@ -37,10 +37,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/channelParticipantBanned.md b/old_docs/API_docs_v75/constructors/channelParticipantBanned.md index be3be304..171f76d9 100644 --- a/old_docs/API_docs_v75/constructors/channelParticipantBanned.md +++ b/old_docs/API_docs_v75/constructors/channelParticipantBanned.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantBanned = ['_' => 'channelParticipantBanned', 'left' => Bool, 'user_id' => int, 'kicked_by' => int, 'date' => int, 'banned_rights' => ChannelBannedRights]; ``` @@ -36,10 +36,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/channelParticipantCreator.md b/old_docs/API_docs_v75/constructors/channelParticipantCreator.md index 86cafe0a..e999fb9c 100644 --- a/old_docs/API_docs_v75/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v75/constructors/channelParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantCreator={_='channelParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/channelParticipantSelf.md b/old_docs/API_docs_v75/constructors/channelParticipantSelf.md index 83864972..4b5949ac 100644 --- a/old_docs/API_docs_v75/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v75/constructors/channelParticipantSelf.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v75/constructors/channelParticipantsAdmins.md index c86cb9a4..4b0c30d4 100644 --- a/old_docs/API_docs_v75/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v75/constructors/channelParticipantsAdmins.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` @@ -27,10 +27,9 @@ $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v75/constructors/channelParticipantsBanned.md b/old_docs/API_docs_v75/constructors/channelParticipantsBanned.md index 75a86f75..7f956691 100644 --- a/old_docs/API_docs_v75/constructors/channelParticipantsBanned.md +++ b/old_docs/API_docs_v75/constructors/channelParticipantsBanned.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBanned={_='channelParticipantsBanned', q='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/channelParticipantsBots.md b/old_docs/API_docs_v75/constructors/channelParticipantsBots.md index 30875f94..66e510c7 100644 --- a/old_docs/API_docs_v75/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v75/constructors/channelParticipantsBots.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` @@ -27,10 +27,9 @@ $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v75/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v75/constructors/channelParticipantsKicked.md index fba5808a..7a985ca9 100644 --- a/old_docs/API_docs_v75/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v75/constructors/channelParticipantsKicked.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsKicked={_='channelParticipantsKicked', q='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v75/constructors/channelParticipantsRecent.md index e4cb6466..51e57069 100644 --- a/old_docs/API_docs_v75/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v75/constructors/channelParticipantsRecent.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` @@ -27,10 +27,9 @@ $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v75/constructors/channelParticipantsSearch.md b/old_docs/API_docs_v75/constructors/channelParticipantsSearch.md index 727a7279..9e2d3e7f 100644 --- a/old_docs/API_docs_v75/constructors/channelParticipantsSearch.md +++ b/old_docs/API_docs_v75/constructors/channelParticipantsSearch.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsSearch={_='channelParticipantsSearch', q='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/channels_adminLogResults.md b/old_docs/API_docs_v75/constructors/channels_adminLogResults.md index bd652b78..5a76ce73 100644 --- a/old_docs/API_docs_v75/constructors/channels_adminLogResults.md +++ b/old_docs/API_docs_v75/constructors/channels_adminLogResults.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v75/constructors/channels_channelParticipant.md b/old_docs/API_docs_v75/constructors/channels_channelParticipant.md index bdf27b08..107502c5 100644 --- a/old_docs/API_docs_v75/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v75/constructors/channels_channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v75/constructors/channels_channelParticipants.md b/old_docs/API_docs_v75/constructors/channels_channelParticipants.md index 1b76b1e0..0402423f 100644 --- a/old_docs/API_docs_v75/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v75/constructors/channels_channelParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v75/constructors/channels_channelParticipantsNotModified.md b/old_docs/API_docs_v75/constructors/channels_channelParticipantsNotModified.md index f3794494..d476a9f6 100644 --- a/old_docs/API_docs_v75/constructors/channels_channelParticipantsNotModified.md +++ b/old_docs/API_docs_v75/constructors/channels_channelParticipantsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; ``` @@ -27,10 +27,9 @@ $channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipants ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} ``` diff --git a/old_docs/API_docs_v75/constructors/chat.md b/old_docs/API_docs_v75/constructors/chat.md index 5ae1811d..b6f24f3e 100644 --- a/old_docs/API_docs_v75/constructors/chat.md +++ b/old_docs/API_docs_v75/constructors/chat.md @@ -33,7 +33,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -44,10 +44,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/chatEmpty.md b/old_docs/API_docs_v75/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v75/constructors/chatEmpty.md +++ b/old_docs/API_docs_v75/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/chatForbidden.md b/old_docs/API_docs_v75/constructors/chatForbidden.md index de5bb302..61c45660 100644 --- a/old_docs/API_docs_v75/constructors/chatForbidden.md +++ b/old_docs/API_docs_v75/constructors/chatForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v75/constructors/chatFull.md b/old_docs/API_docs_v75/constructors/chatFull.md index 6e138596..2a5f67f6 100644 --- a/old_docs/API_docs_v75/constructors/chatFull.md +++ b/old_docs/API_docs_v75/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v75/constructors/chatInvite.md b/old_docs/API_docs_v75/constructors/chatInvite.md index c0f14de6..54027d67 100644 --- a/old_docs/API_docs_v75/constructors/chatInvite.md +++ b/old_docs/API_docs_v75/constructors/chatInvite.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User, User]]; ``` @@ -39,10 +39,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v75/constructors/chatInviteAlready.md b/old_docs/API_docs_v75/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/old_docs/API_docs_v75/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v75/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/old_docs/API_docs_v75/constructors/chatInviteEmpty.md b/old_docs/API_docs_v75/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/old_docs/API_docs_v75/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v75/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/chatInviteExported.md b/old_docs/API_docs_v75/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/old_docs/API_docs_v75/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v75/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/chatParticipant.md b/old_docs/API_docs_v75/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v75/constructors/chatParticipant.md +++ b/old_docs/API_docs_v75/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v75/constructors/chatParticipantAdmin.md index 62aee9a4..63a38575 100644 --- a/old_docs/API_docs_v75/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v75/constructors/chatParticipantAdmin.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/chatParticipantCreator.md b/old_docs/API_docs_v75/constructors/chatParticipantCreator.md index 0fb7b6ef..75b9c4d4 100644 --- a/old_docs/API_docs_v75/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v75/constructors/chatParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantCreator={_='chatParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/chatParticipants.md b/old_docs/API_docs_v75/constructors/chatParticipants.md index 38af2ca5..ae254290 100644 --- a/old_docs/API_docs_v75/constructors/chatParticipants.md +++ b/old_docs/API_docs_v75/constructors/chatParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v75/constructors/chatParticipantsForbidden.md index 2ecdfe10..639b30ee 100644 --- a/old_docs/API_docs_v75/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v75/constructors/chatParticipantsForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/chatPhoto.md b/old_docs/API_docs_v75/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v75/constructors/chatPhoto.md +++ b/old_docs/API_docs_v75/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v75/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v75/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v75/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/config.md b/old_docs/API_docs_v75/constructors/config.md index 059cee29..b4bd5562 100644 --- a/old_docs/API_docs_v75/constructors/config.md +++ b/old_docs/API_docs_v75/constructors/config.md @@ -55,7 +55,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'default_p2p_contacts' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'stickers_faved_limit' => int, 'channels_read_media_period' => int, 'tmp_sessions' => int, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'me_url_prefix' => 'string', 'suggested_lang_code' => 'string', 'lang_pack_version' => int, 'disabled_features' => [DisabledFeature, DisabledFeature]]; ``` @@ -66,10 +66,9 @@ $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, date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, stickers_faved_limit=int, channels_read_media_period=int, tmp_sessions=int, pinned_dialogs_count_max=int, call_receive_timeout_ms=int, call_ring_timeout_ms=int, call_connect_timeout_ms=int, call_packet_timeout_ms=int, me_url_prefix='string', suggested_lang_code='string', lang_pack_version=int, disabled_features={DisabledFeature}} ``` diff --git a/old_docs/API_docs_v75/constructors/contact.md b/old_docs/API_docs_v75/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v75/constructors/contact.md +++ b/old_docs/API_docs_v75/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/contactBlocked.md b/old_docs/API_docs_v75/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v75/constructors/contactBlocked.md +++ b/old_docs/API_docs_v75/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/contactLinkContact.md b/old_docs/API_docs_v75/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v75/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v75/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v75/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v75/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v75/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v75/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v75/constructors/contactLinkNone.md b/old_docs/API_docs_v75/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v75/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v75/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v75/constructors/contactLinkUnknown.md b/old_docs/API_docs_v75/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v75/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v75/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v75/constructors/contactStatus.md b/old_docs/API_docs_v75/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v75/constructors/contactStatus.md +++ b/old_docs/API_docs_v75/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v75/constructors/contacts_blocked.md b/old_docs/API_docs_v75/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v75/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v75/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v75/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v75/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v75/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/contacts_contacts.md b/old_docs/API_docs_v75/constructors/contacts_contacts.md index 542bf62b..7f923ef5 100644 --- a/old_docs/API_docs_v75/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v75/constructors/contacts_contacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v75/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v75/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v75/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v75/constructors/contacts_found.md b/old_docs/API_docs_v75/constructors/contacts_found.md index ea92e466..d26ba2cf 100644 --- a/old_docs/API_docs_v75/constructors/contacts_found.md +++ b/old_docs/API_docs_v75/constructors/contacts_found.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $contacts_found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'resul ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/contacts_importedContacts.md b/old_docs/API_docs_v75/constructors/contacts_importedContacts.md index fdc042d2..250deb52 100644 --- a/old_docs/API_docs_v75/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v75/constructors/contacts_importedContacts.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/contacts_link.md b/old_docs/API_docs_v75/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v75/constructors/contacts_link.md +++ b/old_docs/API_docs_v75/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v75/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v75/constructors/contacts_resolvedPeer.md index add29235..4aa323dd 100644 --- a/old_docs/API_docs_v75/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v75/constructors/contacts_resolvedPeer.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/contacts_topPeers.md b/old_docs/API_docs_v75/constructors/contacts_topPeers.md index 8777bff2..e4728594 100644 --- a/old_docs/API_docs_v75/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v75/constructors/contacts_topPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCatego ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v75/constructors/contacts_topPeersNotModified.md index 3aa2236a..7ec0114a 100644 --- a/old_docs/API_docs_v75/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v75/constructors/contacts_topPeersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeersNotModified={_='contacts.topPeersNotModified'} ``` diff --git a/old_docs/API_docs_v75/constructors/dataJSON.md b/old_docs/API_docs_v75/constructors/dataJSON.md index c49ec0c0..a6555aea 100644 --- a/old_docs/API_docs_v75/constructors/dataJSON.md +++ b/old_docs/API_docs_v75/constructors/dataJSON.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` @@ -32,10 +32,9 @@ $dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dataJSON={_='dataJSON', data='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/dcOption.md b/old_docs/API_docs_v75/constructors/dcOption.md index d1b1f2ef..75146eef 100644 --- a/old_docs/API_docs_v75/constructors/dcOption.md +++ b/old_docs/API_docs_v75/constructors/dcOption.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'cdn' => Bool, 'static' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int]; ``` @@ -39,10 +39,9 @@ $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, cdn=Bool, static=Bool, id=int, ip_address='string', port=int} ``` diff --git a/old_docs/API_docs_v75/constructors/dialog.md b/old_docs/API_docs_v75/constructors/dialog.md index 9b8b4af4..f4b8163c 100644 --- a/old_docs/API_docs_v75/constructors/dialog.md +++ b/old_docs/API_docs_v75/constructors/dialog.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'pinned' => Bool, 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage]; ``` @@ -41,10 +41,9 @@ $dialog = ['_' => 'dialog', 'pinned' => Bool, 'peer' => Peer, 'top_message' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', pinned=Bool, peer=Peer, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, notify_settings=PeerNotifySettings, pts=int, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v75/constructors/disabledFeature.md b/old_docs/API_docs_v75/constructors/disabledFeature.md index 3ae9ddb4..15b35fd1 100644 --- a/old_docs/API_docs_v75/constructors/disabledFeature.md +++ b/old_docs/API_docs_v75/constructors/disabledFeature.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $disabledFeature = ['_' => 'disabledFeature', 'feature' => 'string', 'descriptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua disabledFeature={_='disabledFeature', feature='string', description='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/document.md b/old_docs/API_docs_v75/constructors/document.md index 1a0f1fc1..58c44a23 100644 --- a/old_docs/API_docs_v75/constructors/document.md +++ b/old_docs/API_docs_v75/constructors/document.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -40,10 +40,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, version=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v75/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v75/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v75/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v75/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v75/constructors/documentAttributeAudio.md b/old_docs/API_docs_v75/constructors/documentAttributeAudio.md index 0dc5decc..f427a05c 100644 --- a/old_docs/API_docs_v75/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v75/constructors/documentAttributeAudio.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` @@ -36,10 +36,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'du ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title='string', performer='string', waveform='bytes'} ``` diff --git a/old_docs/API_docs_v75/constructors/documentAttributeFilename.md b/old_docs/API_docs_v75/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v75/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v75/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/documentAttributeHasStickers.md b/old_docs/API_docs_v75/constructors/documentAttributeHasStickers.md index fff783df..90c58e35 100644 --- a/old_docs/API_docs_v75/constructors/documentAttributeHasStickers.md +++ b/old_docs/API_docs_v75/constructors/documentAttributeHasStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` @@ -27,10 +27,9 @@ $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeHasStickers={_='documentAttributeHasStickers'} ``` diff --git a/old_docs/API_docs_v75/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v75/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v75/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v75/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v75/constructors/documentAttributeSticker.md b/old_docs/API_docs_v75/constructors/documentAttributeSticker.md index ba5243fb..b200f7f0 100644 --- a/old_docs/API_docs_v75/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v75/constructors/documentAttributeSticker.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => 'string', 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords]; ``` @@ -35,10 +35,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', mask=Bool, alt='string', stickerset=InputStickerSet, mask_coords=MaskCoords} ``` diff --git a/old_docs/API_docs_v75/constructors/documentAttributeVideo.md b/old_docs/API_docs_v75/constructors/documentAttributeVideo.md index 85de0043..98454c67 100644 --- a/old_docs/API_docs_v75/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v75/constructors/documentAttributeVideo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'supports_streaming' => Bool, 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -36,10 +36,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', round_message=Bool, supports_streaming=Bool, duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v75/constructors/documentEmpty.md b/old_docs/API_docs_v75/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v75/constructors/documentEmpty.md +++ b/old_docs/API_docs_v75/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v75/constructors/draftMessage.md b/old_docs/API_docs_v75/constructors/draftMessage.md index 370ffaef..ecec69a1 100644 --- a/old_docs/API_docs_v75/constructors/draftMessage.md +++ b/old_docs/API_docs_v75/constructors/draftMessage.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'date' => int]; ``` @@ -36,10 +36,9 @@ $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message='string', entities={MessageEntity}, date=int} ``` diff --git a/old_docs/API_docs_v75/constructors/draftMessageEmpty.md b/old_docs/API_docs_v75/constructors/draftMessageEmpty.md index 15b2aa67..65902a71 100644 --- a/old_docs/API_docs_v75/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v75/constructors/draftMessageEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` @@ -27,10 +27,9 @@ $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessageEmpty={_='draftMessageEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/encryptedChat.md b/old_docs/API_docs_v75/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v75/constructors/encryptedChat.md +++ b/old_docs/API_docs_v75/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v75/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v75/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v75/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v75/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v75/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v75/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v75/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/encryptedChatRequested.md b/old_docs/API_docs_v75/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v75/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v75/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v75/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v75/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v75/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v75/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/encryptedFile.md b/old_docs/API_docs_v75/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v75/constructors/encryptedFile.md +++ b/old_docs/API_docs_v75/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v75/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v75/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v75/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v75/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/encryptedMessage.md b/old_docs/API_docs_v75/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v75/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v75/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v75/constructors/encryptedMessageService.md b/old_docs/API_docs_v75/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v75/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v75/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v75/constructors/error.md b/old_docs/API_docs_v75/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v75/constructors/error.md +++ b/old_docs/API_docs_v75/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/exportedMessageLink.md b/old_docs/API_docs_v75/constructors/exportedMessageLink.md index 62f9fb66..a0b4fa35 100644 --- a/old_docs/API_docs_v75/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v75/constructors/exportedMessageLink.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string', 'html' => 'string']; ``` @@ -33,10 +33,9 @@ $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string', 'html' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua exportedMessageLink={_='exportedMessageLink', link='string', html='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/fileLocation.md b/old_docs/API_docs_v75/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v75/constructors/fileLocation.md +++ b/old_docs/API_docs_v75/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v75/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v75/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v75/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v75/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v75/constructors/foundGif.md b/old_docs/API_docs_v75/constructors/foundGif.md index d8ee3695..c2f0ce33 100644 --- a/old_docs/API_docs_v75/constructors/foundGif.md +++ b/old_docs/API_docs_v75/constructors/foundGif.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` @@ -37,10 +37,9 @@ $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'con ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGif={_='foundGif', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int} ``` diff --git a/old_docs/API_docs_v75/constructors/foundGifCached.md b/old_docs/API_docs_v75/constructors/foundGifCached.md index e4a1a552..03e67917 100644 --- a/old_docs/API_docs_v75/constructors/foundGifCached.md +++ b/old_docs/API_docs_v75/constructors/foundGifCached.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -34,10 +34,9 @@ $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGifCached={_='foundGifCached', url='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v75/constructors/game.md b/old_docs/API_docs_v75/constructors/game.md index 790fbeeb..088ca95e 100644 --- a/old_docs/API_docs_v75/constructors/game.md +++ b/old_docs/API_docs_v75/constructors/game.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -38,10 +38,9 @@ $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua game={_='game', id=long, access_hash=long, short_name='string', title='string', description='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v75/constructors/geoPoint.md b/old_docs/API_docs_v75/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v75/constructors/geoPoint.md +++ b/old_docs/API_docs_v75/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v75/constructors/geoPointEmpty.md b/old_docs/API_docs_v75/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v75/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v75/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/help_appUpdate.md b/old_docs/API_docs_v75/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v75/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v75/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/help_inviteText.md b/old_docs/API_docs_v75/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v75/constructors/help_inviteText.md +++ b/old_docs/API_docs_v75/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/help_noAppUpdate.md b/old_docs/API_docs_v75/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v75/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v75/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v75/constructors/help_recentMeUrls.md b/old_docs/API_docs_v75/constructors/help_recentMeUrls.md index 4fa513b5..986fa1e7 100644 --- a/old_docs/API_docs_v75/constructors/help_recentMeUrls.md +++ b/old_docs/API_docs_v75/constructors/help_recentMeUrls.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, Recent ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/help_support.md b/old_docs/API_docs_v75/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v75/constructors/help_support.md +++ b/old_docs/API_docs_v75/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v75/constructors/help_termsOfService.md b/old_docs/API_docs_v75/constructors/help_termsOfService.md index 8e558bed..ec7a8121 100644 --- a/old_docs/API_docs_v75/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v75/constructors/help_termsOfService.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_termsOfService={_='help.termsOfService', text='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/highScore.md b/old_docs/API_docs_v75/constructors/highScore.md index 63a8ab05..265c0487 100644 --- a/old_docs/API_docs_v75/constructors/highScore.md +++ b/old_docs/API_docs_v75/constructors/highScore.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int]; ``` @@ -34,10 +34,9 @@ $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua highScore={_='highScore', pos=int, user_id=int, score=int} ``` diff --git a/old_docs/API_docs_v75/constructors/importedContact.md b/old_docs/API_docs_v75/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v75/constructors/importedContact.md +++ b/old_docs/API_docs_v75/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v75/constructors/inlineBotSwitchPM.md b/old_docs/API_docs_v75/constructors/inlineBotSwitchPM.md index 0dfd4714..b4fb8185 100644 --- a/old_docs/API_docs_v75/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v75/constructors/inlineBotSwitchPM.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` @@ -33,10 +33,9 @@ $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_par ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inlineBotSwitchPM={_='inlineBotSwitchPM', text='string', start_param='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputAppEvent.md b/old_docs/API_docs_v75/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v75/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v75/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputBotInlineMessageGame.md b/old_docs/API_docs_v75/constructors/inputBotInlineMessageGame.md index 8e59cd54..66c8997b 100644 --- a/old_docs/API_docs_v75/constructors/inputBotInlineMessageGame.md +++ b/old_docs/API_docs_v75/constructors/inputBotInlineMessageGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup]; ``` @@ -32,10 +32,9 @@ $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageGame={_='inputBotInlineMessageGame', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v75/constructors/inputBotInlineMessageID.md b/old_docs/API_docs_v75/constructors/inputBotInlineMessageID.md index 91c7586d..aecbb733 100644 --- a/old_docs/API_docs_v75/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v75/constructors/inputBotInlineMessageID.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v75/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v75/constructors/inputBotInlineMessageMediaAuto.md index 997e711e..49f736fd 100644 --- a/old_docs/API_docs_v75/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v75/constructors/inputBotInlineMessageMediaAuto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v75/constructors/inputBotInlineMessageMediaContact.md b/old_docs/API_docs_v75/constructors/inputBotInlineMessageMediaContact.md index 5b78709f..25dd9029 100644 --- a/old_docs/API_docs_v75/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v75/constructors/inputBotInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v75/constructors/inputBotInlineMessageMediaGeo.md b/old_docs/API_docs_v75/constructors/inputBotInlineMessageMediaGeo.md index 2f1f75ad..a4588d95 100644 --- a/old_docs/API_docs_v75/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v75/constructors/inputBotInlineMessageMediaGeo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'period' => int, 'reply_markup' => ReplyMarkup]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, period=int, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v75/constructors/inputBotInlineMessageMediaVenue.md b/old_docs/API_docs_v75/constructors/inputBotInlineMessageMediaVenue.md index 7dbc6a6c..56ec0745 100644 --- a/old_docs/API_docs_v75/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v75/constructors/inputBotInlineMessageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -37,10 +37,9 @@ $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'g ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v75/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v75/constructors/inputBotInlineMessageText.md index e6a0bbb7..acae47bc 100644 --- a/old_docs/API_docs_v75/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v75/constructors/inputBotInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v75/constructors/inputBotInlineResult.md b/old_docs/API_docs_v75/constructors/inputBotInlineResult.md index 668af514..34148d70 100644 --- a/old_docs/API_docs_v75/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v75/constructors/inputBotInlineResult.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage]; ``` @@ -43,10 +43,9 @@ $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v75/constructors/inputBotInlineResultDocument.md b/old_docs/API_docs_v75/constructors/inputBotInlineResultDocument.md index ad13df76..9d5f1eb6 100644 --- a/old_docs/API_docs_v75/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v75/constructors/inputBotInlineResultDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` @@ -37,10 +37,9 @@ $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultDocument={_='inputBotInlineResultDocument', id='string', type='string', title='string', description='string', document=InputDocument, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v75/constructors/inputBotInlineResultGame.md b/old_docs/API_docs_v75/constructors/inputBotInlineResultGame.md index 5967bea6..b7821035 100644 --- a/old_docs/API_docs_v75/constructors/inputBotInlineResultGame.md +++ b/old_docs/API_docs_v75/constructors/inputBotInlineResultGame.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string', 'short_name' => 'string', 'send_message' => InputBotInlineMessage]; ``` @@ -34,10 +34,9 @@ $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultGame={_='inputBotInlineResultGame', id='string', short_name='string', send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v75/constructors/inputBotInlineResultPhoto.md b/old_docs/API_docs_v75/constructors/inputBotInlineResultPhoto.md index 43f00813..271bb02e 100644 --- a/old_docs/API_docs_v75/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v75/constructors/inputBotInlineResultPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` @@ -35,10 +35,9 @@ $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id='string', type='string', photo=InputPhoto, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v75/constructors/inputChannel.md b/old_docs/API_docs_v75/constructors/inputChannel.md index b5cb3566..34ed10ca 100644 --- a/old_docs/API_docs_v75/constructors/inputChannel.md +++ b/old_docs/API_docs_v75/constructors/inputChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannel={_='inputChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v75/constructors/inputChannelEmpty.md b/old_docs/API_docs_v75/constructors/inputChannelEmpty.md index f7e18434..bd53602b 100644 --- a/old_docs/API_docs_v75/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v75/constructors/inputChannelEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` @@ -27,10 +27,9 @@ $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputChatPhoto.md b/old_docs/API_docs_v75/constructors/inputChatPhoto.md index 636d6f68..cbae66d1 100644 --- a/old_docs/API_docs_v75/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v75/constructors/inputChatPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v75/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v75/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v75/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v75/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v75/constructors/inputChatUploadedPhoto.md index 840ed815..8b5535ab 100644 --- a/old_docs/API_docs_v75/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v75/constructors/inputChatUploadedPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile]; ``` @@ -32,10 +32,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile} ``` diff --git a/old_docs/API_docs_v75/constructors/inputDocument.md b/old_docs/API_docs_v75/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v75/constructors/inputDocument.md +++ b/old_docs/API_docs_v75/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v75/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v75/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v75/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v75/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v75/constructors/inputDocumentFileLocation.md index df556f40..94ab0038 100644 --- a/old_docs/API_docs_v75/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v75/constructors/inputDocumentFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int]; ``` @@ -34,10 +34,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, version=int} ``` diff --git a/old_docs/API_docs_v75/constructors/inputEncryptedChat.md b/old_docs/API_docs_v75/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v75/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v75/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v75/constructors/inputEncryptedFile.md b/old_docs/API_docs_v75/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v75/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v75/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v75/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v75/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v75/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v75/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v75/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v75/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v75/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v75/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v75/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v75/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v75/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v75/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v75/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v75/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v75/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v75/constructors/inputFile.md b/old_docs/API_docs_v75/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v75/constructors/inputFile.md +++ b/old_docs/API_docs_v75/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputFileBig.md b/old_docs/API_docs_v75/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v75/constructors/inputFileBig.md +++ b/old_docs/API_docs_v75/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputFileLocation.md b/old_docs/API_docs_v75/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v75/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v75/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v75/constructors/inputGameID.md b/old_docs/API_docs_v75/constructors/inputGameID.md index 1fff2dd1..fba24333 100644 --- a/old_docs/API_docs_v75/constructors/inputGameID.md +++ b/old_docs/API_docs_v75/constructors/inputGameID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameID={_='inputGameID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v75/constructors/inputGameShortName.md b/old_docs/API_docs_v75/constructors/inputGameShortName.md index 742b5ae5..031e3f4c 100644 --- a/old_docs/API_docs_v75/constructors/inputGameShortName.md +++ b/old_docs/API_docs_v75/constructors/inputGameShortName.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => 'string']; ``` @@ -33,10 +33,9 @@ $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'shor ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameShortName={_='inputGameShortName', bot_id=InputUser, short_name='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputGeoPoint.md b/old_docs/API_docs_v75/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v75/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v75/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v75/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v75/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v75/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v75/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMediaContact.md b/old_docs/API_docs_v75/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v75/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v75/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMediaDocument.md b/old_docs/API_docs_v75/constructors/inputMediaDocument.md index 84065899..4b2661e2 100644 --- a/old_docs/API_docs_v75/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v75/constructors/inputMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'ttl_seconds' => int]; ``` @@ -33,10 +33,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'ttl_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument, ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMediaDocumentExternal.md b/old_docs/API_docs_v75/constructors/inputMediaDocumentExternal.md index 579f7f6d..a5b09b43 100644 --- a/old_docs/API_docs_v75/constructors/inputMediaDocumentExternal.md +++ b/old_docs/API_docs_v75/constructors/inputMediaDocumentExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'string', 'ttl_seconds' => int]; ``` @@ -33,10 +33,9 @@ $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocumentExternal={_='inputMediaDocumentExternal', url='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMediaEmpty.md b/old_docs/API_docs_v75/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v75/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v75/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMediaGame.md b/old_docs/API_docs_v75/constructors/inputMediaGame.md index 883e5672..c4cc2cfc 100644 --- a/old_docs/API_docs_v75/constructors/inputMediaGame.md +++ b/old_docs/API_docs_v75/constructors/inputMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` @@ -32,10 +32,9 @@ $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGame={_='inputMediaGame', id=InputGame} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMediaGeoLive.md b/old_docs/API_docs_v75/constructors/inputMediaGeoLive.md index bf72edfb..be8d4038 100644 --- a/old_docs/API_docs_v75/constructors/inputMediaGeoLive.md +++ b/old_docs/API_docs_v75/constructors/inputMediaGeoLive.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoLive = ['_' => 'inputMediaGeoLive', 'geo_point' => InputGeoPoint, 'period' => int]; ``` @@ -33,10 +33,9 @@ $inputMediaGeoLive = ['_' => 'inputMediaGeoLive', 'geo_point' => InputGeoPoint, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoLive={_='inputMediaGeoLive', geo_point=InputGeoPoint, period=int} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v75/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v75/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v75/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v75/constructors/inputMediaGifExternal.md index cf68972a..14153a43 100644 --- a/old_docs/API_docs_v75/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v75/constructors/inputMediaGifExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGifExternal={_='inputMediaGifExternal', url='string', q='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMediaInvoice.md b/old_docs/API_docs_v75/constructors/inputMediaInvoice.md index 7f66c4c3..e2441e27 100644 --- a/old_docs/API_docs_v75/constructors/inputMediaInvoice.md +++ b/old_docs/API_docs_v75/constructors/inputMediaInvoice.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'description' => 'string', 'photo' => InputWebDocument, 'invoice' => Invoice, 'payload' => 'bytes', 'provider' => 'string', 'provider_data' => DataJSON, 'start_param' => 'string']; ``` @@ -39,10 +39,9 @@ $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'descript ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaInvoice={_='inputMediaInvoice', title='string', description='string', photo=InputWebDocument, invoice=Invoice, payload='bytes', provider='string', provider_data=DataJSON, start_param='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMediaPhoto.md b/old_docs/API_docs_v75/constructors/inputMediaPhoto.md index c6ba1034..8089e576 100644 --- a/old_docs/API_docs_v75/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v75/constructors/inputMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'ttl_seconds' => int]; ``` @@ -33,10 +33,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'ttl_seconds' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMediaPhotoExternal.md b/old_docs/API_docs_v75/constructors/inputMediaPhotoExternal.md index 7103a02c..1db5d33b 100644 --- a/old_docs/API_docs_v75/constructors/inputMediaPhotoExternal.md +++ b/old_docs/API_docs_v75/constructors/inputMediaPhotoExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', 'ttl_seconds' => int]; ``` @@ -33,10 +33,9 @@ $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhotoExternal={_='inputMediaPhotoExternal', url='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v75/constructors/inputMediaUploadedDocument.md index e009cbb1..12d9ffd6 100644 --- a/old_docs/API_docs_v75/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v75/constructors/inputMediaUploadedDocument.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'nosound_video' => Bool, 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'stickers' => [InputDocument, InputDocument], 'ttl_seconds' => int]; ``` @@ -38,10 +38,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'nosound_vid ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', nosound_video=Bool, file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}, stickers={InputDocument}, ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v75/constructors/inputMediaUploadedPhoto.md index fe8a811a..2465f63b 100644 --- a/old_docs/API_docs_v75/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v75/constructors/inputMediaUploadedPhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'stickers' => [InputDocument, InputDocument], 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, stickers={InputDocument}, ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMediaVenue.md b/old_docs/API_docs_v75/constructors/inputMediaVenue.md index 017f62ee..6f023afa 100644 --- a/old_docs/API_docs_v75/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v75/constructors/inputMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string']; ``` @@ -37,10 +37,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', venue_type='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMessageEntityMentionName.md b/old_docs/API_docs_v75/constructors/inputMessageEntityMentionName.md index 92d5c8d9..19a0b4e3 100644 --- a/old_docs/API_docs_v75/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v75/constructors/inputMessageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser]; ``` @@ -34,10 +34,9 @@ $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessageEntityMentionName={_='inputMessageEntityMentionName', offset=int, length=int, user_id=InputUser} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMessageID.md b/old_docs/API_docs_v75/constructors/inputMessageID.md index c6123b92..fd024d43 100644 --- a/old_docs/API_docs_v75/constructors/inputMessageID.md +++ b/old_docs/API_docs_v75/constructors/inputMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessageID = ['_' => 'inputMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $inputMessageID = ['_' => 'inputMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessageID={_='inputMessageID', id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMessagePinned.md b/old_docs/API_docs_v75/constructors/inputMessagePinned.md index 4dc9197e..dde78f72 100644 --- a/old_docs/API_docs_v75/constructors/inputMessagePinned.md +++ b/old_docs/API_docs_v75/constructors/inputMessagePinned.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagePinned = ['_' => 'inputMessagePinned']; ``` @@ -27,10 +27,9 @@ $inputMessagePinned = ['_' => 'inputMessagePinned']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagePinned={_='inputMessagePinned'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMessageReplyTo.md b/old_docs/API_docs_v75/constructors/inputMessageReplyTo.md index c1737e7d..715c4cad 100644 --- a/old_docs/API_docs_v75/constructors/inputMessageReplyTo.md +++ b/old_docs/API_docs_v75/constructors/inputMessageReplyTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessageReplyTo = ['_' => 'inputMessageReplyTo', 'id' => int]; ``` @@ -32,10 +32,9 @@ $inputMessageReplyTo = ['_' => 'inputMessageReplyTo', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessageReplyTo={_='inputMessageReplyTo', id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMessagesFilterChatPhotos.md b/old_docs/API_docs_v75/constructors/inputMessagesFilterChatPhotos.md index a02425b1..b72281f3 100644 --- a/old_docs/API_docs_v75/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v75/constructors/inputMessagesFilterChatPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMessagesFilterContacts.md b/old_docs/API_docs_v75/constructors/inputMessagesFilterContacts.md index 98de3f5e..fbfc7fc2 100644 --- a/old_docs/API_docs_v75/constructors/inputMessagesFilterContacts.md +++ b/old_docs/API_docs_v75/constructors/inputMessagesFilterContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterContacts = ['_' => 'inputMessagesFilterContacts']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterContacts = ['_' => 'inputMessagesFilterContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterContacts={_='inputMessagesFilterContacts'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v75/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v75/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v75/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v75/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v75/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v75/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMessagesFilterGeo.md b/old_docs/API_docs_v75/constructors/inputMessagesFilterGeo.md index 96da554b..059d4ba1 100644 --- a/old_docs/API_docs_v75/constructors/inputMessagesFilterGeo.md +++ b/old_docs/API_docs_v75/constructors/inputMessagesFilterGeo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGeo = ['_' => 'inputMessagesFilterGeo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGeo = ['_' => 'inputMessagesFilterGeo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGeo={_='inputMessagesFilterGeo'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v75/constructors/inputMessagesFilterGif.md index 94698ecd..a3a51104 100644 --- a/old_docs/API_docs_v75/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v75/constructors/inputMessagesFilterGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v75/constructors/inputMessagesFilterMusic.md index ac6373c2..b2ed1044 100644 --- a/old_docs/API_docs_v75/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v75/constructors/inputMessagesFilterMusic.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMessagesFilterMyMentions.md b/old_docs/API_docs_v75/constructors/inputMessagesFilterMyMentions.md index 68411008..54fa6521 100644 --- a/old_docs/API_docs_v75/constructors/inputMessagesFilterMyMentions.md +++ b/old_docs/API_docs_v75/constructors/inputMessagesFilterMyMentions.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterMyMentions = ['_' => 'inputMessagesFilterMyMentions']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterMyMentions = ['_' => 'inputMessagesFilterMyMentions']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterMyMentions={_='inputMessagesFilterMyMentions'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMessagesFilterPhoneCalls.md b/old_docs/API_docs_v75/constructors/inputMessagesFilterPhoneCalls.md index 8fe8537a..0cb60836 100644 --- a/old_docs/API_docs_v75/constructors/inputMessagesFilterPhoneCalls.md +++ b/old_docs/API_docs_v75/constructors/inputMessagesFilterPhoneCalls.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool]; ``` @@ -32,10 +32,9 @@ $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'misse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhoneCalls={_='inputMessagesFilterPhoneCalls', missed=Bool} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v75/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v75/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v75/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v75/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v75/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v75/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMessagesFilterRoundVideo.md b/old_docs/API_docs_v75/constructors/inputMessagesFilterRoundVideo.md index 5bcbbb20..291ebf25 100644 --- a/old_docs/API_docs_v75/constructors/inputMessagesFilterRoundVideo.md +++ b/old_docs/API_docs_v75/constructors/inputMessagesFilterRoundVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterRoundVideo={_='inputMessagesFilterRoundVideo'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMessagesFilterRoundVoice.md b/old_docs/API_docs_v75/constructors/inputMessagesFilterRoundVoice.md index 9e018fc3..4c7fbbec 100644 --- a/old_docs/API_docs_v75/constructors/inputMessagesFilterRoundVoice.md +++ b/old_docs/API_docs_v75/constructors/inputMessagesFilterRoundVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterRoundVoice={_='inputMessagesFilterRoundVoice'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v75/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v75/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v75/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v75/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v75/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v75/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v75/constructors/inputMessagesFilterVoice.md index 026a91be..be3af22a 100644 --- a/old_docs/API_docs_v75/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v75/constructors/inputMessagesFilterVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputNotifyAll.md b/old_docs/API_docs_v75/constructors/inputNotifyAll.md index 7e23863c..4a05ec0e 100644 --- a/old_docs/API_docs_v75/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v75/constructors/inputNotifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` @@ -27,10 +27,9 @@ $inputNotifyAll = ['_' => 'inputNotifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyAll={_='inputNotifyAll'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputNotifyChats.md b/old_docs/API_docs_v75/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v75/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v75/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputNotifyPeer.md b/old_docs/API_docs_v75/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v75/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v75/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v75/constructors/inputNotifyUsers.md b/old_docs/API_docs_v75/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v75/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v75/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPaymentCredentials.md b/old_docs/API_docs_v75/constructors/inputPaymentCredentials.md index 085db55d..4e2883f9 100644 --- a/old_docs/API_docs_v75/constructors/inputPaymentCredentials.md +++ b/old_docs/API_docs_v75/constructors/inputPaymentCredentials.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'data' => DataJSON]; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentials={_='inputPaymentCredentials', save=Bool, data=DataJSON} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPaymentCredentialsAndroidPay.md b/old_docs/API_docs_v75/constructors/inputPaymentCredentialsAndroidPay.md index 7ee5312b..3912de55 100644 --- a/old_docs/API_docs_v75/constructors/inputPaymentCredentialsAndroidPay.md +++ b/old_docs/API_docs_v75/constructors/inputPaymentCredentialsAndroidPay.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentialsAndroidPay = ['_' => 'inputPaymentCredentialsAndroidPay', 'payment_token' => DataJSON, 'google_transaction_id' => 'string']; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentialsAndroidPay = ['_' => 'inputPaymentCredentialsAndroidPay' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentialsAndroidPay={_='inputPaymentCredentialsAndroidPay', payment_token=DataJSON, google_transaction_id='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPaymentCredentialsApplePay.md b/old_docs/API_docs_v75/constructors/inputPaymentCredentialsApplePay.md index 53f9901a..2f3af18e 100644 --- a/old_docs/API_docs_v75/constructors/inputPaymentCredentialsApplePay.md +++ b/old_docs/API_docs_v75/constructors/inputPaymentCredentialsApplePay.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentialsApplePay = ['_' => 'inputPaymentCredentialsApplePay', 'payment_data' => DataJSON]; ``` @@ -32,10 +32,9 @@ $inputPaymentCredentialsApplePay = ['_' => 'inputPaymentCredentialsApplePay', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentialsApplePay={_='inputPaymentCredentialsApplePay', payment_data=DataJSON} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPaymentCredentialsSaved.md b/old_docs/API_docs_v75/constructors/inputPaymentCredentialsSaved.md index 63cd678e..c205ee9a 100644 --- a/old_docs/API_docs_v75/constructors/inputPaymentCredentialsSaved.md +++ b/old_docs/API_docs_v75/constructors/inputPaymentCredentialsSaved.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => 'string', 'tmp_password' => 'bytes']; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentialsSaved={_='inputPaymentCredentialsSaved', id='string', tmp_password='bytes'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPeerChannel.md b/old_docs/API_docs_v75/constructors/inputPeerChannel.md index 8b84fe20..14c2f105 100644 --- a/old_docs/API_docs_v75/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v75/constructors/inputPeerChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPeerChat.md b/old_docs/API_docs_v75/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v75/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v75/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPeerEmpty.md b/old_docs/API_docs_v75/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v75/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v75/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v75/constructors/inputPeerNotifyEventsAll.md index 31b9bbc1..5f74bd9e 100644 --- a/old_docs/API_docs_v75/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v75/constructors/inputPeerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsAll={_='inputPeerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v75/constructors/inputPeerNotifyEventsEmpty.md index 7a40f0d2..cd53419f 100644 --- a/old_docs/API_docs_v75/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v75/constructors/inputPeerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifyEventsEmpty={_='inputPeerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v75/constructors/inputPeerNotifySettings.md index 6b281f53..cd18b39e 100644 --- a/old_docs/API_docs_v75/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v75/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPeerSelf.md b/old_docs/API_docs_v75/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v75/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v75/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPeerUser.md b/old_docs/API_docs_v75/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/old_docs/API_docs_v75/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v75/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPhoneCall.md b/old_docs/API_docs_v75/constructors/inputPhoneCall.md index 60cdf8ca..68abe88d 100644 --- a/old_docs/API_docs_v75/constructors/inputPhoneCall.md +++ b/old_docs/API_docs_v75/constructors/inputPhoneCall.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneCall={_='inputPhoneCall', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPhoneContact.md b/old_docs/API_docs_v75/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v75/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v75/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPhoto.md b/old_docs/API_docs_v75/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v75/constructors/inputPhoto.md +++ b/old_docs/API_docs_v75/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v75/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v75/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v75/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v75/constructors/inputPrivacyKeyChatInvite.md index 9c55265f..d96148d4 100644 --- a/old_docs/API_docs_v75/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v75/constructors/inputPrivacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPrivacyKeyPhoneCall.md b/old_docs/API_docs_v75/constructors/inputPrivacyKeyPhoneCall.md index b16316be..510ff979 100644 --- a/old_docs/API_docs_v75/constructors/inputPrivacyKeyPhoneCall.md +++ b/old_docs/API_docs_v75/constructors/inputPrivacyKeyPhoneCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyPhoneCall={_='inputPrivacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v75/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v75/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v75/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v75/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v75/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v75/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v75/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v75/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v75/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v75/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v75/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v75/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v75/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v75/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v75/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v75/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v75/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v75/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v75/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v75/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v75/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v75/constructors/inputReportReasonOther.md b/old_docs/API_docs_v75/constructors/inputReportReasonOther.md index 361582bd..4dbffa18 100644 --- a/old_docs/API_docs_v75/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v75/constructors/inputReportReasonOther.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonOther={_='inputReportReasonOther', text='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v75/constructors/inputReportReasonPornography.md index c18c71d3..5c80f096 100644 --- a/old_docs/API_docs_v75/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v75/constructors/inputReportReasonPornography.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` @@ -27,10 +27,9 @@ $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v75/constructors/inputReportReasonSpam.md index 19ed6687..75d59861 100644 --- a/old_docs/API_docs_v75/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v75/constructors/inputReportReasonSpam.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` @@ -27,10 +27,9 @@ $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v75/constructors/inputReportReasonViolence.md index 10fbce47..28d27e85 100644 --- a/old_docs/API_docs_v75/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v75/constructors/inputReportReasonViolence.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` @@ -27,10 +27,9 @@ $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputSingleMedia.md b/old_docs/API_docs_v75/constructors/inputSingleMedia.md index fb03aa0c..31665379 100644 --- a/old_docs/API_docs_v75/constructors/inputSingleMedia.md +++ b/old_docs/API_docs_v75/constructors/inputSingleMedia.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputSingleMedia = ['_' => 'inputSingleMedia', 'media' => InputMedia, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -34,10 +34,9 @@ $inputSingleMedia = ['_' => 'inputSingleMedia', 'media' => InputMedia, 'message' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputSingleMedia={_='inputSingleMedia', media=InputMedia, message='string', entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v75/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v75/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/old_docs/API_docs_v75/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v75/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputStickerSetID.md b/old_docs/API_docs_v75/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/old_docs/API_docs_v75/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v75/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v75/constructors/inputStickerSetItem.md b/old_docs/API_docs_v75/constructors/inputStickerSetItem.md index 2efe95ff..39b999c7 100644 --- a/old_docs/API_docs_v75/constructors/inputStickerSetItem.md +++ b/old_docs/API_docs_v75/constructors/inputStickerSetItem.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetItem = ['_' => 'inputStickerSetItem', 'document' => InputDocument, 'emoji' => 'string', 'mask_coords' => MaskCoords]; ``` @@ -34,10 +34,9 @@ $inputStickerSetItem = ['_' => 'inputStickerSetItem', 'document' => InputDocumen ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetItem={_='inputStickerSetItem', document=InputDocument, emoji='string', mask_coords=MaskCoords} ``` diff --git a/old_docs/API_docs_v75/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v75/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/old_docs/API_docs_v75/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v75/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputStickeredMediaDocument.md b/old_docs/API_docs_v75/constructors/inputStickeredMediaDocument.md index c6def51c..72da7b39 100644 --- a/old_docs/API_docs_v75/constructors/inputStickeredMediaDocument.md +++ b/old_docs/API_docs_v75/constructors/inputStickeredMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaDocument={_='inputStickeredMediaDocument', id=InputDocument} ``` diff --git a/old_docs/API_docs_v75/constructors/inputStickeredMediaPhoto.md b/old_docs/API_docs_v75/constructors/inputStickeredMediaPhoto.md index f424c329..d79cd390 100644 --- a/old_docs/API_docs_v75/constructors/inputStickeredMediaPhoto.md +++ b/old_docs/API_docs_v75/constructors/inputStickeredMediaPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaPhoto={_='inputStickeredMediaPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v75/constructors/inputUser.md b/old_docs/API_docs_v75/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/old_docs/API_docs_v75/constructors/inputUser.md +++ b/old_docs/API_docs_v75/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v75/constructors/inputUserEmpty.md b/old_docs/API_docs_v75/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v75/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v75/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputUserSelf.md b/old_docs/API_docs_v75/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v75/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v75/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v75/constructors/inputWebDocument.md b/old_docs/API_docs_v75/constructors/inputWebDocument.md index 8028cb28..cd3ceaa1 100644 --- a/old_docs/API_docs_v75/constructors/inputWebDocument.md +++ b/old_docs/API_docs_v75/constructors/inputWebDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -35,10 +35,9 @@ $inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputWebDocument={_='inputWebDocument', url='string', size=int, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v75/constructors/inputWebFileLocation.md b/old_docs/API_docs_v75/constructors/inputWebFileLocation.md index c484849b..888dcfbe 100644 --- a/old_docs/API_docs_v75/constructors/inputWebFileLocation.md +++ b/old_docs/API_docs_v75/constructors/inputWebFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'acce ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputWebFileLocation={_='inputWebFileLocation', url='string', access_hash=long} ``` diff --git a/old_docs/API_docs_v75/constructors/invoice.md b/old_docs/API_docs_v75/constructors/invoice.md index 5caa32f5..1e2de02c 100644 --- a/old_docs/API_docs_v75/constructors/invoice.md +++ b/old_docs/API_docs_v75/constructors/invoice.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_requested' => Bool, 'email_requested' => Bool, 'shipping_address_requested' => Bool, 'flexible' => Bool, 'phone_to_provider' => Bool, 'email_to_provider' => Bool, 'currency' => 'string', 'prices' => [LabeledPrice, LabeledPrice]]; ``` @@ -41,10 +41,9 @@ $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_r ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua invoice={_='invoice', test=Bool, name_requested=Bool, phone_requested=Bool, email_requested=Bool, shipping_address_requested=Bool, flexible=Bool, phone_to_provider=Bool, email_to_provider=Bool, currency='string', prices={LabeledPrice}} ``` diff --git a/old_docs/API_docs_v75/constructors/keyboardButton.md b/old_docs/API_docs_v75/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/old_docs/API_docs_v75/constructors/keyboardButton.md +++ b/old_docs/API_docs_v75/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/keyboardButtonBuy.md b/old_docs/API_docs_v75/constructors/keyboardButtonBuy.md index efff4c6c..cf11ddf6 100644 --- a/old_docs/API_docs_v75/constructors/keyboardButtonBuy.md +++ b/old_docs/API_docs_v75/constructors/keyboardButtonBuy.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonBuy={_='keyboardButtonBuy', text='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/keyboardButtonCallback.md b/old_docs/API_docs_v75/constructors/keyboardButtonCallback.md index 63e87aac..c8f86f50 100644 --- a/old_docs/API_docs_v75/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v75/constructors/keyboardButtonCallback.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` @@ -33,10 +33,9 @@ $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonCallback={_='keyboardButtonCallback', text='string', data='bytes'} ``` diff --git a/old_docs/API_docs_v75/constructors/keyboardButtonGame.md b/old_docs/API_docs_v75/constructors/keyboardButtonGame.md index 08110141..05a565a3 100644 --- a/old_docs/API_docs_v75/constructors/keyboardButtonGame.md +++ b/old_docs/API_docs_v75/constructors/keyboardButtonGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonGame={_='keyboardButtonGame', text='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/keyboardButtonRequestGeoLocation.md b/old_docs/API_docs_v75/constructors/keyboardButtonRequestGeoLocation.md index fc422d90..63d4a82f 100644 --- a/old_docs/API_docs_v75/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v75/constructors/keyboardButtonRequestGeoLocation.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/keyboardButtonRequestPhone.md b/old_docs/API_docs_v75/constructors/keyboardButtonRequestPhone.md index a1719e24..ba58979f 100644 --- a/old_docs/API_docs_v75/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v75/constructors/keyboardButtonRequestPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/keyboardButtonRow.md b/old_docs/API_docs_v75/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/old_docs/API_docs_v75/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v75/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/old_docs/API_docs_v75/constructors/keyboardButtonSwitchInline.md b/old_docs/API_docs_v75/constructors/keyboardButtonSwitchInline.md index 463c473c..52dc897a 100644 --- a/old_docs/API_docs_v75/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v75/constructors/keyboardButtonSwitchInline.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => 'string', 'query' => 'string']; ``` @@ -34,10 +34,9 @@ $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=Bool, text='string', query='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/keyboardButtonUrl.md b/old_docs/API_docs_v75/constructors/keyboardButtonUrl.md index 709d4fa9..56b86f1c 100644 --- a/old_docs/API_docs_v75/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v75/constructors/keyboardButtonUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` @@ -33,10 +33,9 @@ $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonUrl={_='keyboardButtonUrl', text='string', url='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/labeledPrice.md b/old_docs/API_docs_v75/constructors/labeledPrice.md index 22e91c77..d54f53f5 100644 --- a/old_docs/API_docs_v75/constructors/labeledPrice.md +++ b/old_docs/API_docs_v75/constructors/labeledPrice.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` @@ -33,10 +33,9 @@ $labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua labeledPrice={_='labeledPrice', label='string', amount=long} ``` diff --git a/old_docs/API_docs_v75/constructors/langPackDifference.md b/old_docs/API_docs_v75/constructors/langPackDifference.md index 59f57e24..c31de915 100644 --- a/old_docs/API_docs_v75/constructors/langPackDifference.md +++ b/old_docs/API_docs_v75/constructors/langPackDifference.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackDifference = ['_' => 'langPackDifference', 'lang_code' => 'string', 'from_version' => int, 'version' => int, 'strings' => [LangPackString, LangPackString]]; ``` @@ -35,10 +35,9 @@ $langPackDifference = ['_' => 'langPackDifference', 'lang_code' => 'string', 'fr ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackDifference={_='langPackDifference', lang_code='string', from_version=int, version=int, strings={LangPackString}} ``` diff --git a/old_docs/API_docs_v75/constructors/langPackLanguage.md b/old_docs/API_docs_v75/constructors/langPackLanguage.md index a72465ca..51a8486c 100644 --- a/old_docs/API_docs_v75/constructors/langPackLanguage.md +++ b/old_docs/API_docs_v75/constructors/langPackLanguage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackLanguage = ['_' => 'langPackLanguage', 'name' => 'string', 'native_name' => 'string', 'lang_code' => 'string']; ``` @@ -34,10 +34,9 @@ $langPackLanguage = ['_' => 'langPackLanguage', 'name' => 'string', 'native_name ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackLanguage={_='langPackLanguage', name='string', native_name='string', lang_code='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/langPackString.md b/old_docs/API_docs_v75/constructors/langPackString.md index 4034f228..35d7d117 100644 --- a/old_docs/API_docs_v75/constructors/langPackString.md +++ b/old_docs/API_docs_v75/constructors/langPackString.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackString = ['_' => 'langPackString', 'key' => 'string', 'value' => 'string']; ``` @@ -33,10 +33,9 @@ $langPackString = ['_' => 'langPackString', 'key' => 'string', 'value' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackString={_='langPackString', key='string', value='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/langPackStringDeleted.md b/old_docs/API_docs_v75/constructors/langPackStringDeleted.md index 3da641bb..c23ce8f8 100644 --- a/old_docs/API_docs_v75/constructors/langPackStringDeleted.md +++ b/old_docs/API_docs_v75/constructors/langPackStringDeleted.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackStringDeleted = ['_' => 'langPackStringDeleted', 'key' => 'string']; ``` @@ -32,10 +32,9 @@ $langPackStringDeleted = ['_' => 'langPackStringDeleted', 'key' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackStringDeleted={_='langPackStringDeleted', key='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/langPackStringPluralized.md b/old_docs/API_docs_v75/constructors/langPackStringPluralized.md index 92b0b356..37225b53 100644 --- a/old_docs/API_docs_v75/constructors/langPackStringPluralized.md +++ b/old_docs/API_docs_v75/constructors/langPackStringPluralized.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => 'string', 'zero_value' => 'string', 'one_value' => 'string', 'two_value' => 'string', 'few_value' => 'string', 'many_value' => 'string', 'other_value' => 'string']; ``` @@ -38,10 +38,9 @@ $langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackStringPluralized={_='langPackStringPluralized', key='string', zero_value='string', one_value='string', two_value='string', few_value='string', many_value='string', other_value='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/maskCoords.md b/old_docs/API_docs_v75/constructors/maskCoords.md index 21b9ad78..2d393f3a 100644 --- a/old_docs/API_docs_v75/constructors/maskCoords.md +++ b/old_docs/API_docs_v75/constructors/maskCoords.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double]; ``` @@ -35,10 +35,9 @@ $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'z ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua maskCoords={_='maskCoords', n=int, x=double, y=double, zoom=double} ``` diff --git a/old_docs/API_docs_v75/constructors/message.md b/old_docs/API_docs_v75/constructors/message.md index 98ea00b3..c7c87fd0 100644 --- a/old_docs/API_docs_v75/constructors/message.md +++ b/old_docs/API_docs_v75/constructors/message.md @@ -40,7 +40,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'views' => int, 'edit_date' => int, 'post_author' => 'string', 'grouped_id' => long]; ``` @@ -51,10 +51,9 @@ $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int, post_author='string', grouped_id=long} ``` diff --git a/old_docs/API_docs_v75/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v75/constructors/messageActionChannelCreate.md index b1750d73..2600ab63 100644 --- a/old_docs/API_docs_v75/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v75/constructors/messageActionChannelCreate.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v75/constructors/messageActionChannelMigrateFrom.md index add136dc..1fdcf3f4 100644 --- a/old_docs/API_docs_v75/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v75/constructors/messageActionChannelMigrateFrom.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 't ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v75/constructors/messageActionChatAddUser.md index 9c7de7f8..283365cd 100644 --- a/old_docs/API_docs_v75/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v75/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', users={int}} ``` diff --git a/old_docs/API_docs_v75/constructors/messageActionChatCreate.md b/old_docs/API_docs_v75/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v75/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v75/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v75/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v75/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v75/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v75/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v75/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v75/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v75/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v75/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v75/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v75/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v75/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v75/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v75/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v75/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v75/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v75/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/old_docs/API_docs_v75/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v75/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v75/constructors/messageActionChatMigrateTo.md index 21d2cb22..8ace1091 100644 --- a/old_docs/API_docs_v75/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v75/constructors/messageActionChatMigrateTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageActionCustomAction.md b/old_docs/API_docs_v75/constructors/messageActionCustomAction.md index 7dc58857..4087afcf 100644 --- a/old_docs/API_docs_v75/constructors/messageActionCustomAction.md +++ b/old_docs/API_docs_v75/constructors/messageActionCustomAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionCustomAction = ['_' => 'messageActionCustomAction', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionCustomAction = ['_' => 'messageActionCustomAction', 'message' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionCustomAction={_='messageActionCustomAction', message='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/messageActionEmpty.md b/old_docs/API_docs_v75/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v75/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v75/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/messageActionGameScore.md b/old_docs/API_docs_v75/constructors/messageActionGameScore.md index 7a459a3d..c0086b66 100644 --- a/old_docs/API_docs_v75/constructors/messageActionGameScore.md +++ b/old_docs/API_docs_v75/constructors/messageActionGameScore.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int]; ``` @@ -33,10 +33,9 @@ $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionGameScore={_='messageActionGameScore', game_id=long, score=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageActionHistoryClear.md b/old_docs/API_docs_v75/constructors/messageActionHistoryClear.md index 8b8dcc9d..90875cf6 100644 --- a/old_docs/API_docs_v75/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v75/constructors/messageActionHistoryClear.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` @@ -27,10 +27,9 @@ $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionHistoryClear={_='messageActionHistoryClear'} ``` diff --git a/old_docs/API_docs_v75/constructors/messageActionPaymentSent.md b/old_docs/API_docs_v75/constructors/messageActionPaymentSent.md index b224a125..a5c83837 100644 --- a/old_docs/API_docs_v75/constructors/messageActionPaymentSent.md +++ b/old_docs/API_docs_v75/constructors/messageActionPaymentSent.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 'string', 'total_amount' => long]; ``` @@ -33,10 +33,9 @@ $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPaymentSent={_='messageActionPaymentSent', currency='string', total_amount=long} ``` diff --git a/old_docs/API_docs_v75/constructors/messageActionPaymentSentMe.md b/old_docs/API_docs_v75/constructors/messageActionPaymentSentMe.md index f21ccce0..b1a61d01 100644 --- a/old_docs/API_docs_v75/constructors/messageActionPaymentSentMe.md +++ b/old_docs/API_docs_v75/constructors/messageActionPaymentSentMe.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' => 'string', 'total_amount' => long, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'charge' => PaymentCharge]; ``` @@ -37,10 +37,9 @@ $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPaymentSentMe={_='messageActionPaymentSentMe', currency='string', total_amount=long, payload='bytes', info=PaymentRequestedInfo, shipping_option_id='string', charge=PaymentCharge} ``` diff --git a/old_docs/API_docs_v75/constructors/messageActionPhoneCall.md b/old_docs/API_docs_v75/constructors/messageActionPhoneCall.md index f2f3eb4f..18a6c687 100644 --- a/old_docs/API_docs_v75/constructors/messageActionPhoneCall.md +++ b/old_docs/API_docs_v75/constructors/messageActionPhoneCall.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` @@ -34,10 +34,9 @@ $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPhoneCall={_='messageActionPhoneCall', call_id=long, reason=PhoneCallDiscardReason, duration=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageActionPinMessage.md b/old_docs/API_docs_v75/constructors/messageActionPinMessage.md index ffa41746..be763787 100644 --- a/old_docs/API_docs_v75/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v75/constructors/messageActionPinMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` @@ -27,10 +27,9 @@ $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/old_docs/API_docs_v75/constructors/messageActionScreenshotTaken.md b/old_docs/API_docs_v75/constructors/messageActionScreenshotTaken.md index f86b1746..cbe504c6 100644 --- a/old_docs/API_docs_v75/constructors/messageActionScreenshotTaken.md +++ b/old_docs/API_docs_v75/constructors/messageActionScreenshotTaken.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionScreenshotTaken = ['_' => 'messageActionScreenshotTaken']; ``` @@ -27,10 +27,9 @@ $messageActionScreenshotTaken = ['_' => 'messageActionScreenshotTaken']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionScreenshotTaken={_='messageActionScreenshotTaken'} ``` diff --git a/old_docs/API_docs_v75/constructors/messageEmpty.md b/old_docs/API_docs_v75/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v75/constructors/messageEmpty.md +++ b/old_docs/API_docs_v75/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageEntityBold.md b/old_docs/API_docs_v75/constructors/messageEntityBold.md index 950699fb..90f74ad5 100644 --- a/old_docs/API_docs_v75/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v75/constructors/messageEntityBold.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v75/constructors/messageEntityBotCommand.md index 8be471d3..9fb8f6a6 100644 --- a/old_docs/API_docs_v75/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v75/constructors/messageEntityBotCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageEntityCode.md b/old_docs/API_docs_v75/constructors/messageEntityCode.md index 7c701844..d236e57e 100644 --- a/old_docs/API_docs_v75/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v75/constructors/messageEntityCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageEntityEmail.md b/old_docs/API_docs_v75/constructors/messageEntityEmail.md index 35a968c7..74e910f3 100644 --- a/old_docs/API_docs_v75/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v75/constructors/messageEntityEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageEntityHashtag.md b/old_docs/API_docs_v75/constructors/messageEntityHashtag.md index 6b124e73..77e29387 100644 --- a/old_docs/API_docs_v75/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v75/constructors/messageEntityHashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageEntityItalic.md b/old_docs/API_docs_v75/constructors/messageEntityItalic.md index 25f73428..5975bae2 100644 --- a/old_docs/API_docs_v75/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v75/constructors/messageEntityItalic.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageEntityMention.md b/old_docs/API_docs_v75/constructors/messageEntityMention.md index 9eb4d266..1a21cb10 100644 --- a/old_docs/API_docs_v75/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v75/constructors/messageEntityMention.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageEntityMentionName.md b/old_docs/API_docs_v75/constructors/messageEntityMentionName.md index b546570b..0fe142c5 100644 --- a/old_docs/API_docs_v75/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v75/constructors/messageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int]; ``` @@ -34,10 +34,9 @@ $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageEntityPre.md b/old_docs/API_docs_v75/constructors/messageEntityPre.md index abfc9136..13b165fe 100644 --- a/old_docs/API_docs_v75/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v75/constructors/messageEntityPre.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPre={_='messageEntityPre', offset=int, length=int, language='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v75/constructors/messageEntityTextUrl.md index 91f6d36c..b6d82843 100644 --- a/old_docs/API_docs_v75/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v75/constructors/messageEntityTextUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/messageEntityUnknown.md b/old_docs/API_docs_v75/constructors/messageEntityUnknown.md index 69ca8a1b..4c434fd7 100644 --- a/old_docs/API_docs_v75/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v75/constructors/messageEntityUnknown.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageEntityUrl.md b/old_docs/API_docs_v75/constructors/messageEntityUrl.md index 377c3dda..2cf334a5 100644 --- a/old_docs/API_docs_v75/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v75/constructors/messageEntityUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageFwdHeader.md b/old_docs/API_docs_v75/constructors/messageFwdHeader.md index 17fd301c..3fe7ca9b 100644 --- a/old_docs/API_docs_v75/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v75/constructors/messageFwdHeader.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, 'post_author' => 'string', 'saved_from_peer' => Peer, 'saved_from_msg_id' => int]; ``` @@ -38,10 +38,9 @@ $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int, post_author='string', saved_from_peer=Peer, saved_from_msg_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageMediaContact.md b/old_docs/API_docs_v75/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v75/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v75/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageMediaDocument.md b/old_docs/API_docs_v75/constructors/messageMediaDocument.md index b91e7db9..9abbd247 100644 --- a/old_docs/API_docs_v75/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v75/constructors/messageMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'ttl_seconds' => int]; ``` @@ -33,10 +33,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document, ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageMediaEmpty.md b/old_docs/API_docs_v75/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v75/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v75/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/messageMediaGame.md b/old_docs/API_docs_v75/constructors/messageMediaGame.md index e97b2bd1..980dbbcc 100644 --- a/old_docs/API_docs_v75/constructors/messageMediaGame.md +++ b/old_docs/API_docs_v75/constructors/messageMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` @@ -32,10 +32,9 @@ $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGame={_='messageMediaGame', game=Game} ``` diff --git a/old_docs/API_docs_v75/constructors/messageMediaGeo.md b/old_docs/API_docs_v75/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v75/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v75/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v75/constructors/messageMediaGeoLive.md b/old_docs/API_docs_v75/constructors/messageMediaGeoLive.md index f77c0a16..b238f66e 100644 --- a/old_docs/API_docs_v75/constructors/messageMediaGeoLive.md +++ b/old_docs/API_docs_v75/constructors/messageMediaGeoLive.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeoLive = ['_' => 'messageMediaGeoLive', 'geo' => GeoPoint, 'period' => int]; ``` @@ -33,10 +33,9 @@ $messageMediaGeoLive = ['_' => 'messageMediaGeoLive', 'geo' => GeoPoint, 'period ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeoLive={_='messageMediaGeoLive', geo=GeoPoint, period=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageMediaInvoice.md b/old_docs/API_docs_v75/constructors/messageMediaInvoice.md index dff83700..e7514d50 100644 --- a/old_docs/API_docs_v75/constructors/messageMediaInvoice.md +++ b/old_docs/API_docs_v75/constructors/messageMediaInvoice.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requested' => Bool, 'test' => Bool, 'title' => 'string', 'description' => 'string', 'photo' => WebDocument, 'receipt_msg_id' => int, 'currency' => 'string', 'total_amount' => long, 'start_param' => 'string']; ``` @@ -40,10 +40,9 @@ $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requeste ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaInvoice={_='messageMediaInvoice', shipping_address_requested=Bool, test=Bool, title='string', description='string', photo=WebDocument, receipt_msg_id=int, currency='string', total_amount=long, start_param='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/messageMediaPhoto.md b/old_docs/API_docs_v75/constructors/messageMediaPhoto.md index 530e1abf..f7a94ced 100644 --- a/old_docs/API_docs_v75/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v75/constructors/messageMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'ttl_seconds' => int]; ``` @@ -33,10 +33,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'ttl_seconds ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v75/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v75/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v75/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v75/constructors/messageMediaVenue.md b/old_docs/API_docs_v75/constructors/messageMediaVenue.md index 7d529bf1..4d1ff1b7 100644 --- a/old_docs/API_docs_v75/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v75/constructors/messageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string']; ``` @@ -37,10 +37,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string', venue_type='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/messageMediaWebPage.md b/old_docs/API_docs_v75/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v75/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v75/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v75/constructors/messageRange.md b/old_docs/API_docs_v75/constructors/messageRange.md index 40c3f81a..527e8646 100644 --- a/old_docs/API_docs_v75/constructors/messageRange.md +++ b/old_docs/API_docs_v75/constructors/messageRange.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageRange={_='messageRange', min_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messageService.md b/old_docs/API_docs_v75/constructors/messageService.md index 8f47e32f..f9946e72 100644 --- a/old_docs/API_docs_v75/constructors/messageService.md +++ b/old_docs/API_docs_v75/constructors/messageService.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction]; ``` @@ -42,10 +42,9 @@ $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_affectedHistory.md b/old_docs/API_docs_v75/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v75/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v75/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_affectedMessages.md b/old_docs/API_docs_v75/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v75/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v75/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_allStickers.md b/old_docs/API_docs_v75/constructors/messages_allStickers.md index 2a7d1313..45a66ddf 100644 --- a/old_docs/API_docs_v75/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v75/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v75/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v75/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v75/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_archivedStickers.md b/old_docs/API_docs_v75/constructors/messages_archivedStickers.md index 458c74b9..639d174b 100644 --- a/old_docs/API_docs_v75/constructors/messages_archivedStickers.md +++ b/old_docs/API_docs_v75/constructors/messages_archivedStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -33,10 +33,9 @@ $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v75/constructors/messages_botCallbackAnswer.md index 657ba0fc..f7536196 100644 --- a/old_docs/API_docs_v75/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v75/constructors/messages_botCallbackAnswer.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; ``` @@ -37,10 +37,9 @@ $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_botResults.md b/old_docs/API_docs_v75/constructors/messages_botResults.md index 514517e4..5c946daa 100644 --- a/old_docs/API_docs_v75/constructors/messages_botResults.md +++ b/old_docs/API_docs_v75/constructors/messages_botResults.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_channelMessages.md b/old_docs/API_docs_v75/constructors/messages_channelMessages.md index 43f4cdc6..0da0608d 100644 --- a/old_docs/API_docs_v75/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v75/constructors/messages_channelMessages.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'c ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_chatFull.md b/old_docs/API_docs_v75/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v75/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v75/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_chats.md b/old_docs/API_docs_v75/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v75/constructors/messages_chats.md +++ b/old_docs/API_docs_v75/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_chatsSlice.md b/old_docs/API_docs_v75/constructors/messages_chatsSlice.md index 83905f64..d6a204d4 100644 --- a/old_docs/API_docs_v75/constructors/messages_chatsSlice.md +++ b/old_docs/API_docs_v75/constructors/messages_chatsSlice.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; ``` @@ -33,10 +33,9 @@ $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_dhConfig.md b/old_docs/API_docs_v75/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v75/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v75/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v75/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v75/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v75/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_dialogs.md b/old_docs/API_docs_v75/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v75/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v75/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v75/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v75/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v75/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_favedStickers.md b/old_docs/API_docs_v75/constructors/messages_favedStickers.md index b0501427..d058813a 100644 --- a/old_docs/API_docs_v75/constructors/messages_favedStickers.md +++ b/old_docs/API_docs_v75/constructors/messages_favedStickers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_favedStickersNotModified.md b/old_docs/API_docs_v75/constructors/messages_favedStickersNotModified.md index a5215247..91c1ec51 100644 --- a/old_docs/API_docs_v75/constructors/messages_favedStickersNotModified.md +++ b/old_docs/API_docs_v75/constructors/messages_favedStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_favedStickersNotModified={_='messages.favedStickersNotModified'} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_featuredStickers.md b/old_docs/API_docs_v75/constructors/messages_featuredStickers.md index 0ec8be8b..f40ec583 100644 --- a/old_docs/API_docs_v75/constructors/messages_featuredStickers.md +++ b/old_docs/API_docs_v75/constructors/messages_featuredStickers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; ``` @@ -34,10 +34,9 @@ $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v75/constructors/messages_featuredStickersNotModified.md index 87d2e6c7..3457ff96 100644 --- a/old_docs/API_docs_v75/constructors/messages_featuredStickersNotModified.md +++ b/old_docs/API_docs_v75/constructors/messages_featuredStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotMod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_foundGifs.md b/old_docs/API_docs_v75/constructors/messages_foundGifs.md index f86a9fed..4d513264 100644 --- a/old_docs/API_docs_v75/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v75/constructors/messages_foundGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; ``` @@ -33,10 +33,9 @@ $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'resul ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_highScores.md b/old_docs/API_docs_v75/constructors/messages_highScores.md index 1af58a14..08692c07 100644 --- a/old_docs/API_docs_v75/constructors/messages_highScores.md +++ b/old_docs/API_docs_v75/constructors/messages_highScores.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, Hi ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_messageEditData.md b/old_docs/API_docs_v75/constructors/messages_messageEditData.md index aee6e179..fe0f3ab3 100644 --- a/old_docs/API_docs_v75/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v75/constructors/messages_messageEditData.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` @@ -32,10 +32,9 @@ $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messageEditData={_='messages.messageEditData', caption=Bool} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_messages.md b/old_docs/API_docs_v75/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v75/constructors/messages_messages.md +++ b/old_docs/API_docs_v75/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_messagesNotModified.md b/old_docs/API_docs_v75/constructors/messages_messagesNotModified.md index 524d4c6f..05c192e5 100644 --- a/old_docs/API_docs_v75/constructors/messages_messagesNotModified.md +++ b/old_docs/API_docs_v75/constructors/messages_messagesNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; ``` @@ -32,10 +32,9 @@ $messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesNotModified={_='messages.messagesNotModified', count=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_messagesSlice.md b/old_docs/API_docs_v75/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v75/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v75/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_peerDialogs.md b/old_docs/API_docs_v75/constructors/messages_peerDialogs.md index 93601b21..60aa48e6 100644 --- a/old_docs/API_docs_v75/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v75/constructors/messages_peerDialogs.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -36,10 +36,9 @@ $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Di ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_recentStickers.md b/old_docs/API_docs_v75/constructors/messages_recentStickers.md index b2ea1fa7..47a5c591 100644 --- a/old_docs/API_docs_v75/constructors/messages_recentStickers.md +++ b/old_docs/API_docs_v75/constructors/messages_recentStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v75/constructors/messages_recentStickersNotModified.md index 9bf964da..c3c4f654 100644 --- a/old_docs/API_docs_v75/constructors/messages_recentStickersNotModified.md +++ b/old_docs/API_docs_v75/constructors/messages_recentStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModifie ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickersNotModified={_='messages.recentStickersNotModified'} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_savedGifs.md b/old_docs/API_docs_v75/constructors/messages_savedGifs.md index 4a254ab5..ae7e595f 100644 --- a/old_docs/API_docs_v75/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v75/constructors/messages_savedGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Do ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v75/constructors/messages_savedGifsNotModified.md index 65c17d0c..ef0db669 100644 --- a/old_docs/API_docs_v75/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v75/constructors/messages_savedGifsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` @@ -27,10 +27,9 @@ $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifsNotModified={_='messages.savedGifsNotModified'} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v75/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v75/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v75/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v75/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v75/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v75/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_stickerSet.md b/old_docs/API_docs_v75/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/old_docs/API_docs_v75/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v75/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v75/constructors/messages_stickerSetInstallResultArchive.md index 2f66cfa0..f43e11c0 100644 --- a/old_docs/API_docs_v75/constructors/messages_stickerSetInstallResultArchive.md +++ b/old_docs/API_docs_v75/constructors/messages_stickerSetInstallResultArchive.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -32,10 +32,9 @@ $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v75/constructors/messages_stickerSetInstallResultSuccess.md index ef5752a2..bb6b00f3 100644 --- a/old_docs/API_docs_v75/constructors/messages_stickerSetInstallResultSuccess.md +++ b/old_docs/API_docs_v75/constructors/messages_stickerSetInstallResultSuccess.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; ``` @@ -27,10 +27,9 @@ $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_stickers.md b/old_docs/API_docs_v75/constructors/messages_stickers.md index cee0eca3..44b5a6aa 100644 --- a/old_docs/API_docs_v75/constructors/messages_stickers.md +++ b/old_docs/API_docs_v75/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash='string', stickers={Document}} ``` diff --git a/old_docs/API_docs_v75/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v75/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v75/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v75/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v75/constructors/nearestDc.md b/old_docs/API_docs_v75/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v75/constructors/nearestDc.md +++ b/old_docs/API_docs_v75/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v75/constructors/notifyAll.md b/old_docs/API_docs_v75/constructors/notifyAll.md index fe98f0d3..8a296b55 100644 --- a/old_docs/API_docs_v75/constructors/notifyAll.md +++ b/old_docs/API_docs_v75/constructors/notifyAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyAll = ['_' => 'notifyAll']; ``` @@ -27,10 +27,9 @@ $notifyAll = ['_' => 'notifyAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyAll={_='notifyAll'} ``` diff --git a/old_docs/API_docs_v75/constructors/notifyChats.md b/old_docs/API_docs_v75/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v75/constructors/notifyChats.md +++ b/old_docs/API_docs_v75/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v75/constructors/notifyPeer.md b/old_docs/API_docs_v75/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v75/constructors/notifyPeer.md +++ b/old_docs/API_docs_v75/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v75/constructors/notifyUsers.md b/old_docs/API_docs_v75/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v75/constructors/notifyUsers.md +++ b/old_docs/API_docs_v75/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockAnchor.md b/old_docs/API_docs_v75/constructors/pageBlockAnchor.md index af7f7c2b..5a5757fb 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockAnchor.md +++ b/old_docs/API_docs_v75/constructors/pageBlockAnchor.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` @@ -32,10 +32,9 @@ $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAnchor={_='pageBlockAnchor', name='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockAudio.md b/old_docs/API_docs_v75/constructors/pageBlockAudio.md index 5a7b97c0..af68cf19 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockAudio.md +++ b/old_docs/API_docs_v75/constructors/pageBlockAudio.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAudio = ['_' => 'pageBlockAudio', 'audio_id' => long, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockAudio = ['_' => 'pageBlockAudio', 'audio_id' => long, 'caption' => Ric ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAudio={_='pageBlockAudio', audio_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockAuthorDate.md b/old_docs/API_docs_v75/constructors/pageBlockAuthorDate.md index 4f746156..03daab4b 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockAuthorDate.md +++ b/old_docs/API_docs_v75/constructors/pageBlockAuthorDate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int]; ``` @@ -33,10 +33,9 @@ $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'pub ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAuthorDate={_='pageBlockAuthorDate', author=RichText, published_date=int} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockBlockquote.md b/old_docs/API_docs_v75/constructors/pageBlockBlockquote.md index f78ad5bd..c34f378d 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockBlockquote.md +++ b/old_docs/API_docs_v75/constructors/pageBlockBlockquote.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'capti ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockBlockquote={_='pageBlockBlockquote', text=RichText, caption=RichText} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockChannel.md b/old_docs/API_docs_v75/constructors/pageBlockChannel.md index 6cd78457..95ddd37b 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockChannel.md +++ b/old_docs/API_docs_v75/constructors/pageBlockChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat]; ``` @@ -32,10 +32,9 @@ $pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockChannel={_='pageBlockChannel', channel=Chat} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockCollage.md b/old_docs/API_docs_v75/constructors/pageBlockCollage.md index 45bdee72..beaf8ba2 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockCollage.md +++ b/old_docs/API_docs_v75/constructors/pageBlockCollage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock, PageBlock ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockCollage={_='pageBlockCollage', items={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockCover.md b/old_docs/API_docs_v75/constructors/pageBlockCover.md index 8e8db49e..8c96a1af 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockCover.md +++ b/old_docs/API_docs_v75/constructors/pageBlockCover.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` @@ -32,10 +32,9 @@ $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockCover={_='pageBlockCover', cover=PageBlock} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockDivider.md b/old_docs/API_docs_v75/constructors/pageBlockDivider.md index 5f444cce..ee3e75b7 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockDivider.md +++ b/old_docs/API_docs_v75/constructors/pageBlockDivider.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockDivider = ['_' => 'pageBlockDivider']; ``` @@ -27,10 +27,9 @@ $pageBlockDivider = ['_' => 'pageBlockDivider']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockDivider={_='pageBlockDivider'} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockEmbed.md b/old_docs/API_docs_v75/constructors/pageBlockEmbed.md index 3e508369..9c72b889 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockEmbed.md +++ b/old_docs/API_docs_v75/constructors/pageBlockEmbed.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => 'string', 'html' => 'string', 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText]; ``` @@ -39,10 +39,9 @@ $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolli ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockEmbed={_='pageBlockEmbed', full_width=Bool, allow_scrolling=Bool, url='string', html='string', poster_photo_id=long, w=int, h=int, caption=RichText} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockEmbedPost.md b/old_docs/API_docs_v75/constructors/pageBlockEmbedPost.md index 24c622e6..684952c1 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockEmbedPost.md +++ b/old_docs/API_docs_v75/constructors/pageBlockEmbedPost.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_id' => long, 'author_photo_id' => long, 'author' => 'string', 'date' => int, 'blocks' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -38,10 +38,9 @@ $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockEmbedPost={_='pageBlockEmbedPost', url='string', webpage_id=long, author_photo_id=long, author='string', date=int, blocks={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockFooter.md b/old_docs/API_docs_v75/constructors/pageBlockFooter.md index 3caeb971..e467eb94 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockFooter.md +++ b/old_docs/API_docs_v75/constructors/pageBlockFooter.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockFooter={_='pageBlockFooter', text=RichText} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockHeader.md b/old_docs/API_docs_v75/constructors/pageBlockHeader.md index 950037d0..761196e1 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockHeader.md +++ b/old_docs/API_docs_v75/constructors/pageBlockHeader.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockHeader={_='pageBlockHeader', text=RichText} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockList.md b/old_docs/API_docs_v75/constructors/pageBlockList.md index 37371b18..f841cf2f 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockList.md +++ b/old_docs/API_docs_v75/constructors/pageBlockList.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText, RichText]]; ``` @@ -33,10 +33,9 @@ $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichTex ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockList={_='pageBlockList', ordered=Bool, items={RichText}} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockParagraph.md b/old_docs/API_docs_v75/constructors/pageBlockParagraph.md index 6b22950e..897a7870 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockParagraph.md +++ b/old_docs/API_docs_v75/constructors/pageBlockParagraph.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockParagraph={_='pageBlockParagraph', text=RichText} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockPhoto.md b/old_docs/API_docs_v75/constructors/pageBlockPhoto.md index e80e16f4..470dbc15 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockPhoto.md +++ b/old_docs/API_docs_v75/constructors/pageBlockPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => Ric ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPhoto={_='pageBlockPhoto', photo_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockPreformatted.md b/old_docs/API_docs_v75/constructors/pageBlockPreformatted.md index 49cb8b08..bd505a25 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockPreformatted.md +++ b/old_docs/API_docs_v75/constructors/pageBlockPreformatted.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => 'string']; ``` @@ -33,10 +33,9 @@ $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPreformatted={_='pageBlockPreformatted', text=RichText, language='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockPullquote.md b/old_docs/API_docs_v75/constructors/pageBlockPullquote.md index d73389da..744215e3 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockPullquote.md +++ b/old_docs/API_docs_v75/constructors/pageBlockPullquote.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPullquote={_='pageBlockPullquote', text=RichText, caption=RichText} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockSlideshow.md b/old_docs/API_docs_v75/constructors/pageBlockSlideshow.md index d855e4d8..4a827931 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockSlideshow.md +++ b/old_docs/API_docs_v75/constructors/pageBlockSlideshow.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock, PageB ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSlideshow={_='pageBlockSlideshow', items={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockSubheader.md b/old_docs/API_docs_v75/constructors/pageBlockSubheader.md index 6b6a332e..094c5d2e 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockSubheader.md +++ b/old_docs/API_docs_v75/constructors/pageBlockSubheader.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSubheader={_='pageBlockSubheader', text=RichText} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockSubtitle.md b/old_docs/API_docs_v75/constructors/pageBlockSubtitle.md index 017112c2..6ad657c0 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockSubtitle.md +++ b/old_docs/API_docs_v75/constructors/pageBlockSubtitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSubtitle={_='pageBlockSubtitle', text=RichText} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockTitle.md b/old_docs/API_docs_v75/constructors/pageBlockTitle.md index 9dfe94d2..5c6d228b 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockTitle.md +++ b/old_docs/API_docs_v75/constructors/pageBlockTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockTitle={_='pageBlockTitle', text=RichText} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockUnsupported.md b/old_docs/API_docs_v75/constructors/pageBlockUnsupported.md index 8d127c6d..a0895079 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockUnsupported.md +++ b/old_docs/API_docs_v75/constructors/pageBlockUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` @@ -27,10 +27,9 @@ $pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockUnsupported={_='pageBlockUnsupported'} ``` diff --git a/old_docs/API_docs_v75/constructors/pageBlockVideo.md b/old_docs/API_docs_v75/constructors/pageBlockVideo.md index 03a04d1b..27c2ed6f 100644 --- a/old_docs/API_docs_v75/constructors/pageBlockVideo.md +++ b/old_docs/API_docs_v75/constructors/pageBlockVideo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText]; ``` @@ -35,10 +35,9 @@ $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockVideo={_='pageBlockVideo', autoplay=Bool, loop=Bool, video_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v75/constructors/pageFull.md b/old_docs/API_docs_v75/constructors/pageFull.md index 493f1403..40bae0d4 100644 --- a/old_docs/API_docs_v75/constructors/pageFull.md +++ b/old_docs/API_docs_v75/constructors/pageFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock, PageBlock], 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageFull={_='pageFull', blocks={PageBlock}, photos={Photo}, documents={Document}} ``` diff --git a/old_docs/API_docs_v75/constructors/pagePart.md b/old_docs/API_docs_v75/constructors/pagePart.md index 3e2261ef..430bd942 100644 --- a/old_docs/API_docs_v75/constructors/pagePart.md +++ b/old_docs/API_docs_v75/constructors/pagePart.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock, PageBlock], 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pagePart={_='pagePart', blocks={PageBlock}, photos={Photo}, documents={Document}} ``` diff --git a/old_docs/API_docs_v75/constructors/paymentCharge.md b/old_docs/API_docs_v75/constructors/paymentCharge.md index 83a0d433..56e8e040 100644 --- a/old_docs/API_docs_v75/constructors/paymentCharge.md +++ b/old_docs/API_docs_v75/constructors/paymentCharge.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' => 'string']; ``` @@ -33,10 +33,9 @@ $paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentCharge={_='paymentCharge', id='string', provider_charge_id='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/paymentRequestedInfo.md b/old_docs/API_docs_v75/constructors/paymentRequestedInfo.md index e4b6562a..767ec982 100644 --- a/old_docs/API_docs_v75/constructors/paymentRequestedInfo.md +++ b/old_docs/API_docs_v75/constructors/paymentRequestedInfo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'phone' => 'string', 'email' => 'string', 'shipping_address' => PostAddress]; ``` @@ -35,10 +35,9 @@ $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'pho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentRequestedInfo={_='paymentRequestedInfo', name='string', phone='string', email='string', shipping_address=PostAddress} ``` diff --git a/old_docs/API_docs_v75/constructors/paymentSavedCredentialsCard.md b/old_docs/API_docs_v75/constructors/paymentSavedCredentialsCard.md index 6fc4e934..43b2baf6 100644 --- a/old_docs/API_docs_v75/constructors/paymentSavedCredentialsCard.md +++ b/old_docs/API_docs_v75/constructors/paymentSavedCredentialsCard.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 'string', 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentSavedCredentialsCard={_='paymentSavedCredentialsCard', id='string', title='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/payments_paymentForm.md b/old_docs/API_docs_v75/constructors/payments_paymentForm.md index 74cca6f4..00d9349d 100644 --- a/old_docs/API_docs_v75/constructors/payments_paymentForm.md +++ b/old_docs/API_docs_v75/constructors/payments_paymentForm.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; ``` @@ -42,10 +42,9 @@ $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v75/constructors/payments_paymentReceipt.md index fdf741b4..068f5869 100644 --- a/old_docs/API_docs_v75/constructors/payments_paymentReceipt.md +++ b/old_docs/API_docs_v75/constructors/payments_paymentReceipt.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; ``` @@ -41,10 +41,9 @@ $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/payments_paymentResult.md b/old_docs/API_docs_v75/constructors/payments_paymentResult.md index 7ae00170..a5679a5f 100644 --- a/old_docs/API_docs_v75/constructors/payments_paymentResult.md +++ b/old_docs/API_docs_v75/constructors/payments_paymentResult.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; ``` @@ -32,10 +32,9 @@ $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentResult={_='payments.paymentResult', updates=Updates} ``` diff --git a/old_docs/API_docs_v75/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v75/constructors/payments_paymentVerficationNeeded.md index 4a3f8cdf..e4ca7a8e 100644 --- a/old_docs/API_docs_v75/constructors/payments_paymentVerficationNeeded.md +++ b/old_docs/API_docs_v75/constructors/payments_paymentVerficationNeeded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; ``` @@ -32,10 +32,9 @@ $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/payments_savedInfo.md b/old_docs/API_docs_v75/constructors/payments_savedInfo.md index 3daf671f..c81761c4 100644 --- a/old_docs/API_docs_v75/constructors/payments_savedInfo.md +++ b/old_docs/API_docs_v75/constructors/payments_savedInfo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; ``` @@ -33,10 +33,9 @@ $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} ``` diff --git a/old_docs/API_docs_v75/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v75/constructors/payments_validatedRequestedInfo.md index 676388b7..b84afd83 100644 --- a/old_docs/API_docs_v75/constructors/payments_validatedRequestedInfo.md +++ b/old_docs/API_docs_v75/constructors/payments_validatedRequestedInfo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; ``` @@ -33,10 +33,9 @@ $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} ``` diff --git a/old_docs/API_docs_v75/constructors/peerChannel.md b/old_docs/API_docs_v75/constructors/peerChannel.md index f30e3f41..360d5c42 100644 --- a/old_docs/API_docs_v75/constructors/peerChannel.md +++ b/old_docs/API_docs_v75/constructors/peerChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/peerChat.md b/old_docs/API_docs_v75/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v75/constructors/peerChat.md +++ b/old_docs/API_docs_v75/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v75/constructors/peerNotifyEventsAll.md index 63e613b0..024e5dd9 100644 --- a/old_docs/API_docs_v75/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v75/constructors/peerNotifyEventsAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsAll={_='peerNotifyEventsAll'} ``` diff --git a/old_docs/API_docs_v75/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v75/constructors/peerNotifyEventsEmpty.md index 70ec4f8f..f37f0e15 100644 --- a/old_docs/API_docs_v75/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v75/constructors/peerNotifyEventsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifyEventsEmpty={_='peerNotifyEventsEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/peerNotifySettings.md b/old_docs/API_docs_v75/constructors/peerNotifySettings.md index f011beb7..2007e4ee 100644 --- a/old_docs/API_docs_v75/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v75/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'si ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v75/constructors/peerNotifySettingsEmpty.md index 544d088c..1b74e036 100644 --- a/old_docs/API_docs_v75/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v75/constructors/peerNotifySettingsEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` @@ -27,10 +27,9 @@ $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettingsEmpty={_='peerNotifySettingsEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/peerSettings.md b/old_docs/API_docs_v75/constructors/peerSettings.md index 8f74bb50..2468fee4 100644 --- a/old_docs/API_docs_v75/constructors/peerSettings.md +++ b/old_docs/API_docs_v75/constructors/peerSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` @@ -32,10 +32,9 @@ $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerSettings={_='peerSettings', report_spam=Bool} ``` diff --git a/old_docs/API_docs_v75/constructors/peerUser.md b/old_docs/API_docs_v75/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v75/constructors/peerUser.md +++ b/old_docs/API_docs_v75/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/phoneCall.md b/old_docs/API_docs_v75/constructors/phoneCall.md index 8104b557..b233076d 100644 --- a/old_docs/API_docs_v75/constructors/phoneCall.md +++ b/old_docs/API_docs_v75/constructors/phoneCall.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, 'connection' => PhoneConnection, 'alternative_connections' => [PhoneConnection, PhoneConnection], 'start_date' => int]; ``` @@ -42,10 +42,9 @@ $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCall={_='phoneCall', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, connection=PhoneConnection, alternative_connections={PhoneConnection}, start_date=int} ``` diff --git a/old_docs/API_docs_v75/constructors/phoneCallAccepted.md b/old_docs/API_docs_v75/constructors/phoneCallAccepted.md index cae97485..80795514 100644 --- a/old_docs/API_docs_v75/constructors/phoneCallAccepted.md +++ b/old_docs/API_docs_v75/constructors/phoneCallAccepted.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` @@ -38,10 +38,9 @@ $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallAccepted={_='phoneCallAccepted', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_b='bytes', protocol=PhoneCallProtocol} ``` diff --git a/old_docs/API_docs_v75/constructors/phoneCallDiscardReasonBusy.md b/old_docs/API_docs_v75/constructors/phoneCallDiscardReasonBusy.md index 10d47acd..8912371f 100644 --- a/old_docs/API_docs_v75/constructors/phoneCallDiscardReasonBusy.md +++ b/old_docs/API_docs_v75/constructors/phoneCallDiscardReasonBusy.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonBusy={_='phoneCallDiscardReasonBusy'} ``` diff --git a/old_docs/API_docs_v75/constructors/phoneCallDiscardReasonDisconnect.md b/old_docs/API_docs_v75/constructors/phoneCallDiscardReasonDisconnect.md index b059c909..3a77aced 100644 --- a/old_docs/API_docs_v75/constructors/phoneCallDiscardReasonDisconnect.md +++ b/old_docs/API_docs_v75/constructors/phoneCallDiscardReasonDisconnect.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonDisconnect={_='phoneCallDiscardReasonDisconnect'} ``` diff --git a/old_docs/API_docs_v75/constructors/phoneCallDiscardReasonHangup.md b/old_docs/API_docs_v75/constructors/phoneCallDiscardReasonHangup.md index 8e6e311c..cac342da 100644 --- a/old_docs/API_docs_v75/constructors/phoneCallDiscardReasonHangup.md +++ b/old_docs/API_docs_v75/constructors/phoneCallDiscardReasonHangup.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonHangup={_='phoneCallDiscardReasonHangup'} ``` diff --git a/old_docs/API_docs_v75/constructors/phoneCallDiscardReasonMissed.md b/old_docs/API_docs_v75/constructors/phoneCallDiscardReasonMissed.md index b8199e88..e10648eb 100644 --- a/old_docs/API_docs_v75/constructors/phoneCallDiscardReasonMissed.md +++ b/old_docs/API_docs_v75/constructors/phoneCallDiscardReasonMissed.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonMissed={_='phoneCallDiscardReasonMissed'} ``` diff --git a/old_docs/API_docs_v75/constructors/phoneCallDiscarded.md b/old_docs/API_docs_v75/constructors/phoneCallDiscarded.md index 69fd1caa..e20027a5 100644 --- a/old_docs/API_docs_v75/constructors/phoneCallDiscarded.md +++ b/old_docs/API_docs_v75/constructors/phoneCallDiscarded.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` @@ -36,10 +36,9 @@ $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscarded={_='phoneCallDiscarded', need_rating=Bool, need_debug=Bool, id=long, reason=PhoneCallDiscardReason, duration=int} ``` diff --git a/old_docs/API_docs_v75/constructors/phoneCallEmpty.md b/old_docs/API_docs_v75/constructors/phoneCallEmpty.md index cfb8125b..a51f3ea2 100644 --- a/old_docs/API_docs_v75/constructors/phoneCallEmpty.md +++ b/old_docs/API_docs_v75/constructors/phoneCallEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallEmpty={_='phoneCallEmpty', id=long} ``` diff --git a/old_docs/API_docs_v75/constructors/phoneCallProtocol.md b/old_docs/API_docs_v75/constructors/phoneCallProtocol.md index 9f0e2eed..01574fa2 100644 --- a/old_docs/API_docs_v75/constructors/phoneCallProtocol.md +++ b/old_docs/API_docs_v75/constructors/phoneCallProtocol.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int]; ``` @@ -35,10 +35,9 @@ $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflec ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallProtocol={_='phoneCallProtocol', udp_p2p=Bool, udp_reflector=Bool, min_layer=int, max_layer=int} ``` diff --git a/old_docs/API_docs_v75/constructors/phoneCallRequested.md b/old_docs/API_docs_v75/constructors/phoneCallRequested.md index c96f398f..0465e0fb 100644 --- a/old_docs/API_docs_v75/constructors/phoneCallRequested.md +++ b/old_docs/API_docs_v75/constructors/phoneCallRequested.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` @@ -38,10 +38,9 @@ $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallRequested={_='phoneCallRequested', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_hash='bytes', protocol=PhoneCallProtocol} ``` diff --git a/old_docs/API_docs_v75/constructors/phoneCallWaiting.md b/old_docs/API_docs_v75/constructors/phoneCallWaiting.md index 8dcf8e30..9d9658c8 100644 --- a/old_docs/API_docs_v75/constructors/phoneCallWaiting.md +++ b/old_docs/API_docs_v75/constructors/phoneCallWaiting.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int]; ``` @@ -38,10 +38,9 @@ $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallWaiting={_='phoneCallWaiting', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, protocol=PhoneCallProtocol, receive_date=int} ``` diff --git a/old_docs/API_docs_v75/constructors/phoneConnection.md b/old_docs/API_docs_v75/constructors/phoneConnection.md index b117e12f..562975aa 100644 --- a/old_docs/API_docs_v75/constructors/phoneConnection.md +++ b/old_docs/API_docs_v75/constructors/phoneConnection.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'ipv6' => 'string', 'port' => int, 'peer_tag' => 'bytes']; ``` @@ -36,10 +36,9 @@ $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneConnection={_='phoneConnection', id=long, ip='string', ipv6='string', port=int, peer_tag='bytes'} ``` diff --git a/old_docs/API_docs_v75/constructors/phone_phoneCall.md b/old_docs/API_docs_v75/constructors/phone_phoneCall.md index 00c21143..58912b3f 100644 --- a/old_docs/API_docs_v75/constructors/phone_phoneCall.md +++ b/old_docs/API_docs_v75/constructors/phone_phoneCall.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/photo.md b/old_docs/API_docs_v75/constructors/photo.md index 0cad6364..980980f4 100644 --- a/old_docs/API_docs_v75/constructors/photo.md +++ b/old_docs/API_docs_v75/constructors/photo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -36,10 +36,9 @@ $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', has_stickers=Bool, id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v75/constructors/photoCachedSize.md b/old_docs/API_docs_v75/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v75/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v75/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v75/constructors/photoEmpty.md b/old_docs/API_docs_v75/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v75/constructors/photoEmpty.md +++ b/old_docs/API_docs_v75/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v75/constructors/photoSize.md b/old_docs/API_docs_v75/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v75/constructors/photoSize.md +++ b/old_docs/API_docs_v75/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v75/constructors/photoSizeEmpty.md b/old_docs/API_docs_v75/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v75/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v75/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/photos_photo.md b/old_docs/API_docs_v75/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v75/constructors/photos_photo.md +++ b/old_docs/API_docs_v75/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/photos_photos.md b/old_docs/API_docs_v75/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v75/constructors/photos_photos.md +++ b/old_docs/API_docs_v75/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/photos_photosSlice.md b/old_docs/API_docs_v75/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v75/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v75/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/popularContact.md b/old_docs/API_docs_v75/constructors/popularContact.md index d7fdf7c9..fbdee8e3 100644 --- a/old_docs/API_docs_v75/constructors/popularContact.md +++ b/old_docs/API_docs_v75/constructors/popularContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $popularContact = ['_' => 'popularContact', 'client_id' => long, 'importers' => int]; ``` @@ -33,10 +33,9 @@ $popularContact = ['_' => 'popularContact', 'client_id' => long, 'importers' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua popularContact={_='popularContact', client_id=long, importers=int} ``` diff --git a/old_docs/API_docs_v75/constructors/postAddress.md b/old_docs/API_docs_v75/constructors/postAddress.md index 0bd47333..aa8080ec 100644 --- a/old_docs/API_docs_v75/constructors/postAddress.md +++ b/old_docs/API_docs_v75/constructors/postAddress.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' => 'string', 'city' => 'string', 'state' => 'string', 'country_iso2' => 'string', 'post_code' => 'string']; ``` @@ -37,10 +37,9 @@ $postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua postAddress={_='postAddress', street_line1='string', street_line2='string', city='string', state='string', country_iso2='string', post_code='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/privacyKeyChatInvite.md b/old_docs/API_docs_v75/constructors/privacyKeyChatInvite.md index cc6e39b6..44826e55 100644 --- a/old_docs/API_docs_v75/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v75/constructors/privacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v75/constructors/privacyKeyPhoneCall.md b/old_docs/API_docs_v75/constructors/privacyKeyPhoneCall.md index 2fe6db7d..fc38f6a4 100644 --- a/old_docs/API_docs_v75/constructors/privacyKeyPhoneCall.md +++ b/old_docs/API_docs_v75/constructors/privacyKeyPhoneCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` @@ -27,10 +27,9 @@ $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyPhoneCall={_='privacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v75/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v75/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v75/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v75/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v75/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v75/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v75/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v75/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v75/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v75/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v75/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v75/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v75/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v75/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v75/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v75/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v75/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v75/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v75/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v75/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v75/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v75/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v75/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v75/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v75/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v75/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v75/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v75/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v75/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v75/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/old_docs/API_docs_v75/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v75/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/recentMeUrlChat.md b/old_docs/API_docs_v75/constructors/recentMeUrlChat.md index 8b09f818..38bb1faf 100644 --- a/old_docs/API_docs_v75/constructors/recentMeUrlChat.md +++ b/old_docs/API_docs_v75/constructors/recentMeUrlChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlChat = ['_' => 'recentMeUrlChat', 'url' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $recentMeUrlChat = ['_' => 'recentMeUrlChat', 'url' => 'string', 'chat_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlChat={_='recentMeUrlChat', url='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/recentMeUrlChatInvite.md b/old_docs/API_docs_v75/constructors/recentMeUrlChatInvite.md index d9d3a1c6..f095734f 100644 --- a/old_docs/API_docs_v75/constructors/recentMeUrlChatInvite.md +++ b/old_docs/API_docs_v75/constructors/recentMeUrlChatInvite.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlChatInvite = ['_' => 'recentMeUrlChatInvite', 'url' => 'string', 'chat_invite' => ChatInvite]; ``` @@ -33,10 +33,9 @@ $recentMeUrlChatInvite = ['_' => 'recentMeUrlChatInvite', 'url' => 'string', 'ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlChatInvite={_='recentMeUrlChatInvite', url='string', chat_invite=ChatInvite} ``` diff --git a/old_docs/API_docs_v75/constructors/recentMeUrlStickerSet.md b/old_docs/API_docs_v75/constructors/recentMeUrlStickerSet.md index b70a27c4..e756dd35 100644 --- a/old_docs/API_docs_v75/constructors/recentMeUrlStickerSet.md +++ b/old_docs/API_docs_v75/constructors/recentMeUrlStickerSet.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlStickerSet = ['_' => 'recentMeUrlStickerSet', 'url' => 'string', 'set' => StickerSetCovered]; ``` @@ -33,10 +33,9 @@ $recentMeUrlStickerSet = ['_' => 'recentMeUrlStickerSet', 'url' => 'string', 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlStickerSet={_='recentMeUrlStickerSet', url='string', set=StickerSetCovered} ``` diff --git a/old_docs/API_docs_v75/constructors/recentMeUrlUnknown.md b/old_docs/API_docs_v75/constructors/recentMeUrlUnknown.md index 0f157436..44809d53 100644 --- a/old_docs/API_docs_v75/constructors/recentMeUrlUnknown.md +++ b/old_docs/API_docs_v75/constructors/recentMeUrlUnknown.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlUnknown = ['_' => 'recentMeUrlUnknown', 'url' => 'string']; ``` @@ -32,10 +32,9 @@ $recentMeUrlUnknown = ['_' => 'recentMeUrlUnknown', 'url' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlUnknown={_='recentMeUrlUnknown', url='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/recentMeUrlUser.md b/old_docs/API_docs_v75/constructors/recentMeUrlUser.md index 1e7ea925..7032fb46 100644 --- a/old_docs/API_docs_v75/constructors/recentMeUrlUser.md +++ b/old_docs/API_docs_v75/constructors/recentMeUrlUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlUser = ['_' => 'recentMeUrlUser', 'url' => 'string', 'user_id' => int]; ``` @@ -33,10 +33,9 @@ $recentMeUrlUser = ['_' => 'recentMeUrlUser', 'url' => 'string', 'user_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlUser={_='recentMeUrlUser', url='string', user_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/replyInlineMarkup.md b/old_docs/API_docs_v75/constructors/replyInlineMarkup.md index 6d353569..6e481165 100644 --- a/old_docs/API_docs_v75/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v75/constructors/replyInlineMarkup.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -32,10 +32,9 @@ $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v75/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v75/constructors/replyKeyboardForceReply.md index 56e255c1..3f7fae8c 100644 --- a/old_docs/API_docs_v75/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v75/constructors/replyKeyboardForceReply.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` @@ -33,10 +33,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool} ``` diff --git a/old_docs/API_docs_v75/constructors/replyKeyboardHide.md b/old_docs/API_docs_v75/constructors/replyKeyboardHide.md index 7251db49..30e9f399 100644 --- a/old_docs/API_docs_v75/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v75/constructors/replyKeyboardHide.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` @@ -32,10 +32,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide', selective=Bool} ``` diff --git a/old_docs/API_docs_v75/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v75/constructors/replyKeyboardMarkup.md index 87a55463..80f3f654 100644 --- a/old_docs/API_docs_v75/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v75/constructors/replyKeyboardMarkup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -35,10 +35,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v75/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v75/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v75/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v75/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v75/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v75/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v75/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v75/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v75/constructors/sendMessageGamePlayAction.md b/old_docs/API_docs_v75/constructors/sendMessageGamePlayAction.md index 8238ea55..0c395c75 100644 --- a/old_docs/API_docs_v75/constructors/sendMessageGamePlayAction.md +++ b/old_docs/API_docs_v75/constructors/sendMessageGamePlayAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGamePlayAction={_='sendMessageGamePlayAction'} ``` diff --git a/old_docs/API_docs_v75/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v75/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v75/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v75/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v75/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v75/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v75/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v75/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v75/constructors/sendMessageRecordRoundAction.md b/old_docs/API_docs_v75/constructors/sendMessageRecordRoundAction.md index a388d0ec..30e71ae8 100644 --- a/old_docs/API_docs_v75/constructors/sendMessageRecordRoundAction.md +++ b/old_docs/API_docs_v75/constructors/sendMessageRecordRoundAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordRoundAction={_='sendMessageRecordRoundAction'} ``` diff --git a/old_docs/API_docs_v75/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v75/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v75/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v75/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v75/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v75/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v75/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v75/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v75/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v75/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/old_docs/API_docs_v75/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v75/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/old_docs/API_docs_v75/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v75/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/old_docs/API_docs_v75/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v75/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/old_docs/API_docs_v75/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v75/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/old_docs/API_docs_v75/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v75/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/old_docs/API_docs_v75/constructors/sendMessageUploadRoundAction.md b/old_docs/API_docs_v75/constructors/sendMessageUploadRoundAction.md index ffd14270..b101d308 100644 --- a/old_docs/API_docs_v75/constructors/sendMessageUploadRoundAction.md +++ b/old_docs/API_docs_v75/constructors/sendMessageUploadRoundAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadRoundAction={_='sendMessageUploadRoundAction', progress=int} ``` diff --git a/old_docs/API_docs_v75/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v75/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/old_docs/API_docs_v75/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v75/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/old_docs/API_docs_v75/constructors/shippingOption.md b/old_docs/API_docs_v75/constructors/shippingOption.md index 6f0cbc4c..863fd128 100644 --- a/old_docs/API_docs_v75/constructors/shippingOption.md +++ b/old_docs/API_docs_v75/constructors/shippingOption.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string', 'prices' => [LabeledPrice, LabeledPrice]]; ``` @@ -34,10 +34,9 @@ $shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua shippingOption={_='shippingOption', id='string', title='string', prices={LabeledPrice}} ``` diff --git a/old_docs/API_docs_v75/constructors/stickerPack.md b/old_docs/API_docs_v75/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v75/constructors/stickerPack.md +++ b/old_docs/API_docs_v75/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v75/constructors/stickerSet.md b/old_docs/API_docs_v75/constructors/stickerSet.md index afa3b21f..059e4ae7 100644 --- a/old_docs/API_docs_v75/constructors/stickerSet.md +++ b/old_docs/API_docs_v75/constructors/stickerSet.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -41,10 +41,9 @@ $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'of ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', installed=Bool, archived=Bool, official=Bool, masks=Bool, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/old_docs/API_docs_v75/constructors/stickerSetCovered.md b/old_docs/API_docs_v75/constructors/stickerSetCovered.md index cc1c806e..127b821f 100644 --- a/old_docs/API_docs_v75/constructors/stickerSetCovered.md +++ b/old_docs/API_docs_v75/constructors/stickerSetCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document]; ``` @@ -33,10 +33,9 @@ $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetCovered={_='stickerSetCovered', set=StickerSet, cover=Document} ``` diff --git a/old_docs/API_docs_v75/constructors/stickerSetMultiCovered.md b/old_docs/API_docs_v75/constructors/stickerSetMultiCovered.md index 74d10e38..9fc0ad35 100644 --- a/old_docs/API_docs_v75/constructors/stickerSetMultiCovered.md +++ b/old_docs/API_docs_v75/constructors/stickerSetMultiCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetMultiCovered={_='stickerSetMultiCovered', set=StickerSet, covers={Document}} ``` diff --git a/old_docs/API_docs_v75/constructors/storage_fileGif.md b/old_docs/API_docs_v75/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v75/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v75/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v75/constructors/storage_fileJpeg.md b/old_docs/API_docs_v75/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v75/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v75/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v75/constructors/storage_fileMov.md b/old_docs/API_docs_v75/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v75/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v75/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v75/constructors/storage_fileMp3.md b/old_docs/API_docs_v75/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v75/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v75/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v75/constructors/storage_fileMp4.md b/old_docs/API_docs_v75/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v75/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v75/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v75/constructors/storage_filePartial.md b/old_docs/API_docs_v75/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v75/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v75/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v75/constructors/storage_filePdf.md b/old_docs/API_docs_v75/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v75/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v75/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v75/constructors/storage_filePng.md b/old_docs/API_docs_v75/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v75/constructors/storage_filePng.md +++ b/old_docs/API_docs_v75/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v75/constructors/storage_fileUnknown.md b/old_docs/API_docs_v75/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v75/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v75/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v75/constructors/storage_fileWebp.md b/old_docs/API_docs_v75/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v75/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v75/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v75/constructors/textBold.md b/old_docs/API_docs_v75/constructors/textBold.md index 52b668f6..f847ab68 100644 --- a/old_docs/API_docs_v75/constructors/textBold.md +++ b/old_docs/API_docs_v75/constructors/textBold.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textBold = ['_' => 'textBold', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textBold = ['_' => 'textBold', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textBold={_='textBold', text=RichText} ``` diff --git a/old_docs/API_docs_v75/constructors/textConcat.md b/old_docs/API_docs_v75/constructors/textConcat.md index 3f2656ed..ee998a7e 100644 --- a/old_docs/API_docs_v75/constructors/textConcat.md +++ b/old_docs/API_docs_v75/constructors/textConcat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textConcat = ['_' => 'textConcat', 'texts' => [RichText, RichText]]; ``` @@ -32,10 +32,9 @@ $textConcat = ['_' => 'textConcat', 'texts' => [RichText, RichText]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textConcat={_='textConcat', texts={RichText}} ``` diff --git a/old_docs/API_docs_v75/constructors/textEmail.md b/old_docs/API_docs_v75/constructors/textEmail.md index 0b546415..6a1a2ba2 100644 --- a/old_docs/API_docs_v75/constructors/textEmail.md +++ b/old_docs/API_docs_v75/constructors/textEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` @@ -33,10 +33,9 @@ $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textEmail={_='textEmail', text=RichText, email='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/textEmpty.md b/old_docs/API_docs_v75/constructors/textEmpty.md index 4e96adb3..dfe867ed 100644 --- a/old_docs/API_docs_v75/constructors/textEmpty.md +++ b/old_docs/API_docs_v75/constructors/textEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textEmpty = ['_' => 'textEmpty']; ``` @@ -27,10 +27,9 @@ $textEmpty = ['_' => 'textEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textEmpty={_='textEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/textFixed.md b/old_docs/API_docs_v75/constructors/textFixed.md index e40767d9..a83607fa 100644 --- a/old_docs/API_docs_v75/constructors/textFixed.md +++ b/old_docs/API_docs_v75/constructors/textFixed.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textFixed={_='textFixed', text=RichText} ``` diff --git a/old_docs/API_docs_v75/constructors/textItalic.md b/old_docs/API_docs_v75/constructors/textItalic.md index e32fbec2..4aa819b6 100644 --- a/old_docs/API_docs_v75/constructors/textItalic.md +++ b/old_docs/API_docs_v75/constructors/textItalic.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textItalic={_='textItalic', text=RichText} ``` diff --git a/old_docs/API_docs_v75/constructors/textPlain.md b/old_docs/API_docs_v75/constructors/textPlain.md index 2e654fde..9f83d5fa 100644 --- a/old_docs/API_docs_v75/constructors/textPlain.md +++ b/old_docs/API_docs_v75/constructors/textPlain.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textPlain={_='textPlain', text='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/textStrike.md b/old_docs/API_docs_v75/constructors/textStrike.md index 0090e980..0329cbd9 100644 --- a/old_docs/API_docs_v75/constructors/textStrike.md +++ b/old_docs/API_docs_v75/constructors/textStrike.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textStrike={_='textStrike', text=RichText} ``` diff --git a/old_docs/API_docs_v75/constructors/textUnderline.md b/old_docs/API_docs_v75/constructors/textUnderline.md index 843d0a9a..adee0d2f 100644 --- a/old_docs/API_docs_v75/constructors/textUnderline.md +++ b/old_docs/API_docs_v75/constructors/textUnderline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textUnderline={_='textUnderline', text=RichText} ``` diff --git a/old_docs/API_docs_v75/constructors/textUrl.md b/old_docs/API_docs_v75/constructors/textUrl.md index 6938f27e..bb497739 100644 --- a/old_docs/API_docs_v75/constructors/textUrl.md +++ b/old_docs/API_docs_v75/constructors/textUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id' => long]; ``` @@ -34,10 +34,9 @@ $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textUrl={_='textUrl', text=RichText, url='string', webpage_id=long} ``` diff --git a/old_docs/API_docs_v75/constructors/topPeer.md b/old_docs/API_docs_v75/constructors/topPeer.md index aa49751b..fff00b7d 100644 --- a/old_docs/API_docs_v75/constructors/topPeer.md +++ b/old_docs/API_docs_v75/constructors/topPeer.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` @@ -33,10 +33,9 @@ $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeer={_='topPeer', peer=Peer, rating=double} ``` diff --git a/old_docs/API_docs_v75/constructors/topPeerCategoryBotsInline.md b/old_docs/API_docs_v75/constructors/topPeerCategoryBotsInline.md index 1d57e310..3f7906e2 100644 --- a/old_docs/API_docs_v75/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v75/constructors/topPeerCategoryBotsInline.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsInline={_='topPeerCategoryBotsInline'} ``` diff --git a/old_docs/API_docs_v75/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v75/constructors/topPeerCategoryBotsPM.md index f6207626..78f54b44 100644 --- a/old_docs/API_docs_v75/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v75/constructors/topPeerCategoryBotsPM.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsPM={_='topPeerCategoryBotsPM'} ``` diff --git a/old_docs/API_docs_v75/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v75/constructors/topPeerCategoryChannels.md index 8f0e1fcb..02947d85 100644 --- a/old_docs/API_docs_v75/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v75/constructors/topPeerCategoryChannels.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryChannels={_='topPeerCategoryChannels'} ``` diff --git a/old_docs/API_docs_v75/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v75/constructors/topPeerCategoryCorrespondents.md index 9435610d..c0362f78 100644 --- a/old_docs/API_docs_v75/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v75/constructors/topPeerCategoryCorrespondents.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents'} ``` diff --git a/old_docs/API_docs_v75/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v75/constructors/topPeerCategoryGroups.md index 3b6859df..dddb951c 100644 --- a/old_docs/API_docs_v75/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v75/constructors/topPeerCategoryGroups.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryGroups={_='topPeerCategoryGroups'} ``` diff --git a/old_docs/API_docs_v75/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v75/constructors/topPeerCategoryPeers.md index 886ab6f9..36d071f6 100644 --- a/old_docs/API_docs_v75/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v75/constructors/topPeerCategoryPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer, TopPeer]]; ``` @@ -34,10 +34,9 @@ $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}} ``` diff --git a/old_docs/API_docs_v75/constructors/topPeerCategoryPhoneCalls.md b/old_docs/API_docs_v75/constructors/topPeerCategoryPhoneCalls.md index 4c4a1c2d..518279f8 100644 --- a/old_docs/API_docs_v75/constructors/topPeerCategoryPhoneCalls.md +++ b/old_docs/API_docs_v75/constructors/topPeerCategoryPhoneCalls.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryPhoneCalls = ['_' => 'topPeerCategoryPhoneCalls']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryPhoneCalls = ['_' => 'topPeerCategoryPhoneCalls']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryPhoneCalls={_='topPeerCategoryPhoneCalls'} ``` diff --git a/old_docs/API_docs_v75/constructors/true.md b/old_docs/API_docs_v75/constructors/true.md index 2e27ecbf..4863f16b 100644 --- a/old_docs/API_docs_v75/constructors/true.md +++ b/old_docs/API_docs_v75/constructors/true.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $true = ['_' => 'true']; ``` @@ -27,10 +27,9 @@ $true = ['_' => 'true']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua true={_='true'} ``` diff --git a/old_docs/API_docs_v75/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v75/constructors/updateBotCallbackQuery.md index 2216e362..389295a0 100644 --- a/old_docs/API_docs_v75/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v75/constructors/updateBotCallbackQuery.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -38,10 +38,9 @@ $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v75/constructors/updateBotInlineQuery.md index 1cc45358..ed15d35f 100644 --- a/old_docs/API_docs_v75/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v75/constructors/updateBotInlineQuery.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` @@ -36,10 +36,9 @@ $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query='string', geo=GeoPoint, offset='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/updateBotInlineSend.md b/old_docs/API_docs_v75/constructors/updateBotInlineSend.md index fe6c01d3..dda18420 100644 --- a/old_docs/API_docs_v75/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v75/constructors/updateBotInlineSend.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` @@ -36,10 +36,9 @@ $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineSend={_='updateBotInlineSend', user_id=int, query='string', geo=GeoPoint, id='string', msg_id=InputBotInlineMessageID} ``` diff --git a/old_docs/API_docs_v75/constructors/updateBotPrecheckoutQuery.md b/old_docs/API_docs_v75/constructors/updateBotPrecheckoutQuery.md index f7e13668..94098aac 100644 --- a/old_docs/API_docs_v75/constructors/updateBotPrecheckoutQuery.md +++ b/old_docs/API_docs_v75/constructors/updateBotPrecheckoutQuery.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'currency' => 'string', 'total_amount' => long]; ``` @@ -38,10 +38,9 @@ $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotPrecheckoutQuery={_='updateBotPrecheckoutQuery', query_id=long, user_id=int, payload='bytes', info=PaymentRequestedInfo, shipping_option_id='string', currency='string', total_amount=long} ``` diff --git a/old_docs/API_docs_v75/constructors/updateBotShippingQuery.md b/old_docs/API_docs_v75/constructors/updateBotShippingQuery.md index b7413761..41735d33 100644 --- a/old_docs/API_docs_v75/constructors/updateBotShippingQuery.md +++ b/old_docs/API_docs_v75/constructors/updateBotShippingQuery.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'shipping_address' => PostAddress]; ``` @@ -35,10 +35,9 @@ $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotShippingQuery={_='updateBotShippingQuery', query_id=long, user_id=int, payload='bytes', shipping_address=PostAddress} ``` diff --git a/old_docs/API_docs_v75/constructors/updateBotWebhookJSON.md b/old_docs/API_docs_v75/constructors/updateBotWebhookJSON.md index c444fe16..3b917e17 100644 --- a/old_docs/API_docs_v75/constructors/updateBotWebhookJSON.md +++ b/old_docs/API_docs_v75/constructors/updateBotWebhookJSON.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` @@ -32,10 +32,9 @@ $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotWebhookJSON={_='updateBotWebhookJSON', data=DataJSON} ``` diff --git a/old_docs/API_docs_v75/constructors/updateBotWebhookJSONQuery.md b/old_docs/API_docs_v75/constructors/updateBotWebhookJSONQuery.md index c8014f35..9ede5002 100644 --- a/old_docs/API_docs_v75/constructors/updateBotWebhookJSONQuery.md +++ b/old_docs/API_docs_v75/constructors/updateBotWebhookJSONQuery.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => long, 'data' => DataJSON, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotWebhookJSONQuery={_='updateBotWebhookJSONQuery', query_id=long, data=DataJSON, timeout=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateChannel.md b/old_docs/API_docs_v75/constructors/updateChannel.md index e615920a..fb876328 100644 --- a/old_docs/API_docs_v75/constructors/updateChannel.md +++ b/old_docs/API_docs_v75/constructors/updateChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannel={_='updateChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateChannelAvailableMessages.md b/old_docs/API_docs_v75/constructors/updateChannelAvailableMessages.md index ef499037..a5a6d684 100644 --- a/old_docs/API_docs_v75/constructors/updateChannelAvailableMessages.md +++ b/old_docs/API_docs_v75/constructors/updateChannelAvailableMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelAvailableMessages = ['_' => 'updateChannelAvailableMessages', 'channel_id' => int, 'available_min_id' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelAvailableMessages = ['_' => 'updateChannelAvailableMessages', 'cha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelAvailableMessages={_='updateChannelAvailableMessages', channel_id=int, available_min_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v75/constructors/updateChannelMessageViews.md index 19e0b648..d62f055a 100644 --- a/old_docs/API_docs_v75/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v75/constructors/updateChannelMessageViews.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` @@ -34,10 +34,9 @@ $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateChannelPinnedMessage.md b/old_docs/API_docs_v75/constructors/updateChannelPinnedMessage.md index c6e66353..0d767fb8 100644 --- a/old_docs/API_docs_v75/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v75/constructors/updateChannelPinnedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateChannelReadMessagesContents.md b/old_docs/API_docs_v75/constructors/updateChannelReadMessagesContents.md index 27c1ca60..95640cfe 100644 --- a/old_docs/API_docs_v75/constructors/updateChannelReadMessagesContents.md +++ b/old_docs/API_docs_v75/constructors/updateChannelReadMessagesContents.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelReadMessagesContents = ['_' => 'updateChannelReadMessagesContents', 'channel_id' => int, 'messages' => [int, int]]; ``` @@ -33,10 +33,9 @@ $updateChannelReadMessagesContents = ['_' => 'updateChannelReadMessagesContents' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelReadMessagesContents={_='updateChannelReadMessagesContents', channel_id=int, messages={int}} ``` diff --git a/old_docs/API_docs_v75/constructors/updateChannelTooLong.md b/old_docs/API_docs_v75/constructors/updateChannelTooLong.md index e42904d0..179a43dd 100644 --- a/old_docs/API_docs_v75/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v75/constructors/updateChannelTooLong.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateChannelWebPage.md b/old_docs/API_docs_v75/constructors/updateChannelWebPage.md index f1ae421b..7b037a9d 100644 --- a/old_docs/API_docs_v75/constructors/updateChannelWebPage.md +++ b/old_docs/API_docs_v75/constructors/updateChannelWebPage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'we ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelWebPage={_='updateChannelWebPage', channel_id=int, webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateChatAdmins.md b/old_docs/API_docs_v75/constructors/updateChatAdmins.md index 87ffd626..aac09762 100644 --- a/old_docs/API_docs_v75/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v75/constructors/updateChatAdmins.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v75/constructors/updateChatParticipantAdd.md index ea5157ad..fe76dc62 100644 --- a/old_docs/API_docs_v75/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v75/constructors/updateChatParticipantAdd.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` @@ -36,10 +36,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v75/constructors/updateChatParticipantAdmin.md index b1022850..d262b2e6 100644 --- a/old_docs/API_docs_v75/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v75/constructors/updateChatParticipantAdmin.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v75/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v75/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v75/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateChatParticipants.md b/old_docs/API_docs_v75/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v75/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v75/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v75/constructors/updateChatUserTyping.md b/old_docs/API_docs_v75/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v75/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v75/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v75/constructors/updateConfig.md b/old_docs/API_docs_v75/constructors/updateConfig.md index 6f25cf11..6d67156d 100644 --- a/old_docs/API_docs_v75/constructors/updateConfig.md +++ b/old_docs/API_docs_v75/constructors/updateConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateConfig = ['_' => 'updateConfig']; ``` @@ -27,10 +27,9 @@ $updateConfig = ['_' => 'updateConfig']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateConfig={_='updateConfig'} ``` diff --git a/old_docs/API_docs_v75/constructors/updateContactLink.md b/old_docs/API_docs_v75/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v75/constructors/updateContactLink.md +++ b/old_docs/API_docs_v75/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v75/constructors/updateContactRegistered.md b/old_docs/API_docs_v75/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v75/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v75/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateContactsReset.md b/old_docs/API_docs_v75/constructors/updateContactsReset.md index 3c9f46af..d2458943 100644 --- a/old_docs/API_docs_v75/constructors/updateContactsReset.md +++ b/old_docs/API_docs_v75/constructors/updateContactsReset.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactsReset = ['_' => 'updateContactsReset']; ``` @@ -27,10 +27,9 @@ $updateContactsReset = ['_' => 'updateContactsReset']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactsReset={_='updateContactsReset'} ``` diff --git a/old_docs/API_docs_v75/constructors/updateDcOptions.md b/old_docs/API_docs_v75/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v75/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v75/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v75/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v75/constructors/updateDeleteChannelMessages.md index 0f84f3f7..8fb10b65 100644 --- a/old_docs/API_docs_v75/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v75/constructors/updateDeleteChannelMessages.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateDeleteMessages.md b/old_docs/API_docs_v75/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v75/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v75/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateDialogPinned.md b/old_docs/API_docs_v75/constructors/updateDialogPinned.md index 8ecafcfd..ba2c9090 100644 --- a/old_docs/API_docs_v75/constructors/updateDialogPinned.md +++ b/old_docs/API_docs_v75/constructors/updateDialogPinned.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer]; ``` @@ -33,10 +33,9 @@ $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDialogPinned={_='updateDialogPinned', pinned=Bool, peer=Peer} ``` diff --git a/old_docs/API_docs_v75/constructors/updateDraftMessage.md b/old_docs/API_docs_v75/constructors/updateDraftMessage.md index 7e759a4f..1bf7c2a4 100644 --- a/old_docs/API_docs_v75/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v75/constructors/updateDraftMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage]; ``` @@ -33,10 +33,9 @@ $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => D ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v75/constructors/updateEditChannelMessage.md b/old_docs/API_docs_v75/constructors/updateEditChannelMessage.md index 959c433a..485afae1 100644 --- a/old_docs/API_docs_v75/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v75/constructors/updateEditChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateEditMessage.md b/old_docs/API_docs_v75/constructors/updateEditMessage.md index f9f820e8..9f986f86 100644 --- a/old_docs/API_docs_v75/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v75/constructors/updateEditMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v75/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v75/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v75/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v75/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v75/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v75/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateEncryption.md b/old_docs/API_docs_v75/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v75/constructors/updateEncryption.md +++ b/old_docs/API_docs_v75/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateFavedStickers.md b/old_docs/API_docs_v75/constructors/updateFavedStickers.md index b474cc03..4e799846 100644 --- a/old_docs/API_docs_v75/constructors/updateFavedStickers.md +++ b/old_docs/API_docs_v75/constructors/updateFavedStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateFavedStickers = ['_' => 'updateFavedStickers']; ``` @@ -27,10 +27,9 @@ $updateFavedStickers = ['_' => 'updateFavedStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateFavedStickers={_='updateFavedStickers'} ``` diff --git a/old_docs/API_docs_v75/constructors/updateInlineBotCallbackQuery.md b/old_docs/API_docs_v75/constructors/updateInlineBotCallbackQuery.md index b1b40479..fb112694 100644 --- a/old_docs/API_docs_v75/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v75/constructors/updateInlineBotCallbackQuery.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -37,10 +37,9 @@ $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/updateLangPack.md b/old_docs/API_docs_v75/constructors/updateLangPack.md index 172c1a9a..9f180e97 100644 --- a/old_docs/API_docs_v75/constructors/updateLangPack.md +++ b/old_docs/API_docs_v75/constructors/updateLangPack.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateLangPack = ['_' => 'updateLangPack', 'difference' => LangPackDifference]; ``` @@ -32,10 +32,9 @@ $updateLangPack = ['_' => 'updateLangPack', 'difference' => LangPackDifference]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateLangPack={_='updateLangPack', difference=LangPackDifference} ``` diff --git a/old_docs/API_docs_v75/constructors/updateLangPackTooLong.md b/old_docs/API_docs_v75/constructors/updateLangPackTooLong.md index b55c7e33..55614347 100644 --- a/old_docs/API_docs_v75/constructors/updateLangPackTooLong.md +++ b/old_docs/API_docs_v75/constructors/updateLangPackTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateLangPackTooLong = ['_' => 'updateLangPackTooLong']; ``` @@ -27,10 +27,9 @@ $updateLangPackTooLong = ['_' => 'updateLangPackTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateLangPackTooLong={_='updateLangPackTooLong'} ``` diff --git a/old_docs/API_docs_v75/constructors/updateMessageID.md b/old_docs/API_docs_v75/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v75/constructors/updateMessageID.md +++ b/old_docs/API_docs_v75/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v75/constructors/updateNewChannelMessage.md index 59dbc820..9fa1c7ec 100644 --- a/old_docs/API_docs_v75/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v75/constructors/updateNewChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Messa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v75/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v75/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v75/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateNewMessage.md b/old_docs/API_docs_v75/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v75/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v75/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateNewStickerSet.md b/old_docs/API_docs_v75/constructors/updateNewStickerSet.md index c36d4617..5ba327ea 100644 --- a/old_docs/API_docs_v75/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v75/constructors/updateNewStickerSet.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` @@ -32,10 +32,9 @@ $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_S ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} ``` diff --git a/old_docs/API_docs_v75/constructors/updateNotifySettings.md b/old_docs/API_docs_v75/constructors/updateNotifySettings.md index 3fac139b..5cf474aa 100644 --- a/old_docs/API_docs_v75/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v75/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v75/constructors/updatePhoneCall.md b/old_docs/API_docs_v75/constructors/updatePhoneCall.md index 61730eae..445e1fc0 100644 --- a/old_docs/API_docs_v75/constructors/updatePhoneCall.md +++ b/old_docs/API_docs_v75/constructors/updatePhoneCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` @@ -32,10 +32,9 @@ $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePhoneCall={_='updatePhoneCall', phone_call=PhoneCall} ``` diff --git a/old_docs/API_docs_v75/constructors/updatePinnedDialogs.md b/old_docs/API_docs_v75/constructors/updatePinnedDialogs.md index 4d082bed..4a99a7bd 100644 --- a/old_docs/API_docs_v75/constructors/updatePinnedDialogs.md +++ b/old_docs/API_docs_v75/constructors/updatePinnedDialogs.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer, Peer]]; ``` @@ -32,10 +32,9 @@ $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer, Peer]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePinnedDialogs={_='updatePinnedDialogs', order={Peer}} ``` diff --git a/old_docs/API_docs_v75/constructors/updatePrivacy.md b/old_docs/API_docs_v75/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v75/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v75/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v75/constructors/updatePtsChanged.md b/old_docs/API_docs_v75/constructors/updatePtsChanged.md index 76b49a1f..dac1d461 100644 --- a/old_docs/API_docs_v75/constructors/updatePtsChanged.md +++ b/old_docs/API_docs_v75/constructors/updatePtsChanged.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` @@ -27,10 +27,9 @@ $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePtsChanged={_='updatePtsChanged'} ``` diff --git a/old_docs/API_docs_v75/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v75/constructors/updateReadChannelInbox.md index be964e20..c8c26acb 100644 --- a/old_docs/API_docs_v75/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v75/constructors/updateReadChannelInbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateReadChannelOutbox.md b/old_docs/API_docs_v75/constructors/updateReadChannelOutbox.md index c725d108..664108d1 100644 --- a/old_docs/API_docs_v75/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v75/constructors/updateReadChannelOutbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelOutbox={_='updateReadChannelOutbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateReadFeaturedStickers.md b/old_docs/API_docs_v75/constructors/updateReadFeaturedStickers.md index ea46d41f..af7fd3d7 100644 --- a/old_docs/API_docs_v75/constructors/updateReadFeaturedStickers.md +++ b/old_docs/API_docs_v75/constructors/updateReadFeaturedStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` @@ -27,10 +27,9 @@ $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadFeaturedStickers={_='updateReadFeaturedStickers'} ``` diff --git a/old_docs/API_docs_v75/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v75/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v75/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v75/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v75/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v75/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v75/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v75/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/old_docs/API_docs_v75/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v75/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateRecentStickers.md b/old_docs/API_docs_v75/constructors/updateRecentStickers.md index cb15d01f..6f9acb77 100644 --- a/old_docs/API_docs_v75/constructors/updateRecentStickers.md +++ b/old_docs/API_docs_v75/constructors/updateRecentStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` @@ -27,10 +27,9 @@ $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateRecentStickers={_='updateRecentStickers'} ``` diff --git a/old_docs/API_docs_v75/constructors/updateSavedGifs.md b/old_docs/API_docs_v75/constructors/updateSavedGifs.md index dd17f321..ea5619fc 100644 --- a/old_docs/API_docs_v75/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v75/constructors/updateSavedGifs.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` @@ -27,10 +27,9 @@ $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v75/constructors/updateServiceNotification.md b/old_docs/API_docs_v75/constructors/updateServiceNotification.md index 1da6885f..0833007b 100644 --- a/old_docs/API_docs_v75/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v75/constructors/updateServiceNotification.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -37,10 +37,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', popup=Bool, inbox_date=int, type='string', message='string', media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v75/constructors/updateShort.md b/old_docs/API_docs_v75/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v75/constructors/updateShort.md +++ b/old_docs/API_docs_v75/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updateShortChatMessage.md b/old_docs/API_docs_v75/constructors/updateShortChatMessage.md index d62e0729..cbeb4739 100644 --- a/old_docs/API_docs_v75/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v75/constructors/updateShortChatMessage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -46,10 +46,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'ment ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v75/constructors/updateShortMessage.md b/old_docs/API_docs_v75/constructors/updateShortMessage.md index d4effcb8..a8348773 100644 --- a/old_docs/API_docs_v75/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v75/constructors/updateShortMessage.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -45,10 +45,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v75/constructors/updateShortSentMessage.md b/old_docs/API_docs_v75/constructors/updateShortSentMessage.md index fd7035c3..2a318e56 100644 --- a/old_docs/API_docs_v75/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v75/constructors/updateShortSentMessage.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -38,10 +38,9 @@ $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v75/constructors/updateStickerSets.md b/old_docs/API_docs_v75/constructors/updateStickerSets.md index 4f045d67..e4cc23a0 100644 --- a/old_docs/API_docs_v75/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v75/constructors/updateStickerSets.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSets = ['_' => 'updateStickerSets']; ``` @@ -27,10 +27,9 @@ $updateStickerSets = ['_' => 'updateStickerSets']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v75/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v75/constructors/updateStickerSetsOrder.md index e36470ad..74405f69 100644 --- a/old_docs/API_docs_v75/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v75/constructors/updateStickerSetsOrder.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long, long]]; ``` @@ -33,10 +33,9 @@ $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'or ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSetsOrder={_='updateStickerSetsOrder', masks=Bool, order={long}} ``` diff --git a/old_docs/API_docs_v75/constructors/updateUserBlocked.md b/old_docs/API_docs_v75/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v75/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v75/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v75/constructors/updateUserName.md b/old_docs/API_docs_v75/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v75/constructors/updateUserName.md +++ b/old_docs/API_docs_v75/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/updateUserPhone.md b/old_docs/API_docs_v75/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v75/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v75/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/updateUserPhoto.md b/old_docs/API_docs_v75/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v75/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v75/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v75/constructors/updateUserStatus.md b/old_docs/API_docs_v75/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v75/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v75/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v75/constructors/updateUserTyping.md b/old_docs/API_docs_v75/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v75/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v75/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v75/constructors/updateWebPage.md b/old_docs/API_docs_v75/constructors/updateWebPage.md index 9f468619..932d8ff2 100644 --- a/old_docs/API_docs_v75/constructors/updateWebPage.md +++ b/old_docs/API_docs_v75/constructors/updateWebPage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updates.md b/old_docs/API_docs_v75/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v75/constructors/updates.md +++ b/old_docs/API_docs_v75/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updatesCombined.md b/old_docs/API_docs_v75/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v75/constructors/updatesCombined.md +++ b/old_docs/API_docs_v75/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updatesTooLong.md b/old_docs/API_docs_v75/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v75/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v75/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v75/constructors/updates_channelDifference.md b/old_docs/API_docs_v75/constructors/updates_channelDifference.md index 21b618c2..df1dafd6 100644 --- a/old_docs/API_docs_v75/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v75/constructors/updates_channelDifference.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v75/constructors/updates_channelDifferenceEmpty.md index a2e49340..a5be0377 100644 --- a/old_docs/API_docs_v75/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v75/constructors/updates_channelDifferenceEmpty.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'fin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v75/constructors/updates_channelDifferenceTooLong.md index 84834a9f..838aaf3b 100644 --- a/old_docs/API_docs_v75/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v75/constructors/updates_channelDifferenceTooLong.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -42,10 +42,9 @@ $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v75/constructors/updates_difference.md b/old_docs/API_docs_v75/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v75/constructors/updates_difference.md +++ b/old_docs/API_docs_v75/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v75/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v75/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v75/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v75/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updates_differenceSlice.md b/old_docs/API_docs_v75/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v75/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v75/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v75/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v75/constructors/updates_differenceTooLong.md index da55eddf..2e96fdd5 100644 --- a/old_docs/API_docs_v75/constructors/updates_differenceTooLong.md +++ b/old_docs/API_docs_v75/constructors/updates_differenceTooLong.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` @@ -32,10 +32,9 @@ $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceTooLong={_='updates.differenceTooLong', pts=int} ``` diff --git a/old_docs/API_docs_v75/constructors/updates_state.md b/old_docs/API_docs_v75/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v75/constructors/updates_state.md +++ b/old_docs/API_docs_v75/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v75/constructors/upload_cdnFile.md b/old_docs/API_docs_v75/constructors/upload_cdnFile.md index b42b285d..586e6c32 100644 --- a/old_docs/API_docs_v75/constructors/upload_cdnFile.md +++ b/old_docs/API_docs_v75/constructors/upload_cdnFile.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; ``` @@ -32,10 +32,9 @@ $upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_cdnFile={_='upload.cdnFile', bytes='bytes'} ``` diff --git a/old_docs/API_docs_v75/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v75/constructors/upload_cdnFileReuploadNeeded.md index b770fdf6..a770ff3d 100644 --- a/old_docs/API_docs_v75/constructors/upload_cdnFileReuploadNeeded.md +++ b/old_docs/API_docs_v75/constructors/upload_cdnFileReuploadNeeded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; ``` @@ -32,10 +32,9 @@ $upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} ``` diff --git a/old_docs/API_docs_v75/constructors/upload_file.md b/old_docs/API_docs_v75/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v75/constructors/upload_file.md +++ b/old_docs/API_docs_v75/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v75/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v75/constructors/upload_fileCdnRedirect.md index 494aa54e..b1918c02 100644 --- a/old_docs/API_docs_v75/constructors/upload_fileCdnRedirect.md +++ b/old_docs/API_docs_v75/constructors/upload_fileCdnRedirect.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'cdn_file_hashes' => [CdnFileHash, CdnFileHash]]; ``` @@ -36,10 +36,9 @@ $upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'fil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', cdn_file_hashes={CdnFileHash}} ``` diff --git a/old_docs/API_docs_v75/constructors/upload_webFile.md b/old_docs/API_docs_v75/constructors/upload_webFile.md index 296105ee..d94afb72 100644 --- a/old_docs/API_docs_v75/constructors/upload_webFile.md +++ b/old_docs/API_docs_v75/constructors/upload_webFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v75/constructors/user.md b/old_docs/API_docs_v75/constructors/user.md index e15841b7..ebe7d5ed 100644 --- a/old_docs/API_docs_v75/constructors/user.md +++ b/old_docs/API_docs_v75/constructors/user.md @@ -43,7 +43,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => 'string', 'bot_inline_placeholder' => 'string', 'lang_code' => 'string']; ``` @@ -54,10 +54,9 @@ $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, min=Bool, bot_inline_geo=Bool, id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason='string', bot_inline_placeholder='string', lang_code='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/userEmpty.md b/old_docs/API_docs_v75/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v75/constructors/userEmpty.md +++ b/old_docs/API_docs_v75/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/userFull.md b/old_docs/API_docs_v75/constructors/userFull.md index 0ab25737..00b03c07 100644 --- a/old_docs/API_docs_v75/constructors/userFull.md +++ b/old_docs/API_docs_v75/constructors/userFull.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` @@ -41,10 +41,9 @@ $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v75/constructors/userProfilePhoto.md b/old_docs/API_docs_v75/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v75/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v75/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v75/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v75/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v75/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v75/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/userStatusEmpty.md b/old_docs/API_docs_v75/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v75/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v75/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v75/constructors/userStatusLastMonth.md b/old_docs/API_docs_v75/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v75/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v75/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v75/constructors/userStatusLastWeek.md b/old_docs/API_docs_v75/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v75/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v75/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v75/constructors/userStatusOffline.md b/old_docs/API_docs_v75/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v75/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v75/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v75/constructors/userStatusOnline.md b/old_docs/API_docs_v75/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v75/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v75/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v75/constructors/userStatusRecently.md b/old_docs/API_docs_v75/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v75/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v75/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v75/constructors/wallPaper.md b/old_docs/API_docs_v75/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v75/constructors/wallPaper.md +++ b/old_docs/API_docs_v75/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v75/constructors/wallPaperSolid.md b/old_docs/API_docs_v75/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v75/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v75/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v75/constructors/webAuthorization.md b/old_docs/API_docs_v75/constructors/webAuthorization.md index 3c0a4170..ab484a7b 100644 --- a/old_docs/API_docs_v75/constructors/webAuthorization.md +++ b/old_docs/API_docs_v75/constructors/webAuthorization.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webAuthorization = ['_' => 'webAuthorization', 'hash' => long, 'bot_id' => int, 'domain' => 'string', 'browser' => 'string', 'platform' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'region' => 'string']; ``` @@ -40,10 +40,9 @@ $webAuthorization = ['_' => 'webAuthorization', 'hash' => long, 'bot_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webAuthorization={_='webAuthorization', hash=long, bot_id=int, domain='string', browser='string', platform='string', date_created=int, date_active=int, ip='string', region='string'} ``` diff --git a/old_docs/API_docs_v75/constructors/webDocument.md b/old_docs/API_docs_v75/constructors/webDocument.md index 064367a3..67e158fa 100644 --- a/old_docs/API_docs_v75/constructors/webDocument.md +++ b/old_docs/API_docs_v75/constructors/webDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'dc_id' => int]; ``` @@ -37,10 +37,9 @@ $webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webDocument={_='webDocument', url='string', access_hash=long, size=int, mime_type='string', attributes={DocumentAttribute}, dc_id=int} ``` diff --git a/old_docs/API_docs_v75/constructors/webPage.md b/old_docs/API_docs_v75/constructors/webPage.md index 371b1e56..ee070624 100644 --- a/old_docs/API_docs_v75/constructors/webPage.md +++ b/old_docs/API_docs_v75/constructors/webPage.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'hash' => int, 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document, 'cached_page' => Page]; ``` @@ -48,10 +48,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', hash=int, type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document, cached_page=Page} ``` diff --git a/old_docs/API_docs_v75/constructors/webPageEmpty.md b/old_docs/API_docs_v75/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v75/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v75/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v75/constructors/webPageNotModified.md b/old_docs/API_docs_v75/constructors/webPageNotModified.md index 557c2947..a180dd51 100644 --- a/old_docs/API_docs_v75/constructors/webPageNotModified.md +++ b/old_docs/API_docs_v75/constructors/webPageNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageNotModified = ['_' => 'webPageNotModified']; ``` @@ -27,10 +27,9 @@ $webPageNotModified = ['_' => 'webPageNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageNotModified={_='webPageNotModified'} ``` diff --git a/old_docs/API_docs_v75/constructors/webPagePending.md b/old_docs/API_docs_v75/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v75/constructors/webPagePending.md +++ b/old_docs/API_docs_v75/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v75/methods/account_changePhone.md b/old_docs/API_docs_v75/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v75/methods/account_changePhone.md +++ b/old_docs/API_docs_v75/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/account_checkUsername.md b/old_docs/API_docs_v75/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v75/methods/account_checkUsername.md +++ b/old_docs/API_docs_v75/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/account_confirmPhone.md b/old_docs/API_docs_v75/methods/account_confirmPhone.md index a42b69b7..214f54e3 100644 --- a/old_docs/API_docs_v75/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v75/methods/account_confirmPhone.md @@ -25,7 +25,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.confirmPhone({phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/account_deleteAccount.md b/old_docs/API_docs_v75/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v75/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v75/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/account_getAccountTTL.md b/old_docs/API_docs_v75/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v75/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v75/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v75/methods/account_getAuthorizations.md b/old_docs/API_docs_v75/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v75/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v75/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v75/methods/account_getNotifySettings.md b/old_docs/API_docs_v75/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v75/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v75/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v75/methods/account_getPassword.md b/old_docs/API_docs_v75/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v75/methods/account_getPassword.md +++ b/old_docs/API_docs_v75/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v75/methods/account_getPasswordSettings.md b/old_docs/API_docs_v75/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v75/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v75/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v75/methods/account_getPrivacy.md b/old_docs/API_docs_v75/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v75/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v75/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v75/methods/account_getTmpPassword.md b/old_docs/API_docs_v75/methods/account_getTmpPassword.md index 504fbbc3..be75dc69 100644 --- a/old_docs/API_docs_v75/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v75/methods/account_getTmpPassword.md @@ -25,7 +25,7 @@ Get temporary password for buying products through bots ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua account_TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/account_getWallPapers.md b/old_docs/API_docs_v75/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v75/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v75/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v75/methods/account_getWebAuthorizations.md b/old_docs/API_docs_v75/methods/account_getWebAuthorizations.md index eef56ced..292a6bfc 100644 --- a/old_docs/API_docs_v75/methods/account_getWebAuthorizations.md +++ b/old_docs/API_docs_v75/methods/account_getWebAuthorizations.md @@ -19,7 +19,7 @@ Get telegram web login authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_WebAuthorizations = account.getWebAuthorizations({}) ``` diff --git a/old_docs/API_docs_v75/methods/account_registerDevice.md b/old_docs/API_docs_v75/methods/account_registerDevice.md index 44c829cd..9497a5a5 100644 --- a/old_docs/API_docs_v75/methods/account_registerDevice.md +++ b/old_docs/API_docs_v75/methods/account_registerDevice.md @@ -27,7 +27,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ other_uids - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', app_sandbox=Bool, other_uids={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/account_reportPeer.md b/old_docs/API_docs_v75/methods/account_reportPeer.md index d8c49851..673b48bf 100644 --- a/old_docs/API_docs_v75/methods/account_reportPeer.md +++ b/old_docs/API_docs_v75/methods/account_reportPeer.md @@ -25,7 +25,7 @@ Report for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reason - Json encoded ReportReason Or, if you're into Lua: -``` +```lua Bool = account.reportPeer({peer=InputPeer, reason=ReportReason, }) ``` diff --git a/old_docs/API_docs_v75/methods/account_resetAuthorization.md b/old_docs/API_docs_v75/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v75/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v75/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v75/methods/account_resetNotifySettings.md b/old_docs/API_docs_v75/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v75/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v75/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v75/methods/account_resetWebAuthorization.md b/old_docs/API_docs_v75/methods/account_resetWebAuthorization.md index 2d987787..a12b2b22 100644 --- a/old_docs/API_docs_v75/methods/account_resetWebAuthorization.md +++ b/old_docs/API_docs_v75/methods/account_resetWebAuthorization.md @@ -24,7 +24,7 @@ Delete a certain telegram web login authorization ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetWebAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v75/methods/account_resetWebAuthorizations.md b/old_docs/API_docs_v75/methods/account_resetWebAuthorizations.md index fc39c6fd..594afa11 100644 --- a/old_docs/API_docs_v75/methods/account_resetWebAuthorizations.md +++ b/old_docs/API_docs_v75/methods/account_resetWebAuthorizations.md @@ -19,7 +19,7 @@ Reset all telegram web login authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetWebAuthorizations({}) ``` diff --git a/old_docs/API_docs_v75/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v75/methods/account_sendChangePhoneCode.md index 33a001b9..123a5880 100644 --- a/old_docs/API_docs_v75/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v75/methods/account_sendChangePhoneCode.md @@ -26,7 +26,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v75/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v75/methods/account_sendConfirmPhoneCode.md index a70ad5a3..5c2612c2 100644 --- a/old_docs/API_docs_v75/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v75/methods/account_sendConfirmPhoneCode.md @@ -26,7 +26,7 @@ Send confirmation phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v75/methods/account_setAccountTTL.md b/old_docs/API_docs_v75/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v75/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v75/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v75/methods/account_setPrivacy.md b/old_docs/API_docs_v75/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v75/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v75/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v75/methods/account_unregisterDevice.md b/old_docs/API_docs_v75/methods/account_unregisterDevice.md index b20ec9f0..e7e6a437 100644 --- a/old_docs/API_docs_v75/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v75/methods/account_unregisterDevice.md @@ -26,7 +26,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ other_uids - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', other_uids={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v75/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v75/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v75/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/account_updateNotifySettings.md b/old_docs/API_docs_v75/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v75/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v75/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v75/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v75/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v75/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v75/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v75/methods/account_updateProfile.md b/old_docs/API_docs_v75/methods/account_updateProfile.md index f415381f..f54515e5 100644 --- a/old_docs/API_docs_v75/methods/account_updateProfile.md +++ b/old_docs/API_docs_v75/methods/account_updateProfile.md @@ -26,7 +26,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', about='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/account_updateStatus.md b/old_docs/API_docs_v75/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v75/methods/account_updateStatus.md +++ b/old_docs/API_docs_v75/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v75/methods/account_updateUsername.md b/old_docs/API_docs_v75/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v75/methods/account_updateUsername.md +++ b/old_docs/API_docs_v75/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/auth_cancelCode.md b/old_docs/API_docs_v75/methods/auth_cancelCode.md index 0b53954c..352c88e9 100644 --- a/old_docs/API_docs_v75/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v75/methods/auth_cancelCode.md @@ -25,7 +25,7 @@ Invalidate sent phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/auth_checkPhone.md b/old_docs/API_docs_v75/methods/auth_checkPhone.md index fc566128..f8bbd9b6 100644 --- a/old_docs/API_docs_v75/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v75/methods/auth_checkPhone.md @@ -24,7 +24,7 @@ Check if this phone number is registered on telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ phone_number - Json encoded string Or, if you're into Lua: -``` +```lua auth_CheckedPhone = auth.checkPhone({phone_number='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v75/methods/auth_dropTempAuthKeys.md index 26d63e12..64ce7528 100644 --- a/old_docs/API_docs_v75/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v75/methods/auth_dropTempAuthKeys.md @@ -24,7 +24,7 @@ Delete all temporary authorization keys except the ones provided ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ except_auth_keys - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = auth.dropTempAuthKeys({except_auth_keys={long}, }) ``` diff --git a/old_docs/API_docs_v75/methods/auth_recoverPassword.md b/old_docs/API_docs_v75/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v75/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v75/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v75/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v75/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v75/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v75/methods/auth_resendCode.md b/old_docs/API_docs_v75/methods/auth_resendCode.md index 28350d37..4ce58975 100644 --- a/old_docs/API_docs_v75/methods/auth_resendCode.md +++ b/old_docs/API_docs_v75/methods/auth_resendCode.md @@ -25,7 +25,7 @@ Resend the SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v75/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v75/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v75/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v75/methods/auth_sendInvites.md b/old_docs/API_docs_v75/methods/auth_sendInvites.md index 5f8f06e6..df18d335 100644 --- a/old_docs/API_docs_v75/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v75/methods/auth_sendInvites.md @@ -25,7 +25,7 @@ Invite friends to telegram! ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.sendInvites({phone_numbers={'string'}, message='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v75/methods/bots_answerWebhookJSONQuery.md index 6ed252ff..33b6c2a3 100644 --- a/old_docs/API_docs_v75/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v75/methods/bots_answerWebhookJSONQuery.md @@ -25,7 +25,7 @@ Send webhook request via bot API ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ data - Json encoded DataJSON Or, if you're into Lua: -``` +```lua Bool = bots.answerWebhookJSONQuery({query_id=long, data=DataJSON, }) ``` diff --git a/old_docs/API_docs_v75/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v75/methods/bots_sendCustomRequest.md index d14215ec..bd368df5 100644 --- a/old_docs/API_docs_v75/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v75/methods/bots_sendCustomRequest.md @@ -25,7 +25,7 @@ Send a custom request to the bot API ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ params - Json encoded DataJSON Or, if you're into Lua: -``` +```lua DataJSON = bots.sendCustomRequest({custom_method='string', params=DataJSON, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_checkUsername.md b/old_docs/API_docs_v75/methods/channels_checkUsername.md index d287b3ca..573bf8f0 100644 --- a/old_docs/API_docs_v75/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v75/methods/channels_checkUsername.md @@ -25,7 +25,7 @@ Check if this username is free and can be assigned to a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.checkUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_createChannel.md b/old_docs/API_docs_v75/methods/channels_createChannel.md index 356f473a..1821c864 100644 --- a/old_docs/API_docs_v75/methods/channels_createChannel.md +++ b/old_docs/API_docs_v75/methods/channels_createChannel.md @@ -27,7 +27,7 @@ Create channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title='string', about='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_deleteChannel.md b/old_docs/API_docs_v75/methods/channels_deleteChannel.md index b55d91b8..a79ccb9f 100644 --- a/old_docs/API_docs_v75/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v75/methods/channels_deleteChannel.md @@ -24,7 +24,7 @@ Delete a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.deleteChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_deleteHistory.md b/old_docs/API_docs_v75/methods/channels_deleteHistory.md index ea331b8b..606eb2dc 100644 --- a/old_docs/API_docs_v75/methods/channels_deleteHistory.md +++ b/old_docs/API_docs_v75/methods/channels_deleteHistory.md @@ -25,7 +25,7 @@ Delete the history of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.deleteHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_deleteMessages.md b/old_docs/API_docs_v75/methods/channels_deleteMessages.md index 03625c94..8cd7ebb3 100644 --- a/old_docs/API_docs_v75/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v75/methods/channels_deleteMessages.md @@ -25,7 +25,7 @@ Delete channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v75/methods/channels_deleteUserHistory.md index 204a8786..78baa90f 100644 --- a/old_docs/API_docs_v75/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v75/methods/channels_deleteUserHistory.md @@ -25,7 +25,7 @@ Delete all messages of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_editAbout.md b/old_docs/API_docs_v75/methods/channels_editAbout.md index fd861133..549d7ea5 100644 --- a/old_docs/API_docs_v75/methods/channels_editAbout.md +++ b/old_docs/API_docs_v75/methods/channels_editAbout.md @@ -25,7 +25,7 @@ Edit the about text of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.editAbout({channel=InputChannel, about='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_editAdmin.md b/old_docs/API_docs_v75/methods/channels_editAdmin.md index 08860c79..19670a43 100644 --- a/old_docs/API_docs_v75/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v75/methods/channels_editAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ admin_rights - Json encoded ChannelAdminRights Or, if you're into Lua: -``` +```lua Updates = channels.editAdmin({channel=InputChannel, user_id=InputUser, admin_rights=ChannelAdminRights, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_editBanned.md b/old_docs/API_docs_v75/methods/channels_editBanned.md index e938acc0..e18f236e 100644 --- a/old_docs/API_docs_v75/methods/channels_editBanned.md +++ b/old_docs/API_docs_v75/methods/channels_editBanned.md @@ -26,7 +26,7 @@ Kick or ban a user from a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ banned_rights - Json encoded ChannelBannedRights Or, if you're into Lua: -``` +```lua Updates = channels.editBanned({channel=InputChannel, user_id=InputUser, banned_rights=ChannelBannedRights, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_editPhoto.md b/old_docs/API_docs_v75/methods/channels_editPhoto.md index ccbaed65..7013c6e2 100644 --- a/old_docs/API_docs_v75/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v75/methods/channels_editPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = channels.editPhoto({channel=InputChannel, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_editTitle.md b/old_docs/API_docs_v75/methods/channels_editTitle.md index ffd868ba..a9c8c50f 100644 --- a/old_docs/API_docs_v75/methods/channels_editTitle.md +++ b/old_docs/API_docs_v75/methods/channels_editTitle.md @@ -25,7 +25,7 @@ Edit the title of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.editTitle({channel=InputChannel, title='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_exportInvite.md b/old_docs/API_docs_v75/methods/channels_exportInvite.md index 0b4b5c31..5a92097a 100644 --- a/old_docs/API_docs_v75/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v75/methods/channels_exportInvite.md @@ -24,7 +24,7 @@ Export the invite link of a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua ExportedChatInvite = channels.exportInvite({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_exportMessageLink.md b/old_docs/API_docs_v75/methods/channels_exportMessageLink.md index 3b6e7e9e..c28b37e0 100644 --- a/old_docs/API_docs_v75/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v75/methods/channels_exportMessageLink.md @@ -26,7 +26,7 @@ Get the link of a message in a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ grouped - Json encoded Bool Or, if you're into Lua: -``` +```lua ExportedMessageLink = channels.exportMessageLink({channel=InputChannel, id=int, grouped=Bool, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_getAdminLog.md b/old_docs/API_docs_v75/methods/channels_getAdminLog.md index 266c07d7..79a6b402 100644 --- a/old_docs/API_docs_v75/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v75/methods/channels_getAdminLog.md @@ -30,7 +30,7 @@ Get admin log of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v75/methods/channels_getAdminedPublicChannels.md index 67ee8bd4..dc2c29ed 100644 --- a/old_docs/API_docs_v75/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v75/methods/channels_getAdminedPublicChannels.md @@ -19,7 +19,7 @@ Get all supergroups/channels where you're admin ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v75/methods/channels_getChannels.md b/old_docs/API_docs_v75/methods/channels_getChannels.md index 71edac7b..a146be1e 100644 --- a/old_docs/API_docs_v75/methods/channels_getChannels.md +++ b/old_docs/API_docs_v75/methods/channels_getChannels.md @@ -24,7 +24,7 @@ Get info about multiple channels/supergroups ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputChannel Or, if you're into Lua: -``` +```lua messages_Chats = channels.getChannels({id={InputChannel}, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_getMessages.md b/old_docs/API_docs_v75/methods/channels_getMessages.md index 4f63c3a2..95382110 100644 --- a/old_docs/API_docs_v75/methods/channels_getMessages.md +++ b/old_docs/API_docs_v75/methods/channels_getMessages.md @@ -25,7 +25,7 @@ Get channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of InputMessage Or, if you're into Lua: -``` +```lua messages_Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_getParticipant.md b/old_docs/API_docs_v75/methods/channels_getParticipant.md index a641d213..9cf80799 100644 --- a/old_docs/API_docs_v75/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v75/methods/channels_getParticipant.md @@ -25,7 +25,7 @@ Get info about a certain channel/supergroup participant ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_getParticipants.md b/old_docs/API_docs_v75/methods/channels_getParticipants.md index 25a752cb..eefd0917 100644 --- a/old_docs/API_docs_v75/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v75/methods/channels_getParticipants.md @@ -28,7 +28,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_inviteToChannel.md b/old_docs/API_docs_v75/methods/channels_inviteToChannel.md index 0a350cc8..998e3895 100644 --- a/old_docs/API_docs_v75/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v75/methods/channels_inviteToChannel.md @@ -25,7 +25,7 @@ Add users to channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ users - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Updates = channels.inviteToChannel({channel=InputChannel, users={InputUser}, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_joinChannel.md b/old_docs/API_docs_v75/methods/channels_joinChannel.md index aae2bc1c..3c6a3b94 100644 --- a/old_docs/API_docs_v75/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v75/methods/channels_joinChannel.md @@ -24,7 +24,7 @@ Join a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.joinChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_leaveChannel.md b/old_docs/API_docs_v75/methods/channels_leaveChannel.md index 4e6701fe..0934089f 100644 --- a/old_docs/API_docs_v75/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v75/methods/channels_leaveChannel.md @@ -24,7 +24,7 @@ Leave a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.leaveChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_readHistory.md b/old_docs/API_docs_v75/methods/channels_readHistory.md index d76919ff..cf5c1529 100644 --- a/old_docs/API_docs_v75/methods/channels_readHistory.md +++ b/old_docs/API_docs_v75/methods/channels_readHistory.md @@ -25,7 +25,7 @@ Mark channel/supergroup history as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.readHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_readMessageContents.md b/old_docs/API_docs_v75/methods/channels_readMessageContents.md index 51fffda5..a6cf4f3a 100644 --- a/old_docs/API_docs_v75/methods/channels_readMessageContents.md +++ b/old_docs/API_docs_v75/methods/channels_readMessageContents.md @@ -25,7 +25,7 @@ Mark channel/supergroup messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.readMessageContents({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_reportSpam.md b/old_docs/API_docs_v75/methods/channels_reportSpam.md index 48022662..b0e99eb1 100644 --- a/old_docs/API_docs_v75/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v75/methods/channels_reportSpam.md @@ -26,7 +26,7 @@ Report a message in a supergroup/channel for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.reportSpam({channel=InputChannel, user_id=InputUser, id={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_setStickers.md b/old_docs/API_docs_v75/methods/channels_setStickers.md index 421b3ec1..4338f29a 100644 --- a/old_docs/API_docs_v75/methods/channels_setStickers.md +++ b/old_docs/API_docs_v75/methods/channels_setStickers.md @@ -25,7 +25,7 @@ Set the supergroup/channel stickerpack ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = channels.setStickers({channel=InputChannel, stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_toggleInvites.md b/old_docs/API_docs_v75/methods/channels_toggleInvites.md index d0023b70..bed6ba15 100644 --- a/old_docs/API_docs_v75/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v75/methods/channels_toggleInvites.md @@ -25,7 +25,7 @@ Allow or disallow any user to invite users to this channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleInvites({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_togglePreHistoryHidden.md b/old_docs/API_docs_v75/methods/channels_togglePreHistoryHidden.md index c25f6358..c972473d 100644 --- a/old_docs/API_docs_v75/methods/channels_togglePreHistoryHidden.md +++ b/old_docs/API_docs_v75/methods/channels_togglePreHistoryHidden.md @@ -25,7 +25,7 @@ Enable or disable hidden history for new channel/supergroup users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.togglePreHistoryHidden({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_toggleSignatures.md b/old_docs/API_docs_v75/methods/channels_toggleSignatures.md index 337e8627..c9fe18cc 100644 --- a/old_docs/API_docs_v75/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v75/methods/channels_toggleSignatures.md @@ -25,7 +25,7 @@ Toggle channel signatures ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleSignatures({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v75/methods/channels_updatePinnedMessage.md index c79c5904..9d2cc058 100644 --- a/old_docs/API_docs_v75/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v75/methods/channels_updatePinnedMessage.md @@ -26,7 +26,7 @@ Set the pinned message of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = channels.updatePinnedMessage({silent=Bool, channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/channels_updateUsername.md b/old_docs/API_docs_v75/methods/channels_updateUsername.md index 2e07e123..c0df8c7c 100644 --- a/old_docs/API_docs_v75/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v75/methods/channels_updateUsername.md @@ -25,7 +25,7 @@ Update the username of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.updateUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/contacts_block.md b/old_docs/API_docs_v75/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v75/methods/contacts_block.md +++ b/old_docs/API_docs_v75/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v75/methods/contacts_deleteContact.md b/old_docs/API_docs_v75/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v75/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v75/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v75/methods/contacts_deleteContacts.md b/old_docs/API_docs_v75/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v75/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v75/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v75/methods/contacts_exportCard.md b/old_docs/API_docs_v75/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v75/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v75/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v75/methods/contacts_getBlocked.md b/old_docs/API_docs_v75/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v75/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v75/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/contacts_getContacts.md b/old_docs/API_docs_v75/methods/contacts_getContacts.md index c8b53bc5..19826f89 100644 --- a/old_docs/API_docs_v75/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v75/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/contacts_getStatuses.md b/old_docs/API_docs_v75/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v75/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v75/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v75/methods/contacts_getTopPeers.md b/old_docs/API_docs_v75/methods/contacts_getTopPeers.md index 1cc9c756..c64e7486 100644 --- a/old_docs/API_docs_v75/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v75/methods/contacts_getTopPeers.md @@ -32,7 +32,7 @@ Get most used chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/contacts_importCard.md b/old_docs/API_docs_v75/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v75/methods/contacts_importCard.md +++ b/old_docs/API_docs_v75/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/contacts_importContacts.md b/old_docs/API_docs_v75/methods/contacts_importContacts.md index eddbe116..c42f5c57 100644 --- a/old_docs/API_docs_v75/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v75/methods/contacts_importContacts.md @@ -24,7 +24,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ contacts - Json encoded array of InputContact Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/old_docs/API_docs_v75/methods/contacts_resetSaved.md b/old_docs/API_docs_v75/methods/contacts_resetSaved.md index 6e0214c2..40d528bc 100644 --- a/old_docs/API_docs_v75/methods/contacts_resetSaved.md +++ b/old_docs/API_docs_v75/methods/contacts_resetSaved.md @@ -19,7 +19,7 @@ Reset saved contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = contacts.resetSaved({}) ``` diff --git a/old_docs/API_docs_v75/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v75/methods/contacts_resetTopPeerRating.md index 96ae48ac..94a07f54 100644 --- a/old_docs/API_docs_v75/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v75/methods/contacts_resetTopPeerRating.md @@ -25,7 +25,7 @@ Reset top peer rating for a certain category/peer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = contacts.resetTopPeerRating({category=TopPeerCategory, peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v75/methods/contacts_search.md b/old_docs/API_docs_v75/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v75/methods/contacts_search.md +++ b/old_docs/API_docs_v75/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/contacts_unblock.md b/old_docs/API_docs_v75/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v75/methods/contacts_unblock.md +++ b/old_docs/API_docs_v75/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v75/methods/help_getAppChangelog.md b/old_docs/API_docs_v75/methods/help_getAppChangelog.md index 10b972c1..179eaf3a 100644 --- a/old_docs/API_docs_v75/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v75/methods/help_getAppChangelog.md @@ -24,7 +24,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ prev_app_version - Json encoded string Or, if you're into Lua: -``` +```lua Updates = help.getAppChangelog({prev_app_version='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/help_getAppUpdate.md b/old_docs/API_docs_v75/methods/help_getAppUpdate.md index 4ddc0e4d..541b5972 100644 --- a/old_docs/API_docs_v75/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v75/methods/help_getAppUpdate.md @@ -19,7 +19,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v75/methods/help_getCdnConfig.md b/old_docs/API_docs_v75/methods/help_getCdnConfig.md index be572516..766896c7 100644 --- a/old_docs/API_docs_v75/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v75/methods/help_getCdnConfig.md @@ -19,7 +19,7 @@ Get CDN configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua CdnConfig = help.getCdnConfig({}) ``` diff --git a/old_docs/API_docs_v75/methods/help_getConfig.md b/old_docs/API_docs_v75/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v75/methods/help_getConfig.md +++ b/old_docs/API_docs_v75/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v75/methods/help_getInviteText.md b/old_docs/API_docs_v75/methods/help_getInviteText.md index 1510e64f..f05ac4ac 100644 --- a/old_docs/API_docs_v75/methods/help_getInviteText.md +++ b/old_docs/API_docs_v75/methods/help_getInviteText.md @@ -19,7 +19,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v75/methods/help_getNearestDc.md b/old_docs/API_docs_v75/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v75/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v75/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v75/methods/help_getRecentMeUrls.md b/old_docs/API_docs_v75/methods/help_getRecentMeUrls.md index 27a451bb..c9641f67 100644 --- a/old_docs/API_docs_v75/methods/help_getRecentMeUrls.md +++ b/old_docs/API_docs_v75/methods/help_getRecentMeUrls.md @@ -24,7 +24,7 @@ Get recent t.me URLs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ referer - Json encoded string Or, if you're into Lua: -``` +```lua help_RecentMeUrls = help.getRecentMeUrls({referer='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/help_getSupport.md b/old_docs/API_docs_v75/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v75/methods/help_getSupport.md +++ b/old_docs/API_docs_v75/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v75/methods/help_getTermsOfService.md b/old_docs/API_docs_v75/methods/help_getTermsOfService.md index bf421bf6..95d51e60 100644 --- a/old_docs/API_docs_v75/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v75/methods/help_getTermsOfService.md @@ -19,7 +19,7 @@ Get terms of service ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v75/methods/help_saveAppLog.md b/old_docs/API_docs_v75/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v75/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v75/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v75/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v75/methods/help_setBotUpdatesStatus.md index 0429f8a0..53736da7 100644 --- a/old_docs/API_docs_v75/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v75/methods/help_setBotUpdatesStatus.md @@ -25,7 +25,7 @@ Set the update status of webhook ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = help.setBotUpdatesStatus({pending_updates_count=int, message='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/initConnection.md b/old_docs/API_docs_v75/methods/initConnection.md index 692a41e8..858a9e5d 100644 --- a/old_docs/API_docs_v75/methods/initConnection.md +++ b/old_docs/API_docs_v75/methods/initConnection.md @@ -31,7 +31,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -83,7 +83,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', system_lang_code='string', lang_pack='string', lang_code='string', query=!X, }) ``` diff --git a/old_docs/API_docs_v75/methods/invokeAfterMsg.md b/old_docs/API_docs_v75/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v75/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v75/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v75/methods/invokeAfterMsgs.md b/old_docs/API_docs_v75/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v75/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v75/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v75/methods/invokeWithLayer.md b/old_docs/API_docs_v75/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v75/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v75/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v75/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v75/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/old_docs/API_docs_v75/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v75/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/old_docs/API_docs_v75/methods/langpack_getDifference.md b/old_docs/API_docs_v75/methods/langpack_getDifference.md index 0614d869..30184f61 100644 --- a/old_docs/API_docs_v75/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v75/methods/langpack_getDifference.md @@ -24,7 +24,7 @@ Get language pack updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ from_version - Json encoded int Or, if you're into Lua: -``` +```lua LangPackDifference = langpack.getDifference({from_version=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/langpack_getLangPack.md b/old_docs/API_docs_v75/methods/langpack_getLangPack.md index 70f9eb73..98001615 100644 --- a/old_docs/API_docs_v75/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v75/methods/langpack_getLangPack.md @@ -24,7 +24,7 @@ Get language pack ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua LangPackDifference = langpack.getLangPack({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/langpack_getLanguages.md b/old_docs/API_docs_v75/methods/langpack_getLanguages.md index 5eaf2049..8a592a86 100644 --- a/old_docs/API_docs_v75/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v75/methods/langpack_getLanguages.md @@ -19,7 +19,7 @@ Get available languages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_LangPackLanguage = langpack.getLanguages({}) ``` diff --git a/old_docs/API_docs_v75/methods/langpack_getStrings.md b/old_docs/API_docs_v75/methods/langpack_getStrings.md index 3042b040..ccd0a684 100644 --- a/old_docs/API_docs_v75/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v75/methods/langpack_getStrings.md @@ -25,7 +25,7 @@ Get language pack strings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ keys - Json encoded array of string Or, if you're into Lua: -``` +```lua Vector_of_LangPackString = langpack.getStrings({lang_code='string', keys={'string'}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_addChatUser.md b/old_docs/API_docs_v75/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v75/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v75/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_checkChatInvite.md b/old_docs/API_docs_v75/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/old_docs/API_docs_v75/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v75/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v75/methods/messages_clearRecentStickers.md index 56634143..53e1fa4f 100644 --- a/old_docs/API_docs_v75/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v75/methods/messages_clearRecentStickers.md @@ -24,7 +24,7 @@ Clear all recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ attached - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.clearRecentStickers({attached=Bool, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_createChat.md b/old_docs/API_docs_v75/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v75/methods/messages_createChat.md +++ b/old_docs/API_docs_v75/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_deleteChatUser.md b/old_docs/API_docs_v75/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v75/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v75/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_deleteHistory.md b/old_docs/API_docs_v75/methods/messages_deleteHistory.md index 866ba216..33d1ca52 100644 --- a/old_docs/API_docs_v75/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v75/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_deleteMessages.md b/old_docs/API_docs_v75/methods/messages_deleteMessages.md index eaf9cd86..9158e8bd 100644 --- a/old_docs/API_docs_v75/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v75/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_editChatAdmin.md b/old_docs/API_docs_v75/methods/messages_editChatAdmin.md index a2dad97f..f883b50e 100644 --- a/old_docs/API_docs_v75/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v75/methods/messages_editChatAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ is_admin - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.editChatAdmin({chat_id=InputPeer, user_id=InputUser, is_admin=Bool, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_editChatPhoto.md b/old_docs/API_docs_v75/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v75/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v75/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_editChatTitle.md b/old_docs/API_docs_v75/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v75/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v75/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v75/methods/messages_editInlineBotMessage.md index d62d7bb6..e55d42b0 100644 --- a/old_docs/API_docs_v75/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v75/methods/messages_editInlineBotMessage.md @@ -31,7 +31,7 @@ Edit a sent inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -70,7 +70,7 @@ geo_point - Json encoded InputGeoPoint Or, if you're into Lua: -``` +```lua Bool = messages.editInlineBotMessage({no_webpage=Bool, stop_geo_live=Bool, id=InputBotInlineMessageID, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', geo_point=InputGeoPoint, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_editMessage.md b/old_docs/API_docs_v75/methods/messages_editMessage.md index 9dcca8d5..7c96b3fb 100644 --- a/old_docs/API_docs_v75/methods/messages_editMessage.md +++ b/old_docs/API_docs_v75/methods/messages_editMessage.md @@ -32,7 +32,7 @@ Edit a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ geo_point - Json encoded InputGeoPoint Or, if you're into Lua: -``` +```lua Updates = messages.editMessage({no_webpage=Bool, stop_geo_live=Bool, peer=InputPeer, id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', geo_point=InputGeoPoint, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_exportChatInvite.md b/old_docs/API_docs_v75/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/old_docs/API_docs_v75/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v75/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_faveSticker.md b/old_docs/API_docs_v75/methods/messages_faveSticker.md index 302957c5..26e49af9 100644 --- a/old_docs/API_docs_v75/methods/messages_faveSticker.md +++ b/old_docs/API_docs_v75/methods/messages_faveSticker.md @@ -25,7 +25,7 @@ Add a sticker to favorites ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ unfave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.faveSticker({id=InputDocument, unfave=Bool, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_forwardMessages.md b/old_docs/API_docs_v75/methods/messages_forwardMessages.md index 3372333c..b7d19145 100644 --- a/old_docs/API_docs_v75/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v75/methods/messages_forwardMessages.md @@ -30,7 +30,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ to_peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({silent=Bool, background=Bool, with_my_score=Bool, grouped=Bool, from_peer=InputPeer, id={int}, to_peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getAllChats.md b/old_docs/API_docs_v75/methods/messages_getAllChats.md index 663af07c..38cbbbae 100644 --- a/old_docs/API_docs_v75/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v75/methods/messages_getAllChats.md @@ -24,7 +24,7 @@ Get all chats (not supergroups or channels) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ except_ids - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getAllChats({except_ids={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getAllDrafts.md b/old_docs/API_docs_v75/methods/messages_getAllDrafts.md index 31aa8176..7300e01a 100644 --- a/old_docs/API_docs_v75/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v75/methods/messages_getAllDrafts.md @@ -19,7 +19,7 @@ Get all message drafts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Updates = messages.getAllDrafts({}) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getAllStickers.md b/old_docs/API_docs_v75/methods/messages_getAllStickers.md index 966af122..c25a823b 100644 --- a/old_docs/API_docs_v75/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v75/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v75/methods/messages_getArchivedStickers.md index e98ab6ec..ef79ee6e 100644 --- a/old_docs/API_docs_v75/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v75/methods/messages_getArchivedStickers.md @@ -26,7 +26,7 @@ Get all archived stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v75/methods/messages_getAttachedStickers.md index 0e221a84..9ada6655 100644 --- a/old_docs/API_docs_v75/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v75/methods/messages_getAttachedStickers.md @@ -24,7 +24,7 @@ Get stickers attachable to images ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ media - Json encoded InputStickeredMedia Or, if you're into Lua: -``` +```lua Vector_of_StickerSetCovered = messages.getAttachedStickers({media=InputStickeredMedia, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v75/methods/messages_getBotCallbackAnswer.md index ffcd8a2e..b4f1d02f 100644 --- a/old_docs/API_docs_v75/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v75/methods/messages_getBotCallbackAnswer.md @@ -27,7 +27,7 @@ Get the callback answer of a bot (after clicking a button) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ data - Json encoded bytes Or, if you're into Lua: -``` +```lua messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getChats.md b/old_docs/API_docs_v75/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v75/methods/messages_getChats.md +++ b/old_docs/API_docs_v75/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getCommonChats.md b/old_docs/API_docs_v75/methods/messages_getCommonChats.md index e6921d5e..83237f64 100644 --- a/old_docs/API_docs_v75/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v75/methods/messages_getCommonChats.md @@ -26,7 +26,7 @@ Get chats in common with a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getDialogs.md b/old_docs/API_docs_v75/methods/messages_getDialogs.md index 694c916f..0bc314b5 100644 --- a/old_docs/API_docs_v75/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v75/methods/messages_getDialogs.md @@ -28,7 +28,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v75/methods/messages_getDocumentByHash.md index 5b6f6f21..00f0a558 100644 --- a/old_docs/API_docs_v75/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v75/methods/messages_getDocumentByHash.md @@ -26,7 +26,7 @@ Get document by SHA256 hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ mime_type - Json encoded string Or, if you're into Lua: -``` +```lua Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getFavedStickers.md b/old_docs/API_docs_v75/methods/messages_getFavedStickers.md index 6bc1560c..95d6d4a2 100644 --- a/old_docs/API_docs_v75/methods/messages_getFavedStickers.md +++ b/old_docs/API_docs_v75/methods/messages_getFavedStickers.md @@ -24,7 +24,7 @@ Get favorite stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v75/methods/messages_getFeaturedStickers.md index a837377b..c257621e 100644 --- a/old_docs/API_docs_v75/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v75/methods/messages_getFeaturedStickers.md @@ -24,7 +24,7 @@ Get featured stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getGameHighScores.md b/old_docs/API_docs_v75/methods/messages_getGameHighScores.md index f7837998..a97fb1ff 100644 --- a/old_docs/API_docs_v75/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v75/methods/messages_getGameHighScores.md @@ -26,7 +26,7 @@ Get high scores of a game ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getHistory.md b/old_docs/API_docs_v75/methods/messages_getHistory.md index d79f2694..215e949d 100644 --- a/old_docs/API_docs_v75/methods/messages_getHistory.md +++ b/old_docs/API_docs_v75/methods/messages_getHistory.md @@ -31,7 +31,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v75/methods/messages_getInlineBotResults.md index 03b5d845..73f2deb2 100644 --- a/old_docs/API_docs_v75/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v75/methods/messages_getInlineBotResults.md @@ -28,7 +28,7 @@ Call inline bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ offset - Json encoded string Or, if you're into Lua: -``` +```lua messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v75/methods/messages_getInlineGameHighScores.md index e8be8e81..046c1cfb 100644 --- a/old_docs/API_docs_v75/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v75/methods/messages_getInlineGameHighScores.md @@ -25,7 +25,7 @@ Get high scores of a game sent in an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getMaskStickers.md b/old_docs/API_docs_v75/methods/messages_getMaskStickers.md index 55c4edea..06fd153e 100644 --- a/old_docs/API_docs_v75/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v75/methods/messages_getMaskStickers.md @@ -24,7 +24,7 @@ Get masks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getMessageEditData.md b/old_docs/API_docs_v75/methods/messages_getMessageEditData.md index 2c44a1dc..77e2c030 100644 --- a/old_docs/API_docs_v75/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v75/methods/messages_getMessageEditData.md @@ -25,7 +25,7 @@ Check if about to edit a message or a media caption ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getMessages.md b/old_docs/API_docs_v75/methods/messages_getMessages.md index 3cd40799..ffc8cdb6 100644 --- a/old_docs/API_docs_v75/methods/messages_getMessages.md +++ b/old_docs/API_docs_v75/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputMessage Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={InputMessage}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getMessagesViews.md b/old_docs/API_docs_v75/methods/messages_getMessagesViews.md index 57a99054..b2b6110e 100644 --- a/old_docs/API_docs_v75/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v75/methods/messages_getMessagesViews.md @@ -26,7 +26,7 @@ Get and increase message views ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ increment - Json encoded Bool Or, if you're into Lua: -``` +```lua Vector_of_int = messages.getMessagesViews({peer=InputPeer, id={int}, increment=Bool, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v75/methods/messages_getPeerDialogs.md index ca746b3b..a34873df 100644 --- a/old_docs/API_docs_v75/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v75/methods/messages_getPeerDialogs.md @@ -24,7 +24,7 @@ Get dialog info of peers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peers - Json encoded array of InputPeer Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getPeerSettings.md b/old_docs/API_docs_v75/methods/messages_getPeerSettings.md index 92d4697a..e2b3ec4f 100644 --- a/old_docs/API_docs_v75/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v75/methods/messages_getPeerSettings.md @@ -24,7 +24,7 @@ Get the settings of apeer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua PeerSettings = messages.getPeerSettings({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v75/methods/messages_getPinnedDialogs.md index 634f4c41..77eb98ce 100644 --- a/old_docs/API_docs_v75/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v75/methods/messages_getPinnedDialogs.md @@ -19,7 +19,7 @@ Get pinned dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPinnedDialogs({}) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getRecentLocations.md b/old_docs/API_docs_v75/methods/messages_getRecentLocations.md index c9037187..5764b32a 100644 --- a/old_docs/API_docs_v75/methods/messages_getRecentLocations.md +++ b/old_docs/API_docs_v75/methods/messages_getRecentLocations.md @@ -25,7 +25,7 @@ Get recent locations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getRecentLocations({peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getRecentStickers.md b/old_docs/API_docs_v75/methods/messages_getRecentStickers.md index d89272fd..939fd036 100644 --- a/old_docs/API_docs_v75/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v75/methods/messages_getRecentStickers.md @@ -25,7 +25,7 @@ Get recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getSavedGifs.md b/old_docs/API_docs_v75/methods/messages_getSavedGifs.md index cafba4e1..1a879907 100644 --- a/old_docs/API_docs_v75/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v75/methods/messages_getSavedGifs.md @@ -24,7 +24,7 @@ Get saved gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getStickerSet.md b/old_docs/API_docs_v75/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/old_docs/API_docs_v75/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v75/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getStickers.md b/old_docs/API_docs_v75/methods/messages_getStickers.md index b1d3bd83..f4ca9972 100644 --- a/old_docs/API_docs_v75/methods/messages_getStickers.md +++ b/old_docs/API_docs_v75/methods/messages_getStickers.md @@ -25,7 +25,7 @@ Get stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getUnreadMentions.md b/old_docs/API_docs_v75/methods/messages_getUnreadMentions.md index 9b221db9..d30c19c5 100644 --- a/old_docs/API_docs_v75/methods/messages_getUnreadMentions.md +++ b/old_docs/API_docs_v75/methods/messages_getUnreadMentions.md @@ -29,7 +29,7 @@ Get unread mentions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getWebPage.md b/old_docs/API_docs_v75/methods/messages_getWebPage.md index fb7152af..9237d4b7 100644 --- a/old_docs/API_docs_v75/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v75/methods/messages_getWebPage.md @@ -25,7 +25,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua WebPage = messages.getWebPage({url='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v75/methods/messages_getWebPagePreview.md index b78871e2..0b99a0d4 100644 --- a/old_docs/API_docs_v75/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v75/methods/messages_getWebPagePreview.md @@ -26,7 +26,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -54,7 +54,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_hideReportSpam.md b/old_docs/API_docs_v75/methods/messages_hideReportSpam.md index 17a7f8ef..1c0d72c5 100644 --- a/old_docs/API_docs_v75/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v75/methods/messages_hideReportSpam.md @@ -24,7 +24,7 @@ Hide report spam popup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.hideReportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_importChatInvite.md b/old_docs/API_docs_v75/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/old_docs/API_docs_v75/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v75/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_installStickerSet.md b/old_docs/API_docs_v75/methods/messages_installStickerSet.md index 88131136..6bdb9390 100644 --- a/old_docs/API_docs_v75/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v75/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ archived - Json encoded Bool Or, if you're into Lua: -``` +```lua messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_migrateChat.md b/old_docs/API_docs_v75/methods/messages_migrateChat.md index df91f510..e789ff7d 100644 --- a/old_docs/API_docs_v75/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v75/methods/messages_migrateChat.md @@ -24,7 +24,7 @@ Convert chat to supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.migrateChat({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v75/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v75/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v75/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v75/methods/messages_readFeaturedStickers.md index 2c34ac0f..9fef6621 100644 --- a/old_docs/API_docs_v75/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v75/methods/messages_readFeaturedStickers.md @@ -24,7 +24,7 @@ Mark new featured stickers as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.readFeaturedStickers({id={long}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_readHistory.md b/old_docs/API_docs_v75/methods/messages_readHistory.md index 48d7fb45..4a2188d8 100644 --- a/old_docs/API_docs_v75/methods/messages_readHistory.md +++ b/old_docs/API_docs_v75/methods/messages_readHistory.md @@ -25,7 +25,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_readMentions.md b/old_docs/API_docs_v75/methods/messages_readMentions.md index 31874ee6..237da9c4 100644 --- a/old_docs/API_docs_v75/methods/messages_readMentions.md +++ b/old_docs/API_docs_v75/methods/messages_readMentions.md @@ -24,7 +24,7 @@ Mark mentions as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.readMentions({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_readMessageContents.md b/old_docs/API_docs_v75/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v75/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v75/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_receivedMessages.md b/old_docs/API_docs_v75/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/old_docs/API_docs_v75/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v75/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v75/methods/messages_reorderPinnedDialogs.md index 4d2cb53e..d8aeefa7 100644 --- a/old_docs/API_docs_v75/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v75/methods/messages_reorderPinnedDialogs.md @@ -25,7 +25,7 @@ Reorder pinned dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reorderPinnedDialogs({force=Bool, order={InputPeer}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v75/methods/messages_reorderStickerSets.md index c1c35ef6..cd73daa0 100644 --- a/old_docs/API_docs_v75/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v75/methods/messages_reorderStickerSets.md @@ -25,7 +25,7 @@ Reorder sticker sets ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.reorderStickerSets({masks=Bool, order={long}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v75/methods/messages_reportEncryptedSpam.md index dffdffc9..5d5f0dab 100644 --- a/old_docs/API_docs_v75/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v75/methods/messages_reportEncryptedSpam.md @@ -24,7 +24,7 @@ Report for spam a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputEncryptedChat Or, if you're into Lua: -``` +```lua Bool = messages.reportEncryptedSpam({peer=InputEncryptedChat, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_reportSpam.md b/old_docs/API_docs_v75/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/old_docs/API_docs_v75/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v75/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_saveDraft.md b/old_docs/API_docs_v75/methods/messages_saveDraft.md index ede72c41..14e69f93 100644 --- a/old_docs/API_docs_v75/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v75/methods/messages_saveDraft.md @@ -29,7 +29,7 @@ Save a message draft ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -57,7 +57,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.saveDraft({no_webpage=Bool, reply_to_msg_id=int, peer=InputPeer, message='string', entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_saveGif.md b/old_docs/API_docs_v75/methods/messages_saveGif.md index adae6d86..dfa956ab 100644 --- a/old_docs/API_docs_v75/methods/messages_saveGif.md +++ b/old_docs/API_docs_v75/methods/messages_saveGif.md @@ -25,7 +25,7 @@ Save a GIF ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveGif({id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v75/methods/messages_saveRecentSticker.md index 9cd06ea1..1abf524f 100644 --- a/old_docs/API_docs_v75/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v75/methods/messages_saveRecentSticker.md @@ -26,7 +26,7 @@ Add a sticker to recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveRecentSticker({attached=Bool, id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_search.md b/old_docs/API_docs_v75/methods/messages_search.md index a1f7ea03..85ff60bc 100644 --- a/old_docs/API_docs_v75/methods/messages_search.md +++ b/old_docs/API_docs_v75/methods/messages_search.md @@ -34,7 +34,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -83,7 +83,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_searchGifs.md b/old_docs/API_docs_v75/methods/messages_searchGifs.md index 1ef77d23..a12cdd21 100644 --- a/old_docs/API_docs_v75/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v75/methods/messages_searchGifs.md @@ -25,7 +25,7 @@ Search gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_searchGlobal.md b/old_docs/API_docs_v75/methods/messages_searchGlobal.md index 4d05bf0d..1fb73592 100644 --- a/old_docs/API_docs_v75/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v75/methods/messages_searchGlobal.md @@ -28,7 +28,7 @@ Global message search ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_sendEncrypted.md b/old_docs/API_docs_v75/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v75/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v75/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v75/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v75/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v75/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v75/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v75/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v75/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v75/methods/messages_sendInlineBotResult.md index 8de674c6..37fae63a 100644 --- a/old_docs/API_docs_v75/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v75/methods/messages_sendInlineBotResult.md @@ -30,7 +30,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ id - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.sendInlineBotResult({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_sendMedia.md b/old_docs/API_docs_v75/methods/messages_sendMedia.md index ff414eeb..c02b1d98 100644 --- a/old_docs/API_docs_v75/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v75/methods/messages_sendMedia.md @@ -33,7 +33,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, media=InputMedia, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_sendMessage.md b/old_docs/API_docs_v75/methods/messages_sendMessage.md index 77790562..9cdc74eb 100644 --- a/old_docs/API_docs_v75/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v75/methods/messages_sendMessage.md @@ -33,7 +33,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMessage({no_webpage=Bool, silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_sendMultiMedia.md b/old_docs/API_docs_v75/methods/messages_sendMultiMedia.md index 115d2f60..a6cd72c4 100644 --- a/old_docs/API_docs_v75/methods/messages_sendMultiMedia.md +++ b/old_docs/API_docs_v75/methods/messages_sendMultiMedia.md @@ -29,7 +29,7 @@ Send an album ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ multi_media - Json encoded array of InputSingleMedia Or, if you're into Lua: -``` +```lua Updates = messages.sendMultiMedia({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, multi_media={InputSingleMedia}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_sendScreenshotNotification.md b/old_docs/API_docs_v75/methods/messages_sendScreenshotNotification.md index 3a71c404..d4fd79b6 100644 --- a/old_docs/API_docs_v75/methods/messages_sendScreenshotNotification.md +++ b/old_docs/API_docs_v75/methods/messages_sendScreenshotNotification.md @@ -25,7 +25,7 @@ Send screenshot notification ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reply_to_msg_id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.sendScreenshotNotification({peer=InputPeer, reply_to_msg_id=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v75/methods/messages_setBotCallbackAnswer.md index 0395b468..47d74918 100644 --- a/old_docs/API_docs_v75/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v75/methods/messages_setBotCallbackAnswer.md @@ -28,7 +28,7 @@ Bots only: set the callback answer (after a button was clicked) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ cache_time - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message='string', url='string', cache_time=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v75/methods/messages_setBotPrecheckoutResults.md index 486ab585..92e8ea5a 100644 --- a/old_docs/API_docs_v75/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v75/methods/messages_setBotPrecheckoutResults.md @@ -26,7 +26,7 @@ Bots only: set precheckout results ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ error - Json encoded string Or, if you're into Lua: -``` +```lua Bool = messages.setBotPrecheckoutResults({success=Bool, query_id=long, error='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v75/methods/messages_setBotShippingResults.md index a9e43c49..6e223219 100644 --- a/old_docs/API_docs_v75/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v75/methods/messages_setBotShippingResults.md @@ -26,7 +26,7 @@ Bots only: set shipping results ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ shipping_options - Json encoded array of ShippingOption Or, if you're into Lua: -``` +```lua Bool = messages.setBotShippingResults({query_id=long, error='string', shipping_options={ShippingOption}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v75/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v75/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v75/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_setGameScore.md b/old_docs/API_docs_v75/methods/messages_setGameScore.md index 41ee4591..1a50326e 100644 --- a/old_docs/API_docs_v75/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v75/methods/messages_setGameScore.md @@ -29,7 +29,7 @@ Set the game score ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.setGameScore({edit_message=Bool, force=Bool, peer=InputPeer, id=int, user_id=InputUser, score=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v75/methods/messages_setInlineBotResults.md index 443a028e..e1ebe4e3 100644 --- a/old_docs/API_docs_v75/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v75/methods/messages_setInlineBotResults.md @@ -30,7 +30,7 @@ Bots only: set the results of an inline query ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: -``` +```lua Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset='string', switch_pm=InlineBotSwitchPM, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v75/methods/messages_setInlineGameScore.md index 0d97b9bf..76db49dd 100644 --- a/old_docs/API_docs_v75/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v75/methods/messages_setInlineGameScore.md @@ -28,7 +28,7 @@ Set the game score of an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setInlineGameScore({edit_message=Bool, force=Bool, id=InputBotInlineMessageID, user_id=InputUser, score=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_setTyping.md b/old_docs/API_docs_v75/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v75/methods/messages_setTyping.md +++ b/old_docs/API_docs_v75/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_startBot.md b/old_docs/API_docs_v75/methods/messages_startBot.md index 506957a7..71f82822 100644 --- a/old_docs/API_docs_v75/methods/messages_startBot.md +++ b/old_docs/API_docs_v75/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v75/methods/messages_toggleChatAdmins.md index 0f1e56fa..56438277 100644 --- a/old_docs/API_docs_v75/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v75/methods/messages_toggleChatAdmins.md @@ -25,7 +25,7 @@ Enable all users are admins in normal groups (not supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = messages.toggleChatAdmins({chat_id=InputPeer, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v75/methods/messages_toggleDialogPin.md index 57f673a0..02adfd4b 100644 --- a/old_docs/API_docs_v75/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v75/methods/messages_toggleDialogPin.md @@ -25,7 +25,7 @@ Pin or unpin dialog ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.toggleDialogPin({pinned=Bool, peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v75/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/old_docs/API_docs_v75/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v75/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_uploadEncryptedFile.md b/old_docs/API_docs_v75/methods/messages_uploadEncryptedFile.md index 91159bb5..f3d5d0e5 100644 --- a/old_docs/API_docs_v75/methods/messages_uploadEncryptedFile.md +++ b/old_docs/API_docs_v75/methods/messages_uploadEncryptedFile.md @@ -25,7 +25,7 @@ Upload a secret chat file without sending it to anyone ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua EncryptedFile = messages.uploadEncryptedFile({peer=InputEncryptedChat, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages_uploadMedia.md b/old_docs/API_docs_v75/methods/messages_uploadMedia.md index 65fed5f8..af710357 100644 --- a/old_docs/API_docs_v75/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v75/methods/messages_uploadMedia.md @@ -25,7 +25,7 @@ Upload a file without sending it to anyone ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua MessageMedia = messages.uploadMedia({peer=InputPeer, media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v75/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v75/methods/payments_clearSavedInfo.md index 8ac2d538..1fb58ffa 100644 --- a/old_docs/API_docs_v75/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v75/methods/payments_clearSavedInfo.md @@ -25,7 +25,7 @@ Clear saved payments info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ info - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = payments.clearSavedInfo({credentials=Bool, info=Bool, }) ``` diff --git a/old_docs/API_docs_v75/methods/payments_getPaymentForm.md b/old_docs/API_docs_v75/methods/payments_getPaymentForm.md index c53c7d10..480e7d6d 100644 --- a/old_docs/API_docs_v75/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v75/methods/payments_getPaymentForm.md @@ -24,7 +24,7 @@ Get payment form ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ msg_id - Json encoded int Or, if you're into Lua: -``` +```lua payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v75/methods/payments_getPaymentReceipt.md index b6bbb3e5..074aed0e 100644 --- a/old_docs/API_docs_v75/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v75/methods/payments_getPaymentReceipt.md @@ -24,7 +24,7 @@ Get payment receipt ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ msg_id - Json encoded int Or, if you're into Lua: -``` +```lua payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/payments_getSavedInfo.md b/old_docs/API_docs_v75/methods/payments_getSavedInfo.md index acaa603f..df3796a2 100644 --- a/old_docs/API_docs_v75/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v75/methods/payments_getSavedInfo.md @@ -19,7 +19,7 @@ Get saved payments info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua payments_SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v75/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v75/methods/payments_sendPaymentForm.md index 5ac22160..582f446a 100644 --- a/old_docs/API_docs_v75/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v75/methods/payments_sendPaymentForm.md @@ -27,7 +27,7 @@ Bots only: send payment form ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ credentials - Json encoded InputPaymentCredentials Or, if you're into Lua: -``` +```lua payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` diff --git a/old_docs/API_docs_v75/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v75/methods/payments_validateRequestedInfo.md index bc60d68f..524c8515 100644 --- a/old_docs/API_docs_v75/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v75/methods/payments_validateRequestedInfo.md @@ -26,7 +26,7 @@ Validate requested payment info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ info - Json encoded PaymentRequestedInfo Or, if you're into Lua: -``` +```lua payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` diff --git a/old_docs/API_docs_v75/methods/phone_getCallConfig.md b/old_docs/API_docs_v75/methods/phone_getCallConfig.md index dc8619e8..4ee97d2f 100644 --- a/old_docs/API_docs_v75/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v75/methods/phone_getCallConfig.md @@ -19,7 +19,7 @@ Get call configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua DataJSON = phone.getCallConfig({}) ``` diff --git a/old_docs/API_docs_v75/methods/phone_receivedCall.md b/old_docs/API_docs_v75/methods/phone_receivedCall.md index b6cebd0c..c030fe43 100644 --- a/old_docs/API_docs_v75/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v75/methods/phone_receivedCall.md @@ -24,7 +24,7 @@ Notify server that you received a call (server will refuse all incoming calls un ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPhoneCall Or, if you're into Lua: -``` +```lua Bool = phone.receivedCall({peer=InputPhoneCall, }) ``` diff --git a/old_docs/API_docs_v75/methods/phone_saveCallDebug.md b/old_docs/API_docs_v75/methods/phone_saveCallDebug.md index 176f0838..3aff7998 100644 --- a/old_docs/API_docs_v75/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v75/methods/phone_saveCallDebug.md @@ -25,7 +25,7 @@ Save call debugging info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ debug - Json encoded DataJSON Or, if you're into Lua: -``` +```lua Bool = phone.saveCallDebug({peer=InputPhoneCall, debug=DataJSON, }) ``` diff --git a/old_docs/API_docs_v75/methods/phone_setCallRating.md b/old_docs/API_docs_v75/methods/phone_setCallRating.md index 0861c10e..fa83b2c7 100644 --- a/old_docs/API_docs_v75/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v75/methods/phone_setCallRating.md @@ -26,7 +26,7 @@ Set phone call rating ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ comment - Json encoded string Or, if you're into Lua: -``` +```lua Updates = phone.setCallRating({peer=InputPhoneCall, rating=int, comment='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/photos_deletePhotos.md b/old_docs/API_docs_v75/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v75/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v75/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v75/methods/photos_getUserPhotos.md b/old_docs/API_docs_v75/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/old_docs/API_docs_v75/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v75/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v75/methods/photos_updateProfilePhoto.md index 8eb42e5d..26ab417e 100644 --- a/old_docs/API_docs_v75/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v75/methods/photos_updateProfilePhoto.md @@ -24,7 +24,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputPhoto Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, }) ``` diff --git a/old_docs/API_docs_v75/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v75/methods/photos_uploadProfilePhoto.md index 9b838b89..8d047d9a 100644 --- a/old_docs/API_docs_v75/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v75/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ file - Json encoded InputFile Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` diff --git a/old_docs/API_docs_v75/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v75/methods/stickers_addStickerToSet.md index 7029d543..0946e28a 100644 --- a/old_docs/API_docs_v75/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v75/methods/stickers_addStickerToSet.md @@ -25,7 +25,7 @@ Add sticker to stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ sticker - Json encoded InputStickerSetItem Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` diff --git a/old_docs/API_docs_v75/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v75/methods/stickers_changeStickerPosition.md index e6a2951e..ff27fd3c 100644 --- a/old_docs/API_docs_v75/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v75/methods/stickers_changeStickerPosition.md @@ -25,7 +25,7 @@ Change sticker position in photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ position - Json encoded int Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/stickers_createStickerSet.md b/old_docs/API_docs_v75/methods/stickers_createStickerSet.md index 58ed89b7..7dd29ccd 100644 --- a/old_docs/API_docs_v75/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v75/methods/stickers_createStickerSet.md @@ -28,7 +28,7 @@ Create stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ stickers - Json encoded array of InputStickerSetItem Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` diff --git a/old_docs/API_docs_v75/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v75/methods/stickers_removeStickerFromSet.md index 7349779f..64ce97a3 100644 --- a/old_docs/API_docs_v75/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v75/methods/stickers_removeStickerFromSet.md @@ -24,7 +24,7 @@ Remove sticker from stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ sticker - Json encoded InputDocument Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` diff --git a/old_docs/API_docs_v75/methods/upload_getWebFile.md b/old_docs/API_docs_v75/methods/upload_getWebFile.md index d7d5d631..16952ff9 100644 --- a/old_docs/API_docs_v75/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v75/methods/upload_getWebFile.md @@ -26,7 +26,7 @@ Download a file through telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/users_getUsers.md b/old_docs/API_docs_v75/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v75/methods/users_getUsers.md +++ b/old_docs/API_docs_v75/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v75/types/Chat.md b/old_docs/API_docs_v75/types/Chat.md index cd83aacb..58654e6e 100644 --- a/old_docs/API_docs_v75/types/Chat.md +++ b/old_docs/API_docs_v75/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v75/types/InputChannel.md b/old_docs/API_docs_v75/types/InputChannel.md index 3882099d..6dc802fc 100644 --- a/old_docs/API_docs_v75/types/InputChannel.md +++ b/old_docs/API_docs_v75/types/InputChannel.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputChannel = '@username'; // Username $InputChannel = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v75/types/InputEncryptedChat.md b/old_docs/API_docs_v75/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v75/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v75/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v75/types/InputEncryptedFile.md b/old_docs/API_docs_v75/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v75/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v75/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v75/types/InputFile.md b/old_docs/API_docs_v75/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v75/types/InputFile.md +++ b/old_docs/API_docs_v75/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v75/types/InputMessage.md b/old_docs/API_docs_v75/types/InputMessage.md index 075b4f04..3233b335 100644 --- a/old_docs/API_docs_v75/types/InputMessage.md +++ b/old_docs/API_docs_v75/types/InputMessage.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputMessage = 142; // Numeric message ID ``` diff --git a/old_docs/API_docs_v75/types/InputNotifyPeer.md b/old_docs/API_docs_v75/types/InputNotifyPeer.md index ffc1f0cf..f9d0a662 100644 --- a/old_docs/API_docs_v75/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v75/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v75/types/InputPeer.md b/old_docs/API_docs_v75/types/InputPeer.md index 2076c00b..2649db1a 100644 --- a/old_docs/API_docs_v75/types/InputPeer.md +++ b/old_docs/API_docs_v75/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v75/types/InputUser.md b/old_docs/API_docs_v75/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/old_docs/API_docs_v75/types/InputUser.md +++ b/old_docs/API_docs_v75/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v75/types/KeyboardButton.md b/old_docs/API_docs_v75/types/KeyboardButton.md index ac4b9e1e..69f33796 100644 --- a/old_docs/API_docs_v75/types/KeyboardButton.md +++ b/old_docs/API_docs_v75/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/old_docs/API_docs_v75/types/NotifyPeer.md b/old_docs/API_docs_v75/types/NotifyPeer.md index 6272b82b..9da83a53 100644 --- a/old_docs/API_docs_v75/types/NotifyPeer.md +++ b/old_docs/API_docs_v75/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v75/types/Peer.md b/old_docs/API_docs_v75/types/Peer.md index ebb98e91..0ab7fdcc 100644 --- a/old_docs/API_docs_v75/types/Peer.md +++ b/old_docs/API_docs_v75/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v75/types/PhoneCall.md b/old_docs/API_docs_v75/types/PhoneCall.md index 64d95972..0aa87799 100644 --- a/old_docs/API_docs_v75/types/PhoneCall.md +++ b/old_docs/API_docs_v75/types/PhoneCall.md @@ -159,7 +159,7 @@ The audio configuration is an array structured in the following way: Easy as pie: -``` +```php $call->storage["pony"] = "fluttershy"; \danog\MadelineProto\Logger::log($call->storage["pony"]); // fluttershy ``` @@ -173,7 +173,7 @@ You can only modify the data saving mode, the network type, the logging file pat Example: -``` +```php $call->configuration["log_file_path"] = "logs".$call->getOtherID().".log"; // Default is /dev/null $call->configuration["stats_dump_file_path"] = "stats".$call->getOtherID().".log"; // Default is /dev/null $call->configuration["network_type"] = \danog\MadelineProto\VoIP::NET_TYPE_WIFI; // Default is NET_TYPE_ETHERNET diff --git a/old_docs/API_docs_v75/types/User.md b/old_docs/API_docs_v75/types/User.md index 3abd182f..425c8d2b 100644 --- a/old_docs/API_docs_v75/types/User.md +++ b/old_docs/API_docs_v75/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v81/constructors/accessPointRule.md b/old_docs/API_docs_v81/constructors/accessPointRule.md index 22ff5179..97e49a97 100644 --- a/old_docs/API_docs_v81/constructors/accessPointRule.md +++ b/old_docs/API_docs_v81/constructors/accessPointRule.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accessPointRule = ['_' => 'accessPointRule', 'phone_prefix_rules' => 'string', 'dc_id' => int, 'ips' => [IpPort, IpPort]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v81/constructors/accountDaysTTL.md b/old_docs/API_docs_v81/constructors/accountDaysTTL.md index bf5f1e0a..a321b306 100644 --- a/old_docs/API_docs_v81/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v81/constructors/accountDaysTTL.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua accountDaysTTL={_='accountDaysTTL', days=int} ``` diff --git a/old_docs/API_docs_v81/constructors/account_authorizationForm.md b/old_docs/API_docs_v81/constructors/account_authorizationForm.md index 833eade6..fd5986ca 100644 --- a/old_docs/API_docs_v81/constructors/account_authorizationForm.md +++ b/old_docs/API_docs_v81/constructors/account_authorizationForm.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizationForm = ['_' => 'account.authorizationForm', 'selfie_required' => Bool, 'required_types' => [SecureValueType, SecureValueType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; ``` @@ -37,10 +37,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v81/constructors/account_authorizations.md b/old_docs/API_docs_v81/constructors/account_authorizations.md index faf72ed1..58be51ca 100644 --- a/old_docs/API_docs_v81/constructors/account_authorizations.md +++ b/old_docs/API_docs_v81/constructors/account_authorizations.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; ``` @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua account_authorizations={_='account.authorizations', authorizations={Authorization}} ``` diff --git a/old_docs/API_docs_v81/constructors/account_noPassword.md b/old_docs/API_docs_v81/constructors/account_noPassword.md index 5fa62aac..95239e72 100644 --- a/old_docs/API_docs_v81/constructors/account_noPassword.md +++ b/old_docs/API_docs_v81/constructors/account_noPassword.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'new_secure_salt' => 'bytes', 'secure_random' => 'bytes', 'email_unconfirmed_pattern' => 'string']; ``` @@ -35,10 +35,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v81/constructors/account_password.md b/old_docs/API_docs_v81/constructors/account_password.md index b668cc9b..61d53db5 100644 --- a/old_docs/API_docs_v81/constructors/account_password.md +++ b/old_docs/API_docs_v81/constructors/account_password.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'new_secure_salt' => 'bytes', 'secure_random' => 'bytes', 'hint' => 'string', 'email_unconfirmed_pattern' => 'string']; ``` @@ -39,10 +39,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v81/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v81/constructors/account_passwordInputSettings.md index 07f77e32..42244971 100644 --- a/old_docs/API_docs_v81/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v81/constructors/account_passwordInputSettings.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_salt' => 'bytes', 'new_secure_secret' => 'bytes', 'new_secure_secret_id' => long]; ``` @@ -40,10 +40,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/account_passwordSettings.md b/old_docs/API_docs_v81/constructors/account_passwordSettings.md index 79451480..c252d959 100644 --- a/old_docs/API_docs_v81/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v81/constructors/account_passwordSettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_salt' => 'bytes', 'secure_secret' => 'bytes', 'secure_secret_id' => long]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/account_privacyRules.md b/old_docs/API_docs_v81/constructors/account_privacyRules.md index 2833c71a..96ac7e0c 100644 --- a/old_docs/API_docs_v81/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v81/constructors/account_privacyRules.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v81/constructors/account_sentEmailCode.md b/old_docs/API_docs_v81/constructors/account_sentEmailCode.md index cb6dfdd6..bb93cd61 100644 --- a/old_docs/API_docs_v81/constructors/account_sentEmailCode.md +++ b/old_docs/API_docs_v81/constructors/account_sentEmailCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/account_takeout.md b/old_docs/API_docs_v81/constructors/account_takeout.md index 7c424fd1..eab28d67 100644 --- a/old_docs/API_docs_v81/constructors/account_takeout.md +++ b/old_docs/API_docs_v81/constructors/account_takeout.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_takeout = ['_' => 'account.takeout', 'id' => long]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/account_tmpPassword.md b/old_docs/API_docs_v81/constructors/account_tmpPassword.md index e16b6f3c..90d36e0e 100644 --- a/old_docs/API_docs_v81/constructors/account_tmpPassword.md +++ b/old_docs/API_docs_v81/constructors/account_tmpPassword.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/account_webAuthorizations.md b/old_docs/API_docs_v81/constructors/account_webAuthorizations.md index 5157ffdc..51d382f3 100644 --- a/old_docs/API_docs_v81/constructors/account_webAuthorizations.md +++ b/old_docs/API_docs_v81/constructors/account_webAuthorizations.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v81/constructors/auth_authorization.md b/old_docs/API_docs_v81/constructors/auth_authorization.md index c8133016..b858e501 100644 --- a/old_docs/API_docs_v81/constructors/auth_authorization.md +++ b/old_docs/API_docs_v81/constructors/auth_authorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/auth_checkedPhone.md b/old_docs/API_docs_v81/constructors/auth_checkedPhone.md index e452a76b..73611628 100644 --- a/old_docs/API_docs_v81/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v81/constructors/auth_checkedPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v81/constructors/auth_codeTypeCall.md index 6a4f28d1..788a2c37 100644 --- a/old_docs/API_docs_v81/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v81/constructors/auth_codeTypeCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeCall={_='auth.codeTypeCall'} ``` diff --git a/old_docs/API_docs_v81/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v81/constructors/auth_codeTypeFlashCall.md index 2851bf4e..abb65fcf 100644 --- a/old_docs/API_docs_v81/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v81/constructors/auth_codeTypeFlashCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} ``` diff --git a/old_docs/API_docs_v81/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v81/constructors/auth_codeTypeSms.md index 04b78a3d..34b42c95 100644 --- a/old_docs/API_docs_v81/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v81/constructors/auth_codeTypeSms.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` @@ -27,10 +27,9 @@ $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_codeTypeSms={_='auth.codeTypeSms'} ``` diff --git a/old_docs/API_docs_v81/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v81/constructors/auth_exportedAuthorization.md index 9963e394..85e11b9b 100644 --- a/old_docs/API_docs_v81/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v81/constructors/auth_exportedAuthorization.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v81/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v81/constructors/auth_passwordRecovery.md index b38794be..61f7988d 100644 --- a/old_docs/API_docs_v81/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v81/constructors/auth_passwordRecovery.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v81/constructors/auth_sentCode.md b/old_docs/API_docs_v81/constructors/auth_sentCode.md index 11473810..6c1fbb87 100644 --- a/old_docs/API_docs_v81/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v81/constructors/auth_sentCode.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -37,10 +37,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v81/constructors/auth_sentCodeTypeApp.md index eb4f4530..eba1784a 100644 --- a/old_docs/API_docs_v81/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v81/constructors/auth_sentCodeTypeApp.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v81/constructors/auth_sentCodeTypeCall.md index b72a7550..5948ce63 100644 --- a/old_docs/API_docs_v81/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v81/constructors/auth_sentCodeTypeCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v81/constructors/auth_sentCodeTypeFlashCall.md index 2c59cad5..bcc7acf6 100644 --- a/old_docs/API_docs_v81/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v81/constructors/auth_sentCodeTypeFlashCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; ``` @@ -32,10 +32,9 @@ $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v81/constructors/auth_sentCodeTypeSms.md index db6858ea..3073333f 100644 --- a/old_docs/API_docs_v81/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v81/constructors/auth_sentCodeTypeSms.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; ``` @@ -32,10 +32,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/authorization.md b/old_docs/API_docs_v81/constructors/authorization.md index 17458a06..e517a326 100644 --- a/old_docs/API_docs_v81/constructors/authorization.md +++ b/old_docs/API_docs_v81/constructors/authorization.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string']; ``` @@ -43,10 +43,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v81/constructors/botCommand.md b/old_docs/API_docs_v81/constructors/botCommand.md index 8569358d..fcb65461 100644 --- a/old_docs/API_docs_v81/constructors/botCommand.md +++ b/old_docs/API_docs_v81/constructors/botCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v81/constructors/botInfo.md b/old_docs/API_docs_v81/constructors/botInfo.md index 507f9f8c..ad88f390 100644 --- a/old_docs/API_docs_v81/constructors/botInfo.md +++ b/old_docs/API_docs_v81/constructors/botInfo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand, BotCommand]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v81/constructors/botInlineMediaResult.md b/old_docs/API_docs_v81/constructors/botInlineMediaResult.md index 43454784..0131af98 100644 --- a/old_docs/API_docs_v81/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v81/constructors/botInlineMediaResult.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage]; ``` @@ -38,10 +38,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v81/constructors/botInlineMessageMediaAuto.md index 07111aa3..45500723 100644 --- a/old_docs/API_docs_v81/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v81/constructors/botInlineMessageMediaAuto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/botInlineMessageMediaContact.md b/old_docs/API_docs_v81/constructors/botInlineMessageMediaContact.md index c3f25947..771472fa 100644 --- a/old_docs/API_docs_v81/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v81/constructors/botInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v81/constructors/botInlineMessageMediaGeo.md b/old_docs/API_docs_v81/constructors/botInlineMessageMediaGeo.md index 996ded36..d68db150 100644 --- a/old_docs/API_docs_v81/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v81/constructors/botInlineMessageMediaGeo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'period' => int, 'reply_markup' => ReplyMarkup]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/botInlineMessageMediaVenue.md b/old_docs/API_docs_v81/constructors/botInlineMessageMediaVenue.md index c98ae89e..6dd62964 100644 --- a/old_docs/API_docs_v81/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v81/constructors/botInlineMessageMediaVenue.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -38,10 +38,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/botInlineMessageText.md b/old_docs/API_docs_v81/constructors/botInlineMessageText.md index 4a274d28..b3fa92ed 100644 --- a/old_docs/API_docs_v81/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v81/constructors/botInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/botInlineResult.md b/old_docs/API_docs_v81/constructors/botInlineResult.md index 9711fb3d..2fdeb93c 100644 --- a/old_docs/API_docs_v81/constructors/botInlineResult.md +++ b/old_docs/API_docs_v81/constructors/botInlineResult.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb' => WebDocument, 'content' => WebDocument, 'send_message' => BotInlineMessage]; ``` @@ -39,10 +39,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/cdnConfig.md b/old_docs/API_docs_v81/constructors/cdnConfig.md index 3df3585d..6487cf42 100644 --- a/old_docs/API_docs_v81/constructors/cdnConfig.md +++ b/old_docs/API_docs_v81/constructors/cdnConfig.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]]; ``` @@ -32,10 +32,9 @@ $cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}} ``` diff --git a/old_docs/API_docs_v81/constructors/cdnPublicKey.md b/old_docs/API_docs_v81/constructors/cdnPublicKey.md index 78ec2a83..2277ee59 100644 --- a/old_docs/API_docs_v81/constructors/cdnPublicKey.md +++ b/old_docs/API_docs_v81/constructors/cdnPublicKey.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v81/constructors/channel.md b/old_docs/API_docs_v81/constructors/channel.md index 6508ee8d..265e39c2 100644 --- a/old_docs/API_docs_v81/constructors/channel.md +++ b/old_docs/API_docs_v81/constructors/channel.md @@ -41,7 +41,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -52,10 +52,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/channelAdminLogEvent.md b/old_docs/API_docs_v81/constructors/channelAdminLogEvent.md index f48cb8db..5a939425 100644 --- a/old_docs/API_docs_v81/constructors/channelAdminLogEvent.md +++ b/old_docs/API_docs_v81/constructors/channelAdminLogEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEvent = ['_' => 'channelAdminLogEvent', 'id' => long, 'date' => int, 'user_id' => int, 'action' => ChannelAdminLogEventAction]; ``` @@ -35,10 +35,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionChangeAbout.md b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionChangeAbout.md index ebec258a..aef21894 100644 --- a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionChangeAbout.md +++ b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionChangeAbout.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChangeAbout', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeAbout={_='channelAdminLogEventActionChangeAbout', prev_value='string', new_value='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionChangePhoto.md b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionChangePhoto.md index 7c687202..7c38537e 100644 --- a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionChangePhoto.md +++ b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionChangePhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChangePhoto', 'prev_photo' => ChatPhoto, 'new_photo' => ChatPhoto]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangePhoto={_='channelAdminLogEventActionChangePhoto', prev_photo=ChatPhoto, new_photo=ChatPhoto} ``` diff --git a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionChangeStickerSet.md b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionChangeStickerSet.md index 74a2d4d4..74f7d943 100644 --- a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionChangeStickerSet.md +++ b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionChangeStickerSet.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeStickerSet = ['_' => 'channelAdminLogEventActionChangeStickerSet', 'prev_stickerset' => InputStickerSet, 'new_stickerset' => InputStickerSet]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeStickerSet = ['_' => 'channelAdminLogEventActio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeStickerSet={_='channelAdminLogEventActionChangeStickerSet', prev_stickerset=InputStickerSet, new_stickerset=InputStickerSet} ``` diff --git a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionChangeTitle.md b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionChangeTitle.md index dbf4ca87..ab2d88ef 100644 --- a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionChangeTitle.md +++ b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionChangeTitle.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChangeTitle', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChan ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeTitle={_='channelAdminLogEventActionChangeTitle', prev_value='string', new_value='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionChangeUsername.md b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionChangeUsername.md index 8a48ba97..d0016c2b 100644 --- a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionChangeUsername.md +++ b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionChangeUsername.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionChangeUsername', 'prev_value' => 'string', 'new_value' => 'string']; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionC ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionChangeUsername={_='channelAdminLogEventActionChangeUsername', prev_value='string', new_value='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionDeleteMessage.md b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionDeleteMessage.md index e6ffe7f5..3af17f94 100644 --- a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionDeleteMessage.md +++ b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionDeleteMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDeleteMessage', 'message' => Message]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionDeleteMessage={_='channelAdminLogEventActionDeleteMessage', message=Message} ``` diff --git a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionEditMessage.md b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionEditMessage.md index 67b7a176..66e5de48 100644 --- a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionEditMessage.md +++ b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionEditMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEditMessage', 'prev_message' => Message, 'new_message' => Message]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEdit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionEditMessage={_='channelAdminLogEventActionEditMessage', prev_message=Message, new_message=Message} ``` diff --git a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionParticipantInvite.md b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionParticipantInvite.md index 260a3346..82029fee 100644 --- a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionParticipantInvite.md +++ b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionParticipantInvite.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActionParticipantInvite', 'participant' => ChannelParticipant]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActi ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantInvite={_='channelAdminLogEventActionParticipantInvite', participant=ChannelParticipant} ``` diff --git a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionParticipantJoin.md b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionParticipantJoin.md index 9f59031b..4c8ca622 100644 --- a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionParticipantJoin.md +++ b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionParticipantJoin.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventActionParticipantJoin']; ``` @@ -27,10 +27,9 @@ $channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventAction ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantJoin={_='channelAdminLogEventActionParticipantJoin'} ``` diff --git a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionParticipantLeave.md b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionParticipantLeave.md index 03328132..dde98f82 100644 --- a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionParticipantLeave.md +++ b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionParticipantLeave.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActionParticipantLeave']; ``` @@ -27,10 +27,9 @@ $channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantLeave={_='channelAdminLogEventActionParticipantLeave'} ``` diff --git a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionParticipantToggleAdmin.md b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionParticipantToggleAdmin.md index b570076b..053db714 100644 --- a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionParticipantToggleAdmin.md +++ b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionParticipantToggleAdmin.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEventActionParticipantToggleAdmin', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEven ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantToggleAdmin={_='channelAdminLogEventActionParticipantToggleAdmin', prev_participant=ChannelParticipant, new_participant=ChannelParticipant} ``` diff --git a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionParticipantToggleBan.md b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionParticipantToggleBan.md index ef119daa..5321e678 100644 --- a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionParticipantToggleBan.md +++ b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionParticipantToggleBan.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventActionParticipantToggleBan', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant]; ``` @@ -33,10 +33,9 @@ $channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventA ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionParticipantToggleBan={_='channelAdminLogEventActionParticipantToggleBan', prev_participant=ChannelParticipant, new_participant=ChannelParticipant} ``` diff --git a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionToggleInvites.md b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionToggleInvites.md index 5a25a689..47ba2358 100644 --- a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionToggleInvites.md +++ b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionToggleInvites.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionToggleInvites', 'new_value' => Bool]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionTo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionToggleInvites={_='channelAdminLogEventActionToggleInvites', new_value=Bool} ``` diff --git a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionTogglePreHistoryHidden.md b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionTogglePreHistoryHidden.md index c0b8bfce..95ed7b5b 100644 --- a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionTogglePreHistoryHidden.md +++ b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionTogglePreHistoryHidden.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionTogglePreHistoryHidden = ['_' => 'channelAdminLogEventActionTogglePreHistoryHidden', 'new_value' => Bool]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionTogglePreHistoryHidden = ['_' => 'channelAdminLogEven ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionTogglePreHistoryHidden={_='channelAdminLogEventActionTogglePreHistoryHidden', new_value=Bool} ``` diff --git a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionToggleSignatures.md b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionToggleSignatures.md index e7119bb6..ad529669 100644 --- a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionToggleSignatures.md +++ b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionToggleSignatures.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActionToggleSignatures', 'new_value' => Bool]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionToggleSignatures={_='channelAdminLogEventActionToggleSignatures', new_value=Bool} ``` diff --git a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionUpdatePinned.md b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionUpdatePinned.md index de066195..2facbac2 100644 --- a/old_docs/API_docs_v81/constructors/channelAdminLogEventActionUpdatePinned.md +++ b/old_docs/API_docs_v81/constructors/channelAdminLogEventActionUpdatePinned.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpdatePinned', 'message' => Message]; ``` @@ -32,10 +32,9 @@ $channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelAdminLogEventActionUpdatePinned={_='channelAdminLogEventActionUpdatePinned', message=Message} ``` diff --git a/old_docs/API_docs_v81/constructors/channelAdminLogEventsFilter.md b/old_docs/API_docs_v81/constructors/channelAdminLogEventsFilter.md index 04ece393..db2f4ee8 100644 --- a/old_docs/API_docs_v81/constructors/channelAdminLogEventsFilter.md +++ b/old_docs/API_docs_v81/constructors/channelAdminLogEventsFilter.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -45,10 +45,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/channelAdminRights.md b/old_docs/API_docs_v81/constructors/channelAdminRights.md index 923fa5f3..b66616dc 100644 --- a/old_docs/API_docs_v81/constructors/channelAdminRights.md +++ b/old_docs/API_docs_v81/constructors/channelAdminRights.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -41,10 +41,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/channelBannedRights.md b/old_docs/API_docs_v81/constructors/channelBannedRights.md index 13dde648..f2ae995f 100644 --- a/old_docs/API_docs_v81/constructors/channelBannedRights.md +++ b/old_docs/API_docs_v81/constructors/channelBannedRights.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -40,10 +40,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/channelForbidden.md b/old_docs/API_docs_v81/constructors/channelForbidden.md index 00b4cbbe..0bccd01f 100644 --- a/old_docs/API_docs_v81/constructors/channelForbidden.md +++ b/old_docs/API_docs_v81/constructors/channelForbidden.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'until_date' => int]; ``` @@ -37,10 +37,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/channelFull.md b/old_docs/API_docs_v81/constructors/channelFull.md index 90481c48..e9b2d979 100644 --- a/old_docs/API_docs_v81/constructors/channelFull.md +++ b/old_docs/API_docs_v81/constructors/channelFull.md @@ -42,7 +42,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, 'stickerset' => StickerSet, 'available_min_id' => int]; ``` @@ -53,10 +53,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/channelMessagesFilter.md b/old_docs/API_docs_v81/constructors/channelMessagesFilter.md index b19d3151..1b953ba3 100644 --- a/old_docs/API_docs_v81/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v81/constructors/channelMessagesFilter.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v81/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v81/constructors/channelMessagesFilterEmpty.md index 350e50de..a446b896 100644 --- a/old_docs/API_docs_v81/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v81/constructors/channelMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/channelParticipant.md b/old_docs/API_docs_v81/constructors/channelParticipant.md index c7de5400..dbcb792b 100644 --- a/old_docs/API_docs_v81/constructors/channelParticipant.md +++ b/old_docs/API_docs_v81/constructors/channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/channelParticipantAdmin.md b/old_docs/API_docs_v81/constructors/channelParticipantAdmin.md index 95ef84e9..73f4e2ab 100644 --- a/old_docs/API_docs_v81/constructors/channelParticipantAdmin.md +++ b/old_docs/API_docs_v81/constructors/channelParticipantAdmin.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantAdmin = ['_' => 'channelParticipantAdmin', 'can_edit' => Bool, 'user_id' => int, 'inviter_id' => int, 'promoted_by' => int, 'date' => int, 'admin_rights' => ChannelAdminRights]; ``` @@ -37,10 +37,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/channelParticipantBanned.md b/old_docs/API_docs_v81/constructors/channelParticipantBanned.md index be3be304..171f76d9 100644 --- a/old_docs/API_docs_v81/constructors/channelParticipantBanned.md +++ b/old_docs/API_docs_v81/constructors/channelParticipantBanned.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantBanned = ['_' => 'channelParticipantBanned', 'left' => Bool, 'user_id' => int, 'kicked_by' => int, 'date' => int, 'banned_rights' => ChannelBannedRights]; ``` @@ -36,10 +36,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/channelParticipantCreator.md b/old_docs/API_docs_v81/constructors/channelParticipantCreator.md index 86cafe0a..e999fb9c 100644 --- a/old_docs/API_docs_v81/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v81/constructors/channelParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantCreator={_='channelParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/channelParticipantSelf.md b/old_docs/API_docs_v81/constructors/channelParticipantSelf.md index 83864972..4b5949ac 100644 --- a/old_docs/API_docs_v81/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v81/constructors/channelParticipantSelf.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v81/constructors/channelParticipantsAdmins.md index c86cb9a4..4b0c30d4 100644 --- a/old_docs/API_docs_v81/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v81/constructors/channelParticipantsAdmins.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` @@ -27,10 +27,9 @@ $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsAdmins={_='channelParticipantsAdmins'} ``` diff --git a/old_docs/API_docs_v81/constructors/channelParticipantsBanned.md b/old_docs/API_docs_v81/constructors/channelParticipantsBanned.md index 75a86f75..7f956691 100644 --- a/old_docs/API_docs_v81/constructors/channelParticipantsBanned.md +++ b/old_docs/API_docs_v81/constructors/channelParticipantsBanned.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBanned={_='channelParticipantsBanned', q='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/channelParticipantsBots.md b/old_docs/API_docs_v81/constructors/channelParticipantsBots.md index 30875f94..66e510c7 100644 --- a/old_docs/API_docs_v81/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v81/constructors/channelParticipantsBots.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` @@ -27,10 +27,9 @@ $channelParticipantsBots = ['_' => 'channelParticipantsBots']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsBots={_='channelParticipantsBots'} ``` diff --git a/old_docs/API_docs_v81/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v81/constructors/channelParticipantsKicked.md index fba5808a..7a985ca9 100644 --- a/old_docs/API_docs_v81/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v81/constructors/channelParticipantsKicked.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsKicked={_='channelParticipantsKicked', q='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v81/constructors/channelParticipantsRecent.md index e4cb6466..51e57069 100644 --- a/old_docs/API_docs_v81/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v81/constructors/channelParticipantsRecent.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` @@ -27,10 +27,9 @@ $channelParticipantsRecent = ['_' => 'channelParticipantsRecent']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsRecent={_='channelParticipantsRecent'} ``` diff --git a/old_docs/API_docs_v81/constructors/channelParticipantsSearch.md b/old_docs/API_docs_v81/constructors/channelParticipantsSearch.md index 727a7279..9e2d3e7f 100644 --- a/old_docs/API_docs_v81/constructors/channelParticipantsSearch.md +++ b/old_docs/API_docs_v81/constructors/channelParticipantsSearch.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string']; ``` @@ -32,10 +32,9 @@ $channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channelParticipantsSearch={_='channelParticipantsSearch', q='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/channels_adminLogResults.md b/old_docs/API_docs_v81/constructors/channels_adminLogResults.md index bd652b78..5a76ce73 100644 --- a/old_docs/API_docs_v81/constructors/channels_adminLogResults.md +++ b/old_docs/API_docs_v81/constructors/channels_adminLogResults.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v81/constructors/channels_channelParticipant.md b/old_docs/API_docs_v81/constructors/channels_channelParticipant.md index bdf27b08..107502c5 100644 --- a/old_docs/API_docs_v81/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v81/constructors/channels_channelParticipant.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v81/constructors/channels_channelParticipants.md b/old_docs/API_docs_v81/constructors/channels_channelParticipants.md index 1b76b1e0..0402423f 100644 --- a/old_docs/API_docs_v81/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v81/constructors/channels_channelParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v81/constructors/channels_channelParticipantsNotModified.md b/old_docs/API_docs_v81/constructors/channels_channelParticipantsNotModified.md index f3794494..d476a9f6 100644 --- a/old_docs/API_docs_v81/constructors/channels_channelParticipantsNotModified.md +++ b/old_docs/API_docs_v81/constructors/channels_channelParticipantsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; ``` @@ -27,10 +27,9 @@ $channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipants ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} ``` diff --git a/old_docs/API_docs_v81/constructors/chat.md b/old_docs/API_docs_v81/constructors/chat.md index 5ae1811d..b6f24f3e 100644 --- a/old_docs/API_docs_v81/constructors/chat.md +++ b/old_docs/API_docs_v81/constructors/chat.md @@ -33,7 +33,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### 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]; ``` @@ -44,10 +44,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/chatEmpty.md b/old_docs/API_docs_v81/constructors/chatEmpty.md index c273c2bf..ccc2fb16 100644 --- a/old_docs/API_docs_v81/constructors/chatEmpty.md +++ b/old_docs/API_docs_v81/constructors/chatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatEmpty={_='chatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/chatForbidden.md b/old_docs/API_docs_v81/constructors/chatForbidden.md index de5bb302..61c45660 100644 --- a/old_docs/API_docs_v81/constructors/chatForbidden.md +++ b/old_docs/API_docs_v81/constructors/chatForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $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'} ``` diff --git a/old_docs/API_docs_v81/constructors/chatFull.md b/old_docs/API_docs_v81/constructors/chatFull.md index ebb36ec1..387f958b 100644 --- a/old_docs/API_docs_v81/constructors/chatFull.md +++ b/old_docs/API_docs_v81/constructors/chatFull.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]]; ``` @@ -37,10 +37,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v81/constructors/chatInvite.md b/old_docs/API_docs_v81/constructors/chatInvite.md index c0f14de6..54027d67 100644 --- a/old_docs/API_docs_v81/constructors/chatInvite.md +++ b/old_docs/API_docs_v81/constructors/chatInvite.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User, User]]; ``` @@ -39,10 +39,9 @@ $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}} ``` diff --git a/old_docs/API_docs_v81/constructors/chatInviteAlready.md b/old_docs/API_docs_v81/constructors/chatInviteAlready.md index 36dc9278..5f37944b 100644 --- a/old_docs/API_docs_v81/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v81/constructors/chatInviteAlready.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` @@ -32,10 +32,9 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteAlready={_='chatInviteAlready', chat=Chat} ``` diff --git a/old_docs/API_docs_v81/constructors/chatInviteEmpty.md b/old_docs/API_docs_v81/constructors/chatInviteEmpty.md index 79f0c0a6..4abaf7c7 100644 --- a/old_docs/API_docs_v81/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v81/constructors/chatInviteEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` @@ -27,10 +27,9 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteEmpty={_='chatInviteEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/chatInviteExported.md b/old_docs/API_docs_v81/constructors/chatInviteExported.md index d167d4c6..c41f8ca3 100644 --- a/old_docs/API_docs_v81/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v81/constructors/chatInviteExported.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` @@ -32,10 +32,9 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatInviteExported={_='chatInviteExported', link='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/chatParticipant.md b/old_docs/API_docs_v81/constructors/chatParticipant.md index f3acfff2..2826bec5 100644 --- a/old_docs/API_docs_v81/constructors/chatParticipant.md +++ b/old_docs/API_docs_v81/constructors/chatParticipant.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v81/constructors/chatParticipantAdmin.md index 62aee9a4..63a38575 100644 --- a/old_docs/API_docs_v81/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v81/constructors/chatParticipantAdmin.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/chatParticipantCreator.md b/old_docs/API_docs_v81/constructors/chatParticipantCreator.md index 0fb7b6ef..75b9c4d4 100644 --- a/old_docs/API_docs_v81/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v81/constructors/chatParticipantCreator.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatParticipantCreator={_='chatParticipantCreator', user_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/chatParticipants.md b/old_docs/API_docs_v81/constructors/chatParticipants.md index 38af2ca5..ae254290 100644 --- a/old_docs/API_docs_v81/constructors/chatParticipants.md +++ b/old_docs/API_docs_v81/constructors/chatParticipants.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int]; ``` @@ -34,10 +34,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v81/constructors/chatParticipantsForbidden.md index 2ecdfe10..639b30ee 100644 --- a/old_docs/API_docs_v81/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v81/constructors/chatParticipantsForbidden.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/chatPhoto.md b/old_docs/API_docs_v81/constructors/chatPhoto.md index 2a259a9d..f1bc770c 100644 --- a/old_docs/API_docs_v81/constructors/chatPhoto.md +++ b/old_docs/API_docs_v81/constructors/chatPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v81/constructors/chatPhotoEmpty.md index 454e4a5b..75811bd1 100644 --- a/old_docs/API_docs_v81/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v81/constructors/chatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua chatPhotoEmpty={_='chatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/config.md b/old_docs/API_docs_v81/constructors/config.md index a2a888b6..b828d2a8 100644 --- a/old_docs/API_docs_v81/constructors/config.md +++ b/old_docs/API_docs_v81/constructors/config.md @@ -60,7 +60,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'default_p2p_contacts' => Bool, 'preload_featured_stickers' => Bool, 'ignore_phone_entities' => Bool, 'revoke_pm_inbox' => Bool, 'blocked_mode' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'revoke_time_limit' => int, 'revoke_pm_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'stickers_faved_limit' => int, 'channels_read_media_period' => int, 'tmp_sessions' => int, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'me_url_prefix' => 'string', 'autoupdate_url_prefix' => 'string', 'suggested_lang_code' => 'string', 'lang_pack_version' => int]; ``` @@ -71,10 +71,9 @@ $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}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, revoke_time_limit=int, revoke_pm_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, stickers_faved_limit=int, channels_read_media_period=int, tmp_sessions=int, pinned_dialogs_count_max=int, call_receive_timeout_ms=int, call_ring_timeout_ms=int, call_connect_timeout_ms=int, call_packet_timeout_ms=int, me_url_prefix='string', autoupdate_url_prefix='string', suggested_lang_code='string', lang_pack_version=int} ``` diff --git a/old_docs/API_docs_v81/constructors/contact.md b/old_docs/API_docs_v81/constructors/contact.md index 1882354c..e2cdbd80 100644 --- a/old_docs/API_docs_v81/constructors/contact.md +++ b/old_docs/API_docs_v81/constructors/contact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/contactBlocked.md b/old_docs/API_docs_v81/constructors/contactBlocked.md index 455674a3..064f5dad 100644 --- a/old_docs/API_docs_v81/constructors/contactBlocked.md +++ b/old_docs/API_docs_v81/constructors/contactBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/contactLinkContact.md b/old_docs/API_docs_v81/constructors/contactLinkContact.md index a0c206b5..a3b1558e 100644 --- a/old_docs/API_docs_v81/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v81/constructors/contactLinkContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkContact = ['_' => 'contactLinkContact']; ``` @@ -27,10 +27,9 @@ $contactLinkContact = ['_' => 'contactLinkContact']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkContact={_='contactLinkContact'} ``` diff --git a/old_docs/API_docs_v81/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v81/constructors/contactLinkHasPhone.md index 036e324d..6e118351 100644 --- a/old_docs/API_docs_v81/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v81/constructors/contactLinkHasPhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` @@ -27,10 +27,9 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkHasPhone={_='contactLinkHasPhone'} ``` diff --git a/old_docs/API_docs_v81/constructors/contactLinkNone.md b/old_docs/API_docs_v81/constructors/contactLinkNone.md index 70138bc9..913662f0 100644 --- a/old_docs/API_docs_v81/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v81/constructors/contactLinkNone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkNone = ['_' => 'contactLinkNone']; ``` @@ -27,10 +27,9 @@ $contactLinkNone = ['_' => 'contactLinkNone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkNone={_='contactLinkNone'} ``` diff --git a/old_docs/API_docs_v81/constructors/contactLinkUnknown.md b/old_docs/API_docs_v81/constructors/contactLinkUnknown.md index 864da769..5002ade9 100644 --- a/old_docs/API_docs_v81/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v81/constructors/contactLinkUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` @@ -27,10 +27,9 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contactLinkUnknown={_='contactLinkUnknown'} ``` diff --git a/old_docs/API_docs_v81/constructors/contactStatus.md b/old_docs/API_docs_v81/constructors/contactStatus.md index 1060a8ba..e085cd0b 100644 --- a/old_docs/API_docs_v81/constructors/contactStatus.md +++ b/old_docs/API_docs_v81/constructors/contactStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $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} ``` diff --git a/old_docs/API_docs_v81/constructors/contacts_blocked.md b/old_docs/API_docs_v81/constructors/contacts_blocked.md index 10161ce4..f46f24ce 100644 --- a/old_docs/API_docs_v81/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v81/constructors/contacts_blocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, Co ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v81/constructors/contacts_blockedSlice.md index c7a2db93..b36ede42 100644 --- a/old_docs/API_docs_v81/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v81/constructors/contacts_blockedSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'block ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/contacts_contacts.md b/old_docs/API_docs_v81/constructors/contacts_contacts.md index 542bf62b..7f923ef5 100644 --- a/old_docs/API_docs_v81/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v81/constructors/contacts_contacts.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contac ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v81/constructors/contacts_contactsNotModified.md index 4697e017..52c776bc 100644 --- a/old_docs/API_docs_v81/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v81/constructors/contacts_contactsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_contactsNotModified={_='contacts.contactsNotModified'} ``` diff --git a/old_docs/API_docs_v81/constructors/contacts_found.md b/old_docs/API_docs_v81/constructors/contacts_found.md index ea92e466..d26ba2cf 100644 --- a/old_docs/API_docs_v81/constructors/contacts_found.md +++ b/old_docs/API_docs_v81/constructors/contacts_found.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $contacts_found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'resul ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/contacts_importedContacts.md b/old_docs/API_docs_v81/constructors/contacts_importedContacts.md index fdc042d2..250deb52 100644 --- a/old_docs/API_docs_v81/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v81/constructors/contacts_importedContacts.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/contacts_link.md b/old_docs/API_docs_v81/constructors/contacts_link.md index a317f974..a92d4342 100644 --- a/old_docs/API_docs_v81/constructors/contacts_link.md +++ b/old_docs/API_docs_v81/constructors/contacts_link.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; ``` @@ -34,10 +34,9 @@ $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_lin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} ``` diff --git a/old_docs/API_docs_v81/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v81/constructors/contacts_resolvedPeer.md index add29235..4aa323dd 100644 --- a/old_docs/API_docs_v81/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v81/constructors/contacts_resolvedPeer.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/contacts_topPeers.md b/old_docs/API_docs_v81/constructors/contacts_topPeers.md index 8777bff2..e4728594 100644 --- a/old_docs/API_docs_v81/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v81/constructors/contacts_topPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCatego ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v81/constructors/contacts_topPeersNotModified.md index 3aa2236a..7ec0114a 100644 --- a/old_docs/API_docs_v81/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v81/constructors/contacts_topPeersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` @@ -27,10 +27,9 @@ $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua contacts_topPeersNotModified={_='contacts.topPeersNotModified'} ``` diff --git a/old_docs/API_docs_v81/constructors/dataJSON.md b/old_docs/API_docs_v81/constructors/dataJSON.md index c49ec0c0..a6555aea 100644 --- a/old_docs/API_docs_v81/constructors/dataJSON.md +++ b/old_docs/API_docs_v81/constructors/dataJSON.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` @@ -32,10 +32,9 @@ $dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dataJSON={_='dataJSON', data='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/dcOption.md b/old_docs/API_docs_v81/constructors/dcOption.md index 0211c601..9bcdca67 100644 --- a/old_docs/API_docs_v81/constructors/dcOption.md +++ b/old_docs/API_docs_v81/constructors/dcOption.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'cdn' => Bool, 'static' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int, 'secret' => 'bytes']; ``` @@ -40,10 +40,9 @@ $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, cdn=Bool, static=Bool, id=int, ip_address='string', port=int, secret='bytes'} ``` diff --git a/old_docs/API_docs_v81/constructors/dialog.md b/old_docs/API_docs_v81/constructors/dialog.md index f5f7686e..7201b934 100644 --- a/old_docs/API_docs_v81/constructors/dialog.md +++ b/old_docs/API_docs_v81/constructors/dialog.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialog = ['_' => 'dialog', 'pinned' => Bool, 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage]; ``` @@ -41,10 +41,9 @@ $dialog = ['_' => 'dialog', 'pinned' => Bool, 'peer' => Peer, 'top_message' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialog={_='dialog', pinned=Bool, peer=Peer, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, notify_settings=PeerNotifySettings, pts=int, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v81/constructors/dialogPeer.md b/old_docs/API_docs_v81/constructors/dialogPeer.md index e137e9c8..3b32a755 100644 --- a/old_docs/API_docs_v81/constructors/dialogPeer.md +++ b/old_docs/API_docs_v81/constructors/dialogPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $dialogPeer = ['_' => 'dialogPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $dialogPeer = ['_' => 'dialogPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua dialogPeer={_='dialogPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v81/constructors/document.md b/old_docs/API_docs_v81/constructors/document.md index 1a0f1fc1..58c44a23 100644 --- a/old_docs/API_docs_v81/constructors/document.md +++ b/old_docs/API_docs_v81/constructors/document.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -40,10 +40,9 @@ $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua document={_='document', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, version=int, attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v81/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v81/constructors/documentAttributeAnimated.md index 226b4cf0..da73834f 100644 --- a/old_docs/API_docs_v81/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v81/constructors/documentAttributeAnimated.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` @@ -27,10 +27,9 @@ $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAnimated={_='documentAttributeAnimated'} ``` diff --git a/old_docs/API_docs_v81/constructors/documentAttributeAudio.md b/old_docs/API_docs_v81/constructors/documentAttributeAudio.md index 0dc5decc..f427a05c 100644 --- a/old_docs/API_docs_v81/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v81/constructors/documentAttributeAudio.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes']; ``` @@ -36,10 +36,9 @@ $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'du ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title='string', performer='string', waveform='bytes'} ``` diff --git a/old_docs/API_docs_v81/constructors/documentAttributeFilename.md b/old_docs/API_docs_v81/constructors/documentAttributeFilename.md index 4beb22a6..609b6b12 100644 --- a/old_docs/API_docs_v81/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v81/constructors/documentAttributeFilename.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string']; ``` @@ -32,10 +32,9 @@ $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeFilename={_='documentAttributeFilename', file_name='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/documentAttributeHasStickers.md b/old_docs/API_docs_v81/constructors/documentAttributeHasStickers.md index fff783df..90c58e35 100644 --- a/old_docs/API_docs_v81/constructors/documentAttributeHasStickers.md +++ b/old_docs/API_docs_v81/constructors/documentAttributeHasStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` @@ -27,10 +27,9 @@ $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeHasStickers={_='documentAttributeHasStickers'} ``` diff --git a/old_docs/API_docs_v81/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v81/constructors/documentAttributeImageSize.md index a8b301fd..08ff5a41 100644 --- a/old_docs/API_docs_v81/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v81/constructors/documentAttributeImageSize.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int]; ``` @@ -33,10 +33,9 @@ $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int} ``` diff --git a/old_docs/API_docs_v81/constructors/documentAttributeSticker.md b/old_docs/API_docs_v81/constructors/documentAttributeSticker.md index ba5243fb..b200f7f0 100644 --- a/old_docs/API_docs_v81/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v81/constructors/documentAttributeSticker.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => 'string', 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords]; ``` @@ -35,10 +35,9 @@ $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeSticker={_='documentAttributeSticker', mask=Bool, alt='string', stickerset=InputStickerSet, mask_coords=MaskCoords} ``` diff --git a/old_docs/API_docs_v81/constructors/documentAttributeVideo.md b/old_docs/API_docs_v81/constructors/documentAttributeVideo.md index 85de0043..98454c67 100644 --- a/old_docs/API_docs_v81/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v81/constructors/documentAttributeVideo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'supports_streaming' => Bool, 'duration' => int, 'w' => int, 'h' => int]; ``` @@ -36,10 +36,9 @@ $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentAttributeVideo={_='documentAttributeVideo', round_message=Bool, supports_streaming=Bool, duration=int, w=int, h=int} ``` diff --git a/old_docs/API_docs_v81/constructors/documentEmpty.md b/old_docs/API_docs_v81/constructors/documentEmpty.md index e309ca1e..5e62a184 100644 --- a/old_docs/API_docs_v81/constructors/documentEmpty.md +++ b/old_docs/API_docs_v81/constructors/documentEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $documentEmpty = ['_' => 'documentEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua documentEmpty={_='documentEmpty', id=long} ``` diff --git a/old_docs/API_docs_v81/constructors/draftMessage.md b/old_docs/API_docs_v81/constructors/draftMessage.md index 370ffaef..ecec69a1 100644 --- a/old_docs/API_docs_v81/constructors/draftMessage.md +++ b/old_docs/API_docs_v81/constructors/draftMessage.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'date' => int]; ``` @@ -36,10 +36,9 @@ $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message='string', entities={MessageEntity}, date=int} ``` diff --git a/old_docs/API_docs_v81/constructors/draftMessageEmpty.md b/old_docs/API_docs_v81/constructors/draftMessageEmpty.md index 15b2aa67..65902a71 100644 --- a/old_docs/API_docs_v81/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v81/constructors/draftMessageEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` @@ -27,10 +27,9 @@ $draftMessageEmpty = ['_' => 'draftMessageEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua draftMessageEmpty={_='draftMessageEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/encryptedChat.md b/old_docs/API_docs_v81/constructors/encryptedChat.md index 9064611f..2d794bc0 100644 --- a/old_docs/API_docs_v81/constructors/encryptedChat.md +++ b/old_docs/API_docs_v81/constructors/encryptedChat.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long]; ``` @@ -38,10 +38,9 @@ $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long} ``` diff --git a/old_docs/API_docs_v81/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v81/constructors/encryptedChatDiscarded.md index 7c5dadb7..3b50a407 100644 --- a/old_docs/API_docs_v81/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v81/constructors/encryptedChatDiscarded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatDiscarded={_='encryptedChatDiscarded', id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v81/constructors/encryptedChatEmpty.md index b079a675..b7449fc4 100644 --- a/old_docs/API_docs_v81/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v81/constructors/encryptedChatEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatEmpty={_='encryptedChatEmpty', id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/encryptedChatRequested.md b/old_docs/API_docs_v81/constructors/encryptedChatRequested.md index 2a5ce73e..8d13bd03 100644 --- a/old_docs/API_docs_v81/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v81/constructors/encryptedChatRequested.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => 'bytes']; ``` @@ -37,10 +37,9 @@ $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatRequested={_='encryptedChatRequested', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'} ``` diff --git a/old_docs/API_docs_v81/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v81/constructors/encryptedChatWaiting.md index efe6f5db..9357e285 100644 --- a/old_docs/API_docs_v81/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v81/constructors/encryptedChatWaiting.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int]; ``` @@ -36,10 +36,9 @@ $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedChatWaiting={_='encryptedChatWaiting', id=int, access_hash=long, date=int, admin_id=int, participant_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/encryptedFile.md b/old_docs/API_docs_v81/constructors/encryptedFile.md index beef146e..5ba78ca8 100644 --- a/old_docs/API_docs_v81/constructors/encryptedFile.md +++ b/old_docs/API_docs_v81/constructors/encryptedFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int]; ``` @@ -36,10 +36,9 @@ $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v81/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v81/constructors/encryptedFileEmpty.md index 578ffacd..5a35163b 100644 --- a/old_docs/API_docs_v81/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v81/constructors/encryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $encryptedFileEmpty = ['_' => 'encryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedFileEmpty={_='encryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/encryptedMessage.md b/old_docs/API_docs_v81/constructors/encryptedMessage.md index bcc8244c..8fa3d168 100644 --- a/old_docs/API_docs_v81/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v81/constructors/encryptedMessage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile]; ``` @@ -35,10 +35,9 @@ $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v81/constructors/encryptedMessageService.md b/old_docs/API_docs_v81/constructors/encryptedMessageService.md index 9f861751..0afd1399 100644 --- a/old_docs/API_docs_v81/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v81/constructors/encryptedMessageService.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage]; ``` @@ -34,10 +34,9 @@ $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage} ``` diff --git a/old_docs/API_docs_v81/constructors/error.md b/old_docs/API_docs_v81/constructors/error.md index 82c5fc65..aeae0cc8 100644 --- a/old_docs/API_docs_v81/constructors/error.md +++ b/old_docs/API_docs_v81/constructors/error.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` @@ -33,10 +33,9 @@ $error = ['_' => 'error', 'code' => int, 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua error={_='error', code=int, text='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/exportedMessageLink.md b/old_docs/API_docs_v81/constructors/exportedMessageLink.md index 62f9fb66..a0b4fa35 100644 --- a/old_docs/API_docs_v81/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v81/constructors/exportedMessageLink.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string', 'html' => 'string']; ``` @@ -33,10 +33,9 @@ $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => 'string', 'html' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua exportedMessageLink={_='exportedMessageLink', link='string', html='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/fileHash.md b/old_docs/API_docs_v81/constructors/fileHash.md index 577bb6a0..f1258f6e 100644 --- a/old_docs/API_docs_v81/constructors/fileHash.md +++ b/old_docs/API_docs_v81/constructors/fileHash.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileHash = ['_' => 'fileHash', 'offset' => int, 'limit' => int, 'hash' => 'bytes']; ``` @@ -34,10 +34,9 @@ $fileHash = ['_' => 'fileHash', 'offset' => int, 'limit' => int, 'hash' => 'byte ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileHash={_='fileHash', offset=int, limit=int, hash='bytes'} ``` diff --git a/old_docs/API_docs_v81/constructors/fileLocation.md b/old_docs/API_docs_v81/constructors/fileLocation.md index ad0f9639..68e34e6b 100644 --- a/old_docs/API_docs_v81/constructors/fileLocation.md +++ b/old_docs/API_docs_v81/constructors/fileLocation.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -35,10 +35,9 @@ $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v81/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v81/constructors/fileLocationUnavailable.md index 01f1e07f..c6480136 100644 --- a/old_docs/API_docs_v81/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v81/constructors/fileLocationUnavailable.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v81/constructors/foundGif.md b/old_docs/API_docs_v81/constructors/foundGif.md index d8ee3695..c2f0ce33 100644 --- a/old_docs/API_docs_v81/constructors/foundGif.md +++ b/old_docs/API_docs_v81/constructors/foundGif.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int]; ``` @@ -37,10 +37,9 @@ $foundGif = ['_' => 'foundGif', 'url' => 'string', 'thumb_url' => 'string', 'con ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGif={_='foundGif', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int} ``` diff --git a/old_docs/API_docs_v81/constructors/foundGifCached.md b/old_docs/API_docs_v81/constructors/foundGifCached.md index e4a1a552..03e67917 100644 --- a/old_docs/API_docs_v81/constructors/foundGifCached.md +++ b/old_docs/API_docs_v81/constructors/foundGifCached.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -34,10 +34,9 @@ $foundGifCached = ['_' => 'foundGifCached', 'url' => 'string', 'photo' => Photo, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua foundGifCached={_='foundGifCached', url='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v81/constructors/game.md b/old_docs/API_docs_v81/constructors/game.md index 790fbeeb..088ca95e 100644 --- a/old_docs/API_docs_v81/constructors/game.md +++ b/old_docs/API_docs_v81/constructors/game.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'document' => Document]; ``` @@ -38,10 +38,9 @@ $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua game={_='game', id=long, access_hash=long, short_name='string', title='string', description='string', photo=Photo, document=Document} ``` diff --git a/old_docs/API_docs_v81/constructors/geoPoint.md b/old_docs/API_docs_v81/constructors/geoPoint.md index b932e64a..5314d43f 100644 --- a/old_docs/API_docs_v81/constructors/geoPoint.md +++ b/old_docs/API_docs_v81/constructors/geoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` @@ -33,10 +33,9 @@ $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPoint={_='geoPoint', long=double, lat=double} ``` diff --git a/old_docs/API_docs_v81/constructors/geoPointEmpty.md b/old_docs/API_docs_v81/constructors/geoPointEmpty.md index de430e2f..42a0220c 100644 --- a/old_docs/API_docs_v81/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v81/constructors/geoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` @@ -27,10 +27,9 @@ $geoPointEmpty = ['_' => 'geoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua geoPointEmpty={_='geoPointEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/help_appUpdate.md b/old_docs/API_docs_v81/constructors/help_appUpdate.md index 7bef9898..921acb1e 100644 --- a/old_docs/API_docs_v81/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v81/constructors/help_appUpdate.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'ur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/help_configSimple.md b/old_docs/API_docs_v81/constructors/help_configSimple.md index 95457e3b..c012891f 100644 --- a/old_docs/API_docs_v81/constructors/help_configSimple.md +++ b/old_docs/API_docs_v81/constructors/help_configSimple.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; ``` @@ -34,10 +34,9 @@ $help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} ``` diff --git a/old_docs/API_docs_v81/constructors/help_deepLinkInfo.md b/old_docs/API_docs_v81/constructors/help_deepLinkInfo.md index b7b5ecdd..9689ff4a 100644 --- a/old_docs/API_docs_v81/constructors/help_deepLinkInfo.md +++ b/old_docs/API_docs_v81/constructors/help_deepLinkInfo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -34,10 +34,9 @@ $help_deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v81/constructors/help_deepLinkInfoEmpty.md b/old_docs/API_docs_v81/constructors/help_deepLinkInfoEmpty.md index 86d01faa..719520ac 100644 --- a/old_docs/API_docs_v81/constructors/help_deepLinkInfoEmpty.md +++ b/old_docs/API_docs_v81/constructors/help_deepLinkInfoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; ``` @@ -27,10 +27,9 @@ $help_deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/help_inviteText.md b/old_docs/API_docs_v81/constructors/help_inviteText.md index 67d0bb03..ef3325b2 100644 --- a/old_docs/API_docs_v81/constructors/help_inviteText.md +++ b/old_docs/API_docs_v81/constructors/help_inviteText.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_inviteText={_='help.inviteText', message='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/help_noAppUpdate.md b/old_docs/API_docs_v81/constructors/help_noAppUpdate.md index 4bda6033..5e5b2dc8 100644 --- a/old_docs/API_docs_v81/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v81/constructors/help_noAppUpdate.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` @@ -27,10 +27,9 @@ $help_noAppUpdate = ['_' => 'help.noAppUpdate']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_noAppUpdate={_='help.noAppUpdate'} ``` diff --git a/old_docs/API_docs_v81/constructors/help_proxyDataEmpty.md b/old_docs/API_docs_v81/constructors/help_proxyDataEmpty.md index 057991ed..a8de138c 100644 --- a/old_docs/API_docs_v81/constructors/help_proxyDataEmpty.md +++ b/old_docs/API_docs_v81/constructors/help_proxyDataEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $help_proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_proxyDataEmpty={_='help.proxyDataEmpty', expires=int} ``` diff --git a/old_docs/API_docs_v81/constructors/help_proxyDataPromo.md b/old_docs/API_docs_v81/constructors/help_proxyDataPromo.md index 19938a31..f5b0e3bd 100644 --- a/old_docs/API_docs_v81/constructors/help_proxyDataPromo.md +++ b/old_docs/API_docs_v81/constructors/help_proxyDataPromo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $help_proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/help_recentMeUrls.md b/old_docs/API_docs_v81/constructors/help_recentMeUrls.md index 4fa513b5..986fa1e7 100644 --- a/old_docs/API_docs_v81/constructors/help_recentMeUrls.md +++ b/old_docs/API_docs_v81/constructors/help_recentMeUrls.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, Recent ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/help_support.md b/old_docs/API_docs_v81/constructors/help_support.md index 9062328b..566b5b23 100644 --- a/old_docs/API_docs_v81/constructors/help_support.md +++ b/old_docs/API_docs_v81/constructors/help_support.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; ``` @@ -33,10 +33,9 @@ $help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_support={_='help.support', phone_number='string', user=User} ``` diff --git a/old_docs/API_docs_v81/constructors/help_termsOfService.md b/old_docs/API_docs_v81/constructors/help_termsOfService.md index c154976d..cf15e978 100644 --- a/old_docs/API_docs_v81/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v81/constructors/help_termsOfService.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; ``` @@ -36,10 +36,9 @@ $help_termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => D ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} ``` diff --git a/old_docs/API_docs_v81/constructors/help_termsOfServiceUpdate.md b/old_docs/API_docs_v81/constructors/help_termsOfServiceUpdate.md index 161946a9..85e99b2a 100644 --- a/old_docs/API_docs_v81/constructors/help_termsOfServiceUpdate.md +++ b/old_docs/API_docs_v81/constructors/help_termsOfServiceUpdate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help_TermsOfService]; ``` @@ -33,10 +33,9 @@ $help_termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help_TermsOfService} ``` diff --git a/old_docs/API_docs_v81/constructors/help_termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v81/constructors/help_termsOfServiceUpdateEmpty.md index 369365db..f23b414d 100644 --- a/old_docs/API_docs_v81/constructors/help_termsOfServiceUpdateEmpty.md +++ b/old_docs/API_docs_v81/constructors/help_termsOfServiceUpdateEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $help_termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $help_termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'exp ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua help_termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} ``` diff --git a/old_docs/API_docs_v81/constructors/highScore.md b/old_docs/API_docs_v81/constructors/highScore.md index 63a8ab05..265c0487 100644 --- a/old_docs/API_docs_v81/constructors/highScore.md +++ b/old_docs/API_docs_v81/constructors/highScore.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int]; ``` @@ -34,10 +34,9 @@ $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua highScore={_='highScore', pos=int, user_id=int, score=int} ``` diff --git a/old_docs/API_docs_v81/constructors/importedContact.md b/old_docs/API_docs_v81/constructors/importedContact.md index 4615cfa8..1623bff9 100644 --- a/old_docs/API_docs_v81/constructors/importedContact.md +++ b/old_docs/API_docs_v81/constructors/importedContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long]; ``` @@ -33,10 +33,9 @@ $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua importedContact={_='importedContact', user_id=int, client_id=long} ``` diff --git a/old_docs/API_docs_v81/constructors/inlineBotSwitchPM.md b/old_docs/API_docs_v81/constructors/inlineBotSwitchPM.md index 0dfd4714..b4fb8185 100644 --- a/old_docs/API_docs_v81/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v81/constructors/inlineBotSwitchPM.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string']; ``` @@ -33,10 +33,9 @@ $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_par ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inlineBotSwitchPM={_='inlineBotSwitchPM', text='string', start_param='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputAppEvent.md b/old_docs/API_docs_v81/constructors/inputAppEvent.md index a09235f2..06e45a7f 100644 --- a/old_docs/API_docs_v81/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v81/constructors/inputAppEvent.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => 'string']; ``` @@ -35,10 +35,9 @@ $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputBotInlineMessageGame.md b/old_docs/API_docs_v81/constructors/inputBotInlineMessageGame.md index 8e59cd54..66c8997b 100644 --- a/old_docs/API_docs_v81/constructors/inputBotInlineMessageGame.md +++ b/old_docs/API_docs_v81/constructors/inputBotInlineMessageGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup]; ``` @@ -32,10 +32,9 @@ $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageGame={_='inputBotInlineMessageGame', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v81/constructors/inputBotInlineMessageID.md b/old_docs/API_docs_v81/constructors/inputBotInlineMessageID.md index 91c7586d..aecbb733 100644 --- a/old_docs/API_docs_v81/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v81/constructors/inputBotInlineMessageID.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageID={_='inputBotInlineMessageID', dc_id=int, id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v81/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v81/constructors/inputBotInlineMessageMediaAuto.md index 997e711e..49f736fd 100644 --- a/old_docs/API_docs_v81/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v81/constructors/inputBotInlineMessageMediaAuto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v81/constructors/inputBotInlineMessageMediaContact.md b/old_docs/API_docs_v81/constructors/inputBotInlineMessageMediaContact.md index 5b78709f..25dd9029 100644 --- a/old_docs/API_docs_v81/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v81/constructors/inputBotInlineMessageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v81/constructors/inputBotInlineMessageMediaGeo.md b/old_docs/API_docs_v81/constructors/inputBotInlineMessageMediaGeo.md index 2f1f75ad..a4588d95 100644 --- a/old_docs/API_docs_v81/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v81/constructors/inputBotInlineMessageMediaGeo.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'period' => int, 'reply_markup' => ReplyMarkup]; ``` @@ -34,10 +34,9 @@ $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, period=int, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v81/constructors/inputBotInlineMessageMediaVenue.md b/old_docs/API_docs_v81/constructors/inputBotInlineMessageMediaVenue.md index 2e51d848..dfd4dac4 100644 --- a/old_docs/API_docs_v81/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v81/constructors/inputBotInlineMessageMediaVenue.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string', 'reply_markup' => ReplyMarkup]; ``` @@ -38,10 +38,9 @@ $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'g ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', venue_type='string', reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v81/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v81/constructors/inputBotInlineMessageText.md index e6a0bbb7..acae47bc 100644 --- a/old_docs/API_docs_v81/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v81/constructors/inputBotInlineMessageText.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup]; ``` @@ -35,10 +35,9 @@ $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup} ``` diff --git a/old_docs/API_docs_v81/constructors/inputBotInlineResult.md b/old_docs/API_docs_v81/constructors/inputBotInlineResult.md index dc1a30f3..e4fe0393 100644 --- a/old_docs/API_docs_v81/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v81/constructors/inputBotInlineResult.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb' => InputWebDocument, 'content' => InputWebDocument, 'send_message' => InputBotInlineMessage]; ``` @@ -39,10 +39,9 @@ $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb=InputWebDocument, content=InputWebDocument, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v81/constructors/inputBotInlineResultDocument.md b/old_docs/API_docs_v81/constructors/inputBotInlineResultDocument.md index ad13df76..9d5f1eb6 100644 --- a/old_docs/API_docs_v81/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v81/constructors/inputBotInlineResultDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage]; ``` @@ -37,10 +37,9 @@ $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultDocument={_='inputBotInlineResultDocument', id='string', type='string', title='string', description='string', document=InputDocument, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v81/constructors/inputBotInlineResultGame.md b/old_docs/API_docs_v81/constructors/inputBotInlineResultGame.md index 5967bea6..b7821035 100644 --- a/old_docs/API_docs_v81/constructors/inputBotInlineResultGame.md +++ b/old_docs/API_docs_v81/constructors/inputBotInlineResultGame.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string', 'short_name' => 'string', 'send_message' => InputBotInlineMessage]; ``` @@ -34,10 +34,9 @@ $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultGame={_='inputBotInlineResultGame', id='string', short_name='string', send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v81/constructors/inputBotInlineResultPhoto.md b/old_docs/API_docs_v81/constructors/inputBotInlineResultPhoto.md index 43f00813..271bb02e 100644 --- a/old_docs/API_docs_v81/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v81/constructors/inputBotInlineResultPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage]; ``` @@ -35,10 +35,9 @@ $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id='string', type='string', photo=InputPhoto, send_message=InputBotInlineMessage} ``` diff --git a/old_docs/API_docs_v81/constructors/inputChannel.md b/old_docs/API_docs_v81/constructors/inputChannel.md index b5cb3566..34ed10ca 100644 --- a/old_docs/API_docs_v81/constructors/inputChannel.md +++ b/old_docs/API_docs_v81/constructors/inputChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannel={_='inputChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v81/constructors/inputChannelEmpty.md b/old_docs/API_docs_v81/constructors/inputChannelEmpty.md index f7e18434..bd53602b 100644 --- a/old_docs/API_docs_v81/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v81/constructors/inputChannelEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` @@ -27,10 +27,9 @@ $inputChannelEmpty = ['_' => 'inputChannelEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChannelEmpty={_='inputChannelEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputChatPhoto.md b/old_docs/API_docs_v81/constructors/inputChatPhoto.md index 636d6f68..cbae66d1 100644 --- a/old_docs/API_docs_v81/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v81/constructors/inputChatPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhoto={_='inputChatPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v81/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v81/constructors/inputChatPhotoEmpty.md index 1a1aea75..fbb8278c 100644 --- a/old_docs/API_docs_v81/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v81/constructors/inputChatPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatPhotoEmpty={_='inputChatPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v81/constructors/inputChatUploadedPhoto.md index 840ed815..8b5535ab 100644 --- a/old_docs/API_docs_v81/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v81/constructors/inputChatUploadedPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile]; ``` @@ -32,10 +32,9 @@ $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile} ``` diff --git a/old_docs/API_docs_v81/constructors/inputClientProxy.md b/old_docs/API_docs_v81/constructors/inputClientProxy.md index a6db151e..3ee80004 100644 --- a/old_docs/API_docs_v81/constructors/inputClientProxy.md +++ b/old_docs/API_docs_v81/constructors/inputClientProxy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputClientProxy = ['_' => 'inputClientProxy', 'address' => 'string', 'port' => int]; ``` @@ -33,10 +33,9 @@ $inputClientProxy = ['_' => 'inputClientProxy', 'address' => 'string', 'port' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputClientProxy={_='inputClientProxy', address='string', port=int} ``` diff --git a/old_docs/API_docs_v81/constructors/inputDialogPeer.md b/old_docs/API_docs_v81/constructors/inputDialogPeer.md index b536e8d2..6d6ec70d 100644 --- a/old_docs/API_docs_v81/constructors/inputDialogPeer.md +++ b/old_docs/API_docs_v81/constructors/inputDialogPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDialogPeer = ['_' => 'inputDialogPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputDialogPeer = ['_' => 'inputDialogPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDialogPeer={_='inputDialogPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v81/constructors/inputDocument.md b/old_docs/API_docs_v81/constructors/inputDocument.md index 3adfb1b9..fb891119 100644 --- a/old_docs/API_docs_v81/constructors/inputDocument.md +++ b/old_docs/API_docs_v81/constructors/inputDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocument={_='inputDocument', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v81/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v81/constructors/inputDocumentEmpty.md index 374ea32b..532f0c13 100644 --- a/old_docs/API_docs_v81/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v81/constructors/inputDocumentEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` @@ -27,10 +27,9 @@ $inputDocumentEmpty = ['_' => 'inputDocumentEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentEmpty={_='inputDocumentEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v81/constructors/inputDocumentFileLocation.md index df556f40..94ab0038 100644 --- a/old_docs/API_docs_v81/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v81/constructors/inputDocumentFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int]; ``` @@ -34,10 +34,9 @@ $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, version=int} ``` diff --git a/old_docs/API_docs_v81/constructors/inputEncryptedChat.md b/old_docs/API_docs_v81/constructors/inputEncryptedChat.md index 346b03c3..2cf54165 100644 --- a/old_docs/API_docs_v81/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v81/constructors/inputEncryptedChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_ha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v81/constructors/inputEncryptedFile.md b/old_docs/API_docs_v81/constructors/inputEncryptedFile.md index 84d27a73..6f9bb14c 100644 --- a/old_docs/API_docs_v81/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v81/constructors/inputEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v81/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v81/constructors/inputEncryptedFileBigUploaded.md index b39b42e7..e6ad21ae 100644 --- a/old_docs/API_docs_v81/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v81/constructors/inputEncryptedFileBigUploaded.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int]; ``` @@ -34,10 +34,9 @@ $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileBigUploaded={_='inputEncryptedFileBigUploaded', id=long, parts=int, key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v81/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v81/constructors/inputEncryptedFileEmpty.md index c07ca14f..895abf76 100644 --- a/old_docs/API_docs_v81/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v81/constructors/inputEncryptedFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` @@ -27,10 +27,9 @@ $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileEmpty={_='inputEncryptedFileEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v81/constructors/inputEncryptedFileLocation.md index 35271b85..4c949792 100644 --- a/old_docs/API_docs_v81/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v81/constructors/inputEncryptedFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v81/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v81/constructors/inputEncryptedFileUploaded.md index 31b2eb2b..55d6d457 100644 --- a/old_docs/API_docs_v81/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v81/constructors/inputEncryptedFileUploaded.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int]; ``` @@ -35,10 +35,9 @@ $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int} ``` diff --git a/old_docs/API_docs_v81/constructors/inputFile.md b/old_docs/API_docs_v81/constructors/inputFile.md index 64f6f343..cc1f018c 100644 --- a/old_docs/API_docs_v81/constructors/inputFile.md +++ b/old_docs/API_docs_v81/constructors/inputFile.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string']; ``` @@ -35,10 +35,9 @@ $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputFileBig.md b/old_docs/API_docs_v81/constructors/inputFileBig.md index 81c21dc0..66375c65 100644 --- a/old_docs/API_docs_v81/constructors/inputFileBig.md +++ b/old_docs/API_docs_v81/constructors/inputFileBig.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileBig={_='inputFileBig', id=long, parts=int, name='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputFileLocation.md b/old_docs/API_docs_v81/constructors/inputFileLocation.md index 2bbb8c97..4457ba04 100644 --- a/old_docs/API_docs_v81/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v81/constructors/inputFileLocation.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long]; ``` @@ -34,10 +34,9 @@ $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long} ``` diff --git a/old_docs/API_docs_v81/constructors/inputGameID.md b/old_docs/API_docs_v81/constructors/inputGameID.md index 1fff2dd1..fba24333 100644 --- a/old_docs/API_docs_v81/constructors/inputGameID.md +++ b/old_docs/API_docs_v81/constructors/inputGameID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameID={_='inputGameID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v81/constructors/inputGameShortName.md b/old_docs/API_docs_v81/constructors/inputGameShortName.md index 742b5ae5..031e3f4c 100644 --- a/old_docs/API_docs_v81/constructors/inputGameShortName.md +++ b/old_docs/API_docs_v81/constructors/inputGameShortName.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => 'string']; ``` @@ -33,10 +33,9 @@ $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'shor ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGameShortName={_='inputGameShortName', bot_id=InputUser, short_name='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputGeoPoint.md b/old_docs/API_docs_v81/constructors/inputGeoPoint.md index 75d080d6..1983786c 100644 --- a/old_docs/API_docs_v81/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v81/constructors/inputGeoPoint.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` @@ -33,10 +33,9 @@ $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPoint={_='inputGeoPoint', lat=double, long=double} ``` diff --git a/old_docs/API_docs_v81/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v81/constructors/inputGeoPointEmpty.md index 7d511909..5e16616a 100644 --- a/old_docs/API_docs_v81/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v81/constructors/inputGeoPointEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` @@ -27,10 +27,9 @@ $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputGeoPointEmpty={_='inputGeoPointEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMediaContact.md b/old_docs/API_docs_v81/constructors/inputMediaContact.md index 3dcee4c1..343588bd 100644 --- a/old_docs/API_docs_v81/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v81/constructors/inputMediaContact.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -34,10 +34,9 @@ $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'f ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMediaDocument.md b/old_docs/API_docs_v81/constructors/inputMediaDocument.md index 84065899..4b2661e2 100644 --- a/old_docs/API_docs_v81/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v81/constructors/inputMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'ttl_seconds' => int]; ``` @@ -33,10 +33,9 @@ $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'ttl_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocument={_='inputMediaDocument', id=InputDocument, ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMediaDocumentExternal.md b/old_docs/API_docs_v81/constructors/inputMediaDocumentExternal.md index 579f7f6d..a5b09b43 100644 --- a/old_docs/API_docs_v81/constructors/inputMediaDocumentExternal.md +++ b/old_docs/API_docs_v81/constructors/inputMediaDocumentExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'string', 'ttl_seconds' => int]; ``` @@ -33,10 +33,9 @@ $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'st ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaDocumentExternal={_='inputMediaDocumentExternal', url='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMediaEmpty.md b/old_docs/API_docs_v81/constructors/inputMediaEmpty.md index 682bd6c6..77c5514c 100644 --- a/old_docs/API_docs_v81/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v81/constructors/inputMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` @@ -27,10 +27,9 @@ $inputMediaEmpty = ['_' => 'inputMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaEmpty={_='inputMediaEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMediaGame.md b/old_docs/API_docs_v81/constructors/inputMediaGame.md index 883e5672..c4cc2cfc 100644 --- a/old_docs/API_docs_v81/constructors/inputMediaGame.md +++ b/old_docs/API_docs_v81/constructors/inputMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` @@ -32,10 +32,9 @@ $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGame={_='inputMediaGame', id=InputGame} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMediaGeoLive.md b/old_docs/API_docs_v81/constructors/inputMediaGeoLive.md index bf72edfb..be8d4038 100644 --- a/old_docs/API_docs_v81/constructors/inputMediaGeoLive.md +++ b/old_docs/API_docs_v81/constructors/inputMediaGeoLive.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoLive = ['_' => 'inputMediaGeoLive', 'geo_point' => InputGeoPoint, 'period' => int]; ``` @@ -33,10 +33,9 @@ $inputMediaGeoLive = ['_' => 'inputMediaGeoLive', 'geo_point' => InputGeoPoint, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoLive={_='inputMediaGeoLive', geo_point=InputGeoPoint, period=int} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v81/constructors/inputMediaGeoPoint.md index 12b715c8..99937a80 100644 --- a/old_docs/API_docs_v81/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v81/constructors/inputMediaGeoPoint.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint]; ``` @@ -32,10 +32,9 @@ $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGeoPoint={_='inputMediaGeoPoint', geo_point=InputGeoPoint} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v81/constructors/inputMediaGifExternal.md index cf68972a..14153a43 100644 --- a/old_docs/API_docs_v81/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v81/constructors/inputMediaGifExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' => 'string']; ``` @@ -33,10 +33,9 @@ $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => 'string', 'q' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaGifExternal={_='inputMediaGifExternal', url='string', q='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMediaInvoice.md b/old_docs/API_docs_v81/constructors/inputMediaInvoice.md index 7f66c4c3..e2441e27 100644 --- a/old_docs/API_docs_v81/constructors/inputMediaInvoice.md +++ b/old_docs/API_docs_v81/constructors/inputMediaInvoice.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'description' => 'string', 'photo' => InputWebDocument, 'invoice' => Invoice, 'payload' => 'bytes', 'provider' => 'string', 'provider_data' => DataJSON, 'start_param' => 'string']; ``` @@ -39,10 +39,9 @@ $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'descript ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaInvoice={_='inputMediaInvoice', title='string', description='string', photo=InputWebDocument, invoice=Invoice, payload='bytes', provider='string', provider_data=DataJSON, start_param='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMediaPhoto.md b/old_docs/API_docs_v81/constructors/inputMediaPhoto.md index c6ba1034..8089e576 100644 --- a/old_docs/API_docs_v81/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v81/constructors/inputMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'ttl_seconds' => int]; ``` @@ -33,10 +33,9 @@ $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'ttl_seconds' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMediaPhotoExternal.md b/old_docs/API_docs_v81/constructors/inputMediaPhotoExternal.md index 7103a02c..1db5d33b 100644 --- a/old_docs/API_docs_v81/constructors/inputMediaPhotoExternal.md +++ b/old_docs/API_docs_v81/constructors/inputMediaPhotoExternal.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', 'ttl_seconds' => int]; ``` @@ -33,10 +33,9 @@ $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaPhotoExternal={_='inputMediaPhotoExternal', url='string', ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v81/constructors/inputMediaUploadedDocument.md index e009cbb1..12d9ffd6 100644 --- a/old_docs/API_docs_v81/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v81/constructors/inputMediaUploadedDocument.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'nosound_video' => Bool, 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'stickers' => [InputDocument, InputDocument], 'ttl_seconds' => int]; ``` @@ -38,10 +38,9 @@ $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'nosound_vid ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedDocument={_='inputMediaUploadedDocument', nosound_video=Bool, file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}, stickers={InputDocument}, ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v81/constructors/inputMediaUploadedPhoto.md index fe8a811a..2465f63b 100644 --- a/old_docs/API_docs_v81/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v81/constructors/inputMediaUploadedPhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'stickers' => [InputDocument, InputDocument], 'ttl_seconds' => int]; ``` @@ -34,10 +34,9 @@ $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, stickers={InputDocument}, ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMediaVenue.md b/old_docs/API_docs_v81/constructors/inputMediaVenue.md index 017f62ee..6f023afa 100644 --- a/old_docs/API_docs_v81/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v81/constructors/inputMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string']; ``` @@ -37,10 +37,9 @@ $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'tit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', venue_type='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMessageEntityMentionName.md b/old_docs/API_docs_v81/constructors/inputMessageEntityMentionName.md index 92d5c8d9..19a0b4e3 100644 --- a/old_docs/API_docs_v81/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v81/constructors/inputMessageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser]; ``` @@ -34,10 +34,9 @@ $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessageEntityMentionName={_='inputMessageEntityMentionName', offset=int, length=int, user_id=InputUser} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMessageID.md b/old_docs/API_docs_v81/constructors/inputMessageID.md index c6123b92..fd024d43 100644 --- a/old_docs/API_docs_v81/constructors/inputMessageID.md +++ b/old_docs/API_docs_v81/constructors/inputMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessageID = ['_' => 'inputMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $inputMessageID = ['_' => 'inputMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessageID={_='inputMessageID', id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMessagePinned.md b/old_docs/API_docs_v81/constructors/inputMessagePinned.md index 4dc9197e..dde78f72 100644 --- a/old_docs/API_docs_v81/constructors/inputMessagePinned.md +++ b/old_docs/API_docs_v81/constructors/inputMessagePinned.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagePinned = ['_' => 'inputMessagePinned']; ``` @@ -27,10 +27,9 @@ $inputMessagePinned = ['_' => 'inputMessagePinned']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagePinned={_='inputMessagePinned'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMessageReplyTo.md b/old_docs/API_docs_v81/constructors/inputMessageReplyTo.md index c1737e7d..715c4cad 100644 --- a/old_docs/API_docs_v81/constructors/inputMessageReplyTo.md +++ b/old_docs/API_docs_v81/constructors/inputMessageReplyTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessageReplyTo = ['_' => 'inputMessageReplyTo', 'id' => int]; ``` @@ -32,10 +32,9 @@ $inputMessageReplyTo = ['_' => 'inputMessageReplyTo', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessageReplyTo={_='inputMessageReplyTo', id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMessagesFilterChatPhotos.md b/old_docs/API_docs_v81/constructors/inputMessagesFilterChatPhotos.md index a02425b1..b72281f3 100644 --- a/old_docs/API_docs_v81/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v81/constructors/inputMessagesFilterChatPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterChatPhotos={_='inputMessagesFilterChatPhotos'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMessagesFilterContacts.md b/old_docs/API_docs_v81/constructors/inputMessagesFilterContacts.md index 98de3f5e..fbfc7fc2 100644 --- a/old_docs/API_docs_v81/constructors/inputMessagesFilterContacts.md +++ b/old_docs/API_docs_v81/constructors/inputMessagesFilterContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterContacts = ['_' => 'inputMessagesFilterContacts']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterContacts = ['_' => 'inputMessagesFilterContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterContacts={_='inputMessagesFilterContacts'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v81/constructors/inputMessagesFilterDocument.md index 5ba5376d..c4b4dce6 100644 --- a/old_docs/API_docs_v81/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v81/constructors/inputMessagesFilterDocument.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterDocument={_='inputMessagesFilterDocument'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v81/constructors/inputMessagesFilterEmpty.md index d05b16ca..3330a3bb 100644 --- a/old_docs/API_docs_v81/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v81/constructors/inputMessagesFilterEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterEmpty={_='inputMessagesFilterEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMessagesFilterGeo.md b/old_docs/API_docs_v81/constructors/inputMessagesFilterGeo.md index 96da554b..059d4ba1 100644 --- a/old_docs/API_docs_v81/constructors/inputMessagesFilterGeo.md +++ b/old_docs/API_docs_v81/constructors/inputMessagesFilterGeo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGeo = ['_' => 'inputMessagesFilterGeo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGeo = ['_' => 'inputMessagesFilterGeo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGeo={_='inputMessagesFilterGeo'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v81/constructors/inputMessagesFilterGif.md index 94698ecd..a3a51104 100644 --- a/old_docs/API_docs_v81/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v81/constructors/inputMessagesFilterGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterGif={_='inputMessagesFilterGif'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v81/constructors/inputMessagesFilterMusic.md index ac6373c2..b2ed1044 100644 --- a/old_docs/API_docs_v81/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v81/constructors/inputMessagesFilterMusic.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterMusic={_='inputMessagesFilterMusic'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMessagesFilterMyMentions.md b/old_docs/API_docs_v81/constructors/inputMessagesFilterMyMentions.md index 68411008..54fa6521 100644 --- a/old_docs/API_docs_v81/constructors/inputMessagesFilterMyMentions.md +++ b/old_docs/API_docs_v81/constructors/inputMessagesFilterMyMentions.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterMyMentions = ['_' => 'inputMessagesFilterMyMentions']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterMyMentions = ['_' => 'inputMessagesFilterMyMentions']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterMyMentions={_='inputMessagesFilterMyMentions'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMessagesFilterPhoneCalls.md b/old_docs/API_docs_v81/constructors/inputMessagesFilterPhoneCalls.md index 8fe8537a..0cb60836 100644 --- a/old_docs/API_docs_v81/constructors/inputMessagesFilterPhoneCalls.md +++ b/old_docs/API_docs_v81/constructors/inputMessagesFilterPhoneCalls.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool]; ``` @@ -32,10 +32,9 @@ $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'misse ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhoneCalls={_='inputMessagesFilterPhoneCalls', missed=Bool} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v81/constructors/inputMessagesFilterPhotoVideo.md index 183c8c56..554313dd 100644 --- a/old_docs/API_docs_v81/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v81/constructors/inputMessagesFilterPhotoVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotoVideo={_='inputMessagesFilterPhotoVideo'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v81/constructors/inputMessagesFilterPhotos.md index b6bf558e..5859ad34 100644 --- a/old_docs/API_docs_v81/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v81/constructors/inputMessagesFilterPhotos.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterPhotos={_='inputMessagesFilterPhotos'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMessagesFilterRoundVideo.md b/old_docs/API_docs_v81/constructors/inputMessagesFilterRoundVideo.md index 5bcbbb20..291ebf25 100644 --- a/old_docs/API_docs_v81/constructors/inputMessagesFilterRoundVideo.md +++ b/old_docs/API_docs_v81/constructors/inputMessagesFilterRoundVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterRoundVideo={_='inputMessagesFilterRoundVideo'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMessagesFilterRoundVoice.md b/old_docs/API_docs_v81/constructors/inputMessagesFilterRoundVoice.md index 9e018fc3..4c7fbbec 100644 --- a/old_docs/API_docs_v81/constructors/inputMessagesFilterRoundVoice.md +++ b/old_docs/API_docs_v81/constructors/inputMessagesFilterRoundVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterRoundVoice={_='inputMessagesFilterRoundVoice'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v81/constructors/inputMessagesFilterUrl.md index 2611616b..dc392428 100644 --- a/old_docs/API_docs_v81/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v81/constructors/inputMessagesFilterUrl.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterUrl={_='inputMessagesFilterUrl'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v81/constructors/inputMessagesFilterVideo.md index 101ec921..4b2f699e 100644 --- a/old_docs/API_docs_v81/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v81/constructors/inputMessagesFilterVideo.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVideo={_='inputMessagesFilterVideo'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v81/constructors/inputMessagesFilterVoice.md index 026a91be..be3af22a 100644 --- a/old_docs/API_docs_v81/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v81/constructors/inputMessagesFilterVoice.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` @@ -27,10 +27,9 @@ $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputMessagesFilterVoice={_='inputMessagesFilterVoice'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputNotifyChats.md b/old_docs/API_docs_v81/constructors/inputNotifyChats.md index 63a436fb..850057e6 100644 --- a/old_docs/API_docs_v81/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v81/constructors/inputNotifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` @@ -27,10 +27,9 @@ $inputNotifyChats = ['_' => 'inputNotifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyChats={_='inputNotifyChats'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputNotifyPeer.md b/old_docs/API_docs_v81/constructors/inputNotifyPeer.md index fe7bb8db..aed97c5e 100644 --- a/old_docs/API_docs_v81/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v81/constructors/inputNotifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` @@ -32,10 +32,9 @@ $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyPeer={_='inputNotifyPeer', peer=InputPeer} ``` diff --git a/old_docs/API_docs_v81/constructors/inputNotifyUsers.md b/old_docs/API_docs_v81/constructors/inputNotifyUsers.md index 9b361031..c30d039e 100644 --- a/old_docs/API_docs_v81/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v81/constructors/inputNotifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` @@ -27,10 +27,9 @@ $inputNotifyUsers = ['_' => 'inputNotifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputNotifyUsers={_='inputNotifyUsers'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPaymentCredentials.md b/old_docs/API_docs_v81/constructors/inputPaymentCredentials.md index 085db55d..4e2883f9 100644 --- a/old_docs/API_docs_v81/constructors/inputPaymentCredentials.md +++ b/old_docs/API_docs_v81/constructors/inputPaymentCredentials.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'data' => DataJSON]; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'd ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentials={_='inputPaymentCredentials', save=Bool, data=DataJSON} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPaymentCredentialsAndroidPay.md b/old_docs/API_docs_v81/constructors/inputPaymentCredentialsAndroidPay.md index 7ee5312b..3912de55 100644 --- a/old_docs/API_docs_v81/constructors/inputPaymentCredentialsAndroidPay.md +++ b/old_docs/API_docs_v81/constructors/inputPaymentCredentialsAndroidPay.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentialsAndroidPay = ['_' => 'inputPaymentCredentialsAndroidPay', 'payment_token' => DataJSON, 'google_transaction_id' => 'string']; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentialsAndroidPay = ['_' => 'inputPaymentCredentialsAndroidPay' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentialsAndroidPay={_='inputPaymentCredentialsAndroidPay', payment_token=DataJSON, google_transaction_id='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPaymentCredentialsApplePay.md b/old_docs/API_docs_v81/constructors/inputPaymentCredentialsApplePay.md index 53f9901a..2f3af18e 100644 --- a/old_docs/API_docs_v81/constructors/inputPaymentCredentialsApplePay.md +++ b/old_docs/API_docs_v81/constructors/inputPaymentCredentialsApplePay.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentialsApplePay = ['_' => 'inputPaymentCredentialsApplePay', 'payment_data' => DataJSON]; ``` @@ -32,10 +32,9 @@ $inputPaymentCredentialsApplePay = ['_' => 'inputPaymentCredentialsApplePay', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentialsApplePay={_='inputPaymentCredentialsApplePay', payment_data=DataJSON} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPaymentCredentialsSaved.md b/old_docs/API_docs_v81/constructors/inputPaymentCredentialsSaved.md index 63cd678e..c205ee9a 100644 --- a/old_docs/API_docs_v81/constructors/inputPaymentCredentialsSaved.md +++ b/old_docs/API_docs_v81/constructors/inputPaymentCredentialsSaved.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => 'string', 'tmp_password' => 'bytes']; ``` @@ -33,10 +33,9 @@ $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPaymentCredentialsSaved={_='inputPaymentCredentialsSaved', id='string', tmp_password='bytes'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPeerChannel.md b/old_docs/API_docs_v81/constructors/inputPeerChannel.md index 8b84fe20..14c2f105 100644 --- a/old_docs/API_docs_v81/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v81/constructors/inputPeerChannel.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_has ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPeerChat.md b/old_docs/API_docs_v81/constructors/inputPeerChat.md index cbe38bcf..881946f4 100644 --- a/old_docs/API_docs_v81/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v81/constructors/inputPeerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerChat={_='inputPeerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPeerEmpty.md b/old_docs/API_docs_v81/constructors/inputPeerEmpty.md index 9116d5a9..a3a7954f 100644 --- a/old_docs/API_docs_v81/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v81/constructors/inputPeerEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` @@ -27,10 +27,9 @@ $inputPeerEmpty = ['_' => 'inputPeerEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerEmpty={_='inputPeerEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v81/constructors/inputPeerNotifySettings.md index 185a7492..cf134e44 100644 --- a/old_docs/API_docs_v81/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v81/constructors/inputPeerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPeerSelf.md b/old_docs/API_docs_v81/constructors/inputPeerSelf.md index d282f9da..f31161f1 100644 --- a/old_docs/API_docs_v81/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v81/constructors/inputPeerSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` @@ -27,10 +27,9 @@ $inputPeerSelf = ['_' => 'inputPeerSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerSelf={_='inputPeerSelf'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPeerUser.md b/old_docs/API_docs_v81/constructors/inputPeerUser.md index 6af9f3b0..e5bb7d0d 100644 --- a/old_docs/API_docs_v81/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v81/constructors/inputPeerUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPeerUser={_='inputPeerUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPhoneCall.md b/old_docs/API_docs_v81/constructors/inputPhoneCall.md index 60cdf8ca..68abe88d 100644 --- a/old_docs/API_docs_v81/constructors/inputPhoneCall.md +++ b/old_docs/API_docs_v81/constructors/inputPhoneCall.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneCall={_='inputPhoneCall', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPhoneContact.md b/old_docs/API_docs_v81/constructors/inputPhoneContact.md index 6695d810..78269a83 100644 --- a/old_docs/API_docs_v81/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v81/constructors/inputPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string']; ``` @@ -35,10 +35,9 @@ $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPhoto.md b/old_docs/API_docs_v81/constructors/inputPhoto.md index 552507e3..c7964637 100644 --- a/old_docs/API_docs_v81/constructors/inputPhoto.md +++ b/old_docs/API_docs_v81/constructors/inputPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhoto={_='inputPhoto', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v81/constructors/inputPhotoEmpty.md index e8d9c25f..461617e7 100644 --- a/old_docs/API_docs_v81/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v81/constructors/inputPhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` @@ -27,10 +27,9 @@ $inputPhotoEmpty = ['_' => 'inputPhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPhotoEmpty={_='inputPhotoEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v81/constructors/inputPrivacyKeyChatInvite.md index 9c55265f..d96148d4 100644 --- a/old_docs/API_docs_v81/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v81/constructors/inputPrivacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyChatInvite={_='inputPrivacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPrivacyKeyPhoneCall.md b/old_docs/API_docs_v81/constructors/inputPrivacyKeyPhoneCall.md index b16316be..510ff979 100644 --- a/old_docs/API_docs_v81/constructors/inputPrivacyKeyPhoneCall.md +++ b/old_docs/API_docs_v81/constructors/inputPrivacyKeyPhoneCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyPhoneCall={_='inputPrivacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v81/constructors/inputPrivacyKeyStatusTimestamp.md index 4730b8b3..005ae1fc 100644 --- a/old_docs/API_docs_v81/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v81/constructors/inputPrivacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyKeyStatusTimestamp={_='inputPrivacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v81/constructors/inputPrivacyValueAllowAll.md index d15740c7..d3e68c43 100644 --- a/old_docs/API_docs_v81/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v81/constructors/inputPrivacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowAll={_='inputPrivacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v81/constructors/inputPrivacyValueAllowContacts.md index fdc7eeff..95b04597 100644 --- a/old_docs/API_docs_v81/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v81/constructors/inputPrivacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowContacts={_='inputPrivacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v81/constructors/inputPrivacyValueAllowUsers.md index 60db0455..d23c3586 100644 --- a/old_docs/API_docs_v81/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v81/constructors/inputPrivacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueAllowUsers={_='inputPrivacyValueAllowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v81/constructors/inputPrivacyValueDisallowAll.md index f3dc8538..f7467687 100644 --- a/old_docs/API_docs_v81/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v81/constructors/inputPrivacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowAll={_='inputPrivacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v81/constructors/inputPrivacyValueDisallowContacts.md index c0c61980..4ac0fd17 100644 --- a/old_docs/API_docs_v81/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v81/constructors/inputPrivacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowContacts={_='inputPrivacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v81/constructors/inputPrivacyValueDisallowUsers.md index 1598db64..de5d7e11 100644 --- a/old_docs/API_docs_v81/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v81/constructors/inputPrivacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser, InputUser]]; ``` @@ -32,10 +32,9 @@ $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputPrivacyValueDisallowUsers={_='inputPrivacyValueDisallowUsers', users={InputUser}} ``` diff --git a/old_docs/API_docs_v81/constructors/inputReportReasonOther.md b/old_docs/API_docs_v81/constructors/inputReportReasonOther.md index 361582bd..4dbffa18 100644 --- a/old_docs/API_docs_v81/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v81/constructors/inputReportReasonOther.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonOther={_='inputReportReasonOther', text='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v81/constructors/inputReportReasonPornography.md index c18c71d3..5c80f096 100644 --- a/old_docs/API_docs_v81/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v81/constructors/inputReportReasonPornography.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` @@ -27,10 +27,9 @@ $inputReportReasonPornography = ['_' => 'inputReportReasonPornography']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonPornography={_='inputReportReasonPornography'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v81/constructors/inputReportReasonSpam.md index 19ed6687..75d59861 100644 --- a/old_docs/API_docs_v81/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v81/constructors/inputReportReasonSpam.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` @@ -27,10 +27,9 @@ $inputReportReasonSpam = ['_' => 'inputReportReasonSpam']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonSpam={_='inputReportReasonSpam'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v81/constructors/inputReportReasonViolence.md index 10fbce47..28d27e85 100644 --- a/old_docs/API_docs_v81/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v81/constructors/inputReportReasonViolence.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` @@ -27,10 +27,9 @@ $inputReportReasonViolence = ['_' => 'inputReportReasonViolence']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputReportReasonViolence={_='inputReportReasonViolence'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputSecureFile.md b/old_docs/API_docs_v81/constructors/inputSecureFile.md index df67e848..21cca06b 100644 --- a/old_docs/API_docs_v81/constructors/inputSecureFile.md +++ b/old_docs/API_docs_v81/constructors/inputSecureFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputSecureFile = ['_' => 'inputSecureFile', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputSecureFile = ['_' => 'inputSecureFile', 'id' => long, 'access_hash' => lon ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputSecureFile={_='inputSecureFile', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v81/constructors/inputSecureFileLocation.md b/old_docs/API_docs_v81/constructors/inputSecureFileLocation.md index 223e4561..e9ed4e1a 100644 --- a/old_docs/API_docs_v81/constructors/inputSecureFileLocation.md +++ b/old_docs/API_docs_v81/constructors/inputSecureFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputSecureFileLocation = ['_' => 'inputSecureFileLocation', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputSecureFileLocation = ['_' => 'inputSecureFileLocation', 'id' => long, 'acc ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputSecureFileLocation={_='inputSecureFileLocation', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v81/constructors/inputSecureFileUploaded.md b/old_docs/API_docs_v81/constructors/inputSecureFileUploaded.md index 89c45cb5..9f5ee7fd 100644 --- a/old_docs/API_docs_v81/constructors/inputSecureFileUploaded.md +++ b/old_docs/API_docs_v81/constructors/inputSecureFileUploaded.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputSecureFileUploaded = ['_' => 'inputSecureFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'file_hash' => 'bytes', 'secret' => 'bytes']; ``` @@ -36,10 +36,9 @@ $inputSecureFileUploaded = ['_' => 'inputSecureFileUploaded', 'id' => long, 'par ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputSecureFileUploaded={_='inputSecureFileUploaded', id=long, parts=int, md5_checksum='string', file_hash='bytes', secret='bytes'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputSecureValue.md b/old_docs/API_docs_v81/constructors/inputSecureValue.md index e2859667..6f549d63 100644 --- a/old_docs/API_docs_v81/constructors/inputSecureValue.md +++ b/old_docs/API_docs_v81/constructors/inputSecureValue.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputSecureValue = ['_' => 'inputSecureValue', 'type' => SecureValueType, 'data' => SecureData, 'front_side' => InputSecureFile, 'reverse_side' => InputSecureFile, 'selfie' => InputSecureFile, 'files' => [InputSecureFile, InputSecureFile], 'plain_data' => SecurePlainData]; ``` @@ -38,10 +38,9 @@ $inputSecureValue = ['_' => 'inputSecureValue', 'type' => SecureValueType, 'data ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputSecureValue={_='inputSecureValue', type=SecureValueType, data=SecureData, front_side=InputSecureFile, reverse_side=InputSecureFile, selfie=InputSecureFile, files={InputSecureFile}, plain_data=SecurePlainData} ``` diff --git a/old_docs/API_docs_v81/constructors/inputSingleMedia.md b/old_docs/API_docs_v81/constructors/inputSingleMedia.md index fb03aa0c..31665379 100644 --- a/old_docs/API_docs_v81/constructors/inputSingleMedia.md +++ b/old_docs/API_docs_v81/constructors/inputSingleMedia.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputSingleMedia = ['_' => 'inputSingleMedia', 'media' => InputMedia, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -34,10 +34,9 @@ $inputSingleMedia = ['_' => 'inputSingleMedia', 'media' => InputMedia, 'message' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputSingleMedia={_='inputSingleMedia', media=InputMedia, message='string', entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v81/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v81/constructors/inputStickerSetEmpty.md index f213667c..2de309ea 100644 --- a/old_docs/API_docs_v81/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v81/constructors/inputStickerSetEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` @@ -27,10 +27,9 @@ $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetEmpty={_='inputStickerSetEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputStickerSetID.md b/old_docs/API_docs_v81/constructors/inputStickerSetID.md index 36eebe3a..2b07cc51 100644 --- a/old_docs/API_docs_v81/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v81/constructors/inputStickerSetID.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetID={_='inputStickerSetID', id=long, access_hash=long} ``` diff --git a/old_docs/API_docs_v81/constructors/inputStickerSetItem.md b/old_docs/API_docs_v81/constructors/inputStickerSetItem.md index 2efe95ff..39b999c7 100644 --- a/old_docs/API_docs_v81/constructors/inputStickerSetItem.md +++ b/old_docs/API_docs_v81/constructors/inputStickerSetItem.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetItem = ['_' => 'inputStickerSetItem', 'document' => InputDocument, 'emoji' => 'string', 'mask_coords' => MaskCoords]; ``` @@ -34,10 +34,9 @@ $inputStickerSetItem = ['_' => 'inputStickerSetItem', 'document' => InputDocumen ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetItem={_='inputStickerSetItem', document=InputDocument, emoji='string', mask_coords=MaskCoords} ``` diff --git a/old_docs/API_docs_v81/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v81/constructors/inputStickerSetShortName.md index 518fdc3f..1e8f122d 100644 --- a/old_docs/API_docs_v81/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v81/constructors/inputStickerSetShortName.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => 'string']; ``` @@ -32,10 +32,9 @@ $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickerSetShortName={_='inputStickerSetShortName', short_name='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputStickeredMediaDocument.md b/old_docs/API_docs_v81/constructors/inputStickeredMediaDocument.md index c6def51c..72da7b39 100644 --- a/old_docs/API_docs_v81/constructors/inputStickeredMediaDocument.md +++ b/old_docs/API_docs_v81/constructors/inputStickeredMediaDocument.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => In ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaDocument={_='inputStickeredMediaDocument', id=InputDocument} ``` diff --git a/old_docs/API_docs_v81/constructors/inputStickeredMediaPhoto.md b/old_docs/API_docs_v81/constructors/inputStickeredMediaPhoto.md index f424c329..d79cd390 100644 --- a/old_docs/API_docs_v81/constructors/inputStickeredMediaPhoto.md +++ b/old_docs/API_docs_v81/constructors/inputStickeredMediaPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto]; ``` @@ -32,10 +32,9 @@ $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputStickeredMediaPhoto={_='inputStickeredMediaPhoto', id=InputPhoto} ``` diff --git a/old_docs/API_docs_v81/constructors/inputTakeoutFileLocation.md b/old_docs/API_docs_v81/constructors/inputTakeoutFileLocation.md index 6eee9802..a1a01af9 100644 --- a/old_docs/API_docs_v81/constructors/inputTakeoutFileLocation.md +++ b/old_docs/API_docs_v81/constructors/inputTakeoutFileLocation.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputTakeoutFileLocation = ['_' => 'inputTakeoutFileLocation']; ``` @@ -27,10 +27,9 @@ $inputTakeoutFileLocation = ['_' => 'inputTakeoutFileLocation']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputTakeoutFileLocation={_='inputTakeoutFileLocation'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputUser.md b/old_docs/API_docs_v81/constructors/inputUser.md index c3020146..a3bd6cbd 100644 --- a/old_docs/API_docs_v81/constructors/inputUser.md +++ b/old_docs/API_docs_v81/constructors/inputUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUser={_='inputUser', user_id=int, access_hash=long} ``` diff --git a/old_docs/API_docs_v81/constructors/inputUserEmpty.md b/old_docs/API_docs_v81/constructors/inputUserEmpty.md index a1b84389..3b228104 100644 --- a/old_docs/API_docs_v81/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v81/constructors/inputUserEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` @@ -27,10 +27,9 @@ $inputUserEmpty = ['_' => 'inputUserEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserEmpty={_='inputUserEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputUserSelf.md b/old_docs/API_docs_v81/constructors/inputUserSelf.md index 69b91c89..df0a3c90 100644 --- a/old_docs/API_docs_v81/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v81/constructors/inputUserSelf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputUserSelf = ['_' => 'inputUserSelf']; ``` @@ -27,10 +27,9 @@ $inputUserSelf = ['_' => 'inputUserSelf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputUserSelf={_='inputUserSelf'} ``` diff --git a/old_docs/API_docs_v81/constructors/inputWebDocument.md b/old_docs/API_docs_v81/constructors/inputWebDocument.md index 8028cb28..cd3ceaa1 100644 --- a/old_docs/API_docs_v81/constructors/inputWebDocument.md +++ b/old_docs/API_docs_v81/constructors/inputWebDocument.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -35,10 +35,9 @@ $inputWebDocument = ['_' => 'inputWebDocument', 'url' => 'string', 'size' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputWebDocument={_='inputWebDocument', url='string', size=int, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v81/constructors/inputWebFileLocation.md b/old_docs/API_docs_v81/constructors/inputWebFileLocation.md index c484849b..888dcfbe 100644 --- a/old_docs/API_docs_v81/constructors/inputWebFileLocation.md +++ b/old_docs/API_docs_v81/constructors/inputWebFileLocation.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'access_hash' => long]; ``` @@ -33,10 +33,9 @@ $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => 'string', 'acce ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua inputWebFileLocation={_='inputWebFileLocation', url='string', access_hash=long} ``` diff --git a/old_docs/API_docs_v81/constructors/invoice.md b/old_docs/API_docs_v81/constructors/invoice.md index 5caa32f5..1e2de02c 100644 --- a/old_docs/API_docs_v81/constructors/invoice.md +++ b/old_docs/API_docs_v81/constructors/invoice.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_requested' => Bool, 'email_requested' => Bool, 'shipping_address_requested' => Bool, 'flexible' => Bool, 'phone_to_provider' => Bool, 'email_to_provider' => Bool, 'currency' => 'string', 'prices' => [LabeledPrice, LabeledPrice]]; ``` @@ -41,10 +41,9 @@ $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_r ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua invoice={_='invoice', test=Bool, name_requested=Bool, phone_requested=Bool, email_requested=Bool, shipping_address_requested=Bool, flexible=Bool, phone_to_provider=Bool, email_to_provider=Bool, currency='string', prices={LabeledPrice}} ``` diff --git a/old_docs/API_docs_v81/constructors/ipPort.md b/old_docs/API_docs_v81/constructors/ipPort.md index a22e57e7..16cec197 100644 --- a/old_docs/API_docs_v81/constructors/ipPort.md +++ b/old_docs/API_docs_v81/constructors/ipPort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $ipPort = ['_' => 'ipPort', 'ipv4' => int, 'port' => int]; ``` @@ -33,10 +33,9 @@ $ipPort = ['_' => 'ipPort', 'ipv4' => int, 'port' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua ipPort={_='ipPort', ipv4=int, port=int} ``` diff --git a/old_docs/API_docs_v81/constructors/ipPortSecret.md b/old_docs/API_docs_v81/constructors/ipPortSecret.md index e18341d5..b46ece6f 100644 --- a/old_docs/API_docs_v81/constructors/ipPortSecret.md +++ b/old_docs/API_docs_v81/constructors/ipPortSecret.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $ipPortSecret = ['_' => 'ipPortSecret', 'ipv4' => int, 'port' => int, 'secret' => 'bytes']; ``` @@ -34,10 +34,9 @@ $ipPortSecret = ['_' => 'ipPortSecret', 'ipv4' => int, 'port' => int, 'secret' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua ipPortSecret={_='ipPortSecret', ipv4=int, port=int, secret='bytes'} ``` diff --git a/old_docs/API_docs_v81/constructors/keyboardButton.md b/old_docs/API_docs_v81/constructors/keyboardButton.md index c4e88041..ebc6fadb 100644 --- a/old_docs/API_docs_v81/constructors/keyboardButton.md +++ b/old_docs/API_docs_v81/constructors/keyboardButton.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButton = ['_' => 'keyboardButton', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButton={_='keyboardButton', text='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/keyboardButtonBuy.md b/old_docs/API_docs_v81/constructors/keyboardButtonBuy.md index efff4c6c..cf11ddf6 100644 --- a/old_docs/API_docs_v81/constructors/keyboardButtonBuy.md +++ b/old_docs/API_docs_v81/constructors/keyboardButtonBuy.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonBuy={_='keyboardButtonBuy', text='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/keyboardButtonCallback.md b/old_docs/API_docs_v81/constructors/keyboardButtonCallback.md index 63e87aac..c8f86f50 100644 --- a/old_docs/API_docs_v81/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v81/constructors/keyboardButtonCallback.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', 'data' => 'bytes']; ``` @@ -33,10 +33,9 @@ $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => 'string', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonCallback={_='keyboardButtonCallback', text='string', data='bytes'} ``` diff --git a/old_docs/API_docs_v81/constructors/keyboardButtonGame.md b/old_docs/API_docs_v81/constructors/keyboardButtonGame.md index 08110141..05a565a3 100644 --- a/old_docs/API_docs_v81/constructors/keyboardButtonGame.md +++ b/old_docs/API_docs_v81/constructors/keyboardButtonGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonGame={_='keyboardButtonGame', text='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/keyboardButtonRequestGeoLocation.md b/old_docs/API_docs_v81/constructors/keyboardButtonRequestGeoLocation.md index fc422d90..63d4a82f 100644 --- a/old_docs/API_docs_v81/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v81/constructors/keyboardButtonRequestGeoLocation.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestGeoLocation={_='keyboardButtonRequestGeoLocation', text='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/keyboardButtonRequestPhone.md b/old_docs/API_docs_v81/constructors/keyboardButtonRequestPhone.md index a1719e24..ba58979f 100644 --- a/old_docs/API_docs_v81/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v81/constructors/keyboardButtonRequestPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/keyboardButtonRow.md b/old_docs/API_docs_v81/constructors/keyboardButtonRow.md index d82f74c5..c5e82d09 100644 --- a/old_docs/API_docs_v81/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v81/constructors/keyboardButtonRow.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]]; ``` @@ -32,10 +32,9 @@ $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}} ``` diff --git a/old_docs/API_docs_v81/constructors/keyboardButtonSwitchInline.md b/old_docs/API_docs_v81/constructors/keyboardButtonSwitchInline.md index 463c473c..52dc897a 100644 --- a/old_docs/API_docs_v81/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v81/constructors/keyboardButtonSwitchInline.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => 'string', 'query' => 'string']; ``` @@ -34,10 +34,9 @@ $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=Bool, text='string', query='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/keyboardButtonUrl.md b/old_docs/API_docs_v81/constructors/keyboardButtonUrl.md index 709d4fa9..56b86f1c 100644 --- a/old_docs/API_docs_v81/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v81/constructors/keyboardButtonUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string']; ``` @@ -33,10 +33,9 @@ $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua keyboardButtonUrl={_='keyboardButtonUrl', text='string', url='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/labeledPrice.md b/old_docs/API_docs_v81/constructors/labeledPrice.md index 22e91c77..d54f53f5 100644 --- a/old_docs/API_docs_v81/constructors/labeledPrice.md +++ b/old_docs/API_docs_v81/constructors/labeledPrice.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` @@ -33,10 +33,9 @@ $labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua labeledPrice={_='labeledPrice', label='string', amount=long} ``` diff --git a/old_docs/API_docs_v81/constructors/langPackDifference.md b/old_docs/API_docs_v81/constructors/langPackDifference.md index 59f57e24..c31de915 100644 --- a/old_docs/API_docs_v81/constructors/langPackDifference.md +++ b/old_docs/API_docs_v81/constructors/langPackDifference.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackDifference = ['_' => 'langPackDifference', 'lang_code' => 'string', 'from_version' => int, 'version' => int, 'strings' => [LangPackString, LangPackString]]; ``` @@ -35,10 +35,9 @@ $langPackDifference = ['_' => 'langPackDifference', 'lang_code' => 'string', 'fr ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackDifference={_='langPackDifference', lang_code='string', from_version=int, version=int, strings={LangPackString}} ``` diff --git a/old_docs/API_docs_v81/constructors/langPackLanguage.md b/old_docs/API_docs_v81/constructors/langPackLanguage.md index a72465ca..51a8486c 100644 --- a/old_docs/API_docs_v81/constructors/langPackLanguage.md +++ b/old_docs/API_docs_v81/constructors/langPackLanguage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackLanguage = ['_' => 'langPackLanguage', 'name' => 'string', 'native_name' => 'string', 'lang_code' => 'string']; ``` @@ -34,10 +34,9 @@ $langPackLanguage = ['_' => 'langPackLanguage', 'name' => 'string', 'native_name ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackLanguage={_='langPackLanguage', name='string', native_name='string', lang_code='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/langPackString.md b/old_docs/API_docs_v81/constructors/langPackString.md index 4034f228..35d7d117 100644 --- a/old_docs/API_docs_v81/constructors/langPackString.md +++ b/old_docs/API_docs_v81/constructors/langPackString.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackString = ['_' => 'langPackString', 'key' => 'string', 'value' => 'string']; ``` @@ -33,10 +33,9 @@ $langPackString = ['_' => 'langPackString', 'key' => 'string', 'value' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackString={_='langPackString', key='string', value='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/langPackStringDeleted.md b/old_docs/API_docs_v81/constructors/langPackStringDeleted.md index 3da641bb..c23ce8f8 100644 --- a/old_docs/API_docs_v81/constructors/langPackStringDeleted.md +++ b/old_docs/API_docs_v81/constructors/langPackStringDeleted.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackStringDeleted = ['_' => 'langPackStringDeleted', 'key' => 'string']; ``` @@ -32,10 +32,9 @@ $langPackStringDeleted = ['_' => 'langPackStringDeleted', 'key' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackStringDeleted={_='langPackStringDeleted', key='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/langPackStringPluralized.md b/old_docs/API_docs_v81/constructors/langPackStringPluralized.md index 92b0b356..37225b53 100644 --- a/old_docs/API_docs_v81/constructors/langPackStringPluralized.md +++ b/old_docs/API_docs_v81/constructors/langPackStringPluralized.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => 'string', 'zero_value' => 'string', 'one_value' => 'string', 'two_value' => 'string', 'few_value' => 'string', 'many_value' => 'string', 'other_value' => 'string']; ``` @@ -38,10 +38,9 @@ $langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua langPackStringPluralized={_='langPackStringPluralized', key='string', zero_value='string', one_value='string', two_value='string', few_value='string', many_value='string', other_value='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/maskCoords.md b/old_docs/API_docs_v81/constructors/maskCoords.md index 21b9ad78..2d393f3a 100644 --- a/old_docs/API_docs_v81/constructors/maskCoords.md +++ b/old_docs/API_docs_v81/constructors/maskCoords.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double]; ``` @@ -35,10 +35,9 @@ $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'z ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua maskCoords={_='maskCoords', n=int, x=double, y=double, zoom=double} ``` diff --git a/old_docs/API_docs_v81/constructors/message.md b/old_docs/API_docs_v81/constructors/message.md index 98ea00b3..c7c87fd0 100644 --- a/old_docs/API_docs_v81/constructors/message.md +++ b/old_docs/API_docs_v81/constructors/message.md @@ -40,7 +40,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'views' => int, 'edit_date' => int, 'post_author' => 'string', 'grouped_id' => long]; ``` @@ -51,10 +51,9 @@ $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua message={_='message', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message='string', media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int, post_author='string', grouped_id=long} ``` diff --git a/old_docs/API_docs_v81/constructors/messageActionBotAllowed.md b/old_docs/API_docs_v81/constructors/messageActionBotAllowed.md index 26cf5fe4..e9e531fd 100644 --- a/old_docs/API_docs_v81/constructors/messageActionBotAllowed.md +++ b/old_docs/API_docs_v81/constructors/messageActionBotAllowed.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionBotAllowed = ['_' => 'messageActionBotAllowed', 'domain' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionBotAllowed = ['_' => 'messageActionBotAllowed', 'domain' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionBotAllowed={_='messageActionBotAllowed', domain='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v81/constructors/messageActionChannelCreate.md index b1750d73..2600ab63 100644 --- a/old_docs/API_docs_v81/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v81/constructors/messageActionChannelCreate.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelCreate={_='messageActionChannelCreate', title='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v81/constructors/messageActionChannelMigrateFrom.md index add136dc..1fdcf3f4 100644 --- a/old_docs/API_docs_v81/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v81/constructors/messageActionChannelMigrateFrom.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 't ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChannelMigrateFrom={_='messageActionChannelMigrateFrom', title='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v81/constructors/messageActionChatAddUser.md index 9c7de7f8..283365cd 100644 --- a/old_docs/API_docs_v81/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v81/constructors/messageActionChatAddUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatAddUser={_='messageActionChatAddUser', users={int}} ``` diff --git a/old_docs/API_docs_v81/constructors/messageActionChatCreate.md b/old_docs/API_docs_v81/constructors/messageActionChatCreate.md index f6a965f4..b1a1f3c6 100644 --- a/old_docs/API_docs_v81/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v81/constructors/messageActionChatCreate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]]; ``` @@ -33,10 +33,9 @@ $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}} ``` diff --git a/old_docs/API_docs_v81/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v81/constructors/messageActionChatDeletePhoto.md index a6fcf830..983a0ac2 100644 --- a/old_docs/API_docs_v81/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v81/constructors/messageActionChatDeletePhoto.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` @@ -27,10 +27,9 @@ $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeletePhoto={_='messageActionChatDeletePhoto'} ``` diff --git a/old_docs/API_docs_v81/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v81/constructors/messageActionChatDeleteUser.md index e4869c93..5dac8d25 100644 --- a/old_docs/API_docs_v81/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v81/constructors/messageActionChatDeleteUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatDeleteUser={_='messageActionChatDeleteUser', user_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v81/constructors/messageActionChatEditPhoto.md index e4a2b188..66833813 100644 --- a/old_docs/API_docs_v81/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v81/constructors/messageActionChatEditPhoto.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo]; ``` @@ -32,10 +32,9 @@ $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => P ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditPhoto={_='messageActionChatEditPhoto', photo=Photo} ``` diff --git a/old_docs/API_docs_v81/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v81/constructors/messageActionChatEditTitle.md index 5293b422..4c703658 100644 --- a/old_docs/API_docs_v81/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v81/constructors/messageActionChatEditTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatEditTitle={_='messageActionChatEditTitle', title='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v81/constructors/messageActionChatJoinedByLink.md index 70316d42..c5a9455f 100644 --- a/old_docs/API_docs_v81/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v81/constructors/messageActionChatJoinedByLink.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'invit ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatJoinedByLink={_='messageActionChatJoinedByLink', inviter_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v81/constructors/messageActionChatMigrateTo.md index 21d2cb22..8ace1091 100644 --- a/old_docs/API_docs_v81/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v81/constructors/messageActionChatMigrateTo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageActionCustomAction.md b/old_docs/API_docs_v81/constructors/messageActionCustomAction.md index 7dc58857..4087afcf 100644 --- a/old_docs/API_docs_v81/constructors/messageActionCustomAction.md +++ b/old_docs/API_docs_v81/constructors/messageActionCustomAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionCustomAction = ['_' => 'messageActionCustomAction', 'message' => 'string']; ``` @@ -32,10 +32,9 @@ $messageActionCustomAction = ['_' => 'messageActionCustomAction', 'message' => ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionCustomAction={_='messageActionCustomAction', message='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/messageActionEmpty.md b/old_docs/API_docs_v81/constructors/messageActionEmpty.md index d8c678b2..364816ea 100644 --- a/old_docs/API_docs_v81/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v81/constructors/messageActionEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` @@ -27,10 +27,9 @@ $messageActionEmpty = ['_' => 'messageActionEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionEmpty={_='messageActionEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/messageActionGameScore.md b/old_docs/API_docs_v81/constructors/messageActionGameScore.md index 7a459a3d..c0086b66 100644 --- a/old_docs/API_docs_v81/constructors/messageActionGameScore.md +++ b/old_docs/API_docs_v81/constructors/messageActionGameScore.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int]; ``` @@ -33,10 +33,9 @@ $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionGameScore={_='messageActionGameScore', game_id=long, score=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageActionHistoryClear.md b/old_docs/API_docs_v81/constructors/messageActionHistoryClear.md index 8b8dcc9d..90875cf6 100644 --- a/old_docs/API_docs_v81/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v81/constructors/messageActionHistoryClear.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` @@ -27,10 +27,9 @@ $messageActionHistoryClear = ['_' => 'messageActionHistoryClear']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionHistoryClear={_='messageActionHistoryClear'} ``` diff --git a/old_docs/API_docs_v81/constructors/messageActionPaymentSent.md b/old_docs/API_docs_v81/constructors/messageActionPaymentSent.md index b224a125..a5c83837 100644 --- a/old_docs/API_docs_v81/constructors/messageActionPaymentSent.md +++ b/old_docs/API_docs_v81/constructors/messageActionPaymentSent.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 'string', 'total_amount' => long]; ``` @@ -33,10 +33,9 @@ $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPaymentSent={_='messageActionPaymentSent', currency='string', total_amount=long} ``` diff --git a/old_docs/API_docs_v81/constructors/messageActionPaymentSentMe.md b/old_docs/API_docs_v81/constructors/messageActionPaymentSentMe.md index f21ccce0..b1a61d01 100644 --- a/old_docs/API_docs_v81/constructors/messageActionPaymentSentMe.md +++ b/old_docs/API_docs_v81/constructors/messageActionPaymentSentMe.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' => 'string', 'total_amount' => long, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'charge' => PaymentCharge]; ``` @@ -37,10 +37,9 @@ $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPaymentSentMe={_='messageActionPaymentSentMe', currency='string', total_amount=long, payload='bytes', info=PaymentRequestedInfo, shipping_option_id='string', charge=PaymentCharge} ``` diff --git a/old_docs/API_docs_v81/constructors/messageActionPhoneCall.md b/old_docs/API_docs_v81/constructors/messageActionPhoneCall.md index f2f3eb4f..18a6c687 100644 --- a/old_docs/API_docs_v81/constructors/messageActionPhoneCall.md +++ b/old_docs/API_docs_v81/constructors/messageActionPhoneCall.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` @@ -34,10 +34,9 @@ $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPhoneCall={_='messageActionPhoneCall', call_id=long, reason=PhoneCallDiscardReason, duration=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageActionPinMessage.md b/old_docs/API_docs_v81/constructors/messageActionPinMessage.md index ffa41746..be763787 100644 --- a/old_docs/API_docs_v81/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v81/constructors/messageActionPinMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` @@ -27,10 +27,9 @@ $messageActionPinMessage = ['_' => 'messageActionPinMessage']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionPinMessage={_='messageActionPinMessage'} ``` diff --git a/old_docs/API_docs_v81/constructors/messageActionScreenshotTaken.md b/old_docs/API_docs_v81/constructors/messageActionScreenshotTaken.md index f86b1746..cbe504c6 100644 --- a/old_docs/API_docs_v81/constructors/messageActionScreenshotTaken.md +++ b/old_docs/API_docs_v81/constructors/messageActionScreenshotTaken.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionScreenshotTaken = ['_' => 'messageActionScreenshotTaken']; ``` @@ -27,10 +27,9 @@ $messageActionScreenshotTaken = ['_' => 'messageActionScreenshotTaken']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionScreenshotTaken={_='messageActionScreenshotTaken'} ``` diff --git a/old_docs/API_docs_v81/constructors/messageActionSecureValuesSent.md b/old_docs/API_docs_v81/constructors/messageActionSecureValuesSent.md index 65dbd5c7..d1841ae4 100644 --- a/old_docs/API_docs_v81/constructors/messageActionSecureValuesSent.md +++ b/old_docs/API_docs_v81/constructors/messageActionSecureValuesSent.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionSecureValuesSent = ['_' => 'messageActionSecureValuesSent', 'types' => [SecureValueType, SecureValueType]]; ``` @@ -32,10 +32,9 @@ $messageActionSecureValuesSent = ['_' => 'messageActionSecureValuesSent', 'types ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionSecureValuesSent={_='messageActionSecureValuesSent', types={SecureValueType}} ``` diff --git a/old_docs/API_docs_v81/constructors/messageActionSecureValuesSentMe.md b/old_docs/API_docs_v81/constructors/messageActionSecureValuesSentMe.md index 31a2ef90..169097d2 100644 --- a/old_docs/API_docs_v81/constructors/messageActionSecureValuesSentMe.md +++ b/old_docs/API_docs_v81/constructors/messageActionSecureValuesSentMe.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageActionSecureValuesSentMe = ['_' => 'messageActionSecureValuesSentMe', 'values' => [SecureValue, SecureValue], 'credentials' => SecureCredentialsEncrypted]; ``` @@ -33,10 +33,9 @@ $messageActionSecureValuesSentMe = ['_' => 'messageActionSecureValuesSentMe', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageActionSecureValuesSentMe={_='messageActionSecureValuesSentMe', values={SecureValue}, credentials=SecureCredentialsEncrypted} ``` diff --git a/old_docs/API_docs_v81/constructors/messageEmpty.md b/old_docs/API_docs_v81/constructors/messageEmpty.md index 7ded1a1b..de0ab9fc 100644 --- a/old_docs/API_docs_v81/constructors/messageEmpty.md +++ b/old_docs/API_docs_v81/constructors/messageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $messageEmpty = ['_' => 'messageEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEmpty={_='messageEmpty', id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageEntityBold.md b/old_docs/API_docs_v81/constructors/messageEntityBold.md index 950699fb..90f74ad5 100644 --- a/old_docs/API_docs_v81/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v81/constructors/messageEntityBold.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBold={_='messageEntityBold', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v81/constructors/messageEntityBotCommand.md index 8be471d3..9fb8f6a6 100644 --- a/old_docs/API_docs_v81/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v81/constructors/messageEntityBotCommand.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageEntityCashtag.md b/old_docs/API_docs_v81/constructors/messageEntityCashtag.md index 527c66d1..6801f04c 100644 --- a/old_docs/API_docs_v81/constructors/messageEntityCashtag.md +++ b/old_docs/API_docs_v81/constructors/messageEntityCashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCashtag = ['_' => 'messageEntityCashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCashtag = ['_' => 'messageEntityCashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCashtag={_='messageEntityCashtag', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageEntityCode.md b/old_docs/API_docs_v81/constructors/messageEntityCode.md index 7c701844..d236e57e 100644 --- a/old_docs/API_docs_v81/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v81/constructors/messageEntityCode.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityCode={_='messageEntityCode', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageEntityEmail.md b/old_docs/API_docs_v81/constructors/messageEntityEmail.md index 35a968c7..74e910f3 100644 --- a/old_docs/API_docs_v81/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v81/constructors/messageEntityEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityEmail={_='messageEntityEmail', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageEntityHashtag.md b/old_docs/API_docs_v81/constructors/messageEntityHashtag.md index 6b124e73..77e29387 100644 --- a/old_docs/API_docs_v81/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v81/constructors/messageEntityHashtag.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityHashtag={_='messageEntityHashtag', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageEntityItalic.md b/old_docs/API_docs_v81/constructors/messageEntityItalic.md index 25f73428..5975bae2 100644 --- a/old_docs/API_docs_v81/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v81/constructors/messageEntityItalic.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityItalic={_='messageEntityItalic', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageEntityMention.md b/old_docs/API_docs_v81/constructors/messageEntityMention.md index 9eb4d266..1a21cb10 100644 --- a/old_docs/API_docs_v81/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v81/constructors/messageEntityMention.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMention={_='messageEntityMention', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageEntityMentionName.md b/old_docs/API_docs_v81/constructors/messageEntityMentionName.md index b546570b..0fe142c5 100644 --- a/old_docs/API_docs_v81/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v81/constructors/messageEntityMentionName.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int]; ``` @@ -34,10 +34,9 @@ $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageEntityPhone.md b/old_docs/API_docs_v81/constructors/messageEntityPhone.md index 995c04a6..ff0b770e 100644 --- a/old_docs/API_docs_v81/constructors/messageEntityPhone.md +++ b/old_docs/API_docs_v81/constructors/messageEntityPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPhone = ['_' => 'messageEntityPhone', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityPhone = ['_' => 'messageEntityPhone', 'offset' => int, 'length' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPhone={_='messageEntityPhone', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageEntityPre.md b/old_docs/API_docs_v81/constructors/messageEntityPre.md index abfc9136..13b165fe 100644 --- a/old_docs/API_docs_v81/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v81/constructors/messageEntityPre.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityPre={_='messageEntityPre', offset=int, length=int, language='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v81/constructors/messageEntityTextUrl.md index 91f6d36c..b6d82843 100644 --- a/old_docs/API_docs_v81/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v81/constructors/messageEntityTextUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string']; ``` @@ -34,10 +34,9 @@ $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/messageEntityUnknown.md b/old_docs/API_docs_v81/constructors/messageEntityUnknown.md index 69ca8a1b..4c434fd7 100644 --- a/old_docs/API_docs_v81/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v81/constructors/messageEntityUnknown.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUnknown={_='messageEntityUnknown', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageEntityUrl.md b/old_docs/API_docs_v81/constructors/messageEntityUrl.md index 377c3dda..2cf334a5 100644 --- a/old_docs/API_docs_v81/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v81/constructors/messageEntityUrl.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int]; ``` @@ -33,10 +33,9 @@ $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageEntityUrl={_='messageEntityUrl', offset=int, length=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageFwdHeader.md b/old_docs/API_docs_v81/constructors/messageFwdHeader.md index 17fd301c..3fe7ca9b 100644 --- a/old_docs/API_docs_v81/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v81/constructors/messageFwdHeader.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, 'post_author' => 'string', 'saved_from_peer' => Peer, 'saved_from_msg_id' => int]; ``` @@ -38,10 +38,9 @@ $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int, post_author='string', saved_from_peer=Peer, saved_from_msg_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageMediaContact.md b/old_docs/API_docs_v81/constructors/messageMediaContact.md index a426d993..8f8d56ba 100644 --- a/old_docs/API_docs_v81/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v81/constructors/messageMediaContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int]; ``` @@ -35,10 +35,9 @@ $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageMediaDocument.md b/old_docs/API_docs_v81/constructors/messageMediaDocument.md index b91e7db9..9abbd247 100644 --- a/old_docs/API_docs_v81/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v81/constructors/messageMediaDocument.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'ttl_seconds' => int]; ``` @@ -33,10 +33,9 @@ $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaDocument={_='messageMediaDocument', document=Document, ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageMediaEmpty.md b/old_docs/API_docs_v81/constructors/messageMediaEmpty.md index b3bd4a97..904ed52e 100644 --- a/old_docs/API_docs_v81/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v81/constructors/messageMediaEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` @@ -27,10 +27,9 @@ $messageMediaEmpty = ['_' => 'messageMediaEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaEmpty={_='messageMediaEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/messageMediaGame.md b/old_docs/API_docs_v81/constructors/messageMediaGame.md index e97b2bd1..980dbbcc 100644 --- a/old_docs/API_docs_v81/constructors/messageMediaGame.md +++ b/old_docs/API_docs_v81/constructors/messageMediaGame.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` @@ -32,10 +32,9 @@ $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGame={_='messageMediaGame', game=Game} ``` diff --git a/old_docs/API_docs_v81/constructors/messageMediaGeo.md b/old_docs/API_docs_v81/constructors/messageMediaGeo.md index 9de214be..325e952d 100644 --- a/old_docs/API_docs_v81/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v81/constructors/messageMediaGeo.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` @@ -32,10 +32,9 @@ $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeo={_='messageMediaGeo', geo=GeoPoint} ``` diff --git a/old_docs/API_docs_v81/constructors/messageMediaGeoLive.md b/old_docs/API_docs_v81/constructors/messageMediaGeoLive.md index f77c0a16..b238f66e 100644 --- a/old_docs/API_docs_v81/constructors/messageMediaGeoLive.md +++ b/old_docs/API_docs_v81/constructors/messageMediaGeoLive.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaGeoLive = ['_' => 'messageMediaGeoLive', 'geo' => GeoPoint, 'period' => int]; ``` @@ -33,10 +33,9 @@ $messageMediaGeoLive = ['_' => 'messageMediaGeoLive', 'geo' => GeoPoint, 'period ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaGeoLive={_='messageMediaGeoLive', geo=GeoPoint, period=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageMediaInvoice.md b/old_docs/API_docs_v81/constructors/messageMediaInvoice.md index dff83700..e7514d50 100644 --- a/old_docs/API_docs_v81/constructors/messageMediaInvoice.md +++ b/old_docs/API_docs_v81/constructors/messageMediaInvoice.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requested' => Bool, 'test' => Bool, 'title' => 'string', 'description' => 'string', 'photo' => WebDocument, 'receipt_msg_id' => int, 'currency' => 'string', 'total_amount' => long, 'start_param' => 'string']; ``` @@ -40,10 +40,9 @@ $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requeste ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaInvoice={_='messageMediaInvoice', shipping_address_requested=Bool, test=Bool, title='string', description='string', photo=WebDocument, receipt_msg_id=int, currency='string', total_amount=long, start_param='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/messageMediaPhoto.md b/old_docs/API_docs_v81/constructors/messageMediaPhoto.md index 530e1abf..f7a94ced 100644 --- a/old_docs/API_docs_v81/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v81/constructors/messageMediaPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'ttl_seconds' => int]; ``` @@ -33,10 +33,9 @@ $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'ttl_seconds ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaPhoto={_='messageMediaPhoto', photo=Photo, ttl_seconds=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v81/constructors/messageMediaUnsupported.md index 5df25a67..c5da18f9 100644 --- a/old_docs/API_docs_v81/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v81/constructors/messageMediaUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` @@ -27,10 +27,9 @@ $messageMediaUnsupported = ['_' => 'messageMediaUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaUnsupported={_='messageMediaUnsupported'} ``` diff --git a/old_docs/API_docs_v81/constructors/messageMediaVenue.md b/old_docs/API_docs_v81/constructors/messageMediaVenue.md index 7d529bf1..4d1ff1b7 100644 --- a/old_docs/API_docs_v81/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v81/constructors/messageMediaVenue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string']; ``` @@ -37,10 +37,9 @@ $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string', venue_type='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/messageMediaWebPage.md b/old_docs/API_docs_v81/constructors/messageMediaWebPage.md index 6c37fb2b..92e4f817 100644 --- a/old_docs/API_docs_v81/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v81/constructors/messageMediaWebPage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` @@ -32,10 +32,9 @@ $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage} ``` diff --git a/old_docs/API_docs_v81/constructors/messageRange.md b/old_docs/API_docs_v81/constructors/messageRange.md index 40c3f81a..527e8646 100644 --- a/old_docs/API_docs_v81/constructors/messageRange.md +++ b/old_docs/API_docs_v81/constructors/messageRange.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageRange={_='messageRange', min_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messageService.md b/old_docs/API_docs_v81/constructors/messageService.md index 8f47e32f..f9946e72 100644 --- a/old_docs/API_docs_v81/constructors/messageService.md +++ b/old_docs/API_docs_v81/constructors/messageService.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction]; ``` @@ -42,10 +42,9 @@ $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messageService={_='messageService', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_affectedHistory.md b/old_docs/API_docs_v81/constructors/messages_affectedHistory.md index 24dd1b8b..5763e405 100644 --- a/old_docs/API_docs_v81/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v81/constructors/messages_affectedHistory.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; ``` @@ -34,10 +34,9 @@ $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_affectedMessages.md b/old_docs/API_docs_v81/constructors/messages_affectedMessages.md index e5d5b9fa..418c5124 100644 --- a/old_docs/API_docs_v81/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v81/constructors/messages_affectedMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; ``` @@ -33,10 +33,9 @@ $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_allStickers.md b/old_docs/API_docs_v81/constructors/messages_allStickers.md index 2a7d1313..45a66ddf 100644 --- a/old_docs/API_docs_v81/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v81/constructors/messages_allStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; ``` @@ -33,10 +33,9 @@ $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v81/constructors/messages_allStickersNotModified.md index 84eea993..26f830c0 100644 --- a/old_docs/API_docs_v81/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v81/constructors/messages_allStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_allStickersNotModified={_='messages.allStickersNotModified'} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_archivedStickers.md b/old_docs/API_docs_v81/constructors/messages_archivedStickers.md index 458c74b9..639d174b 100644 --- a/old_docs/API_docs_v81/constructors/messages_archivedStickers.md +++ b/old_docs/API_docs_v81/constructors/messages_archivedStickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -33,10 +33,9 @@ $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v81/constructors/messages_botCallbackAnswer.md index 657ba0fc..f7536196 100644 --- a/old_docs/API_docs_v81/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v81/constructors/messages_botCallbackAnswer.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; ``` @@ -37,10 +37,9 @@ $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_botResults.md b/old_docs/API_docs_v81/constructors/messages_botResults.md index 514517e4..5c946daa 100644 --- a/old_docs/API_docs_v81/constructors/messages_botResults.md +++ b/old_docs/API_docs_v81/constructors/messages_botResults.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_channelMessages.md b/old_docs/API_docs_v81/constructors/messages_channelMessages.md index 43f4cdc6..0da0608d 100644 --- a/old_docs/API_docs_v81/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v81/constructors/messages_channelMessages.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'c ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_chatFull.md b/old_docs/API_docs_v81/constructors/messages_chatFull.md index faeab983..692280fa 100644 --- a/old_docs/API_docs_v81/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v81/constructors/messages_chatFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_chats.md b/old_docs/API_docs_v81/constructors/messages_chats.md index 11e867d1..ba41023c 100644 --- a/old_docs/API_docs_v81/constructors/messages_chats.md +++ b/old_docs/API_docs_v81/constructors/messages_chats.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` @@ -32,10 +32,9 @@ $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chats={_='messages.chats', chats={Chat}} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_chatsSlice.md b/old_docs/API_docs_v81/constructors/messages_chatsSlice.md index 83905f64..d6a204d4 100644 --- a/old_docs/API_docs_v81/constructors/messages_chatsSlice.md +++ b/old_docs/API_docs_v81/constructors/messages_chatsSlice.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; ``` @@ -33,10 +33,9 @@ $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_dhConfig.md b/old_docs/API_docs_v81/constructors/messages_dhConfig.md index 68f5f55c..7140a031 100644 --- a/old_docs/API_docs_v81/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v81/constructors/messages_dhConfig.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; ``` @@ -35,10 +35,9 @@ $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'v ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v81/constructors/messages_dhConfigNotModified.md index 89246dc8..568ac072 100644 --- a/old_docs/API_docs_v81/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v81/constructors/messages_dhConfigNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; ``` @@ -32,10 +32,9 @@ $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_dialogs.md b/old_docs/API_docs_v81/constructors/messages_dialogs.md index 1822595e..6f28dcb6 100644 --- a/old_docs/API_docs_v81/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v81/constructors/messages_dialogs.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v81/constructors/messages_dialogsSlice.md index 9f115a2f..3fa5fa7d 100644 --- a/old_docs/API_docs_v81/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v81/constructors/messages_dialogsSlice.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -36,10 +36,9 @@ $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_favedStickers.md b/old_docs/API_docs_v81/constructors/messages_favedStickers.md index b0501427..d058813a 100644 --- a/old_docs/API_docs_v81/constructors/messages_favedStickers.md +++ b/old_docs/API_docs_v81/constructors/messages_favedStickers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_favedStickersNotModified.md b/old_docs/API_docs_v81/constructors/messages_favedStickersNotModified.md index a5215247..91c1ec51 100644 --- a/old_docs/API_docs_v81/constructors/messages_favedStickersNotModified.md +++ b/old_docs/API_docs_v81/constructors/messages_favedStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_favedStickersNotModified={_='messages.favedStickersNotModified'} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_featuredStickers.md b/old_docs/API_docs_v81/constructors/messages_featuredStickers.md index 0ec8be8b..f40ec583 100644 --- a/old_docs/API_docs_v81/constructors/messages_featuredStickers.md +++ b/old_docs/API_docs_v81/constructors/messages_featuredStickers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; ``` @@ -34,10 +34,9 @@ $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v81/constructors/messages_featuredStickersNotModified.md index 87d2e6c7..3457ff96 100644 --- a/old_docs/API_docs_v81/constructors/messages_featuredStickersNotModified.md +++ b/old_docs/API_docs_v81/constructors/messages_featuredStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotMod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_foundGifs.md b/old_docs/API_docs_v81/constructors/messages_foundGifs.md index f86a9fed..4d513264 100644 --- a/old_docs/API_docs_v81/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v81/constructors/messages_foundGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; ``` @@ -33,10 +33,9 @@ $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'resul ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_foundStickerSets.md b/old_docs/API_docs_v81/constructors/messages_foundStickerSets.md index f0cad2dd..c813a1aa 100644 --- a/old_docs/API_docs_v81/constructors/messages_foundStickerSets.md +++ b/old_docs/API_docs_v81/constructors/messages_foundStickerSets.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -33,10 +33,9 @@ $messages_foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_foundStickerSetsNotModified.md b/old_docs/API_docs_v81/constructors/messages_foundStickerSetsNotModified.md index 2263a904..f6669bd2 100644 --- a/old_docs/API_docs_v81/constructors/messages_foundStickerSetsNotModified.md +++ b/old_docs/API_docs_v81/constructors/messages_foundStickerSetsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; ``` @@ -27,10 +27,9 @@ $messages_foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotMod ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_highScores.md b/old_docs/API_docs_v81/constructors/messages_highScores.md index 1af58a14..08692c07 100644 --- a/old_docs/API_docs_v81/constructors/messages_highScores.md +++ b/old_docs/API_docs_v81/constructors/messages_highScores.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, Hi ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_messageEditData.md b/old_docs/API_docs_v81/constructors/messages_messageEditData.md index aee6e179..fe0f3ab3 100644 --- a/old_docs/API_docs_v81/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v81/constructors/messages_messageEditData.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; ``` @@ -32,10 +32,9 @@ $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messageEditData={_='messages.messageEditData', caption=Bool} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_messages.md b/old_docs/API_docs_v81/constructors/messages_messages.md index 8aa7940d..e42692e7 100644 --- a/old_docs/API_docs_v81/constructors/messages_messages.md +++ b/old_docs/API_docs_v81/constructors/messages_messages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Messag ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_messagesNotModified.md b/old_docs/API_docs_v81/constructors/messages_messagesNotModified.md index 524d4c6f..05c192e5 100644 --- a/old_docs/API_docs_v81/constructors/messages_messagesNotModified.md +++ b/old_docs/API_docs_v81/constructors/messages_messagesNotModified.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; ``` @@ -32,10 +32,9 @@ $messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesNotModified={_='messages.messagesNotModified', count=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_messagesSlice.md b/old_docs/API_docs_v81/constructors/messages_messagesSlice.md index d83e0f5c..4065eadf 100644 --- a/old_docs/API_docs_v81/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v81/constructors/messages_messagesSlice.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -35,10 +35,9 @@ $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_peerDialogs.md b/old_docs/API_docs_v81/constructors/messages_peerDialogs.md index 93601b21..60aa48e6 100644 --- a/old_docs/API_docs_v81/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v81/constructors/messages_peerDialogs.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -36,10 +36,9 @@ $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Di ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_recentStickers.md b/old_docs/API_docs_v81/constructors/messages_recentStickers.md index e4b01c29..8f8a6dc3 100644 --- a/old_docs/API_docs_v81/constructors/messages_recentStickers.md +++ b/old_docs/API_docs_v81/constructors/messages_recentStickers.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; ``` @@ -35,10 +35,9 @@ $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'pa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v81/constructors/messages_recentStickersNotModified.md index 9bf964da..c3c4f654 100644 --- a/old_docs/API_docs_v81/constructors/messages_recentStickersNotModified.md +++ b/old_docs/API_docs_v81/constructors/messages_recentStickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModifie ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_recentStickersNotModified={_='messages.recentStickersNotModified'} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_savedGifs.md b/old_docs/API_docs_v81/constructors/messages_savedGifs.md index 4a254ab5..ae7e595f 100644 --- a/old_docs/API_docs_v81/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v81/constructors/messages_savedGifs.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Do ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v81/constructors/messages_savedGifsNotModified.md index 65c17d0c..ef0db669 100644 --- a/old_docs/API_docs_v81/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v81/constructors/messages_savedGifsNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` @@ -27,10 +27,9 @@ $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_savedGifsNotModified={_='messages.savedGifsNotModified'} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v81/constructors/messages_sentEncryptedFile.md index bd4eb12c..51b9c323 100644 --- a/old_docs/API_docs_v81/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v81/constructors/messages_sentEncryptedFile.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; ``` @@ -33,10 +33,9 @@ $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v81/constructors/messages_sentEncryptedMessage.md index 78e609e8..ef4e7b1b 100644 --- a/old_docs/API_docs_v81/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v81/constructors/messages_sentEncryptedMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; ``` @@ -32,10 +32,9 @@ $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_stickerSet.md b/old_docs/API_docs_v81/constructors/messages_stickerSet.md index 8e181855..2b5d11a9 100644 --- a/old_docs/API_docs_v81/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v81/constructors/messages_stickerSet.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'pack ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v81/constructors/messages_stickerSetInstallResultArchive.md index 2f66cfa0..f43e11c0 100644 --- a/old_docs/API_docs_v81/constructors/messages_stickerSetInstallResultArchive.md +++ b/old_docs/API_docs_v81/constructors/messages_stickerSetInstallResultArchive.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; ``` @@ -32,10 +32,9 @@ $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v81/constructors/messages_stickerSetInstallResultSuccess.md index ef5752a2..bb6b00f3 100644 --- a/old_docs/API_docs_v81/constructors/messages_stickerSetInstallResultSuccess.md +++ b/old_docs/API_docs_v81/constructors/messages_stickerSetInstallResultSuccess.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; ``` @@ -27,10 +27,9 @@ $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallRe ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_stickers.md b/old_docs/API_docs_v81/constructors/messages_stickers.md index 56860537..b7bc19f3 100644 --- a/old_docs/API_docs_v81/constructors/messages_stickers.md +++ b/old_docs/API_docs_v81/constructors/messages_stickers.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $messages_stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickers={_='messages.stickers', hash=int, stickers={Document}} ``` diff --git a/old_docs/API_docs_v81/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v81/constructors/messages_stickersNotModified.md index 2e918053..16bbb8ea 100644 --- a/old_docs/API_docs_v81/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v81/constructors/messages_stickersNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` @@ -27,10 +27,9 @@ $messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua messages_stickersNotModified={_='messages.stickersNotModified'} ``` diff --git a/old_docs/API_docs_v81/constructors/nearestDc.md b/old_docs/API_docs_v81/constructors/nearestDc.md index 81b04edf..5ff5d965 100644 --- a/old_docs/API_docs_v81/constructors/nearestDc.md +++ b/old_docs/API_docs_v81/constructors/nearestDc.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int]; ``` @@ -34,10 +34,9 @@ $nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'near ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int} ``` diff --git a/old_docs/API_docs_v81/constructors/notifyChats.md b/old_docs/API_docs_v81/constructors/notifyChats.md index 9360567a..34893c66 100644 --- a/old_docs/API_docs_v81/constructors/notifyChats.md +++ b/old_docs/API_docs_v81/constructors/notifyChats.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyChats = ['_' => 'notifyChats']; ``` @@ -27,10 +27,9 @@ $notifyChats = ['_' => 'notifyChats']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyChats={_='notifyChats'} ``` diff --git a/old_docs/API_docs_v81/constructors/notifyPeer.md b/old_docs/API_docs_v81/constructors/notifyPeer.md index f8fd47ed..bc9e7d69 100644 --- a/old_docs/API_docs_v81/constructors/notifyPeer.md +++ b/old_docs/API_docs_v81/constructors/notifyPeer.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` @@ -32,10 +32,9 @@ $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyPeer={_='notifyPeer', peer=Peer} ``` diff --git a/old_docs/API_docs_v81/constructors/notifyUsers.md b/old_docs/API_docs_v81/constructors/notifyUsers.md index 1aca50a2..cc507b12 100644 --- a/old_docs/API_docs_v81/constructors/notifyUsers.md +++ b/old_docs/API_docs_v81/constructors/notifyUsers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $notifyUsers = ['_' => 'notifyUsers']; ``` @@ -27,10 +27,9 @@ $notifyUsers = ['_' => 'notifyUsers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua notifyUsers={_='notifyUsers'} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockAnchor.md b/old_docs/API_docs_v81/constructors/pageBlockAnchor.md index af7f7c2b..5a5757fb 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockAnchor.md +++ b/old_docs/API_docs_v81/constructors/pageBlockAnchor.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` @@ -32,10 +32,9 @@ $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAnchor={_='pageBlockAnchor', name='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockAudio.md b/old_docs/API_docs_v81/constructors/pageBlockAudio.md index 5a7b97c0..af68cf19 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockAudio.md +++ b/old_docs/API_docs_v81/constructors/pageBlockAudio.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAudio = ['_' => 'pageBlockAudio', 'audio_id' => long, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockAudio = ['_' => 'pageBlockAudio', 'audio_id' => long, 'caption' => Ric ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAudio={_='pageBlockAudio', audio_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockAuthorDate.md b/old_docs/API_docs_v81/constructors/pageBlockAuthorDate.md index 4f746156..03daab4b 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockAuthorDate.md +++ b/old_docs/API_docs_v81/constructors/pageBlockAuthorDate.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int]; ``` @@ -33,10 +33,9 @@ $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'pub ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockAuthorDate={_='pageBlockAuthorDate', author=RichText, published_date=int} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockBlockquote.md b/old_docs/API_docs_v81/constructors/pageBlockBlockquote.md index f78ad5bd..c34f378d 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockBlockquote.md +++ b/old_docs/API_docs_v81/constructors/pageBlockBlockquote.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'capti ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockBlockquote={_='pageBlockBlockquote', text=RichText, caption=RichText} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockChannel.md b/old_docs/API_docs_v81/constructors/pageBlockChannel.md index 6cd78457..95ddd37b 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockChannel.md +++ b/old_docs/API_docs_v81/constructors/pageBlockChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat]; ``` @@ -32,10 +32,9 @@ $pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockChannel={_='pageBlockChannel', channel=Chat} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockCollage.md b/old_docs/API_docs_v81/constructors/pageBlockCollage.md index 45bdee72..beaf8ba2 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockCollage.md +++ b/old_docs/API_docs_v81/constructors/pageBlockCollage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock, PageBlock ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockCollage={_='pageBlockCollage', items={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockCover.md b/old_docs/API_docs_v81/constructors/pageBlockCover.md index 8e8db49e..8c96a1af 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockCover.md +++ b/old_docs/API_docs_v81/constructors/pageBlockCover.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` @@ -32,10 +32,9 @@ $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockCover={_='pageBlockCover', cover=PageBlock} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockDivider.md b/old_docs/API_docs_v81/constructors/pageBlockDivider.md index 5f444cce..ee3e75b7 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockDivider.md +++ b/old_docs/API_docs_v81/constructors/pageBlockDivider.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockDivider = ['_' => 'pageBlockDivider']; ``` @@ -27,10 +27,9 @@ $pageBlockDivider = ['_' => 'pageBlockDivider']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockDivider={_='pageBlockDivider'} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockEmbed.md b/old_docs/API_docs_v81/constructors/pageBlockEmbed.md index 3e508369..9c72b889 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockEmbed.md +++ b/old_docs/API_docs_v81/constructors/pageBlockEmbed.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => 'string', 'html' => 'string', 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText]; ``` @@ -39,10 +39,9 @@ $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolli ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockEmbed={_='pageBlockEmbed', full_width=Bool, allow_scrolling=Bool, url='string', html='string', poster_photo_id=long, w=int, h=int, caption=RichText} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockEmbedPost.md b/old_docs/API_docs_v81/constructors/pageBlockEmbedPost.md index 24c622e6..684952c1 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockEmbedPost.md +++ b/old_docs/API_docs_v81/constructors/pageBlockEmbedPost.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_id' => long, 'author_photo_id' => long, 'author' => 'string', 'date' => int, 'blocks' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -38,10 +38,9 @@ $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockEmbedPost={_='pageBlockEmbedPost', url='string', webpage_id=long, author_photo_id=long, author='string', date=int, blocks={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockFooter.md b/old_docs/API_docs_v81/constructors/pageBlockFooter.md index 3caeb971..e467eb94 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockFooter.md +++ b/old_docs/API_docs_v81/constructors/pageBlockFooter.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockFooter={_='pageBlockFooter', text=RichText} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockHeader.md b/old_docs/API_docs_v81/constructors/pageBlockHeader.md index 950037d0..761196e1 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockHeader.md +++ b/old_docs/API_docs_v81/constructors/pageBlockHeader.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockHeader={_='pageBlockHeader', text=RichText} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockList.md b/old_docs/API_docs_v81/constructors/pageBlockList.md index 37371b18..f841cf2f 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockList.md +++ b/old_docs/API_docs_v81/constructors/pageBlockList.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText, RichText]]; ``` @@ -33,10 +33,9 @@ $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichTex ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockList={_='pageBlockList', ordered=Bool, items={RichText}} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockParagraph.md b/old_docs/API_docs_v81/constructors/pageBlockParagraph.md index 6b22950e..897a7870 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockParagraph.md +++ b/old_docs/API_docs_v81/constructors/pageBlockParagraph.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockParagraph={_='pageBlockParagraph', text=RichText} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockPhoto.md b/old_docs/API_docs_v81/constructors/pageBlockPhoto.md index e80e16f4..470dbc15 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockPhoto.md +++ b/old_docs/API_docs_v81/constructors/pageBlockPhoto.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => Ric ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPhoto={_='pageBlockPhoto', photo_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockPreformatted.md b/old_docs/API_docs_v81/constructors/pageBlockPreformatted.md index 49cb8b08..bd505a25 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockPreformatted.md +++ b/old_docs/API_docs_v81/constructors/pageBlockPreformatted.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => 'string']; ``` @@ -33,10 +33,9 @@ $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPreformatted={_='pageBlockPreformatted', text=RichText, language='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockPullquote.md b/old_docs/API_docs_v81/constructors/pageBlockPullquote.md index d73389da..744215e3 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockPullquote.md +++ b/old_docs/API_docs_v81/constructors/pageBlockPullquote.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockPullquote={_='pageBlockPullquote', text=RichText, caption=RichText} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockSlideshow.md b/old_docs/API_docs_v81/constructors/pageBlockSlideshow.md index d855e4d8..4a827931 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockSlideshow.md +++ b/old_docs/API_docs_v81/constructors/pageBlockSlideshow.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock, PageBlock], 'caption' => RichText]; ``` @@ -33,10 +33,9 @@ $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock, PageB ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSlideshow={_='pageBlockSlideshow', items={PageBlock}, caption=RichText} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockSubheader.md b/old_docs/API_docs_v81/constructors/pageBlockSubheader.md index 6b6a332e..094c5d2e 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockSubheader.md +++ b/old_docs/API_docs_v81/constructors/pageBlockSubheader.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSubheader={_='pageBlockSubheader', text=RichText} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockSubtitle.md b/old_docs/API_docs_v81/constructors/pageBlockSubtitle.md index 017112c2..6ad657c0 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockSubtitle.md +++ b/old_docs/API_docs_v81/constructors/pageBlockSubtitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockSubtitle={_='pageBlockSubtitle', text=RichText} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockTitle.md b/old_docs/API_docs_v81/constructors/pageBlockTitle.md index 9dfe94d2..5c6d228b 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockTitle.md +++ b/old_docs/API_docs_v81/constructors/pageBlockTitle.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockTitle={_='pageBlockTitle', text=RichText} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockUnsupported.md b/old_docs/API_docs_v81/constructors/pageBlockUnsupported.md index 8d127c6d..a0895079 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockUnsupported.md +++ b/old_docs/API_docs_v81/constructors/pageBlockUnsupported.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` @@ -27,10 +27,9 @@ $pageBlockUnsupported = ['_' => 'pageBlockUnsupported']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockUnsupported={_='pageBlockUnsupported'} ``` diff --git a/old_docs/API_docs_v81/constructors/pageBlockVideo.md b/old_docs/API_docs_v81/constructors/pageBlockVideo.md index 03a04d1b..27c2ed6f 100644 --- a/old_docs/API_docs_v81/constructors/pageBlockVideo.md +++ b/old_docs/API_docs_v81/constructors/pageBlockVideo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText]; ``` @@ -35,10 +35,9 @@ $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageBlockVideo={_='pageBlockVideo', autoplay=Bool, loop=Bool, video_id=long, caption=RichText} ``` diff --git a/old_docs/API_docs_v81/constructors/pageFull.md b/old_docs/API_docs_v81/constructors/pageFull.md index 493f1403..40bae0d4 100644 --- a/old_docs/API_docs_v81/constructors/pageFull.md +++ b/old_docs/API_docs_v81/constructors/pageFull.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock, PageBlock], 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pageFull={_='pageFull', blocks={PageBlock}, photos={Photo}, documents={Document}} ``` diff --git a/old_docs/API_docs_v81/constructors/pagePart.md b/old_docs/API_docs_v81/constructors/pagePart.md index 3e2261ef..430bd942 100644 --- a/old_docs/API_docs_v81/constructors/pagePart.md +++ b/old_docs/API_docs_v81/constructors/pagePart.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'documents' => [Document, Document]]; ``` @@ -34,10 +34,9 @@ $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock, PageBlock], 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua pagePart={_='pagePart', blocks={PageBlock}, photos={Photo}, documents={Document}} ``` diff --git a/old_docs/API_docs_v81/constructors/paymentCharge.md b/old_docs/API_docs_v81/constructors/paymentCharge.md index 83a0d433..56e8e040 100644 --- a/old_docs/API_docs_v81/constructors/paymentCharge.md +++ b/old_docs/API_docs_v81/constructors/paymentCharge.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' => 'string']; ``` @@ -33,10 +33,9 @@ $paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentCharge={_='paymentCharge', id='string', provider_charge_id='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/paymentRequestedInfo.md b/old_docs/API_docs_v81/constructors/paymentRequestedInfo.md index e4b6562a..767ec982 100644 --- a/old_docs/API_docs_v81/constructors/paymentRequestedInfo.md +++ b/old_docs/API_docs_v81/constructors/paymentRequestedInfo.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'phone' => 'string', 'email' => 'string', 'shipping_address' => PostAddress]; ``` @@ -35,10 +35,9 @@ $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'pho ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentRequestedInfo={_='paymentRequestedInfo', name='string', phone='string', email='string', shipping_address=PostAddress} ``` diff --git a/old_docs/API_docs_v81/constructors/paymentSavedCredentialsCard.md b/old_docs/API_docs_v81/constructors/paymentSavedCredentialsCard.md index 6fc4e934..43b2baf6 100644 --- a/old_docs/API_docs_v81/constructors/paymentSavedCredentialsCard.md +++ b/old_docs/API_docs_v81/constructors/paymentSavedCredentialsCard.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 'string', 'title' => 'string']; ``` @@ -33,10 +33,9 @@ $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua paymentSavedCredentialsCard={_='paymentSavedCredentialsCard', id='string', title='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/payments_paymentForm.md b/old_docs/API_docs_v81/constructors/payments_paymentForm.md index 74cca6f4..00d9349d 100644 --- a/old_docs/API_docs_v81/constructors/payments_paymentForm.md +++ b/old_docs/API_docs_v81/constructors/payments_paymentForm.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; ``` @@ -42,10 +42,9 @@ $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v81/constructors/payments_paymentReceipt.md index fdf741b4..068f5869 100644 --- a/old_docs/API_docs_v81/constructors/payments_paymentReceipt.md +++ b/old_docs/API_docs_v81/constructors/payments_paymentReceipt.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; ``` @@ -41,10 +41,9 @@ $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/payments_paymentResult.md b/old_docs/API_docs_v81/constructors/payments_paymentResult.md index 7ae00170..a5679a5f 100644 --- a/old_docs/API_docs_v81/constructors/payments_paymentResult.md +++ b/old_docs/API_docs_v81/constructors/payments_paymentResult.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; ``` @@ -32,10 +32,9 @@ $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentResult={_='payments.paymentResult', updates=Updates} ``` diff --git a/old_docs/API_docs_v81/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v81/constructors/payments_paymentVerficationNeeded.md index 4a3f8cdf..e4ca7a8e 100644 --- a/old_docs/API_docs_v81/constructors/payments_paymentVerficationNeeded.md +++ b/old_docs/API_docs_v81/constructors/payments_paymentVerficationNeeded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; ``` @@ -32,10 +32,9 @@ $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/payments_savedInfo.md b/old_docs/API_docs_v81/constructors/payments_savedInfo.md index 3daf671f..c81761c4 100644 --- a/old_docs/API_docs_v81/constructors/payments_savedInfo.md +++ b/old_docs/API_docs_v81/constructors/payments_savedInfo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; ``` @@ -33,10 +33,9 @@ $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} ``` diff --git a/old_docs/API_docs_v81/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v81/constructors/payments_validatedRequestedInfo.md index 676388b7..b84afd83 100644 --- a/old_docs/API_docs_v81/constructors/payments_validatedRequestedInfo.md +++ b/old_docs/API_docs_v81/constructors/payments_validatedRequestedInfo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; ``` @@ -33,10 +33,9 @@ $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} ``` diff --git a/old_docs/API_docs_v81/constructors/peerChannel.md b/old_docs/API_docs_v81/constructors/peerChannel.md index f30e3f41..360d5c42 100644 --- a/old_docs/API_docs_v81/constructors/peerChannel.md +++ b/old_docs/API_docs_v81/constructors/peerChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChannel = ['_' => 'peerChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChannel={_='peerChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/peerChat.md b/old_docs/API_docs_v81/constructors/peerChat.md index eb6682f2..4c25ef1f 100644 --- a/old_docs/API_docs_v81/constructors/peerChat.md +++ b/old_docs/API_docs_v81/constructors/peerChat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $peerChat = ['_' => 'peerChat', 'chat_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerChat={_='peerChat', chat_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/peerNotifySettings.md b/old_docs/API_docs_v81/constructors/peerNotifySettings.md index c761b48a..c4266673 100644 --- a/old_docs/API_docs_v81/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v81/constructors/peerNotifySettings.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string']; ``` @@ -35,10 +35,9 @@ $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'si ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/peerSettings.md b/old_docs/API_docs_v81/constructors/peerSettings.md index 8f74bb50..2468fee4 100644 --- a/old_docs/API_docs_v81/constructors/peerSettings.md +++ b/old_docs/API_docs_v81/constructors/peerSettings.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` @@ -32,10 +32,9 @@ $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerSettings={_='peerSettings', report_spam=Bool} ``` diff --git a/old_docs/API_docs_v81/constructors/peerUser.md b/old_docs/API_docs_v81/constructors/peerUser.md index 52922c9d..ae1b0ee4 100644 --- a/old_docs/API_docs_v81/constructors/peerUser.md +++ b/old_docs/API_docs_v81/constructors/peerUser.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` @@ -32,10 +32,9 @@ $peerUser = ['_' => 'peerUser', 'user_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua peerUser={_='peerUser', user_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/phoneCall.md b/old_docs/API_docs_v81/constructors/phoneCall.md index 8104b557..b233076d 100644 --- a/old_docs/API_docs_v81/constructors/phoneCall.md +++ b/old_docs/API_docs_v81/constructors/phoneCall.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, 'connection' => PhoneConnection, 'alternative_connections' => [PhoneConnection, PhoneConnection], 'start_date' => int]; ``` @@ -42,10 +42,9 @@ $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCall={_='phoneCall', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, connection=PhoneConnection, alternative_connections={PhoneConnection}, start_date=int} ``` diff --git a/old_docs/API_docs_v81/constructors/phoneCallAccepted.md b/old_docs/API_docs_v81/constructors/phoneCallAccepted.md index cae97485..80795514 100644 --- a/old_docs/API_docs_v81/constructors/phoneCallAccepted.md +++ b/old_docs/API_docs_v81/constructors/phoneCallAccepted.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` @@ -38,10 +38,9 @@ $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallAccepted={_='phoneCallAccepted', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_b='bytes', protocol=PhoneCallProtocol} ``` diff --git a/old_docs/API_docs_v81/constructors/phoneCallDiscardReasonBusy.md b/old_docs/API_docs_v81/constructors/phoneCallDiscardReasonBusy.md index 10d47acd..8912371f 100644 --- a/old_docs/API_docs_v81/constructors/phoneCallDiscardReasonBusy.md +++ b/old_docs/API_docs_v81/constructors/phoneCallDiscardReasonBusy.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonBusy={_='phoneCallDiscardReasonBusy'} ``` diff --git a/old_docs/API_docs_v81/constructors/phoneCallDiscardReasonDisconnect.md b/old_docs/API_docs_v81/constructors/phoneCallDiscardReasonDisconnect.md index b059c909..3a77aced 100644 --- a/old_docs/API_docs_v81/constructors/phoneCallDiscardReasonDisconnect.md +++ b/old_docs/API_docs_v81/constructors/phoneCallDiscardReasonDisconnect.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonDisconnect={_='phoneCallDiscardReasonDisconnect'} ``` diff --git a/old_docs/API_docs_v81/constructors/phoneCallDiscardReasonHangup.md b/old_docs/API_docs_v81/constructors/phoneCallDiscardReasonHangup.md index 8e6e311c..cac342da 100644 --- a/old_docs/API_docs_v81/constructors/phoneCallDiscardReasonHangup.md +++ b/old_docs/API_docs_v81/constructors/phoneCallDiscardReasonHangup.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonHangup={_='phoneCallDiscardReasonHangup'} ``` diff --git a/old_docs/API_docs_v81/constructors/phoneCallDiscardReasonMissed.md b/old_docs/API_docs_v81/constructors/phoneCallDiscardReasonMissed.md index b8199e88..e10648eb 100644 --- a/old_docs/API_docs_v81/constructors/phoneCallDiscardReasonMissed.md +++ b/old_docs/API_docs_v81/constructors/phoneCallDiscardReasonMissed.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` @@ -27,10 +27,9 @@ $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscardReasonMissed={_='phoneCallDiscardReasonMissed'} ``` diff --git a/old_docs/API_docs_v81/constructors/phoneCallDiscarded.md b/old_docs/API_docs_v81/constructors/phoneCallDiscarded.md index 69fd1caa..e20027a5 100644 --- a/old_docs/API_docs_v81/constructors/phoneCallDiscarded.md +++ b/old_docs/API_docs_v81/constructors/phoneCallDiscarded.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int]; ``` @@ -36,10 +36,9 @@ $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallDiscarded={_='phoneCallDiscarded', need_rating=Bool, need_debug=Bool, id=long, reason=PhoneCallDiscardReason, duration=int} ``` diff --git a/old_docs/API_docs_v81/constructors/phoneCallEmpty.md b/old_docs/API_docs_v81/constructors/phoneCallEmpty.md index cfb8125b..a51f3ea2 100644 --- a/old_docs/API_docs_v81/constructors/phoneCallEmpty.md +++ b/old_docs/API_docs_v81/constructors/phoneCallEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallEmpty={_='phoneCallEmpty', id=long} ``` diff --git a/old_docs/API_docs_v81/constructors/phoneCallProtocol.md b/old_docs/API_docs_v81/constructors/phoneCallProtocol.md index 9f0e2eed..01574fa2 100644 --- a/old_docs/API_docs_v81/constructors/phoneCallProtocol.md +++ b/old_docs/API_docs_v81/constructors/phoneCallProtocol.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int]; ``` @@ -35,10 +35,9 @@ $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflec ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallProtocol={_='phoneCallProtocol', udp_p2p=Bool, udp_reflector=Bool, min_layer=int, max_layer=int} ``` diff --git a/old_docs/API_docs_v81/constructors/phoneCallRequested.md b/old_docs/API_docs_v81/constructors/phoneCallRequested.md index c96f398f..0465e0fb 100644 --- a/old_docs/API_docs_v81/constructors/phoneCallRequested.md +++ b/old_docs/API_docs_v81/constructors/phoneCallRequested.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol]; ``` @@ -38,10 +38,9 @@ $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallRequested={_='phoneCallRequested', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_hash='bytes', protocol=PhoneCallProtocol} ``` diff --git a/old_docs/API_docs_v81/constructors/phoneCallWaiting.md b/old_docs/API_docs_v81/constructors/phoneCallWaiting.md index 8dcf8e30..9d9658c8 100644 --- a/old_docs/API_docs_v81/constructors/phoneCallWaiting.md +++ b/old_docs/API_docs_v81/constructors/phoneCallWaiting.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int]; ``` @@ -38,10 +38,9 @@ $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => l ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneCallWaiting={_='phoneCallWaiting', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, protocol=PhoneCallProtocol, receive_date=int} ``` diff --git a/old_docs/API_docs_v81/constructors/phoneConnection.md b/old_docs/API_docs_v81/constructors/phoneConnection.md index b117e12f..562975aa 100644 --- a/old_docs/API_docs_v81/constructors/phoneConnection.md +++ b/old_docs/API_docs_v81/constructors/phoneConnection.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'ipv6' => 'string', 'port' => int, 'peer_tag' => 'bytes']; ``` @@ -36,10 +36,9 @@ $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => 'string', 'i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phoneConnection={_='phoneConnection', id=long, ip='string', ipv6='string', port=int, peer_tag='bytes'} ``` diff --git a/old_docs/API_docs_v81/constructors/phone_phoneCall.md b/old_docs/API_docs_v81/constructors/phone_phoneCall.md index 00c21143..58912b3f 100644 --- a/old_docs/API_docs_v81/constructors/phone_phoneCall.md +++ b/old_docs/API_docs_v81/constructors/phone_phoneCall.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/photo.md b/old_docs/API_docs_v81/constructors/photo.md index 0cad6364..980980f4 100644 --- a/old_docs/API_docs_v81/constructors/photo.md +++ b/old_docs/API_docs_v81/constructors/photo.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize, PhotoSize]]; ``` @@ -36,10 +36,9 @@ $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photo={_='photo', has_stickers=Bool, id=long, access_hash=long, date=int, sizes={PhotoSize}} ``` diff --git a/old_docs/API_docs_v81/constructors/photoCachedSize.md b/old_docs/API_docs_v81/constructors/photoCachedSize.md index c5c3a63b..517e91de 100644 --- a/old_docs/API_docs_v81/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v81/constructors/photoCachedSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v81/constructors/photoEmpty.md b/old_docs/API_docs_v81/constructors/photoEmpty.md index f445232c..c900d1c9 100644 --- a/old_docs/API_docs_v81/constructors/photoEmpty.md +++ b/old_docs/API_docs_v81/constructors/photoEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $photoEmpty = ['_' => 'photoEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoEmpty={_='photoEmpty', id=long} ``` diff --git a/old_docs/API_docs_v81/constructors/photoSize.md b/old_docs/API_docs_v81/constructors/photoSize.md index 0037056b..e2be2736 100644 --- a/old_docs/API_docs_v81/constructors/photoSize.md +++ b/old_docs/API_docs_v81/constructors/photoSize.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int]; ``` @@ -36,10 +36,9 @@ $photoSize = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSize={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int} ``` diff --git a/old_docs/API_docs_v81/constructors/photoSizeEmpty.md b/old_docs/API_docs_v81/constructors/photoSizeEmpty.md index ecf82b75..03c33c3c 100644 --- a/old_docs/API_docs_v81/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v81/constructors/photoSizeEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` @@ -32,10 +32,9 @@ $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photoSizeEmpty={_='photoSizeEmpty', type='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/photos_photo.md b/old_docs/API_docs_v81/constructors/photos_photo.md index 0512d476..549c9d80 100644 --- a/old_docs/API_docs_v81/constructors/photos_photo.md +++ b/old_docs/API_docs_v81/constructors/photos_photo.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photo={_='photos.photo', photo=Photo, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/photos_photos.md b/old_docs/API_docs_v81/constructors/photos_photos.md index 0c33fd41..1a55af08 100644 --- a/old_docs/API_docs_v81/constructors/photos_photos.md +++ b/old_docs/API_docs_v81/constructors/photos_photos.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -33,10 +33,9 @@ $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photos={_='photos.photos', photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/photos_photosSlice.md b/old_docs/API_docs_v81/constructors/photos_photosSlice.md index d033e65b..dcc43b88 100644 --- a/old_docs/API_docs_v81/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v81/constructors/photos_photosSlice.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; ``` @@ -34,10 +34,9 @@ $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/popularContact.md b/old_docs/API_docs_v81/constructors/popularContact.md index d7fdf7c9..fbdee8e3 100644 --- a/old_docs/API_docs_v81/constructors/popularContact.md +++ b/old_docs/API_docs_v81/constructors/popularContact.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $popularContact = ['_' => 'popularContact', 'client_id' => long, 'importers' => int]; ``` @@ -33,10 +33,9 @@ $popularContact = ['_' => 'popularContact', 'client_id' => long, 'importers' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua popularContact={_='popularContact', client_id=long, importers=int} ``` diff --git a/old_docs/API_docs_v81/constructors/postAddress.md b/old_docs/API_docs_v81/constructors/postAddress.md index 0bd47333..aa8080ec 100644 --- a/old_docs/API_docs_v81/constructors/postAddress.md +++ b/old_docs/API_docs_v81/constructors/postAddress.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' => 'string', 'city' => 'string', 'state' => 'string', 'country_iso2' => 'string', 'post_code' => 'string']; ``` @@ -37,10 +37,9 @@ $postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua postAddress={_='postAddress', street_line1='string', street_line2='string', city='string', state='string', country_iso2='string', post_code='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/privacyKeyChatInvite.md b/old_docs/API_docs_v81/constructors/privacyKeyChatInvite.md index cc6e39b6..44826e55 100644 --- a/old_docs/API_docs_v81/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v81/constructors/privacyKeyChatInvite.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` @@ -27,10 +27,9 @@ $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyChatInvite={_='privacyKeyChatInvite'} ``` diff --git a/old_docs/API_docs_v81/constructors/privacyKeyPhoneCall.md b/old_docs/API_docs_v81/constructors/privacyKeyPhoneCall.md index 2fe6db7d..fc38f6a4 100644 --- a/old_docs/API_docs_v81/constructors/privacyKeyPhoneCall.md +++ b/old_docs/API_docs_v81/constructors/privacyKeyPhoneCall.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` @@ -27,10 +27,9 @@ $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyPhoneCall={_='privacyKeyPhoneCall'} ``` diff --git a/old_docs/API_docs_v81/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v81/constructors/privacyKeyStatusTimestamp.md index d229b71e..f95885dd 100644 --- a/old_docs/API_docs_v81/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v81/constructors/privacyKeyStatusTimestamp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` @@ -27,10 +27,9 @@ $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyKeyStatusTimestamp={_='privacyKeyStatusTimestamp'} ``` diff --git a/old_docs/API_docs_v81/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v81/constructors/privacyValueAllowAll.md index ed93f5e6..d2f90289 100644 --- a/old_docs/API_docs_v81/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v81/constructors/privacyValueAllowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowAll = ['_' => 'privacyValueAllowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowAll={_='privacyValueAllowAll'} ``` diff --git a/old_docs/API_docs_v81/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v81/constructors/privacyValueAllowContacts.md index 4869ad62..fa45fe74 100644 --- a/old_docs/API_docs_v81/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v81/constructors/privacyValueAllowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowContacts={_='privacyValueAllowContacts'} ``` diff --git a/old_docs/API_docs_v81/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v81/constructors/privacyValueAllowUsers.md index 93cc0202..a5733e8a 100644 --- a/old_docs/API_docs_v81/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v81/constructors/privacyValueAllowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int, int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueAllowUsers={_='privacyValueAllowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v81/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v81/constructors/privacyValueDisallowAll.md index 60f3e05f..c8cbe6c7 100644 --- a/old_docs/API_docs_v81/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v81/constructors/privacyValueDisallowAll.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowAll={_='privacyValueDisallowAll'} ``` diff --git a/old_docs/API_docs_v81/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v81/constructors/privacyValueDisallowContacts.md index 782eddb7..9618c979 100644 --- a/old_docs/API_docs_v81/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v81/constructors/privacyValueDisallowContacts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` @@ -27,10 +27,9 @@ $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowContacts={_='privacyValueDisallowContacts'} ``` diff --git a/old_docs/API_docs_v81/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v81/constructors/privacyValueDisallowUsers.md index bbd17f82..c62747b7 100644 --- a/old_docs/API_docs_v81/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v81/constructors/privacyValueDisallowUsers.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int, int]]; ``` @@ -32,10 +32,9 @@ $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua privacyValueDisallowUsers={_='privacyValueDisallowUsers', users={int}} ``` diff --git a/old_docs/API_docs_v81/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v81/constructors/receivedNotifyMessage.md index 63ef4212..6f7acfdb 100644 --- a/old_docs/API_docs_v81/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v81/constructors/receivedNotifyMessage.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` @@ -32,10 +32,9 @@ $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua receivedNotifyMessage={_='receivedNotifyMessage', id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/recentMeUrlChat.md b/old_docs/API_docs_v81/constructors/recentMeUrlChat.md index 8b09f818..38bb1faf 100644 --- a/old_docs/API_docs_v81/constructors/recentMeUrlChat.md +++ b/old_docs/API_docs_v81/constructors/recentMeUrlChat.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlChat = ['_' => 'recentMeUrlChat', 'url' => 'string', 'chat_id' => int]; ``` @@ -33,10 +33,9 @@ $recentMeUrlChat = ['_' => 'recentMeUrlChat', 'url' => 'string', 'chat_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlChat={_='recentMeUrlChat', url='string', chat_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/recentMeUrlChatInvite.md b/old_docs/API_docs_v81/constructors/recentMeUrlChatInvite.md index d9d3a1c6..f095734f 100644 --- a/old_docs/API_docs_v81/constructors/recentMeUrlChatInvite.md +++ b/old_docs/API_docs_v81/constructors/recentMeUrlChatInvite.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlChatInvite = ['_' => 'recentMeUrlChatInvite', 'url' => 'string', 'chat_invite' => ChatInvite]; ``` @@ -33,10 +33,9 @@ $recentMeUrlChatInvite = ['_' => 'recentMeUrlChatInvite', 'url' => 'string', 'ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlChatInvite={_='recentMeUrlChatInvite', url='string', chat_invite=ChatInvite} ``` diff --git a/old_docs/API_docs_v81/constructors/recentMeUrlStickerSet.md b/old_docs/API_docs_v81/constructors/recentMeUrlStickerSet.md index b70a27c4..e756dd35 100644 --- a/old_docs/API_docs_v81/constructors/recentMeUrlStickerSet.md +++ b/old_docs/API_docs_v81/constructors/recentMeUrlStickerSet.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlStickerSet = ['_' => 'recentMeUrlStickerSet', 'url' => 'string', 'set' => StickerSetCovered]; ``` @@ -33,10 +33,9 @@ $recentMeUrlStickerSet = ['_' => 'recentMeUrlStickerSet', 'url' => 'string', 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlStickerSet={_='recentMeUrlStickerSet', url='string', set=StickerSetCovered} ``` diff --git a/old_docs/API_docs_v81/constructors/recentMeUrlUnknown.md b/old_docs/API_docs_v81/constructors/recentMeUrlUnknown.md index 0f157436..44809d53 100644 --- a/old_docs/API_docs_v81/constructors/recentMeUrlUnknown.md +++ b/old_docs/API_docs_v81/constructors/recentMeUrlUnknown.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlUnknown = ['_' => 'recentMeUrlUnknown', 'url' => 'string']; ``` @@ -32,10 +32,9 @@ $recentMeUrlUnknown = ['_' => 'recentMeUrlUnknown', 'url' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlUnknown={_='recentMeUrlUnknown', url='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/recentMeUrlUser.md b/old_docs/API_docs_v81/constructors/recentMeUrlUser.md index 1e7ea925..7032fb46 100644 --- a/old_docs/API_docs_v81/constructors/recentMeUrlUser.md +++ b/old_docs/API_docs_v81/constructors/recentMeUrlUser.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $recentMeUrlUser = ['_' => 'recentMeUrlUser', 'url' => 'string', 'user_id' => int]; ``` @@ -33,10 +33,9 @@ $recentMeUrlUser = ['_' => 'recentMeUrlUser', 'url' => 'string', 'user_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua recentMeUrlUser={_='recentMeUrlUser', url='string', user_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/replyInlineMarkup.md b/old_docs/API_docs_v81/constructors/replyInlineMarkup.md index 6d353569..6e481165 100644 --- a/old_docs/API_docs_v81/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v81/constructors/replyInlineMarkup.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -32,10 +32,9 @@ $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyInlineMarkup={_='replyInlineMarkup', rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v81/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v81/constructors/replyKeyboardForceReply.md index 56e255c1..3f7fae8c 100644 --- a/old_docs/API_docs_v81/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v81/constructors/replyKeyboardForceReply.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool]; ``` @@ -33,10 +33,9 @@ $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool} ``` diff --git a/old_docs/API_docs_v81/constructors/replyKeyboardHide.md b/old_docs/API_docs_v81/constructors/replyKeyboardHide.md index 7251db49..30e9f399 100644 --- a/old_docs/API_docs_v81/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v81/constructors/replyKeyboardHide.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` @@ -32,10 +32,9 @@ $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardHide={_='replyKeyboardHide', selective=Bool} ``` diff --git a/old_docs/API_docs_v81/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v81/constructors/replyKeyboardMarkup.md index 87a55463..80f3f654 100644 --- a/old_docs/API_docs_v81/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v81/constructors/replyKeyboardMarkup.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow, KeyboardButtonRow]]; ``` @@ -35,10 +35,9 @@ $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}} ``` diff --git a/old_docs/API_docs_v81/constructors/savedPhoneContact.md b/old_docs/API_docs_v81/constructors/savedPhoneContact.md index e19d1411..8b0ff627 100644 --- a/old_docs/API_docs_v81/constructors/savedPhoneContact.md +++ b/old_docs/API_docs_v81/constructors/savedPhoneContact.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $savedPhoneContact = ['_' => 'savedPhoneContact', 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'date' => int]; ``` @@ -35,10 +35,9 @@ $savedPhoneContact = ['_' => 'savedPhoneContact', 'phone' => 'string', 'first_na ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua savedPhoneContact={_='savedPhoneContact', phone='string', first_name='string', last_name='string', date=int} ``` diff --git a/old_docs/API_docs_v81/constructors/secureCredentialsEncrypted.md b/old_docs/API_docs_v81/constructors/secureCredentialsEncrypted.md index 60d34773..cbe1f2a7 100644 --- a/old_docs/API_docs_v81/constructors/secureCredentialsEncrypted.md +++ b/old_docs/API_docs_v81/constructors/secureCredentialsEncrypted.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureCredentialsEncrypted = ['_' => 'secureCredentialsEncrypted', 'data' => 'bytes', 'hash' => 'bytes', 'secret' => 'bytes']; ``` @@ -34,10 +34,9 @@ $secureCredentialsEncrypted = ['_' => 'secureCredentialsEncrypted', 'data' => 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureCredentialsEncrypted={_='secureCredentialsEncrypted', data='bytes', hash='bytes', secret='bytes'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureData.md b/old_docs/API_docs_v81/constructors/secureData.md index 9f1c2a38..09afe863 100644 --- a/old_docs/API_docs_v81/constructors/secureData.md +++ b/old_docs/API_docs_v81/constructors/secureData.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureData = ['_' => 'secureData', 'data' => 'bytes', 'data_hash' => 'bytes', 'secret' => 'bytes']; ``` @@ -34,10 +34,9 @@ $secureData = ['_' => 'secureData', 'data' => 'bytes', 'data_hash' => 'bytes', ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureData={_='secureData', data='bytes', data_hash='bytes', secret='bytes'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureFile.md b/old_docs/API_docs_v81/constructors/secureFile.md index 1a4c0ca2..db049b8d 100644 --- a/old_docs/API_docs_v81/constructors/secureFile.md +++ b/old_docs/API_docs_v81/constructors/secureFile.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureFile = ['_' => 'secureFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'date' => int, 'file_hash' => 'bytes', 'secret' => 'bytes']; ``` @@ -38,10 +38,9 @@ $secureFile = ['_' => 'secureFile', 'id' => long, 'access_hash' => long, 'size' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureFile={_='secureFile', id=long, access_hash=long, size=int, dc_id=int, date=int, file_hash='bytes', secret='bytes'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureFileEmpty.md b/old_docs/API_docs_v81/constructors/secureFileEmpty.md index fb8abd28..791a6662 100644 --- a/old_docs/API_docs_v81/constructors/secureFileEmpty.md +++ b/old_docs/API_docs_v81/constructors/secureFileEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureFileEmpty = ['_' => 'secureFileEmpty']; ``` @@ -27,10 +27,9 @@ $secureFileEmpty = ['_' => 'secureFileEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureFileEmpty={_='secureFileEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/securePlainEmail.md b/old_docs/API_docs_v81/constructors/securePlainEmail.md index 3fd9b073..b4ce62ca 100644 --- a/old_docs/API_docs_v81/constructors/securePlainEmail.md +++ b/old_docs/API_docs_v81/constructors/securePlainEmail.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $securePlainEmail = ['_' => 'securePlainEmail', 'email' => 'string']; ``` @@ -32,10 +32,9 @@ $securePlainEmail = ['_' => 'securePlainEmail', 'email' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua securePlainEmail={_='securePlainEmail', email='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/securePlainPhone.md b/old_docs/API_docs_v81/constructors/securePlainPhone.md index e2b451d3..bd7cce6d 100644 --- a/old_docs/API_docs_v81/constructors/securePlainPhone.md +++ b/old_docs/API_docs_v81/constructors/securePlainPhone.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $securePlainPhone = ['_' => 'securePlainPhone', 'phone' => 'string']; ``` @@ -32,10 +32,9 @@ $securePlainPhone = ['_' => 'securePlainPhone', 'phone' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua securePlainPhone={_='securePlainPhone', phone='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureValue.md b/old_docs/API_docs_v81/constructors/secureValue.md index 28a11b8e..1662668d 100644 --- a/old_docs/API_docs_v81/constructors/secureValue.md +++ b/old_docs/API_docs_v81/constructors/secureValue.md @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValue = ['_' => 'secureValue', 'type' => SecureValueType, 'data' => SecureData, 'front_side' => SecureFile, 'reverse_side' => SecureFile, 'selfie' => SecureFile, 'files' => [SecureFile, SecureFile], 'plain_data' => SecurePlainData, 'hash' => 'bytes']; ``` @@ -39,10 +39,9 @@ $secureValue = ['_' => 'secureValue', 'type' => SecureValueType, 'data' => Secur ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValue={_='secureValue', type=SecureValueType, data=SecureData, front_side=SecureFile, reverse_side=SecureFile, selfie=SecureFile, files={SecureFile}, plain_data=SecurePlainData, hash='bytes'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureValueErrorData.md b/old_docs/API_docs_v81/constructors/secureValueErrorData.md index c635dc9f..43f0c260 100644 --- a/old_docs/API_docs_v81/constructors/secureValueErrorData.md +++ b/old_docs/API_docs_v81/constructors/secureValueErrorData.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueErrorData = ['_' => 'secureValueErrorData', 'type' => SecureValueType, 'data_hash' => 'bytes', 'field' => 'string', 'text' => 'string']; ``` @@ -35,10 +35,9 @@ $secureValueErrorData = ['_' => 'secureValueErrorData', 'type' => SecureValueTyp ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueErrorData={_='secureValueErrorData', type=SecureValueType, data_hash='bytes', field='string', text='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureValueErrorFile.md b/old_docs/API_docs_v81/constructors/secureValueErrorFile.md index 25225cb1..b525a91c 100644 --- a/old_docs/API_docs_v81/constructors/secureValueErrorFile.md +++ b/old_docs/API_docs_v81/constructors/secureValueErrorFile.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueErrorFile = ['_' => 'secureValueErrorFile', 'type' => SecureValueType, 'file_hash' => 'bytes', 'text' => 'string']; ``` @@ -34,10 +34,9 @@ $secureValueErrorFile = ['_' => 'secureValueErrorFile', 'type' => SecureValueTyp ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueErrorFile={_='secureValueErrorFile', type=SecureValueType, file_hash='bytes', text='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureValueErrorFiles.md b/old_docs/API_docs_v81/constructors/secureValueErrorFiles.md index 72feb6ee..38d09fdb 100644 --- a/old_docs/API_docs_v81/constructors/secureValueErrorFiles.md +++ b/old_docs/API_docs_v81/constructors/secureValueErrorFiles.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueErrorFiles = ['_' => 'secureValueErrorFiles', 'type' => SecureValueType, 'file_hash' => ['bytes', 'bytes'], 'text' => 'string']; ``` @@ -34,10 +34,9 @@ $secureValueErrorFiles = ['_' => 'secureValueErrorFiles', 'type' => SecureValueT ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueErrorFiles={_='secureValueErrorFiles', type=SecureValueType, file_hash={'bytes'}, text='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureValueErrorFrontSide.md b/old_docs/API_docs_v81/constructors/secureValueErrorFrontSide.md index 2460eb63..1bf4206a 100644 --- a/old_docs/API_docs_v81/constructors/secureValueErrorFrontSide.md +++ b/old_docs/API_docs_v81/constructors/secureValueErrorFrontSide.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueErrorFrontSide = ['_' => 'secureValueErrorFrontSide', 'type' => SecureValueType, 'file_hash' => 'bytes', 'text' => 'string']; ``` @@ -34,10 +34,9 @@ $secureValueErrorFrontSide = ['_' => 'secureValueErrorFrontSide', 'type' => Secu ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueErrorFrontSide={_='secureValueErrorFrontSide', type=SecureValueType, file_hash='bytes', text='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureValueErrorReverseSide.md b/old_docs/API_docs_v81/constructors/secureValueErrorReverseSide.md index fe830333..8c79a4f5 100644 --- a/old_docs/API_docs_v81/constructors/secureValueErrorReverseSide.md +++ b/old_docs/API_docs_v81/constructors/secureValueErrorReverseSide.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueErrorReverseSide = ['_' => 'secureValueErrorReverseSide', 'type' => SecureValueType, 'file_hash' => 'bytes', 'text' => 'string']; ``` @@ -34,10 +34,9 @@ $secureValueErrorReverseSide = ['_' => 'secureValueErrorReverseSide', 'type' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueErrorReverseSide={_='secureValueErrorReverseSide', type=SecureValueType, file_hash='bytes', text='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureValueErrorSelfie.md b/old_docs/API_docs_v81/constructors/secureValueErrorSelfie.md index b94f90e8..2be5e13c 100644 --- a/old_docs/API_docs_v81/constructors/secureValueErrorSelfie.md +++ b/old_docs/API_docs_v81/constructors/secureValueErrorSelfie.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueErrorSelfie = ['_' => 'secureValueErrorSelfie', 'type' => SecureValueType, 'file_hash' => 'bytes', 'text' => 'string']; ``` @@ -34,10 +34,9 @@ $secureValueErrorSelfie = ['_' => 'secureValueErrorSelfie', 'type' => SecureValu ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueErrorSelfie={_='secureValueErrorSelfie', type=SecureValueType, file_hash='bytes', text='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureValueHash.md b/old_docs/API_docs_v81/constructors/secureValueHash.md index f4496737..7079b176 100644 --- a/old_docs/API_docs_v81/constructors/secureValueHash.md +++ b/old_docs/API_docs_v81/constructors/secureValueHash.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueHash = ['_' => 'secureValueHash', 'type' => SecureValueType, 'hash' => 'bytes']; ``` @@ -33,10 +33,9 @@ $secureValueHash = ['_' => 'secureValueHash', 'type' => SecureValueType, 'hash' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueHash={_='secureValueHash', type=SecureValueType, hash='bytes'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureValueTypeAddress.md b/old_docs/API_docs_v81/constructors/secureValueTypeAddress.md index 9d73f869..e62dd73e 100644 --- a/old_docs/API_docs_v81/constructors/secureValueTypeAddress.md +++ b/old_docs/API_docs_v81/constructors/secureValueTypeAddress.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypeAddress = ['_' => 'secureValueTypeAddress']; ``` @@ -27,10 +27,9 @@ $secureValueTypeAddress = ['_' => 'secureValueTypeAddress']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypeAddress={_='secureValueTypeAddress'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureValueTypeBankStatement.md b/old_docs/API_docs_v81/constructors/secureValueTypeBankStatement.md index dbe5e9a5..c9da3317 100644 --- a/old_docs/API_docs_v81/constructors/secureValueTypeBankStatement.md +++ b/old_docs/API_docs_v81/constructors/secureValueTypeBankStatement.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypeBankStatement = ['_' => 'secureValueTypeBankStatement']; ``` @@ -27,10 +27,9 @@ $secureValueTypeBankStatement = ['_' => 'secureValueTypeBankStatement']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypeBankStatement={_='secureValueTypeBankStatement'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureValueTypeDriverLicense.md b/old_docs/API_docs_v81/constructors/secureValueTypeDriverLicense.md index 12845268..acf0c1c8 100644 --- a/old_docs/API_docs_v81/constructors/secureValueTypeDriverLicense.md +++ b/old_docs/API_docs_v81/constructors/secureValueTypeDriverLicense.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypeDriverLicense = ['_' => 'secureValueTypeDriverLicense']; ``` @@ -27,10 +27,9 @@ $secureValueTypeDriverLicense = ['_' => 'secureValueTypeDriverLicense']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypeDriverLicense={_='secureValueTypeDriverLicense'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureValueTypeEmail.md b/old_docs/API_docs_v81/constructors/secureValueTypeEmail.md index 1668487b..84b89df0 100644 --- a/old_docs/API_docs_v81/constructors/secureValueTypeEmail.md +++ b/old_docs/API_docs_v81/constructors/secureValueTypeEmail.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypeEmail = ['_' => 'secureValueTypeEmail']; ``` @@ -27,10 +27,9 @@ $secureValueTypeEmail = ['_' => 'secureValueTypeEmail']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypeEmail={_='secureValueTypeEmail'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureValueTypeIdentityCard.md b/old_docs/API_docs_v81/constructors/secureValueTypeIdentityCard.md index 5edbbf04..c7b51acd 100644 --- a/old_docs/API_docs_v81/constructors/secureValueTypeIdentityCard.md +++ b/old_docs/API_docs_v81/constructors/secureValueTypeIdentityCard.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypeIdentityCard = ['_' => 'secureValueTypeIdentityCard']; ``` @@ -27,10 +27,9 @@ $secureValueTypeIdentityCard = ['_' => 'secureValueTypeIdentityCard']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypeIdentityCard={_='secureValueTypeIdentityCard'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureValueTypeInternalPassport.md b/old_docs/API_docs_v81/constructors/secureValueTypeInternalPassport.md index a5ea29d3..db1860bc 100644 --- a/old_docs/API_docs_v81/constructors/secureValueTypeInternalPassport.md +++ b/old_docs/API_docs_v81/constructors/secureValueTypeInternalPassport.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypeInternalPassport = ['_' => 'secureValueTypeInternalPassport']; ``` @@ -27,10 +27,9 @@ $secureValueTypeInternalPassport = ['_' => 'secureValueTypeInternalPassport']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypeInternalPassport={_='secureValueTypeInternalPassport'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureValueTypePassport.md b/old_docs/API_docs_v81/constructors/secureValueTypePassport.md index aed9facc..186e77fe 100644 --- a/old_docs/API_docs_v81/constructors/secureValueTypePassport.md +++ b/old_docs/API_docs_v81/constructors/secureValueTypePassport.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypePassport = ['_' => 'secureValueTypePassport']; ``` @@ -27,10 +27,9 @@ $secureValueTypePassport = ['_' => 'secureValueTypePassport']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypePassport={_='secureValueTypePassport'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureValueTypePassportRegistration.md b/old_docs/API_docs_v81/constructors/secureValueTypePassportRegistration.md index 040889a2..3400b71d 100644 --- a/old_docs/API_docs_v81/constructors/secureValueTypePassportRegistration.md +++ b/old_docs/API_docs_v81/constructors/secureValueTypePassportRegistration.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypePassportRegistration = ['_' => 'secureValueTypePassportRegistration']; ``` @@ -27,10 +27,9 @@ $secureValueTypePassportRegistration = ['_' => 'secureValueTypePassportRegistrat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypePassportRegistration={_='secureValueTypePassportRegistration'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureValueTypePersonalDetails.md b/old_docs/API_docs_v81/constructors/secureValueTypePersonalDetails.md index d4f9659f..f679eb05 100644 --- a/old_docs/API_docs_v81/constructors/secureValueTypePersonalDetails.md +++ b/old_docs/API_docs_v81/constructors/secureValueTypePersonalDetails.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypePersonalDetails = ['_' => 'secureValueTypePersonalDetails']; ``` @@ -27,10 +27,9 @@ $secureValueTypePersonalDetails = ['_' => 'secureValueTypePersonalDetails']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypePersonalDetails={_='secureValueTypePersonalDetails'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureValueTypePhone.md b/old_docs/API_docs_v81/constructors/secureValueTypePhone.md index dec046f9..d959eb96 100644 --- a/old_docs/API_docs_v81/constructors/secureValueTypePhone.md +++ b/old_docs/API_docs_v81/constructors/secureValueTypePhone.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypePhone = ['_' => 'secureValueTypePhone']; ``` @@ -27,10 +27,9 @@ $secureValueTypePhone = ['_' => 'secureValueTypePhone']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypePhone={_='secureValueTypePhone'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureValueTypeRentalAgreement.md b/old_docs/API_docs_v81/constructors/secureValueTypeRentalAgreement.md index 9dd42882..0a386c51 100644 --- a/old_docs/API_docs_v81/constructors/secureValueTypeRentalAgreement.md +++ b/old_docs/API_docs_v81/constructors/secureValueTypeRentalAgreement.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypeRentalAgreement = ['_' => 'secureValueTypeRentalAgreement']; ``` @@ -27,10 +27,9 @@ $secureValueTypeRentalAgreement = ['_' => 'secureValueTypeRentalAgreement']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypeRentalAgreement={_='secureValueTypeRentalAgreement'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureValueTypeTemporaryRegistration.md b/old_docs/API_docs_v81/constructors/secureValueTypeTemporaryRegistration.md index c5484ea8..98232c9f 100644 --- a/old_docs/API_docs_v81/constructors/secureValueTypeTemporaryRegistration.md +++ b/old_docs/API_docs_v81/constructors/secureValueTypeTemporaryRegistration.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypeTemporaryRegistration = ['_' => 'secureValueTypeTemporaryRegistration']; ``` @@ -27,10 +27,9 @@ $secureValueTypeTemporaryRegistration = ['_' => 'secureValueTypeTemporaryRegistr ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypeTemporaryRegistration={_='secureValueTypeTemporaryRegistration'} ``` diff --git a/old_docs/API_docs_v81/constructors/secureValueTypeUtilityBill.md b/old_docs/API_docs_v81/constructors/secureValueTypeUtilityBill.md index a3746506..1c5f806d 100644 --- a/old_docs/API_docs_v81/constructors/secureValueTypeUtilityBill.md +++ b/old_docs/API_docs_v81/constructors/secureValueTypeUtilityBill.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $secureValueTypeUtilityBill = ['_' => 'secureValueTypeUtilityBill']; ``` @@ -27,10 +27,9 @@ $secureValueTypeUtilityBill = ['_' => 'secureValueTypeUtilityBill']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua secureValueTypeUtilityBill={_='secureValueTypeUtilityBill'} ``` diff --git a/old_docs/API_docs_v81/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v81/constructors/sendMessageCancelAction.md index 3e9c06fb..0ce62518 100644 --- a/old_docs/API_docs_v81/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v81/constructors/sendMessageCancelAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` @@ -27,10 +27,9 @@ $sendMessageCancelAction = ['_' => 'sendMessageCancelAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageCancelAction={_='sendMessageCancelAction'} ``` diff --git a/old_docs/API_docs_v81/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v81/constructors/sendMessageChooseContactAction.md index 18dd7aa3..4ea918ec 100644 --- a/old_docs/API_docs_v81/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v81/constructors/sendMessageChooseContactAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` @@ -27,10 +27,9 @@ $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageChooseContactAction={_='sendMessageChooseContactAction'} ``` diff --git a/old_docs/API_docs_v81/constructors/sendMessageGamePlayAction.md b/old_docs/API_docs_v81/constructors/sendMessageGamePlayAction.md index 8238ea55..0c395c75 100644 --- a/old_docs/API_docs_v81/constructors/sendMessageGamePlayAction.md +++ b/old_docs/API_docs_v81/constructors/sendMessageGamePlayAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGamePlayAction={_='sendMessageGamePlayAction'} ``` diff --git a/old_docs/API_docs_v81/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v81/constructors/sendMessageGeoLocationAction.md index 4082f682..c228719c 100644 --- a/old_docs/API_docs_v81/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v81/constructors/sendMessageGeoLocationAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` @@ -27,10 +27,9 @@ $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageGeoLocationAction={_='sendMessageGeoLocationAction'} ``` diff --git a/old_docs/API_docs_v81/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v81/constructors/sendMessageRecordAudioAction.md index 61f91389..c2187486 100644 --- a/old_docs/API_docs_v81/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v81/constructors/sendMessageRecordAudioAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordAudioAction={_='sendMessageRecordAudioAction'} ``` diff --git a/old_docs/API_docs_v81/constructors/sendMessageRecordRoundAction.md b/old_docs/API_docs_v81/constructors/sendMessageRecordRoundAction.md index a388d0ec..30e71ae8 100644 --- a/old_docs/API_docs_v81/constructors/sendMessageRecordRoundAction.md +++ b/old_docs/API_docs_v81/constructors/sendMessageRecordRoundAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordRoundAction={_='sendMessageRecordRoundAction'} ``` diff --git a/old_docs/API_docs_v81/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v81/constructors/sendMessageRecordVideoAction.md index 76269466..e37a61f9 100644 --- a/old_docs/API_docs_v81/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v81/constructors/sendMessageRecordVideoAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` @@ -27,10 +27,9 @@ $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageRecordVideoAction={_='sendMessageRecordVideoAction'} ``` diff --git a/old_docs/API_docs_v81/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v81/constructors/sendMessageTypingAction.md index 484c71f7..bf3422fd 100644 --- a/old_docs/API_docs_v81/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v81/constructors/sendMessageTypingAction.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` @@ -27,10 +27,9 @@ $sendMessageTypingAction = ['_' => 'sendMessageTypingAction']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageTypingAction={_='sendMessageTypingAction'} ``` diff --git a/old_docs/API_docs_v81/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v81/constructors/sendMessageUploadAudioAction.md index 54778ba2..ba4ef452 100644 --- a/old_docs/API_docs_v81/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v81/constructors/sendMessageUploadAudioAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadAudioAction={_='sendMessageUploadAudioAction', progress=int} ``` diff --git a/old_docs/API_docs_v81/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v81/constructors/sendMessageUploadDocumentAction.md index a6321d73..9f6407b9 100644 --- a/old_docs/API_docs_v81/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v81/constructors/sendMessageUploadDocumentAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadDocumentAction={_='sendMessageUploadDocumentAction', progress=int} ``` diff --git a/old_docs/API_docs_v81/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v81/constructors/sendMessageUploadPhotoAction.md index 3e4e3d3e..7a41bd74 100644 --- a/old_docs/API_docs_v81/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v81/constructors/sendMessageUploadPhotoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadPhotoAction={_='sendMessageUploadPhotoAction', progress=int} ``` diff --git a/old_docs/API_docs_v81/constructors/sendMessageUploadRoundAction.md b/old_docs/API_docs_v81/constructors/sendMessageUploadRoundAction.md index ffd14270..b101d308 100644 --- a/old_docs/API_docs_v81/constructors/sendMessageUploadRoundAction.md +++ b/old_docs/API_docs_v81/constructors/sendMessageUploadRoundAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadRoundAction={_='sendMessageUploadRoundAction', progress=int} ``` diff --git a/old_docs/API_docs_v81/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v81/constructors/sendMessageUploadVideoAction.md index f0203448..dc8acc98 100644 --- a/old_docs/API_docs_v81/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v81/constructors/sendMessageUploadVideoAction.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int]; ``` @@ -32,10 +32,9 @@ $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progres ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua sendMessageUploadVideoAction={_='sendMessageUploadVideoAction', progress=int} ``` diff --git a/old_docs/API_docs_v81/constructors/shippingOption.md b/old_docs/API_docs_v81/constructors/shippingOption.md index 6f0cbc4c..863fd128 100644 --- a/old_docs/API_docs_v81/constructors/shippingOption.md +++ b/old_docs/API_docs_v81/constructors/shippingOption.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string', 'prices' => [LabeledPrice, LabeledPrice]]; ``` @@ -34,10 +34,9 @@ $shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua shippingOption={_='shippingOption', id='string', title='string', prices={LabeledPrice}} ``` diff --git a/old_docs/API_docs_v81/constructors/stickerPack.md b/old_docs/API_docs_v81/constructors/stickerPack.md index 7cd215cd..ed1ce1ee 100644 --- a/old_docs/API_docs_v81/constructors/stickerPack.md +++ b/old_docs/API_docs_v81/constructors/stickerPack.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]]; ``` @@ -33,10 +33,9 @@ $stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [lo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerPack={_='stickerPack', emoticon='string', documents={long}} ``` diff --git a/old_docs/API_docs_v81/constructors/stickerSet.md b/old_docs/API_docs_v81/constructors/stickerSet.md index d6cffaba..4e4d167d 100644 --- a/old_docs/API_docs_v81/constructors/stickerSet.md +++ b/old_docs/API_docs_v81/constructors/stickerSet.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSet = ['_' => 'stickerSet', 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'installed_date' => int, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int]; ``` @@ -41,10 +41,9 @@ $stickerSet = ['_' => 'stickerSet', 'archived' => Bool, 'official' => Bool, 'mas ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSet={_='stickerSet', archived=Bool, official=Bool, masks=Bool, installed_date=int, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int} ``` diff --git a/old_docs/API_docs_v81/constructors/stickerSetCovered.md b/old_docs/API_docs_v81/constructors/stickerSetCovered.md index cc1c806e..127b821f 100644 --- a/old_docs/API_docs_v81/constructors/stickerSetCovered.md +++ b/old_docs/API_docs_v81/constructors/stickerSetCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document]; ``` @@ -33,10 +33,9 @@ $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetCovered={_='stickerSetCovered', set=StickerSet, cover=Document} ``` diff --git a/old_docs/API_docs_v81/constructors/stickerSetMultiCovered.md b/old_docs/API_docs_v81/constructors/stickerSetMultiCovered.md index 74d10e38..9fc0ad35 100644 --- a/old_docs/API_docs_v81/constructors/stickerSetMultiCovered.md +++ b/old_docs/API_docs_v81/constructors/stickerSetMultiCovered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document, Document]]; ``` @@ -33,10 +33,9 @@ $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua stickerSetMultiCovered={_='stickerSetMultiCovered', set=StickerSet, covers={Document}} ``` diff --git a/old_docs/API_docs_v81/constructors/storage_fileGif.md b/old_docs/API_docs_v81/constructors/storage_fileGif.md index 9620077e..c8abbaa7 100644 --- a/old_docs/API_docs_v81/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v81/constructors/storage_fileGif.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileGif = ['_' => 'storage.fileGif']; ``` @@ -27,10 +27,9 @@ $storage_fileGif = ['_' => 'storage.fileGif']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileGif={_='storage.fileGif'} ``` diff --git a/old_docs/API_docs_v81/constructors/storage_fileJpeg.md b/old_docs/API_docs_v81/constructors/storage_fileJpeg.md index 69f637c7..aa0cd245 100644 --- a/old_docs/API_docs_v81/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v81/constructors/storage_fileJpeg.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` @@ -27,10 +27,9 @@ $storage_fileJpeg = ['_' => 'storage.fileJpeg']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileJpeg={_='storage.fileJpeg'} ``` diff --git a/old_docs/API_docs_v81/constructors/storage_fileMov.md b/old_docs/API_docs_v81/constructors/storage_fileMov.md index ae8680aa..7cf4970b 100644 --- a/old_docs/API_docs_v81/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v81/constructors/storage_fileMov.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMov = ['_' => 'storage.fileMov']; ``` @@ -27,10 +27,9 @@ $storage_fileMov = ['_' => 'storage.fileMov']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMov={_='storage.fileMov'} ``` diff --git a/old_docs/API_docs_v81/constructors/storage_fileMp3.md b/old_docs/API_docs_v81/constructors/storage_fileMp3.md index 78436c97..eee0de49 100644 --- a/old_docs/API_docs_v81/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v81/constructors/storage_fileMp3.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` @@ -27,10 +27,9 @@ $storage_fileMp3 = ['_' => 'storage.fileMp3']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp3={_='storage.fileMp3'} ``` diff --git a/old_docs/API_docs_v81/constructors/storage_fileMp4.md b/old_docs/API_docs_v81/constructors/storage_fileMp4.md index ae039916..e936ffa1 100644 --- a/old_docs/API_docs_v81/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v81/constructors/storage_fileMp4.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` @@ -27,10 +27,9 @@ $storage_fileMp4 = ['_' => 'storage.fileMp4']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileMp4={_='storage.fileMp4'} ``` diff --git a/old_docs/API_docs_v81/constructors/storage_filePartial.md b/old_docs/API_docs_v81/constructors/storage_filePartial.md index dfa6f0fa..84418eff 100644 --- a/old_docs/API_docs_v81/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v81/constructors/storage_filePartial.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePartial = ['_' => 'storage.filePartial']; ``` @@ -27,10 +27,9 @@ $storage_filePartial = ['_' => 'storage.filePartial']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePartial={_='storage.filePartial'} ``` diff --git a/old_docs/API_docs_v81/constructors/storage_filePdf.md b/old_docs/API_docs_v81/constructors/storage_filePdf.md index 92829d38..6a546b39 100644 --- a/old_docs/API_docs_v81/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v81/constructors/storage_filePdf.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePdf = ['_' => 'storage.filePdf']; ``` @@ -27,10 +27,9 @@ $storage_filePdf = ['_' => 'storage.filePdf']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePdf={_='storage.filePdf'} ``` diff --git a/old_docs/API_docs_v81/constructors/storage_filePng.md b/old_docs/API_docs_v81/constructors/storage_filePng.md index 1acf979a..e540ad68 100644 --- a/old_docs/API_docs_v81/constructors/storage_filePng.md +++ b/old_docs/API_docs_v81/constructors/storage_filePng.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_filePng = ['_' => 'storage.filePng']; ``` @@ -27,10 +27,9 @@ $storage_filePng = ['_' => 'storage.filePng']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_filePng={_='storage.filePng'} ``` diff --git a/old_docs/API_docs_v81/constructors/storage_fileUnknown.md b/old_docs/API_docs_v81/constructors/storage_fileUnknown.md index 72c69e41..9e71a96a 100644 --- a/old_docs/API_docs_v81/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v81/constructors/storage_fileUnknown.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` @@ -27,10 +27,9 @@ $storage_fileUnknown = ['_' => 'storage.fileUnknown']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileUnknown={_='storage.fileUnknown'} ``` diff --git a/old_docs/API_docs_v81/constructors/storage_fileWebp.md b/old_docs/API_docs_v81/constructors/storage_fileWebp.md index a6c98527..a7a797ba 100644 --- a/old_docs/API_docs_v81/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v81/constructors/storage_fileWebp.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` @@ -27,10 +27,9 @@ $storage_fileWebp = ['_' => 'storage.fileWebp']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua storage_fileWebp={_='storage.fileWebp'} ``` diff --git a/old_docs/API_docs_v81/constructors/textBold.md b/old_docs/API_docs_v81/constructors/textBold.md index 52b668f6..f847ab68 100644 --- a/old_docs/API_docs_v81/constructors/textBold.md +++ b/old_docs/API_docs_v81/constructors/textBold.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textBold = ['_' => 'textBold', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textBold = ['_' => 'textBold', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textBold={_='textBold', text=RichText} ``` diff --git a/old_docs/API_docs_v81/constructors/textConcat.md b/old_docs/API_docs_v81/constructors/textConcat.md index 3f2656ed..ee998a7e 100644 --- a/old_docs/API_docs_v81/constructors/textConcat.md +++ b/old_docs/API_docs_v81/constructors/textConcat.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textConcat = ['_' => 'textConcat', 'texts' => [RichText, RichText]]; ``` @@ -32,10 +32,9 @@ $textConcat = ['_' => 'textConcat', 'texts' => [RichText, RichText]]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textConcat={_='textConcat', texts={RichText}} ``` diff --git a/old_docs/API_docs_v81/constructors/textEmail.md b/old_docs/API_docs_v81/constructors/textEmail.md index 0b546415..6a1a2ba2 100644 --- a/old_docs/API_docs_v81/constructors/textEmail.md +++ b/old_docs/API_docs_v81/constructors/textEmail.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` @@ -33,10 +33,9 @@ $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textEmail={_='textEmail', text=RichText, email='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/textEmpty.md b/old_docs/API_docs_v81/constructors/textEmpty.md index 4e96adb3..dfe867ed 100644 --- a/old_docs/API_docs_v81/constructors/textEmpty.md +++ b/old_docs/API_docs_v81/constructors/textEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textEmpty = ['_' => 'textEmpty']; ``` @@ -27,10 +27,9 @@ $textEmpty = ['_' => 'textEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textEmpty={_='textEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/textFixed.md b/old_docs/API_docs_v81/constructors/textFixed.md index e40767d9..a83607fa 100644 --- a/old_docs/API_docs_v81/constructors/textFixed.md +++ b/old_docs/API_docs_v81/constructors/textFixed.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textFixed = ['_' => 'textFixed', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textFixed={_='textFixed', text=RichText} ``` diff --git a/old_docs/API_docs_v81/constructors/textItalic.md b/old_docs/API_docs_v81/constructors/textItalic.md index e32fbec2..4aa819b6 100644 --- a/old_docs/API_docs_v81/constructors/textItalic.md +++ b/old_docs/API_docs_v81/constructors/textItalic.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textItalic = ['_' => 'textItalic', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textItalic={_='textItalic', text=RichText} ``` diff --git a/old_docs/API_docs_v81/constructors/textPlain.md b/old_docs/API_docs_v81/constructors/textPlain.md index 2e654fde..9f83d5fa 100644 --- a/old_docs/API_docs_v81/constructors/textPlain.md +++ b/old_docs/API_docs_v81/constructors/textPlain.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` @@ -32,10 +32,9 @@ $textPlain = ['_' => 'textPlain', 'text' => 'string']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textPlain={_='textPlain', text='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/textStrike.md b/old_docs/API_docs_v81/constructors/textStrike.md index 0090e980..0329cbd9 100644 --- a/old_docs/API_docs_v81/constructors/textStrike.md +++ b/old_docs/API_docs_v81/constructors/textStrike.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textStrike = ['_' => 'textStrike', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textStrike={_='textStrike', text=RichText} ``` diff --git a/old_docs/API_docs_v81/constructors/textUnderline.md b/old_docs/API_docs_v81/constructors/textUnderline.md index 843d0a9a..adee0d2f 100644 --- a/old_docs/API_docs_v81/constructors/textUnderline.md +++ b/old_docs/API_docs_v81/constructors/textUnderline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` @@ -32,10 +32,9 @@ $textUnderline = ['_' => 'textUnderline', 'text' => RichText]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textUnderline={_='textUnderline', text=RichText} ``` diff --git a/old_docs/API_docs_v81/constructors/textUrl.md b/old_docs/API_docs_v81/constructors/textUrl.md index 6938f27e..bb497739 100644 --- a/old_docs/API_docs_v81/constructors/textUrl.md +++ b/old_docs/API_docs_v81/constructors/textUrl.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id' => long]; ``` @@ -34,10 +34,9 @@ $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua textUrl={_='textUrl', text=RichText, url='string', webpage_id=long} ``` diff --git a/old_docs/API_docs_v81/constructors/topPeer.md b/old_docs/API_docs_v81/constructors/topPeer.md index aa49751b..fff00b7d 100644 --- a/old_docs/API_docs_v81/constructors/topPeer.md +++ b/old_docs/API_docs_v81/constructors/topPeer.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` @@ -33,10 +33,9 @@ $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeer={_='topPeer', peer=Peer, rating=double} ``` diff --git a/old_docs/API_docs_v81/constructors/topPeerCategoryBotsInline.md b/old_docs/API_docs_v81/constructors/topPeerCategoryBotsInline.md index 1d57e310..3f7906e2 100644 --- a/old_docs/API_docs_v81/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v81/constructors/topPeerCategoryBotsInline.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsInline={_='topPeerCategoryBotsInline'} ``` diff --git a/old_docs/API_docs_v81/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v81/constructors/topPeerCategoryBotsPM.md index f6207626..78f54b44 100644 --- a/old_docs/API_docs_v81/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v81/constructors/topPeerCategoryBotsPM.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryBotsPM={_='topPeerCategoryBotsPM'} ``` diff --git a/old_docs/API_docs_v81/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v81/constructors/topPeerCategoryChannels.md index 8f0e1fcb..02947d85 100644 --- a/old_docs/API_docs_v81/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v81/constructors/topPeerCategoryChannels.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryChannels={_='topPeerCategoryChannels'} ``` diff --git a/old_docs/API_docs_v81/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v81/constructors/topPeerCategoryCorrespondents.md index 9435610d..c0362f78 100644 --- a/old_docs/API_docs_v81/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v81/constructors/topPeerCategoryCorrespondents.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryCorrespondents={_='topPeerCategoryCorrespondents'} ``` diff --git a/old_docs/API_docs_v81/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v81/constructors/topPeerCategoryGroups.md index 3b6859df..dddb951c 100644 --- a/old_docs/API_docs_v81/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v81/constructors/topPeerCategoryGroups.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryGroups={_='topPeerCategoryGroups'} ``` diff --git a/old_docs/API_docs_v81/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v81/constructors/topPeerCategoryPeers.md index 886ab6f9..36d071f6 100644 --- a/old_docs/API_docs_v81/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v81/constructors/topPeerCategoryPeers.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer, TopPeer]]; ``` @@ -34,10 +34,9 @@ $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCat ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}} ``` diff --git a/old_docs/API_docs_v81/constructors/topPeerCategoryPhoneCalls.md b/old_docs/API_docs_v81/constructors/topPeerCategoryPhoneCalls.md index 4c4a1c2d..518279f8 100644 --- a/old_docs/API_docs_v81/constructors/topPeerCategoryPhoneCalls.md +++ b/old_docs/API_docs_v81/constructors/topPeerCategoryPhoneCalls.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $topPeerCategoryPhoneCalls = ['_' => 'topPeerCategoryPhoneCalls']; ``` @@ -27,10 +27,9 @@ $topPeerCategoryPhoneCalls = ['_' => 'topPeerCategoryPhoneCalls']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua topPeerCategoryPhoneCalls={_='topPeerCategoryPhoneCalls'} ``` diff --git a/old_docs/API_docs_v81/constructors/true.md b/old_docs/API_docs_v81/constructors/true.md index 2e27ecbf..4863f16b 100644 --- a/old_docs/API_docs_v81/constructors/true.md +++ b/old_docs/API_docs_v81/constructors/true.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $true = ['_' => 'true']; ``` @@ -27,10 +27,9 @@ $true = ['_' => 'true']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua true={_='true'} ``` diff --git a/old_docs/API_docs_v81/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v81/constructors/updateBotCallbackQuery.md index 2216e362..389295a0 100644 --- a/old_docs/API_docs_v81/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v81/constructors/updateBotCallbackQuery.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -38,10 +38,9 @@ $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v81/constructors/updateBotInlineQuery.md index 1cc45358..ed15d35f 100644 --- a/old_docs/API_docs_v81/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v81/constructors/updateBotInlineQuery.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string']; ``` @@ -36,10 +36,9 @@ $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'use ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query='string', geo=GeoPoint, offset='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/updateBotInlineSend.md b/old_docs/API_docs_v81/constructors/updateBotInlineSend.md index fe6c01d3..dda18420 100644 --- a/old_docs/API_docs_v81/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v81/constructors/updateBotInlineSend.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'id' => 'string', 'msg_id' => InputBotInlineMessageID]; ``` @@ -36,10 +36,9 @@ $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotInlineSend={_='updateBotInlineSend', user_id=int, query='string', geo=GeoPoint, id='string', msg_id=InputBotInlineMessageID} ``` diff --git a/old_docs/API_docs_v81/constructors/updateBotPrecheckoutQuery.md b/old_docs/API_docs_v81/constructors/updateBotPrecheckoutQuery.md index f7e13668..94098aac 100644 --- a/old_docs/API_docs_v81/constructors/updateBotPrecheckoutQuery.md +++ b/old_docs/API_docs_v81/constructors/updateBotPrecheckoutQuery.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'currency' => 'string', 'total_amount' => long]; ``` @@ -38,10 +38,9 @@ $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotPrecheckoutQuery={_='updateBotPrecheckoutQuery', query_id=long, user_id=int, payload='bytes', info=PaymentRequestedInfo, shipping_option_id='string', currency='string', total_amount=long} ``` diff --git a/old_docs/API_docs_v81/constructors/updateBotShippingQuery.md b/old_docs/API_docs_v81/constructors/updateBotShippingQuery.md index b7413761..41735d33 100644 --- a/old_docs/API_docs_v81/constructors/updateBotShippingQuery.md +++ b/old_docs/API_docs_v81/constructors/updateBotShippingQuery.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'shipping_address' => PostAddress]; ``` @@ -35,10 +35,9 @@ $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotShippingQuery={_='updateBotShippingQuery', query_id=long, user_id=int, payload='bytes', shipping_address=PostAddress} ``` diff --git a/old_docs/API_docs_v81/constructors/updateBotWebhookJSON.md b/old_docs/API_docs_v81/constructors/updateBotWebhookJSON.md index c444fe16..3b917e17 100644 --- a/old_docs/API_docs_v81/constructors/updateBotWebhookJSON.md +++ b/old_docs/API_docs_v81/constructors/updateBotWebhookJSON.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` @@ -32,10 +32,9 @@ $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotWebhookJSON={_='updateBotWebhookJSON', data=DataJSON} ``` diff --git a/old_docs/API_docs_v81/constructors/updateBotWebhookJSONQuery.md b/old_docs/API_docs_v81/constructors/updateBotWebhookJSONQuery.md index c8014f35..9ede5002 100644 --- a/old_docs/API_docs_v81/constructors/updateBotWebhookJSONQuery.md +++ b/old_docs/API_docs_v81/constructors/updateBotWebhookJSONQuery.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => long, 'data' => DataJSON, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateBotWebhookJSONQuery={_='updateBotWebhookJSONQuery', query_id=long, data=DataJSON, timeout=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateChannel.md b/old_docs/API_docs_v81/constructors/updateChannel.md index e615920a..fb876328 100644 --- a/old_docs/API_docs_v81/constructors/updateChannel.md +++ b/old_docs/API_docs_v81/constructors/updateChannel.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` @@ -32,10 +32,9 @@ $updateChannel = ['_' => 'updateChannel', 'channel_id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannel={_='updateChannel', channel_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateChannelAvailableMessages.md b/old_docs/API_docs_v81/constructors/updateChannelAvailableMessages.md index ef499037..a5a6d684 100644 --- a/old_docs/API_docs_v81/constructors/updateChannelAvailableMessages.md +++ b/old_docs/API_docs_v81/constructors/updateChannelAvailableMessages.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelAvailableMessages = ['_' => 'updateChannelAvailableMessages', 'channel_id' => int, 'available_min_id' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelAvailableMessages = ['_' => 'updateChannelAvailableMessages', 'cha ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelAvailableMessages={_='updateChannelAvailableMessages', channel_id=int, available_min_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v81/constructors/updateChannelMessageViews.md index 19e0b648..d62f055a 100644 --- a/old_docs/API_docs_v81/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v81/constructors/updateChannelMessageViews.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int]; ``` @@ -34,10 +34,9 @@ $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelMessageViews={_='updateChannelMessageViews', channel_id=int, id=int, views=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateChannelPinnedMessage.md b/old_docs/API_docs_v81/constructors/updateChannelPinnedMessage.md index c6e66353..0d767fb8 100644 --- a/old_docs/API_docs_v81/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v81/constructors/updateChannelPinnedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelPinnedMessage={_='updateChannelPinnedMessage', channel_id=int, id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateChannelReadMessagesContents.md b/old_docs/API_docs_v81/constructors/updateChannelReadMessagesContents.md index 27c1ca60..95640cfe 100644 --- a/old_docs/API_docs_v81/constructors/updateChannelReadMessagesContents.md +++ b/old_docs/API_docs_v81/constructors/updateChannelReadMessagesContents.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelReadMessagesContents = ['_' => 'updateChannelReadMessagesContents', 'channel_id' => int, 'messages' => [int, int]]; ``` @@ -33,10 +33,9 @@ $updateChannelReadMessagesContents = ['_' => 'updateChannelReadMessagesContents' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelReadMessagesContents={_='updateChannelReadMessagesContents', channel_id=int, messages={int}} ``` diff --git a/old_docs/API_docs_v81/constructors/updateChannelTooLong.md b/old_docs/API_docs_v81/constructors/updateChannelTooLong.md index e42904d0..179a43dd 100644 --- a/old_docs/API_docs_v81/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v81/constructors/updateChannelTooLong.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int]; ``` @@ -33,10 +33,9 @@ $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pt ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateChannelWebPage.md b/old_docs/API_docs_v81/constructors/updateChannelWebPage.md index f1ae421b..7b037a9d 100644 --- a/old_docs/API_docs_v81/constructors/updateChannelWebPage.md +++ b/old_docs/API_docs_v81/constructors/updateChannelWebPage.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'we ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChannelWebPage={_='updateChannelWebPage', channel_id=int, webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateChatAdmins.md b/old_docs/API_docs_v81/constructors/updateChatAdmins.md index 87ffd626..aac09762 100644 --- a/old_docs/API_docs_v81/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v81/constructors/updateChatAdmins.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatAdmins={_='updateChatAdmins', chat_id=int, enabled=Bool, version=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v81/constructors/updateChatParticipantAdd.md index ea5157ad..fe76dc62 100644 --- a/old_docs/API_docs_v81/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v81/constructors/updateChatParticipantAdd.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int]; ``` @@ -36,10 +36,9 @@ $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v81/constructors/updateChatParticipantAdmin.md index b1022850..d262b2e6 100644 --- a/old_docs/API_docs_v81/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v81/constructors/updateChatParticipantAdmin.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int]; ``` @@ -35,10 +35,9 @@ $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantAdmin={_='updateChatParticipantAdmin', chat_id=int, user_id=int, is_admin=Bool, version=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v81/constructors/updateChatParticipantDelete.md index c34851b4..01b1822b 100644 --- a/old_docs/API_docs_v81/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v81/constructors/updateChatParticipantDelete.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int]; ``` @@ -34,10 +34,9 @@ $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateChatParticipants.md b/old_docs/API_docs_v81/constructors/updateChatParticipants.md index 3b6a1ad2..4a3d065f 100644 --- a/old_docs/API_docs_v81/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v81/constructors/updateChatParticipants.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants]; ``` @@ -32,10 +32,9 @@ $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => Ch ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants} ``` diff --git a/old_docs/API_docs_v81/constructors/updateChatUserTyping.md b/old_docs/API_docs_v81/constructors/updateChatUserTyping.md index 1dca6b0b..aef449ec 100644 --- a/old_docs/API_docs_v81/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v81/constructors/updateChatUserTyping.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -34,10 +34,9 @@ $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateChatUserTyping={_='updateChatUserTyping', chat_id=int, user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v81/constructors/updateConfig.md b/old_docs/API_docs_v81/constructors/updateConfig.md index 6f25cf11..6d67156d 100644 --- a/old_docs/API_docs_v81/constructors/updateConfig.md +++ b/old_docs/API_docs_v81/constructors/updateConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateConfig = ['_' => 'updateConfig']; ``` @@ -27,10 +27,9 @@ $updateConfig = ['_' => 'updateConfig']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateConfig={_='updateConfig'} ``` diff --git a/old_docs/API_docs_v81/constructors/updateContactLink.md b/old_docs/API_docs_v81/constructors/updateContactLink.md index 590e1eff..65ce758e 100644 --- a/old_docs/API_docs_v81/constructors/updateContactLink.md +++ b/old_docs/API_docs_v81/constructors/updateContactLink.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink]; ``` @@ -34,10 +34,9 @@ $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink} ``` diff --git a/old_docs/API_docs_v81/constructors/updateContactRegistered.md b/old_docs/API_docs_v81/constructors/updateContactRegistered.md index 28ee492d..13f43e7c 100644 --- a/old_docs/API_docs_v81/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v81/constructors/updateContactRegistered.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactRegistered={_='updateContactRegistered', user_id=int, date=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateContactsReset.md b/old_docs/API_docs_v81/constructors/updateContactsReset.md index 3c9f46af..d2458943 100644 --- a/old_docs/API_docs_v81/constructors/updateContactsReset.md +++ b/old_docs/API_docs_v81/constructors/updateContactsReset.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateContactsReset = ['_' => 'updateContactsReset']; ``` @@ -27,10 +27,9 @@ $updateContactsReset = ['_' => 'updateContactsReset']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateContactsReset={_='updateContactsReset'} ``` diff --git a/old_docs/API_docs_v81/constructors/updateDcOptions.md b/old_docs/API_docs_v81/constructors/updateDcOptions.md index 62e306fa..6b294365 100644 --- a/old_docs/API_docs_v81/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v81/constructors/updateDcOptions.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOption]]; ``` @@ -32,10 +32,9 @@ $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption, DcOptio ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDcOptions={_='updateDcOptions', dc_options={DcOption}} ``` diff --git a/old_docs/API_docs_v81/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v81/constructors/updateDeleteChannelMessages.md index 0f84f3f7..8fb10b65 100644 --- a/old_docs/API_docs_v81/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v81/constructors/updateDeleteChannelMessages.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteChannelMessages={_='updateDeleteChannelMessages', channel_id=int, messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateDeleteMessages.md b/old_docs/API_docs_v81/constructors/updateDeleteMessages.md index d0f1b2a2..79092d24 100644 --- a/old_docs/API_docs_v81/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v81/constructors/updateDeleteMessages.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int, int] ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDeleteMessages={_='updateDeleteMessages', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateDialogPinned.md b/old_docs/API_docs_v81/constructors/updateDialogPinned.md index a79af7d5..0fec4db4 100644 --- a/old_docs/API_docs_v81/constructors/updateDialogPinned.md +++ b/old_docs/API_docs_v81/constructors/updateDialogPinned.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => DialogPeer]; ``` @@ -33,10 +33,9 @@ $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDialogPinned={_='updateDialogPinned', pinned=Bool, peer=DialogPeer} ``` diff --git a/old_docs/API_docs_v81/constructors/updateDraftMessage.md b/old_docs/API_docs_v81/constructors/updateDraftMessage.md index 7e759a4f..1bf7c2a4 100644 --- a/old_docs/API_docs_v81/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v81/constructors/updateDraftMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage]; ``` @@ -33,10 +33,9 @@ $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => D ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage} ``` diff --git a/old_docs/API_docs_v81/constructors/updateEditChannelMessage.md b/old_docs/API_docs_v81/constructors/updateEditChannelMessage.md index 959c433a..485afae1 100644 --- a/old_docs/API_docs_v81/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v81/constructors/updateEditChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Mes ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditChannelMessage={_='updateEditChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateEditMessage.md b/old_docs/API_docs_v81/constructors/updateEditMessage.md index f9f820e8..9f986f86 100644 --- a/old_docs/API_docs_v81/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v81/constructors/updateEditMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEditMessage={_='updateEditMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v81/constructors/updateEncryptedChatTyping.md index 0b327071..d995710b 100644 --- a/old_docs/API_docs_v81/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v81/constructors/updateEncryptedChatTyping.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int]; ``` @@ -32,10 +32,9 @@ $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedChatTyping={_='updateEncryptedChatTyping', chat_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v81/constructors/updateEncryptedMessagesRead.md index d2cdfb9c..91b9336e 100644 --- a/old_docs/API_docs_v81/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v81/constructors/updateEncryptedMessagesRead.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int]; ``` @@ -34,10 +34,9 @@ $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateEncryption.md b/old_docs/API_docs_v81/constructors/updateEncryption.md index 25405dd8..b15c0318 100644 --- a/old_docs/API_docs_v81/constructors/updateEncryption.md +++ b/old_docs/API_docs_v81/constructors/updateEncryption.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateFavedStickers.md b/old_docs/API_docs_v81/constructors/updateFavedStickers.md index b474cc03..4e799846 100644 --- a/old_docs/API_docs_v81/constructors/updateFavedStickers.md +++ b/old_docs/API_docs_v81/constructors/updateFavedStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateFavedStickers = ['_' => 'updateFavedStickers']; ``` @@ -27,10 +27,9 @@ $updateFavedStickers = ['_' => 'updateFavedStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateFavedStickers={_='updateFavedStickers'} ``` diff --git a/old_docs/API_docs_v81/constructors/updateInlineBotCallbackQuery.md b/old_docs/API_docs_v81/constructors/updateInlineBotCallbackQuery.md index b1b40479..fb112694 100644 --- a/old_docs/API_docs_v81/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v81/constructors/updateInlineBotCallbackQuery.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string']; ``` @@ -37,10 +37,9 @@ $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, chat_instance=long, data='bytes', game_short_name='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/updateLangPack.md b/old_docs/API_docs_v81/constructors/updateLangPack.md index 172c1a9a..9f180e97 100644 --- a/old_docs/API_docs_v81/constructors/updateLangPack.md +++ b/old_docs/API_docs_v81/constructors/updateLangPack.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateLangPack = ['_' => 'updateLangPack', 'difference' => LangPackDifference]; ``` @@ -32,10 +32,9 @@ $updateLangPack = ['_' => 'updateLangPack', 'difference' => LangPackDifference]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateLangPack={_='updateLangPack', difference=LangPackDifference} ``` diff --git a/old_docs/API_docs_v81/constructors/updateLangPackTooLong.md b/old_docs/API_docs_v81/constructors/updateLangPackTooLong.md index b55c7e33..55614347 100644 --- a/old_docs/API_docs_v81/constructors/updateLangPackTooLong.md +++ b/old_docs/API_docs_v81/constructors/updateLangPackTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateLangPackTooLong = ['_' => 'updateLangPackTooLong']; ``` @@ -27,10 +27,9 @@ $updateLangPackTooLong = ['_' => 'updateLangPackTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateLangPackTooLong={_='updateLangPackTooLong'} ``` diff --git a/old_docs/API_docs_v81/constructors/updateMessageID.md b/old_docs/API_docs_v81/constructors/updateMessageID.md index 7685b9af..6199c9cf 100644 --- a/old_docs/API_docs_v81/constructors/updateMessageID.md +++ b/old_docs/API_docs_v81/constructors/updateMessageID.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` @@ -32,10 +32,9 @@ $updateMessageID = ['_' => 'updateMessageID', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateMessageID={_='updateMessageID', id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v81/constructors/updateNewChannelMessage.md index 59dbc820..9fa1c7ec 100644 --- a/old_docs/API_docs_v81/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v81/constructors/updateNewChannelMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Messa ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewChannelMessage={_='updateNewChannelMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v81/constructors/updateNewEncryptedMessage.md index 44b3a6da..2bef7cc1 100644 --- a/old_docs/API_docs_v81/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v81/constructors/updateNewEncryptedMessage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int]; ``` @@ -33,10 +33,9 @@ $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => E ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateNewMessage.md b/old_docs/API_docs_v81/constructors/updateNewMessage.md index 51ac9eed..7e1cbcf6 100644 --- a/old_docs/API_docs_v81/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v81/constructors/updateNewMessage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => i ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewMessage={_='updateNewMessage', message=Message, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateNewStickerSet.md b/old_docs/API_docs_v81/constructors/updateNewStickerSet.md index c36d4617..5ba327ea 100644 --- a/old_docs/API_docs_v81/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v81/constructors/updateNewStickerSet.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; ``` @@ -32,10 +32,9 @@ $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_S ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} ``` diff --git a/old_docs/API_docs_v81/constructors/updateNotifySettings.md b/old_docs/API_docs_v81/constructors/updateNotifySettings.md index 686aa10f..27f490e2 100644 --- a/old_docs/API_docs_v81/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v81/constructors/updateNotifySettings.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings]; ``` @@ -33,10 +33,9 @@ $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'n ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings} ``` diff --git a/old_docs/API_docs_v81/constructors/updatePhoneCall.md b/old_docs/API_docs_v81/constructors/updatePhoneCall.md index 61730eae..445e1fc0 100644 --- a/old_docs/API_docs_v81/constructors/updatePhoneCall.md +++ b/old_docs/API_docs_v81/constructors/updatePhoneCall.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` @@ -32,10 +32,9 @@ $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePhoneCall={_='updatePhoneCall', phone_call=PhoneCall} ``` diff --git a/old_docs/API_docs_v81/constructors/updatePinnedDialogs.md b/old_docs/API_docs_v81/constructors/updatePinnedDialogs.md index b33518c6..3fd3517d 100644 --- a/old_docs/API_docs_v81/constructors/updatePinnedDialogs.md +++ b/old_docs/API_docs_v81/constructors/updatePinnedDialogs.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [DialogPeer, DialogPeer]]; ``` @@ -32,10 +32,9 @@ $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [DialogPeer, Di ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePinnedDialogs={_='updatePinnedDialogs', order={DialogPeer}} ``` diff --git a/old_docs/API_docs_v81/constructors/updatePrivacy.md b/old_docs/API_docs_v81/constructors/updatePrivacy.md index a54977e2..79ad4be7 100644 --- a/old_docs/API_docs_v81/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v81/constructors/updatePrivacy.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule, PrivacyRule]]; ``` @@ -33,10 +33,9 @@ $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Priva ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules={PrivacyRule}} ``` diff --git a/old_docs/API_docs_v81/constructors/updatePtsChanged.md b/old_docs/API_docs_v81/constructors/updatePtsChanged.md index 76b49a1f..dac1d461 100644 --- a/old_docs/API_docs_v81/constructors/updatePtsChanged.md +++ b/old_docs/API_docs_v81/constructors/updatePtsChanged.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` @@ -27,10 +27,9 @@ $updatePtsChanged = ['_' => 'updatePtsChanged']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatePtsChanged={_='updatePtsChanged'} ``` diff --git a/old_docs/API_docs_v81/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v81/constructors/updateReadChannelInbox.md index be964e20..c8c26acb 100644 --- a/old_docs/API_docs_v81/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v81/constructors/updateReadChannelInbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateReadChannelOutbox.md b/old_docs/API_docs_v81/constructors/updateReadChannelOutbox.md index c725d108..664108d1 100644 --- a/old_docs/API_docs_v81/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v81/constructors/updateReadChannelOutbox.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int]; ``` @@ -33,10 +33,9 @@ $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => in ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadChannelOutbox={_='updateReadChannelOutbox', channel_id=int, max_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateReadFeaturedStickers.md b/old_docs/API_docs_v81/constructors/updateReadFeaturedStickers.md index ea46d41f..af7fd3d7 100644 --- a/old_docs/API_docs_v81/constructors/updateReadFeaturedStickers.md +++ b/old_docs/API_docs_v81/constructors/updateReadFeaturedStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` @@ -27,10 +27,9 @@ $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadFeaturedStickers={_='updateReadFeaturedStickers'} ``` diff --git a/old_docs/API_docs_v81/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v81/constructors/updateReadHistoryInbox.md index 3a0a3401..329f5168 100644 --- a/old_docs/API_docs_v81/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v81/constructors/updateReadHistoryInbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v81/constructors/updateReadHistoryOutbox.md index 6137fdf3..a5cde305 100644 --- a/old_docs/API_docs_v81/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v81/constructors/updateReadHistoryOutbox.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int]; ``` @@ -35,10 +35,9 @@ $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'm ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadHistoryOutbox={_='updateReadHistoryOutbox', peer=Peer, max_id=int, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v81/constructors/updateReadMessagesContents.md index 54dc08d8..0ea0d347 100644 --- a/old_docs/API_docs_v81/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v81/constructors/updateReadMessagesContents.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateRecentStickers.md b/old_docs/API_docs_v81/constructors/updateRecentStickers.md index cb15d01f..6f9acb77 100644 --- a/old_docs/API_docs_v81/constructors/updateRecentStickers.md +++ b/old_docs/API_docs_v81/constructors/updateRecentStickers.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` @@ -27,10 +27,9 @@ $updateRecentStickers = ['_' => 'updateRecentStickers']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateRecentStickers={_='updateRecentStickers'} ``` diff --git a/old_docs/API_docs_v81/constructors/updateSavedGifs.md b/old_docs/API_docs_v81/constructors/updateSavedGifs.md index dd17f321..ea5619fc 100644 --- a/old_docs/API_docs_v81/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v81/constructors/updateSavedGifs.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` @@ -27,10 +27,9 @@ $updateSavedGifs = ['_' => 'updateSavedGifs']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateSavedGifs={_='updateSavedGifs'} ``` diff --git a/old_docs/API_docs_v81/constructors/updateServiceNotification.md b/old_docs/API_docs_v81/constructors/updateServiceNotification.md index 1da6885f..0833007b 100644 --- a/old_docs/API_docs_v81/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v81/constructors/updateServiceNotification.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -37,10 +37,9 @@ $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateServiceNotification={_='updateServiceNotification', popup=Bool, inbox_date=int, type='string', message='string', media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v81/constructors/updateShort.md b/old_docs/API_docs_v81/constructors/updateShort.md index 28f84c78..b3276c42 100644 --- a/old_docs/API_docs_v81/constructors/updateShort.md +++ b/old_docs/API_docs_v81/constructors/updateShort.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` @@ -33,10 +33,9 @@ $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShort={_='updateShort', update=Update, date=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updateShortChatMessage.md b/old_docs/API_docs_v81/constructors/updateShortChatMessage.md index d62e0729..cbeb4739 100644 --- a/old_docs/API_docs_v81/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v81/constructors/updateShortChatMessage.md @@ -35,7 +35,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -46,10 +46,9 @@ $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'ment ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortChatMessage={_='updateShortChatMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v81/constructors/updateShortMessage.md b/old_docs/API_docs_v81/constructors/updateShortMessage.md index d4effcb8..a8348773 100644 --- a/old_docs/API_docs_v81/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v81/constructors/updateShortMessage.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -45,10 +45,9 @@ $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' = ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortMessage={_='updateShortMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v81/constructors/updateShortSentMessage.md b/old_docs/API_docs_v81/constructors/updateShortSentMessage.md index fd7035c3..2a318e56 100644 --- a/old_docs/API_docs_v81/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v81/constructors/updateShortSentMessage.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; ``` @@ -38,10 +38,9 @@ $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}} ``` diff --git a/old_docs/API_docs_v81/constructors/updateStickerSets.md b/old_docs/API_docs_v81/constructors/updateStickerSets.md index 4f045d67..e4cc23a0 100644 --- a/old_docs/API_docs_v81/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v81/constructors/updateStickerSets.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSets = ['_' => 'updateStickerSets']; ``` @@ -27,10 +27,9 @@ $updateStickerSets = ['_' => 'updateStickerSets']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSets={_='updateStickerSets'} ``` diff --git a/old_docs/API_docs_v81/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v81/constructors/updateStickerSetsOrder.md index e36470ad..74405f69 100644 --- a/old_docs/API_docs_v81/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v81/constructors/updateStickerSetsOrder.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long, long]]; ``` @@ -33,10 +33,9 @@ $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'or ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateStickerSetsOrder={_='updateStickerSetsOrder', masks=Bool, order={long}} ``` diff --git a/old_docs/API_docs_v81/constructors/updateUserBlocked.md b/old_docs/API_docs_v81/constructors/updateUserBlocked.md index 74e2ba8c..717dec1e 100644 --- a/old_docs/API_docs_v81/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v81/constructors/updateUserBlocked.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool]; ``` @@ -33,10 +33,9 @@ $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool} ``` diff --git a/old_docs/API_docs_v81/constructors/updateUserName.md b/old_docs/API_docs_v81/constructors/updateUserName.md index a57715fa..4420beee 100644 --- a/old_docs/API_docs_v81/constructors/updateUserName.md +++ b/old_docs/API_docs_v81/constructors/updateUserName.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string']; ``` @@ -35,10 +35,9 @@ $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 's ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/updateUserPhone.md b/old_docs/API_docs_v81/constructors/updateUserPhone.md index 3af56189..6f0ff7aa 100644 --- a/old_docs/API_docs_v81/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v81/constructors/updateUserPhone.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string']; ``` @@ -33,10 +33,9 @@ $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'stri ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhone={_='updateUserPhone', user_id=int, phone='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/updateUserPhoto.md b/old_docs/API_docs_v81/constructors/updateUserPhoto.md index c5684820..7f648bf4 100644 --- a/old_docs/API_docs_v81/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v81/constructors/updateUserPhoto.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool]; ``` @@ -35,10 +35,9 @@ $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, ' ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool} ``` diff --git a/old_docs/API_docs_v81/constructors/updateUserStatus.md b/old_docs/API_docs_v81/constructors/updateUserStatus.md index e5f8757c..f88a4544 100644 --- a/old_docs/API_docs_v81/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v81/constructors/updateUserStatus.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus]; ``` @@ -33,10 +33,9 @@ $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => Us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus} ``` diff --git a/old_docs/API_docs_v81/constructors/updateUserTyping.md b/old_docs/API_docs_v81/constructors/updateUserTyping.md index c0800614..3a36a9bd 100644 --- a/old_docs/API_docs_v81/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v81/constructors/updateUserTyping.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction]; ``` @@ -33,10 +33,9 @@ $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => Se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction} ``` diff --git a/old_docs/API_docs_v81/constructors/updateWebPage.md b/old_docs/API_docs_v81/constructors/updateWebPage.md index 9f468619..932d8ff2 100644 --- a/old_docs/API_docs_v81/constructors/updateWebPage.md +++ b/old_docs/API_docs_v81/constructors/updateWebPage.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int]; ``` @@ -34,10 +34,9 @@ $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'p ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updates.md b/old_docs/API_docs_v81/constructors/updates.md index c6548ada..43f73b57 100644 --- a/old_docs/API_docs_v81/constructors/updates.md +++ b/old_docs/API_docs_v81/constructors/updates.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq' => int]; ``` @@ -36,10 +36,9 @@ $updates = ['_' => 'updates', 'updates' => [Update, Update], 'users' => [User, U ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updatesCombined.md b/old_docs/API_docs_v81/constructors/updatesCombined.md index 80a21d29..a59ad669 100644 --- a/old_docs/API_docs_v81/constructors/updatesCombined.md +++ b/old_docs/API_docs_v81/constructors/updatesCombined.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'users' => [User, User], 'chats' => [Chat, Chat], 'date' => int, 'seq_start' => int, 'seq' => int]; ``` @@ -37,10 +37,9 @@ $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update, Update], 'us ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesCombined={_='updatesCombined', updates={Update}, users={User}, chats={Chat}, date=int, seq_start=int, seq=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updatesTooLong.md b/old_docs/API_docs_v81/constructors/updatesTooLong.md index 49b38fc2..ea3a2693 100644 --- a/old_docs/API_docs_v81/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v81/constructors/updatesTooLong.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updatesTooLong = ['_' => 'updatesTooLong']; ``` @@ -27,10 +27,9 @@ $updatesTooLong = ['_' => 'updatesTooLong']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updatesTooLong={_='updatesTooLong'} ``` diff --git a/old_docs/API_docs_v81/constructors/updates_channelDifference.md b/old_docs/API_docs_v81/constructors/updates_channelDifference.md index 21b618c2..df1dafd6 100644 --- a/old_docs/API_docs_v81/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v81/constructors/updates_channelDifference.md @@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -38,10 +38,9 @@ $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Boo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v81/constructors/updates_channelDifferenceEmpty.md index a2e49340..a5be0377 100644 --- a/old_docs/API_docs_v81/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v81/constructors/updates_channelDifferenceEmpty.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; ``` @@ -34,10 +34,9 @@ $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'fin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v81/constructors/updates_channelDifferenceTooLong.md index 84834a9f..838aaf3b 100644 --- a/old_docs/API_docs_v81/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v81/constructors/updates_channelDifferenceTooLong.md @@ -31,7 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; ``` @@ -42,10 +42,9 @@ $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} ``` diff --git a/old_docs/API_docs_v81/constructors/updates_difference.md b/old_docs/API_docs_v81/constructors/updates_difference.md index 7b8b4be5..226cd26d 100644 --- a/old_docs/API_docs_v81/constructors/updates_difference.md +++ b/old_docs/API_docs_v81/constructors/updates_difference.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} ``` diff --git a/old_docs/API_docs_v81/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v81/constructors/updates_differenceEmpty.md index ca7dead6..26153f7f 100644 --- a/old_docs/API_docs_v81/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v81/constructors/updates_differenceEmpty.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; ``` @@ -33,10 +33,9 @@ $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'se ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updates_differenceSlice.md b/old_docs/API_docs_v81/constructors/updates_differenceSlice.md index 55f7a1a7..8c634b08 100644 --- a/old_docs/API_docs_v81/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v81/constructors/updates_differenceSlice.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; ``` @@ -37,10 +37,9 @@ $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} ``` diff --git a/old_docs/API_docs_v81/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v81/constructors/updates_differenceTooLong.md index da55eddf..2e96fdd5 100644 --- a/old_docs/API_docs_v81/constructors/updates_differenceTooLong.md +++ b/old_docs/API_docs_v81/constructors/updates_differenceTooLong.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` @@ -32,10 +32,9 @@ $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_differenceTooLong={_='updates.differenceTooLong', pts=int} ``` diff --git a/old_docs/API_docs_v81/constructors/updates_state.md b/old_docs/API_docs_v81/constructors/updates_state.md index b46c224f..69e3a8f2 100644 --- a/old_docs/API_docs_v81/constructors/updates_state.md +++ b/old_docs/API_docs_v81/constructors/updates_state.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; ``` @@ -36,10 +36,9 @@ $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} ``` diff --git a/old_docs/API_docs_v81/constructors/upload_cdnFile.md b/old_docs/API_docs_v81/constructors/upload_cdnFile.md index b42b285d..586e6c32 100644 --- a/old_docs/API_docs_v81/constructors/upload_cdnFile.md +++ b/old_docs/API_docs_v81/constructors/upload_cdnFile.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; ``` @@ -32,10 +32,9 @@ $upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_cdnFile={_='upload.cdnFile', bytes='bytes'} ``` diff --git a/old_docs/API_docs_v81/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v81/constructors/upload_cdnFileReuploadNeeded.md index b770fdf6..a770ff3d 100644 --- a/old_docs/API_docs_v81/constructors/upload_cdnFileReuploadNeeded.md +++ b/old_docs/API_docs_v81/constructors/upload_cdnFileReuploadNeeded.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; ``` @@ -32,10 +32,9 @@ $upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} ``` diff --git a/old_docs/API_docs_v81/constructors/upload_file.md b/old_docs/API_docs_v81/constructors/upload_file.md index 3d2cb7b4..946c4bfd 100644 --- a/old_docs/API_docs_v81/constructors/upload_file.md +++ b/old_docs/API_docs_v81/constructors/upload_file.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -34,10 +34,9 @@ $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v81/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v81/constructors/upload_fileCdnRedirect.md index f5f91660..f8118be0 100644 --- a/old_docs/API_docs_v81/constructors/upload_fileCdnRedirect.md +++ b/old_docs/API_docs_v81/constructors/upload_fileCdnRedirect.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; ``` @@ -36,10 +36,9 @@ $upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'fil ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} ``` diff --git a/old_docs/API_docs_v81/constructors/upload_webFile.md b/old_docs/API_docs_v81/constructors/upload_webFile.md index 296105ee..d94afb72 100644 --- a/old_docs/API_docs_v81/constructors/upload_webFile.md +++ b/old_docs/API_docs_v81/constructors/upload_webFile.md @@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; ``` @@ -36,10 +36,9 @@ $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'strin ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} ``` diff --git a/old_docs/API_docs_v81/constructors/user.md b/old_docs/API_docs_v81/constructors/user.md index e15841b7..ebe7d5ed 100644 --- a/old_docs/API_docs_v81/constructors/user.md +++ b/old_docs/API_docs_v81/constructors/user.md @@ -43,7 +43,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => 'string', 'bot_inline_placeholder' => 'string', 'lang_code' => 'string']; ``` @@ -54,10 +54,9 @@ $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => B ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, min=Bool, bot_inline_geo=Bool, id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason='string', bot_inline_placeholder='string', lang_code='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/userEmpty.md b/old_docs/API_docs_v81/constructors/userEmpty.md index 76584e2c..ace37076 100644 --- a/old_docs/API_docs_v81/constructors/userEmpty.md +++ b/old_docs/API_docs_v81/constructors/userEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` @@ -32,10 +32,9 @@ $userEmpty = ['_' => 'userEmpty', 'id' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userEmpty={_='userEmpty', id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/userFull.md b/old_docs/API_docs_v81/constructors/userFull.md index 8a9037d6..381a3ef9 100644 --- a/old_docs/API_docs_v81/constructors/userFull.md +++ b/old_docs/API_docs_v81/constructors/userFull.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` @@ -41,10 +41,9 @@ $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bo ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v81/constructors/userProfilePhoto.md b/old_docs/API_docs_v81/constructors/userProfilePhoto.md index e314a919..96d2429b 100644 --- a/old_docs/API_docs_v81/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v81/constructors/userProfilePhoto.md @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation]; ``` @@ -34,10 +34,9 @@ $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation} ``` diff --git a/old_docs/API_docs_v81/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v81/constructors/userProfilePhotoEmpty.md index dc0ab294..b940f328 100644 --- a/old_docs/API_docs_v81/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v81/constructors/userProfilePhotoEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` @@ -27,10 +27,9 @@ $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userProfilePhotoEmpty={_='userProfilePhotoEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/userStatusEmpty.md b/old_docs/API_docs_v81/constructors/userStatusEmpty.md index b5da32f4..63f0a8a1 100644 --- a/old_docs/API_docs_v81/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v81/constructors/userStatusEmpty.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` @@ -27,10 +27,9 @@ $userStatusEmpty = ['_' => 'userStatusEmpty']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusEmpty={_='userStatusEmpty'} ``` diff --git a/old_docs/API_docs_v81/constructors/userStatusLastMonth.md b/old_docs/API_docs_v81/constructors/userStatusLastMonth.md index 3ae16d3c..c7650754 100644 --- a/old_docs/API_docs_v81/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v81/constructors/userStatusLastMonth.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` @@ -27,10 +27,9 @@ $userStatusLastMonth = ['_' => 'userStatusLastMonth']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastMonth={_='userStatusLastMonth'} ``` diff --git a/old_docs/API_docs_v81/constructors/userStatusLastWeek.md b/old_docs/API_docs_v81/constructors/userStatusLastWeek.md index d3233be7..bdf9495c 100644 --- a/old_docs/API_docs_v81/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v81/constructors/userStatusLastWeek.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` @@ -27,10 +27,9 @@ $userStatusLastWeek = ['_' => 'userStatusLastWeek']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusLastWeek={_='userStatusLastWeek'} ``` diff --git a/old_docs/API_docs_v81/constructors/userStatusOffline.md b/old_docs/API_docs_v81/constructors/userStatusOffline.md index 6c3c56ca..7bbd0fd2 100644 --- a/old_docs/API_docs_v81/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v81/constructors/userStatusOffline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOffline={_='userStatusOffline', was_online=int} ``` diff --git a/old_docs/API_docs_v81/constructors/userStatusOnline.md b/old_docs/API_docs_v81/constructors/userStatusOnline.md index cda07704..20c0ef93 100644 --- a/old_docs/API_docs_v81/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v81/constructors/userStatusOnline.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` @@ -32,10 +32,9 @@ $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusOnline={_='userStatusOnline', expires=int} ``` diff --git a/old_docs/API_docs_v81/constructors/userStatusRecently.md b/old_docs/API_docs_v81/constructors/userStatusRecently.md index de4e75b8..75211abf 100644 --- a/old_docs/API_docs_v81/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v81/constructors/userStatusRecently.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $userStatusRecently = ['_' => 'userStatusRecently']; ``` @@ -27,10 +27,9 @@ $userStatusRecently = ['_' => 'userStatusRecently']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua userStatusRecently={_='userStatusRecently'} ``` diff --git a/old_docs/API_docs_v81/constructors/wallPaper.md b/old_docs/API_docs_v81/constructors/wallPaper.md index 4a438e75..36289c80 100644 --- a/old_docs/API_docs_v81/constructors/wallPaper.md +++ b/old_docs/API_docs_v81/constructors/wallPaper.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [PhotoSize, PhotoSize], 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => 'string', 'sizes' => [ ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaper={_='wallPaper', id=int, title='string', sizes={PhotoSize}, color=int} ``` diff --git a/old_docs/API_docs_v81/constructors/wallPaperSolid.md b/old_docs/API_docs_v81/constructors/wallPaperSolid.md index c382aeaf..467e65ca 100644 --- a/old_docs/API_docs_v81/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v81/constructors/wallPaperSolid.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'bg_color' => int, 'color' => int]; ``` @@ -35,10 +35,9 @@ $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => 'string', 'b ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua wallPaperSolid={_='wallPaperSolid', id=int, title='string', bg_color=int, color=int} ``` diff --git a/old_docs/API_docs_v81/constructors/webAuthorization.md b/old_docs/API_docs_v81/constructors/webAuthorization.md index 3c0a4170..ab484a7b 100644 --- a/old_docs/API_docs_v81/constructors/webAuthorization.md +++ b/old_docs/API_docs_v81/constructors/webAuthorization.md @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webAuthorization = ['_' => 'webAuthorization', 'hash' => long, 'bot_id' => int, 'domain' => 'string', 'browser' => 'string', 'platform' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'region' => 'string']; ``` @@ -40,10 +40,9 @@ $webAuthorization = ['_' => 'webAuthorization', 'hash' => long, 'bot_id' => int, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webAuthorization={_='webAuthorization', hash=long, bot_id=int, domain='string', browser='string', platform='string', date_created=int, date_active=int, ip='string', region='string'} ``` diff --git a/old_docs/API_docs_v81/constructors/webDocument.md b/old_docs/API_docs_v81/constructors/webDocument.md index 064367a3..67e158fa 100644 --- a/old_docs/API_docs_v81/constructors/webDocument.md +++ b/old_docs/API_docs_v81/constructors/webDocument.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'dc_id' => int]; ``` @@ -37,10 +37,9 @@ $webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webDocument={_='webDocument', url='string', access_hash=long, size=int, mime_type='string', attributes={DocumentAttribute}, dc_id=int} ``` diff --git a/old_docs/API_docs_v81/constructors/webDocumentNoProxy.md b/old_docs/API_docs_v81/constructors/webDocumentNoProxy.md index 07b6aa60..e89db854 100644 --- a/old_docs/API_docs_v81/constructors/webDocumentNoProxy.md +++ b/old_docs/API_docs_v81/constructors/webDocumentNoProxy.md @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webDocumentNoProxy = ['_' => 'webDocumentNoProxy', 'url' => 'string', 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]]; ``` @@ -35,10 +35,9 @@ $webDocumentNoProxy = ['_' => 'webDocumentNoProxy', 'url' => 'string', 'size' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webDocumentNoProxy={_='webDocumentNoProxy', url='string', size=int, mime_type='string', attributes={DocumentAttribute}} ``` diff --git a/old_docs/API_docs_v81/constructors/webPage.md b/old_docs/API_docs_v81/constructors/webPage.md index 371b1e56..ee070624 100644 --- a/old_docs/API_docs_v81/constructors/webPage.md +++ b/old_docs/API_docs_v81/constructors/webPage.md @@ -37,7 +37,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => 'string', 'hash' => int, 'type' => 'string', 'site_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'embed_url' => 'string', 'embed_type' => 'string', 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => 'string', 'document' => Document, 'cached_page' => Page]; ``` @@ -48,10 +48,9 @@ $webPage = ['_' => 'webPage', 'id' => long, 'url' => 'string', 'display_url' => ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPage={_='webPage', id=long, url='string', display_url='string', hash=int, type='string', site_name='string', title='string', description='string', photo=Photo, embed_url='string', embed_type='string', embed_width=int, embed_height=int, duration=int, author='string', document=Document, cached_page=Page} ``` diff --git a/old_docs/API_docs_v81/constructors/webPageEmpty.md b/old_docs/API_docs_v81/constructors/webPageEmpty.md index 7efc4ce2..56500355 100644 --- a/old_docs/API_docs_v81/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v81/constructors/webPageEmpty.md @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` @@ -32,10 +32,9 @@ $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageEmpty={_='webPageEmpty', id=long} ``` diff --git a/old_docs/API_docs_v81/constructors/webPageNotModified.md b/old_docs/API_docs_v81/constructors/webPageNotModified.md index 557c2947..a180dd51 100644 --- a/old_docs/API_docs_v81/constructors/webPageNotModified.md +++ b/old_docs/API_docs_v81/constructors/webPageNotModified.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPageNotModified = ['_' => 'webPageNotModified']; ``` @@ -27,10 +27,9 @@ $webPageNotModified = ['_' => 'webPageNotModified']; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPageNotModified={_='webPageNotModified'} ``` diff --git a/old_docs/API_docs_v81/constructors/webPagePending.md b/old_docs/API_docs_v81/constructors/webPagePending.md index abe762d5..dea0b64e 100644 --- a/old_docs/API_docs_v81/constructors/webPagePending.md +++ b/old_docs/API_docs_v81/constructors/webPagePending.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Example: -``` +```php $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` @@ -33,10 +33,9 @@ $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int]; ``` -Or, if you're into Lua: +Or, if you're into Lua: - -``` +```lua webPagePending={_='webPagePending', id=long, date=int} ``` diff --git a/old_docs/API_docs_v81/methods/account_acceptAuthorization.md b/old_docs/API_docs_v81/methods/account_acceptAuthorization.md index 48cafe8a..3db73de5 100644 --- a/old_docs/API_docs_v81/methods/account_acceptAuthorization.md +++ b/old_docs/API_docs_v81/methods/account_acceptAuthorization.md @@ -28,7 +28,7 @@ Accept telegram passport authorization ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ credentials - Json encoded SecureCredentialsEncrypted Or, if you're into Lua: -``` +```lua Bool = account.acceptAuthorization({bot_id=int, scope='string', public_key='string', value_hashes={SecureValueHash}, credentials=SecureCredentialsEncrypted, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_changePhone.md b/old_docs/API_docs_v81/methods/account_changePhone.md index d5c878dc..0625e903 100644 --- a/old_docs/API_docs_v81/methods/account_changePhone.md +++ b/old_docs/API_docs_v81/methods/account_changePhone.md @@ -26,7 +26,7 @@ Change the phone number associated to this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua User = account.changePhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/account_checkUsername.md b/old_docs/API_docs_v81/methods/account_checkUsername.md index e252a329..41efbdfb 100644 --- a/old_docs/API_docs_v81/methods/account_checkUsername.md +++ b/old_docs/API_docs_v81/methods/account_checkUsername.md @@ -24,7 +24,7 @@ Check if this username is available ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.checkUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/account_confirmPhone.md b/old_docs/API_docs_v81/methods/account_confirmPhone.md index a42b69b7..214f54e3 100644 --- a/old_docs/API_docs_v81/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v81/methods/account_confirmPhone.md @@ -25,7 +25,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.confirmPhone({phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/account_deleteAccount.md b/old_docs/API_docs_v81/methods/account_deleteAccount.md index 7c66c38a..61e8e9f5 100644 --- a/old_docs/API_docs_v81/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v81/methods/account_deleteAccount.md @@ -24,7 +24,7 @@ Delete this account ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ reason - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.deleteAccount({reason='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/account_deleteSecureValue.md b/old_docs/API_docs_v81/methods/account_deleteSecureValue.md index cfb5bdf1..ac6b7ec8 100644 --- a/old_docs/API_docs_v81/methods/account_deleteSecureValue.md +++ b/old_docs/API_docs_v81/methods/account_deleteSecureValue.md @@ -24,7 +24,7 @@ Delete secure telegram passport value ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ types - Json encoded array of SecureValueType Or, if you're into Lua: -``` +```lua Bool = account.deleteSecureValue({types={SecureValueType}, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_finishTakeoutSession.md b/old_docs/API_docs_v81/methods/account_finishTakeoutSession.md index 6b21cbef..8326800d 100644 --- a/old_docs/API_docs_v81/methods/account_finishTakeoutSession.md +++ b/old_docs/API_docs_v81/methods/account_finishTakeoutSession.md @@ -24,7 +24,7 @@ Finish account exporting session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ success - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.finishTakeoutSession({success=Bool, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_getAccountTTL.md b/old_docs/API_docs_v81/methods/account_getAccountTTL.md index 9f8248e7..cbb2585a 100644 --- a/old_docs/API_docs_v81/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v81/methods/account_getAccountTTL.md @@ -19,7 +19,7 @@ Get account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua AccountDaysTTL = account.getAccountTTL({}) ``` diff --git a/old_docs/API_docs_v81/methods/account_getAllSecureValues.md b/old_docs/API_docs_v81/methods/account_getAllSecureValues.md index 7a3022d0..408c805c 100644 --- a/old_docs/API_docs_v81/methods/account_getAllSecureValues.md +++ b/old_docs/API_docs_v81/methods/account_getAllSecureValues.md @@ -19,7 +19,7 @@ Get all secure telegram passport values ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_SecureValue = account.getAllSecureValues({}) ``` diff --git a/old_docs/API_docs_v81/methods/account_getAuthorizationForm.md b/old_docs/API_docs_v81/methods/account_getAuthorizationForm.md index ae177a4a..c839f4ed 100644 --- a/old_docs/API_docs_v81/methods/account_getAuthorizationForm.md +++ b/old_docs/API_docs_v81/methods/account_getAuthorizationForm.md @@ -26,7 +26,7 @@ Bots only: get telegram passport authorization form ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ public_key - Json encoded string Or, if you're into Lua: -``` +```lua account_AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/account_getAuthorizations.md b/old_docs/API_docs_v81/methods/account_getAuthorizations.md index 148a4938..89b76985 100644 --- a/old_docs/API_docs_v81/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v81/methods/account_getAuthorizations.md @@ -19,7 +19,7 @@ Get all logged-in authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v81/methods/account_getNotifySettings.md b/old_docs/API_docs_v81/methods/account_getNotifySettings.md index 1a082a2c..9f79374c 100644 --- a/old_docs/API_docs_v81/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v81/methods/account_getNotifySettings.md @@ -24,7 +24,7 @@ Get notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputNotifyPeer Or, if you're into Lua: -``` +```lua PeerNotifySettings = account.getNotifySettings({peer=InputNotifyPeer, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_getPassword.md b/old_docs/API_docs_v81/methods/account_getPassword.md index d6b82366..7a9b6f77 100644 --- a/old_docs/API_docs_v81/methods/account_getPassword.md +++ b/old_docs/API_docs_v81/methods/account_getPassword.md @@ -19,7 +19,7 @@ Get the current password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v81/methods/account_getPasswordSettings.md b/old_docs/API_docs_v81/methods/account_getPasswordSettings.md index d6c12a02..7a5d1eee 100644 --- a/old_docs/API_docs_v81/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v81/methods/account_getPasswordSettings.md @@ -24,7 +24,7 @@ Get the current 2FA settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ current_password_hash - Json encoded bytes Or, if you're into Lua: -``` +```lua account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` diff --git a/old_docs/API_docs_v81/methods/account_getPrivacy.md b/old_docs/API_docs_v81/methods/account_getPrivacy.md index f4a953ac..04184002 100644 --- a/old_docs/API_docs_v81/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v81/methods/account_getPrivacy.md @@ -24,7 +24,7 @@ Get privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ key - Json encoded InputPrivacyKey Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_getSecureValue.md b/old_docs/API_docs_v81/methods/account_getSecureValue.md index d62988b4..a76b5ad5 100644 --- a/old_docs/API_docs_v81/methods/account_getSecureValue.md +++ b/old_docs/API_docs_v81/methods/account_getSecureValue.md @@ -24,7 +24,7 @@ Get secure value for telegram passport ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ types - Json encoded array of SecureValueType Or, if you're into Lua: -``` +```lua Vector_of_SecureValue = account.getSecureValue({types={SecureValueType}, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_getTmpPassword.md b/old_docs/API_docs_v81/methods/account_getTmpPassword.md index 504fbbc3..be75dc69 100644 --- a/old_docs/API_docs_v81/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v81/methods/account_getTmpPassword.md @@ -25,7 +25,7 @@ Get temporary password for buying products through bots ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua account_TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_getWallPapers.md b/old_docs/API_docs_v81/methods/account_getWallPapers.md index b72a0ac0..8198996c 100644 --- a/old_docs/API_docs_v81/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v81/methods/account_getWallPapers.md @@ -19,7 +19,7 @@ Returns a list of available wallpapers. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_WallPaper = account.getWallPapers({}) ``` diff --git a/old_docs/API_docs_v81/methods/account_getWebAuthorizations.md b/old_docs/API_docs_v81/methods/account_getWebAuthorizations.md index eef56ced..292a6bfc 100644 --- a/old_docs/API_docs_v81/methods/account_getWebAuthorizations.md +++ b/old_docs/API_docs_v81/methods/account_getWebAuthorizations.md @@ -19,7 +19,7 @@ Get telegram web login authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua account_WebAuthorizations = account.getWebAuthorizations({}) ``` diff --git a/old_docs/API_docs_v81/methods/account_initTakeoutSession.md b/old_docs/API_docs_v81/methods/account_initTakeoutSession.md index 68fc8ab3..bb289ec4 100644 --- a/old_docs/API_docs_v81/methods/account_initTakeoutSession.md +++ b/old_docs/API_docs_v81/methods/account_initTakeoutSession.md @@ -30,7 +30,7 @@ Start account exporting session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ file_max_size - Json encoded int Or, if you're into Lua: -``` +```lua account_Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_registerDevice.md b/old_docs/API_docs_v81/methods/account_registerDevice.md index a1256cd1..3d1cb1c5 100644 --- a/old_docs/API_docs_v81/methods/account_registerDevice.md +++ b/old_docs/API_docs_v81/methods/account_registerDevice.md @@ -28,7 +28,7 @@ Register device for push notifications ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ other_uids - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = account.registerDevice({token_type=int, token='string', app_sandbox=Bool, secret='bytes', other_uids={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_reportPeer.md b/old_docs/API_docs_v81/methods/account_reportPeer.md index d8c49851..673b48bf 100644 --- a/old_docs/API_docs_v81/methods/account_reportPeer.md +++ b/old_docs/API_docs_v81/methods/account_reportPeer.md @@ -25,7 +25,7 @@ Report for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reason - Json encoded ReportReason Or, if you're into Lua: -``` +```lua Bool = account.reportPeer({peer=InputPeer, reason=ReportReason, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_resetAuthorization.md b/old_docs/API_docs_v81/methods/account_resetAuthorization.md index 678e6f31..74b8a086 100644 --- a/old_docs/API_docs_v81/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v81/methods/account_resetAuthorization.md @@ -24,7 +24,7 @@ Delete a certain session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_resetNotifySettings.md b/old_docs/API_docs_v81/methods/account_resetNotifySettings.md index e92e32b9..1ec07077 100644 --- a/old_docs/API_docs_v81/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v81/methods/account_resetNotifySettings.md @@ -19,7 +19,7 @@ Reset all notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetNotifySettings({}) ``` diff --git a/old_docs/API_docs_v81/methods/account_resetWebAuthorization.md b/old_docs/API_docs_v81/methods/account_resetWebAuthorization.md index 2d987787..a12b2b22 100644 --- a/old_docs/API_docs_v81/methods/account_resetWebAuthorization.md +++ b/old_docs/API_docs_v81/methods/account_resetWebAuthorization.md @@ -24,7 +24,7 @@ Delete a certain telegram web login authorization ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ hash - Json encoded long Or, if you're into Lua: -``` +```lua Bool = account.resetWebAuthorization({hash=long, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_resetWebAuthorizations.md b/old_docs/API_docs_v81/methods/account_resetWebAuthorizations.md index fc39c6fd..594afa11 100644 --- a/old_docs/API_docs_v81/methods/account_resetWebAuthorizations.md +++ b/old_docs/API_docs_v81/methods/account_resetWebAuthorizations.md @@ -19,7 +19,7 @@ Reset all telegram web login authorizations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = account.resetWebAuthorizations({}) ``` diff --git a/old_docs/API_docs_v81/methods/account_saveSecureValue.md b/old_docs/API_docs_v81/methods/account_saveSecureValue.md index a54d1783..09c39fad 100644 --- a/old_docs/API_docs_v81/methods/account_saveSecureValue.md +++ b/old_docs/API_docs_v81/methods/account_saveSecureValue.md @@ -25,7 +25,7 @@ Save telegram passport secure value ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ secure_secret_id - Json encoded long Or, if you're into Lua: -``` +```lua SecureValue = account.saveSecureValue({value=InputSecureValue, secure_secret_id=long, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v81/methods/account_sendChangePhoneCode.md index 33a001b9..123a5880 100644 --- a/old_docs/API_docs_v81/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v81/methods/account_sendChangePhoneCode.md @@ -26,7 +26,7 @@ Change the phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v81/methods/account_sendConfirmPhoneCode.md index a70ad5a3..5c2612c2 100644 --- a/old_docs/API_docs_v81/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v81/methods/account_sendConfirmPhoneCode.md @@ -26,7 +26,7 @@ Send confirmation phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_sendVerifyEmailCode.md b/old_docs/API_docs_v81/methods/account_sendVerifyEmailCode.md index 712018bd..bf1020ca 100644 --- a/old_docs/API_docs_v81/methods/account_sendVerifyEmailCode.md +++ b/old_docs/API_docs_v81/methods/account_sendVerifyEmailCode.md @@ -24,7 +24,7 @@ Send email verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ email - Json encoded string Or, if you're into Lua: -``` +```lua account_SentEmailCode = account.sendVerifyEmailCode({email='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/account_sendVerifyPhoneCode.md b/old_docs/API_docs_v81/methods/account_sendVerifyPhoneCode.md index ea7e6c10..45902b30 100644 --- a/old_docs/API_docs_v81/methods/account_sendVerifyPhoneCode.md +++ b/old_docs/API_docs_v81/methods/account_sendVerifyPhoneCode.md @@ -26,7 +26,7 @@ Send phone verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ current_number - Json encoded Bool Or, if you're into Lua: -``` +```lua auth_SentCode = account.sendVerifyPhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_setAccountTTL.md b/old_docs/API_docs_v81/methods/account_setAccountTTL.md index ff37ea70..2cdc09d8 100644 --- a/old_docs/API_docs_v81/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v81/methods/account_setAccountTTL.md @@ -24,7 +24,7 @@ Set account TTL ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ ttl - Json encoded AccountDaysTTL Or, if you're into Lua: -``` +```lua Bool = account.setAccountTTL({ttl=AccountDaysTTL, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_setPrivacy.md b/old_docs/API_docs_v81/methods/account_setPrivacy.md index 7dac79b9..0cd97844 100644 --- a/old_docs/API_docs_v81/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v81/methods/account_setPrivacy.md @@ -25,7 +25,7 @@ Set privacy settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ rules - Json encoded array of InputPrivacyRule Or, if you're into Lua: -``` +```lua account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_unregisterDevice.md b/old_docs/API_docs_v81/methods/account_unregisterDevice.md index b20ec9f0..e7e6a437 100644 --- a/old_docs/API_docs_v81/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v81/methods/account_unregisterDevice.md @@ -26,7 +26,7 @@ Stop sending PUSH notifications to app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ other_uids - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = account.unregisterDevice({token_type=int, token='string', other_uids={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v81/methods/account_updateDeviceLocked.md index a21aa6c2..14faecef 100644 --- a/old_docs/API_docs_v81/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v81/methods/account_updateDeviceLocked.md @@ -24,7 +24,7 @@ Disable all notifications for a certain period ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ period - Json encoded int Or, if you're into Lua: -``` +```lua Bool = account.updateDeviceLocked({period=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_updateNotifySettings.md b/old_docs/API_docs_v81/methods/account_updateNotifySettings.md index 1ddb958a..d354d215 100644 --- a/old_docs/API_docs_v81/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v81/methods/account_updateNotifySettings.md @@ -25,7 +25,7 @@ Change notification settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ settings - Json encoded InputPeerNotifySettings Or, if you're into Lua: -``` +```lua Bool = account.updateNotifySettings({peer=InputNotifyPeer, settings=InputPeerNotifySettings, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v81/methods/account_updatePasswordSettings.md index 043fdb45..17210b5d 100644 --- a/old_docs/API_docs_v81/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v81/methods/account_updatePasswordSettings.md @@ -25,7 +25,7 @@ Update the 2FA password settings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ new_settings - Json encoded account_PasswordInputSettings Or, if you're into Lua: -``` +```lua Bool = account.updatePasswordSettings({current_password_hash='bytes', new_settings=account_PasswordInputSettings, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_updateProfile.md b/old_docs/API_docs_v81/methods/account_updateProfile.md index f415381f..f54515e5 100644 --- a/old_docs/API_docs_v81/methods/account_updateProfile.md +++ b/old_docs/API_docs_v81/methods/account_updateProfile.md @@ -26,7 +26,7 @@ Update profile info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateProfile({first_name='string', last_name='string', about='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/account_updateStatus.md b/old_docs/API_docs_v81/methods/account_updateStatus.md index 2fded2ce..767d4eb5 100644 --- a/old_docs/API_docs_v81/methods/account_updateStatus.md +++ b/old_docs/API_docs_v81/methods/account_updateStatus.md @@ -24,7 +24,7 @@ Update online status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ offline - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = account.updateStatus({offline=Bool, }) ``` diff --git a/old_docs/API_docs_v81/methods/account_updateUsername.md b/old_docs/API_docs_v81/methods/account_updateUsername.md index d1622d9f..b6eff78b 100644 --- a/old_docs/API_docs_v81/methods/account_updateUsername.md +++ b/old_docs/API_docs_v81/methods/account_updateUsername.md @@ -24,7 +24,7 @@ Update this user's username ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua User = account.updateUsername({username='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/account_verifyEmail.md b/old_docs/API_docs_v81/methods/account_verifyEmail.md index 4cfc82aa..02b29db0 100644 --- a/old_docs/API_docs_v81/methods/account_verifyEmail.md +++ b/old_docs/API_docs_v81/methods/account_verifyEmail.md @@ -25,7 +25,7 @@ Verify email address ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.verifyEmail({email='string', code='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/account_verifyPhone.md b/old_docs/API_docs_v81/methods/account_verifyPhone.md index 075ab95b..9c4326fa 100644 --- a/old_docs/API_docs_v81/methods/account_verifyPhone.md +++ b/old_docs/API_docs_v81/methods/account_verifyPhone.md @@ -26,7 +26,7 @@ Verify phone number ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ phone_code - Json encoded string Or, if you're into Lua: -``` +```lua Bool = account.verifyPhone({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/auth_cancelCode.md b/old_docs/API_docs_v81/methods/auth_cancelCode.md index 0b53954c..352c88e9 100644 --- a/old_docs/API_docs_v81/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v81/methods/auth_cancelCode.md @@ -25,7 +25,7 @@ Invalidate sent phone code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua Bool = auth.cancelCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v81/methods/auth_dropTempAuthKeys.md index 26d63e12..64ce7528 100644 --- a/old_docs/API_docs_v81/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v81/methods/auth_dropTempAuthKeys.md @@ -24,7 +24,7 @@ Delete all temporary authorization keys except the ones provided ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ except_auth_keys - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = auth.dropTempAuthKeys({except_auth_keys={long}, }) ``` diff --git a/old_docs/API_docs_v81/methods/auth_recoverPassword.md b/old_docs/API_docs_v81/methods/auth_recoverPassword.md index f7e82e38..3852f088 100644 --- a/old_docs/API_docs_v81/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v81/methods/auth_recoverPassword.md @@ -24,7 +24,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ code - Json encoded string Or, if you're into Lua: -``` +```lua auth_Authorization = auth.recoverPassword({code='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v81/methods/auth_requestPasswordRecovery.md index 214d5cdf..2c1b2389 100644 --- a/old_docs/API_docs_v81/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v81/methods/auth_requestPasswordRecovery.md @@ -19,7 +19,7 @@ Send an email to recover the 2FA password ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua auth_PasswordRecovery = auth.requestPasswordRecovery({}) ``` diff --git a/old_docs/API_docs_v81/methods/auth_resendCode.md b/old_docs/API_docs_v81/methods/auth_resendCode.md index 28350d37..4ce58975 100644 --- a/old_docs/API_docs_v81/methods/auth_resendCode.md +++ b/old_docs/API_docs_v81/methods/auth_resendCode.md @@ -25,7 +25,7 @@ Resend the SMS verification code ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ phone_code_hash - Json encoded string Or, if you're into Lua: -``` +```lua auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v81/methods/auth_resetAuthorizations.md index 7cdf12b7..58ba44b4 100644 --- a/old_docs/API_docs_v81/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v81/methods/auth_resetAuthorizations.md @@ -19,7 +19,7 @@ Delete all logged-in sessions. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = auth.resetAuthorizations({}) ``` diff --git a/old_docs/API_docs_v81/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v81/methods/bots_answerWebhookJSONQuery.md index 6ed252ff..33b6c2a3 100644 --- a/old_docs/API_docs_v81/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v81/methods/bots_answerWebhookJSONQuery.md @@ -25,7 +25,7 @@ Send webhook request via bot API ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ data - Json encoded DataJSON Or, if you're into Lua: -``` +```lua Bool = bots.answerWebhookJSONQuery({query_id=long, data=DataJSON, }) ``` diff --git a/old_docs/API_docs_v81/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v81/methods/bots_sendCustomRequest.md index d14215ec..bd368df5 100644 --- a/old_docs/API_docs_v81/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v81/methods/bots_sendCustomRequest.md @@ -25,7 +25,7 @@ Send a custom request to the bot API ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ params - Json encoded DataJSON Or, if you're into Lua: -``` +```lua DataJSON = bots.sendCustomRequest({custom_method='string', params=DataJSON, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_checkUsername.md b/old_docs/API_docs_v81/methods/channels_checkUsername.md index d287b3ca..573bf8f0 100644 --- a/old_docs/API_docs_v81/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v81/methods/channels_checkUsername.md @@ -25,7 +25,7 @@ Check if this username is free and can be assigned to a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.checkUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_createChannel.md b/old_docs/API_docs_v81/methods/channels_createChannel.md index 356f473a..1821c864 100644 --- a/old_docs/API_docs_v81/methods/channels_createChannel.md +++ b/old_docs/API_docs_v81/methods/channels_createChannel.md @@ -27,7 +27,7 @@ Create channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.createChannel({broadcast=Bool, megagroup=Bool, title='string', about='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_deleteChannel.md b/old_docs/API_docs_v81/methods/channels_deleteChannel.md index b55d91b8..a79ccb9f 100644 --- a/old_docs/API_docs_v81/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v81/methods/channels_deleteChannel.md @@ -24,7 +24,7 @@ Delete a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.deleteChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_deleteHistory.md b/old_docs/API_docs_v81/methods/channels_deleteHistory.md index ea331b8b..606eb2dc 100644 --- a/old_docs/API_docs_v81/methods/channels_deleteHistory.md +++ b/old_docs/API_docs_v81/methods/channels_deleteHistory.md @@ -25,7 +25,7 @@ Delete the history of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.deleteHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_deleteMessages.md b/old_docs/API_docs_v81/methods/channels_deleteMessages.md index 03625c94..8cd7ebb3 100644 --- a/old_docs/API_docs_v81/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v81/methods/channels_deleteMessages.md @@ -25,7 +25,7 @@ Delete channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v81/methods/channels_deleteUserHistory.md index 204a8786..78baa90f 100644 --- a/old_docs/API_docs_v81/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v81/methods/channels_deleteUserHistory.md @@ -25,7 +25,7 @@ Delete all messages of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_editAbout.md b/old_docs/API_docs_v81/methods/channels_editAbout.md index fd861133..549d7ea5 100644 --- a/old_docs/API_docs_v81/methods/channels_editAbout.md +++ b/old_docs/API_docs_v81/methods/channels_editAbout.md @@ -25,7 +25,7 @@ Edit the about text of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ about - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.editAbout({channel=InputChannel, about='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_editAdmin.md b/old_docs/API_docs_v81/methods/channels_editAdmin.md index 08860c79..19670a43 100644 --- a/old_docs/API_docs_v81/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v81/methods/channels_editAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions of a user in a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ admin_rights - Json encoded ChannelAdminRights Or, if you're into Lua: -``` +```lua Updates = channels.editAdmin({channel=InputChannel, user_id=InputUser, admin_rights=ChannelAdminRights, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_editBanned.md b/old_docs/API_docs_v81/methods/channels_editBanned.md index e938acc0..e18f236e 100644 --- a/old_docs/API_docs_v81/methods/channels_editBanned.md +++ b/old_docs/API_docs_v81/methods/channels_editBanned.md @@ -26,7 +26,7 @@ Kick or ban a user from a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ banned_rights - Json encoded ChannelBannedRights Or, if you're into Lua: -``` +```lua Updates = channels.editBanned({channel=InputChannel, user_id=InputUser, banned_rights=ChannelBannedRights, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_editPhoto.md b/old_docs/API_docs_v81/methods/channels_editPhoto.md index ccbaed65..7013c6e2 100644 --- a/old_docs/API_docs_v81/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v81/methods/channels_editPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = channels.editPhoto({channel=InputChannel, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_editTitle.md b/old_docs/API_docs_v81/methods/channels_editTitle.md index ffd868ba..a9c8c50f 100644 --- a/old_docs/API_docs_v81/methods/channels_editTitle.md +++ b/old_docs/API_docs_v81/methods/channels_editTitle.md @@ -25,7 +25,7 @@ Edit the title of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = channels.editTitle({channel=InputChannel, title='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_exportInvite.md b/old_docs/API_docs_v81/methods/channels_exportInvite.md index 0b4b5c31..5a92097a 100644 --- a/old_docs/API_docs_v81/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v81/methods/channels_exportInvite.md @@ -24,7 +24,7 @@ Export the invite link of a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua ExportedChatInvite = channels.exportInvite({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_exportMessageLink.md b/old_docs/API_docs_v81/methods/channels_exportMessageLink.md index 3b6e7e9e..c28b37e0 100644 --- a/old_docs/API_docs_v81/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v81/methods/channels_exportMessageLink.md @@ -26,7 +26,7 @@ Get the link of a message in a channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ grouped - Json encoded Bool Or, if you're into Lua: -``` +```lua ExportedMessageLink = channels.exportMessageLink({channel=InputChannel, id=int, grouped=Bool, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_getAdminLog.md b/old_docs/API_docs_v81/methods/channels_getAdminLog.md index 266c07d7..79a6b402 100644 --- a/old_docs/API_docs_v81/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v81/methods/channels_getAdminLog.md @@ -30,7 +30,7 @@ Get admin log of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v81/methods/channels_getAdminedPublicChannels.md index 67ee8bd4..dc2c29ed 100644 --- a/old_docs/API_docs_v81/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v81/methods/channels_getAdminedPublicChannels.md @@ -19,7 +19,7 @@ Get all supergroups/channels where you're admin ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v81/methods/channels_getChannels.md b/old_docs/API_docs_v81/methods/channels_getChannels.md index 71edac7b..a146be1e 100644 --- a/old_docs/API_docs_v81/methods/channels_getChannels.md +++ b/old_docs/API_docs_v81/methods/channels_getChannels.md @@ -24,7 +24,7 @@ Get info about multiple channels/supergroups ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputChannel Or, if you're into Lua: -``` +```lua messages_Chats = channels.getChannels({id={InputChannel}, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_getLeftChannels.md b/old_docs/API_docs_v81/methods/channels_getLeftChannels.md index cf06518b..3623d820 100644 --- a/old_docs/API_docs_v81/methods/channels_getLeftChannels.md +++ b/old_docs/API_docs_v81/methods/channels_getLeftChannels.md @@ -24,7 +24,7 @@ Get all channels you left ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_Chats = channels.getLeftChannels({offset=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_getMessages.md b/old_docs/API_docs_v81/methods/channels_getMessages.md index 4f63c3a2..95382110 100644 --- a/old_docs/API_docs_v81/methods/channels_getMessages.md +++ b/old_docs/API_docs_v81/methods/channels_getMessages.md @@ -25,7 +25,7 @@ Get channel/supergroup messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of InputMessage Or, if you're into Lua: -``` +```lua messages_Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_getParticipant.md b/old_docs/API_docs_v81/methods/channels_getParticipant.md index a641d213..9cf80799 100644 --- a/old_docs/API_docs_v81/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v81/methods/channels_getParticipant.md @@ -25,7 +25,7 @@ Get info about a certain channel/supergroup participant ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_getParticipants.md b/old_docs/API_docs_v81/methods/channels_getParticipants.md index 25a752cb..eefd0917 100644 --- a/old_docs/API_docs_v81/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v81/methods/channels_getParticipants.md @@ -28,7 +28,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_inviteToChannel.md b/old_docs/API_docs_v81/methods/channels_inviteToChannel.md index 0a350cc8..998e3895 100644 --- a/old_docs/API_docs_v81/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v81/methods/channels_inviteToChannel.md @@ -25,7 +25,7 @@ Add users to channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ users - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Updates = channels.inviteToChannel({channel=InputChannel, users={InputUser}, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_joinChannel.md b/old_docs/API_docs_v81/methods/channels_joinChannel.md index aae2bc1c..3c6a3b94 100644 --- a/old_docs/API_docs_v81/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v81/methods/channels_joinChannel.md @@ -24,7 +24,7 @@ Join a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.joinChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_leaveChannel.md b/old_docs/API_docs_v81/methods/channels_leaveChannel.md index 4e6701fe..0934089f 100644 --- a/old_docs/API_docs_v81/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v81/methods/channels_leaveChannel.md @@ -24,7 +24,7 @@ Leave a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ channel - Json encoded InputChannel Or, if you're into Lua: -``` +```lua Updates = channels.leaveChannel({channel=InputChannel, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_readHistory.md b/old_docs/API_docs_v81/methods/channels_readHistory.md index d76919ff..cf5c1529 100644 --- a/old_docs/API_docs_v81/methods/channels_readHistory.md +++ b/old_docs/API_docs_v81/methods/channels_readHistory.md @@ -25,7 +25,7 @@ Mark channel/supergroup history as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Bool = channels.readHistory({channel=InputChannel, max_id=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_readMessageContents.md b/old_docs/API_docs_v81/methods/channels_readMessageContents.md index 51fffda5..a6cf4f3a 100644 --- a/old_docs/API_docs_v81/methods/channels_readMessageContents.md +++ b/old_docs/API_docs_v81/methods/channels_readMessageContents.md @@ -25,7 +25,7 @@ Mark channel/supergroup messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.readMessageContents({channel=InputChannel, id={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_reportSpam.md b/old_docs/API_docs_v81/methods/channels_reportSpam.md index 48022662..b0e99eb1 100644 --- a/old_docs/API_docs_v81/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v81/methods/channels_reportSpam.md @@ -26,7 +26,7 @@ Report a message in a supergroup/channel for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua Bool = channels.reportSpam({channel=InputChannel, user_id=InputUser, id={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_setStickers.md b/old_docs/API_docs_v81/methods/channels_setStickers.md index 421b3ec1..4338f29a 100644 --- a/old_docs/API_docs_v81/methods/channels_setStickers.md +++ b/old_docs/API_docs_v81/methods/channels_setStickers.md @@ -25,7 +25,7 @@ Set the supergroup/channel stickerpack ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = channels.setStickers({channel=InputChannel, stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_toggleInvites.md b/old_docs/API_docs_v81/methods/channels_toggleInvites.md index d0023b70..bed6ba15 100644 --- a/old_docs/API_docs_v81/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v81/methods/channels_toggleInvites.md @@ -25,7 +25,7 @@ Allow or disallow any user to invite users to this channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleInvites({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_togglePreHistoryHidden.md b/old_docs/API_docs_v81/methods/channels_togglePreHistoryHidden.md index c25f6358..c972473d 100644 --- a/old_docs/API_docs_v81/methods/channels_togglePreHistoryHidden.md +++ b/old_docs/API_docs_v81/methods/channels_togglePreHistoryHidden.md @@ -25,7 +25,7 @@ Enable or disable hidden history for new channel/supergroup users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.togglePreHistoryHidden({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_toggleSignatures.md b/old_docs/API_docs_v81/methods/channels_toggleSignatures.md index 337e8627..c9fe18cc 100644 --- a/old_docs/API_docs_v81/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v81/methods/channels_toggleSignatures.md @@ -25,7 +25,7 @@ Toggle channel signatures ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = channels.toggleSignatures({channel=InputChannel, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v81/methods/channels_updatePinnedMessage.md index c79c5904..9d2cc058 100644 --- a/old_docs/API_docs_v81/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v81/methods/channels_updatePinnedMessage.md @@ -26,7 +26,7 @@ Set the pinned message of a channel/supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = channels.updatePinnedMessage({silent=Bool, channel=InputChannel, id=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/channels_updateUsername.md b/old_docs/API_docs_v81/methods/channels_updateUsername.md index 2e07e123..c0df8c7c 100644 --- a/old_docs/API_docs_v81/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v81/methods/channels_updateUsername.md @@ -25,7 +25,7 @@ Update the username of a supergroup/channel ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ username - Json encoded string Or, if you're into Lua: -``` +```lua Bool = channels.updateUsername({channel=InputChannel, username='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/contacts_block.md b/old_docs/API_docs_v81/methods/contacts_block.md index aae07768..ca390b37 100644 --- a/old_docs/API_docs_v81/methods/contacts_block.md +++ b/old_docs/API_docs_v81/methods/contacts_block.md @@ -24,7 +24,7 @@ Block a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.block({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v81/methods/contacts_deleteContact.md b/old_docs/API_docs_v81/methods/contacts_deleteContact.md index f8aa2a4b..804afd98 100644 --- a/old_docs/API_docs_v81/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v81/methods/contacts_deleteContact.md @@ -24,7 +24,7 @@ Delete a contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua contacts_Link = contacts.deleteContact({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v81/methods/contacts_deleteContacts.md b/old_docs/API_docs_v81/methods/contacts_deleteContacts.md index 46c6e5af..79a04c66 100644 --- a/old_docs/API_docs_v81/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v81/methods/contacts_deleteContacts.md @@ -24,7 +24,7 @@ Delete multiple contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.deleteContacts({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v81/methods/contacts_exportCard.md b/old_docs/API_docs_v81/methods/contacts_exportCard.md index 269a5b6a..eec195e5 100644 --- a/old_docs/API_docs_v81/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v81/methods/contacts_exportCard.md @@ -19,7 +19,7 @@ Export contact as card ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_int = contacts.exportCard({}) ``` diff --git a/old_docs/API_docs_v81/methods/contacts_getBlocked.md b/old_docs/API_docs_v81/methods/contacts_getBlocked.md index 76156caf..d4c8ce97 100644 --- a/old_docs/API_docs_v81/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v81/methods/contacts_getBlocked.md @@ -25,7 +25,7 @@ Get blocked users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/contacts_getContacts.md b/old_docs/API_docs_v81/methods/contacts_getContacts.md index c8b53bc5..19826f89 100644 --- a/old_docs/API_docs_v81/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v81/methods/contacts_getContacts.md @@ -24,7 +24,7 @@ Get all contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua contacts_Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/contacts_getSaved.md b/old_docs/API_docs_v81/methods/contacts_getSaved.md index 85d30711..720d215a 100644 --- a/old_docs/API_docs_v81/methods/contacts_getSaved.md +++ b/old_docs/API_docs_v81/methods/contacts_getSaved.md @@ -19,7 +19,7 @@ Get saved contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_SavedContact = contacts.getSaved({}) ``` diff --git a/old_docs/API_docs_v81/methods/contacts_getStatuses.md b/old_docs/API_docs_v81/methods/contacts_getStatuses.md index 046e9de0..9ca4b553 100644 --- a/old_docs/API_docs_v81/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v81/methods/contacts_getStatuses.md @@ -19,7 +19,7 @@ Get online status of all users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_ContactStatus = contacts.getStatuses({}) ``` diff --git a/old_docs/API_docs_v81/methods/contacts_getTopPeers.md b/old_docs/API_docs_v81/methods/contacts_getTopPeers.md index 1cc9c756..c64e7486 100644 --- a/old_docs/API_docs_v81/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v81/methods/contacts_getTopPeers.md @@ -32,7 +32,7 @@ Get most used chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/contacts_importCard.md b/old_docs/API_docs_v81/methods/contacts_importCard.md index 48949aa8..45280124 100644 --- a/old_docs/API_docs_v81/methods/contacts_importCard.md +++ b/old_docs/API_docs_v81/methods/contacts_importCard.md @@ -24,7 +24,7 @@ Import card as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ export_card - Json encoded array of int Or, if you're into Lua: -``` +```lua User = contacts.importCard({export_card={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/contacts_importContacts.md b/old_docs/API_docs_v81/methods/contacts_importContacts.md index eddbe116..c42f5c57 100644 --- a/old_docs/API_docs_v81/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v81/methods/contacts_importContacts.md @@ -24,7 +24,7 @@ Add phone number as contact ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ contacts - Json encoded array of InputContact Or, if you're into Lua: -``` +```lua contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/old_docs/API_docs_v81/methods/contacts_resetSaved.md b/old_docs/API_docs_v81/methods/contacts_resetSaved.md index 6e0214c2..40d528bc 100644 --- a/old_docs/API_docs_v81/methods/contacts_resetSaved.md +++ b/old_docs/API_docs_v81/methods/contacts_resetSaved.md @@ -19,7 +19,7 @@ Reset saved contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Bool = contacts.resetSaved({}) ``` diff --git a/old_docs/API_docs_v81/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v81/methods/contacts_resetTopPeerRating.md index 96ae48ac..94a07f54 100644 --- a/old_docs/API_docs_v81/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v81/methods/contacts_resetTopPeerRating.md @@ -25,7 +25,7 @@ Reset top peer rating for a certain category/peer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = contacts.resetTopPeerRating({category=TopPeerCategory, peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v81/methods/contacts_search.md b/old_docs/API_docs_v81/methods/contacts_search.md index a80e2a27..54c21d05 100644 --- a/old_docs/API_docs_v81/methods/contacts_search.md +++ b/old_docs/API_docs_v81/methods/contacts_search.md @@ -25,7 +25,7 @@ Search contacts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua contacts_Found = contacts.search({q='string', limit=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/contacts_unblock.md b/old_docs/API_docs_v81/methods/contacts_unblock.md index e3c68b8d..4f85b8e7 100644 --- a/old_docs/API_docs_v81/methods/contacts_unblock.md +++ b/old_docs/API_docs_v81/methods/contacts_unblock.md @@ -24,7 +24,7 @@ Unblock a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Bool = contacts.unblock({id=InputUser, }) ``` diff --git a/old_docs/API_docs_v81/methods/help_acceptTermsOfService.md b/old_docs/API_docs_v81/methods/help_acceptTermsOfService.md index 9d9a5f89..56a6c695 100644 --- a/old_docs/API_docs_v81/methods/help_acceptTermsOfService.md +++ b/old_docs/API_docs_v81/methods/help_acceptTermsOfService.md @@ -24,7 +24,7 @@ Accept telegram's TOS ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded DataJSON Or, if you're into Lua: -``` +```lua Bool = help.acceptTermsOfService({id=DataJSON, }) ``` diff --git a/old_docs/API_docs_v81/methods/help_getAppChangelog.md b/old_docs/API_docs_v81/methods/help_getAppChangelog.md index 10b972c1..179eaf3a 100644 --- a/old_docs/API_docs_v81/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v81/methods/help_getAppChangelog.md @@ -24,7 +24,7 @@ Get the changelog of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ prev_app_version - Json encoded string Or, if you're into Lua: -``` +```lua Updates = help.getAppChangelog({prev_app_version='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/help_getAppUpdate.md b/old_docs/API_docs_v81/methods/help_getAppUpdate.md index 4ddc0e4d..541b5972 100644 --- a/old_docs/API_docs_v81/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v81/methods/help_getAppUpdate.md @@ -19,7 +19,7 @@ Get info about app updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v81/methods/help_getCdnConfig.md b/old_docs/API_docs_v81/methods/help_getCdnConfig.md index be572516..766896c7 100644 --- a/old_docs/API_docs_v81/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v81/methods/help_getCdnConfig.md @@ -19,7 +19,7 @@ Get CDN configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua CdnConfig = help.getCdnConfig({}) ``` diff --git a/old_docs/API_docs_v81/methods/help_getConfig.md b/old_docs/API_docs_v81/methods/help_getConfig.md index 22ef7e1a..c17e7b37 100644 --- a/old_docs/API_docs_v81/methods/help_getConfig.md +++ b/old_docs/API_docs_v81/methods/help_getConfig.md @@ -19,7 +19,7 @@ Get server configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Config = help.getConfig({}) ``` diff --git a/old_docs/API_docs_v81/methods/help_getDeepLinkInfo.md b/old_docs/API_docs_v81/methods/help_getDeepLinkInfo.md index 9e816258..55885ec2 100644 --- a/old_docs/API_docs_v81/methods/help_getDeepLinkInfo.md +++ b/old_docs/API_docs_v81/methods/help_getDeepLinkInfo.md @@ -24,7 +24,7 @@ Get deep link info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ path - Json encoded string Or, if you're into Lua: -``` +```lua help_DeepLinkInfo = help.getDeepLinkInfo({path='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/help_getInviteText.md b/old_docs/API_docs_v81/methods/help_getInviteText.md index 1510e64f..f05ac4ac 100644 --- a/old_docs/API_docs_v81/methods/help_getInviteText.md +++ b/old_docs/API_docs_v81/methods/help_getInviteText.md @@ -19,7 +19,7 @@ Get invitation text ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v81/methods/help_getNearestDc.md b/old_docs/API_docs_v81/methods/help_getNearestDc.md index f73ee3ae..ed773822 100644 --- a/old_docs/API_docs_v81/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v81/methods/help_getNearestDc.md @@ -19,7 +19,7 @@ Get nearest datacenter ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua NearestDc = help.getNearestDc({}) ``` diff --git a/old_docs/API_docs_v81/methods/help_getProxyData.md b/old_docs/API_docs_v81/methods/help_getProxyData.md index 7c4306a8..37955ac0 100644 --- a/old_docs/API_docs_v81/methods/help_getProxyData.md +++ b/old_docs/API_docs_v81/methods/help_getProxyData.md @@ -19,7 +19,7 @@ Get information about the current proxy ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_ProxyData = help.getProxyData({}) ``` diff --git a/old_docs/API_docs_v81/methods/help_getRecentMeUrls.md b/old_docs/API_docs_v81/methods/help_getRecentMeUrls.md index 27a451bb..c9641f67 100644 --- a/old_docs/API_docs_v81/methods/help_getRecentMeUrls.md +++ b/old_docs/API_docs_v81/methods/help_getRecentMeUrls.md @@ -24,7 +24,7 @@ Get recent t.me URLs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ referer - Json encoded string Or, if you're into Lua: -``` +```lua help_RecentMeUrls = help.getRecentMeUrls({referer='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/help_getSupport.md b/old_docs/API_docs_v81/methods/help_getSupport.md index e821a1b9..21e07cec 100644 --- a/old_docs/API_docs_v81/methods/help_getSupport.md +++ b/old_docs/API_docs_v81/methods/help_getSupport.md @@ -19,7 +19,7 @@ Get info of support user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v81/methods/help_getTermsOfServiceUpdate.md b/old_docs/API_docs_v81/methods/help_getTermsOfServiceUpdate.md index 4865b5c3..b3cfa0ed 100644 --- a/old_docs/API_docs_v81/methods/help_getTermsOfServiceUpdate.md +++ b/old_docs/API_docs_v81/methods/help_getTermsOfServiceUpdate.md @@ -19,7 +19,7 @@ Get updated TOS ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua help_TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) ``` diff --git a/old_docs/API_docs_v81/methods/help_saveAppLog.md b/old_docs/API_docs_v81/methods/help_saveAppLog.md index bbc0cc39..d8478d5f 100644 --- a/old_docs/API_docs_v81/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v81/methods/help_saveAppLog.md @@ -24,7 +24,7 @@ Log data for developer of this app ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ events - Json encoded array of InputAppEvent Or, if you're into Lua: -``` +```lua Bool = help.saveAppLog({events={InputAppEvent}, }) ``` diff --git a/old_docs/API_docs_v81/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v81/methods/help_setBotUpdatesStatus.md index 0429f8a0..53736da7 100644 --- a/old_docs/API_docs_v81/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v81/methods/help_setBotUpdatesStatus.md @@ -25,7 +25,7 @@ Set the update status of webhook ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded string Or, if you're into Lua: -``` +```lua Bool = help.setBotUpdatesStatus({pending_updates_count=int, message='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/initConnection.md b/old_docs/API_docs_v81/methods/initConnection.md index 71d71bb8..c956cf38 100644 --- a/old_docs/API_docs_v81/methods/initConnection.md +++ b/old_docs/API_docs_v81/methods/initConnection.md @@ -32,7 +32,7 @@ Initializes connection and save information on the user's device and application ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -86,7 +86,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = initConnection({api_id=int, device_model='string', system_version='string', app_version='string', system_lang_code='string', lang_pack='string', lang_code='string', proxy=InputClientProxy, query=!X, }) ``` diff --git a/old_docs/API_docs_v81/methods/invokeAfterMsg.md b/old_docs/API_docs_v81/methods/invokeAfterMsg.md index cc724753..70d077d0 100644 --- a/old_docs/API_docs_v81/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v81/methods/invokeAfterMsg.md @@ -25,7 +25,7 @@ Invokes a query after successfull completion of one of the previous queries. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsg({msg_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v81/methods/invokeAfterMsgs.md b/old_docs/API_docs_v81/methods/invokeAfterMsgs.md index 16eec772..5af5ebba 100644 --- a/old_docs/API_docs_v81/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v81/methods/invokeAfterMsgs.md @@ -25,7 +25,7 @@ Result type returned by a current query. ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeAfterMsgs({msg_ids={long}, query=!X, }) ``` diff --git a/old_docs/API_docs_v81/methods/invokeWithLayer.md b/old_docs/API_docs_v81/methods/invokeWithLayer.md index 923b17d1..298c6b39 100644 --- a/old_docs/API_docs_v81/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v81/methods/invokeWithLayer.md @@ -25,7 +25,7 @@ Invoke this method with layer X ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithLayer({layer=int, query=!X, }) ``` diff --git a/old_docs/API_docs_v81/methods/invokeWithMessagesRange.md b/old_docs/API_docs_v81/methods/invokeWithMessagesRange.md index 24e87100..bd5bf0fa 100644 --- a/old_docs/API_docs_v81/methods/invokeWithMessagesRange.md +++ b/old_docs/API_docs_v81/methods/invokeWithMessagesRange.md @@ -25,7 +25,7 @@ Invoke with messages range ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithMessagesRange({range=MessageRange, query=!X, }) ``` diff --git a/old_docs/API_docs_v81/methods/invokeWithTakeout.md b/old_docs/API_docs_v81/methods/invokeWithTakeout.md index aa6683a4..5f83f4a1 100644 --- a/old_docs/API_docs_v81/methods/invokeWithTakeout.md +++ b/old_docs/API_docs_v81/methods/invokeWithTakeout.md @@ -25,7 +25,7 @@ Invoke method from takeout session ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithTakeout({takeout_id=long, query=!X, }) ``` diff --git a/old_docs/API_docs_v81/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v81/methods/invokeWithoutUpdates.md index b696672a..1843ce99 100644 --- a/old_docs/API_docs_v81/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v81/methods/invokeWithoutUpdates.md @@ -24,7 +24,7 @@ Invoke with method without returning updates in the socket ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ query - Json encoded !X Or, if you're into Lua: -``` +```lua X = invokeWithoutUpdates({query=!X, }) ``` diff --git a/old_docs/API_docs_v81/methods/langpack_getDifference.md b/old_docs/API_docs_v81/methods/langpack_getDifference.md index 0614d869..30184f61 100644 --- a/old_docs/API_docs_v81/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v81/methods/langpack_getDifference.md @@ -24,7 +24,7 @@ Get language pack updates ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ from_version - Json encoded int Or, if you're into Lua: -``` +```lua LangPackDifference = langpack.getDifference({from_version=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/langpack_getLangPack.md b/old_docs/API_docs_v81/methods/langpack_getLangPack.md index 70f9eb73..98001615 100644 --- a/old_docs/API_docs_v81/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v81/methods/langpack_getLangPack.md @@ -24,7 +24,7 @@ Get language pack ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ lang_code - Json encoded string Or, if you're into Lua: -``` +```lua LangPackDifference = langpack.getLangPack({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/langpack_getLanguages.md b/old_docs/API_docs_v81/methods/langpack_getLanguages.md index 5eaf2049..8a592a86 100644 --- a/old_docs/API_docs_v81/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v81/methods/langpack_getLanguages.md @@ -19,7 +19,7 @@ Get available languages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_LangPackLanguage = langpack.getLanguages({}) ``` diff --git a/old_docs/API_docs_v81/methods/langpack_getStrings.md b/old_docs/API_docs_v81/methods/langpack_getStrings.md index 3042b040..ccd0a684 100644 --- a/old_docs/API_docs_v81/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v81/methods/langpack_getStrings.md @@ -25,7 +25,7 @@ Get language pack strings ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ keys - Json encoded array of string Or, if you're into Lua: -``` +```lua Vector_of_LangPackString = langpack.getStrings({lang_code='string', keys={'string'}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_addChatUser.md b/old_docs/API_docs_v81/methods/messages_addChatUser.md index 5d98e17c..48694153 100644 --- a/old_docs/API_docs_v81/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v81/methods/messages_addChatUser.md @@ -26,7 +26,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ fwd_limit - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_checkChatInvite.md b/old_docs/API_docs_v81/methods/messages_checkChatInvite.md index 1f41d33a..413b0fa7 100644 --- a/old_docs/API_docs_v81/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v81/methods/messages_checkChatInvite.md @@ -24,7 +24,7 @@ Check if an invitation link is valid ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua ChatInvite = messages.checkChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v81/methods/messages_clearRecentStickers.md index 56634143..53e1fa4f 100644 --- a/old_docs/API_docs_v81/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v81/methods/messages_clearRecentStickers.md @@ -24,7 +24,7 @@ Clear all recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ attached - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.clearRecentStickers({attached=Bool, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_createChat.md b/old_docs/API_docs_v81/methods/messages_createChat.md index 60d9bbd9..4110a1e4 100644 --- a/old_docs/API_docs_v81/methods/messages_createChat.md +++ b/old_docs/API_docs_v81/methods/messages_createChat.md @@ -25,7 +25,7 @@ Create a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.createChat({users={InputUser}, title='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_deleteChatUser.md b/old_docs/API_docs_v81/methods/messages_deleteChatUser.md index 0c7f6223..a82a7710 100644 --- a/old_docs/API_docs_v81/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v81/methods/messages_deleteChatUser.md @@ -25,7 +25,7 @@ Delete a user from a chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua Updates = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_deleteHistory.md b/old_docs/API_docs_v81/methods/messages_deleteHistory.md index 866ba216..33d1ca52 100644 --- a/old_docs/API_docs_v81/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v81/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ Delete chat history ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_deleteMessages.md b/old_docs/API_docs_v81/methods/messages_deleteMessages.md index eaf9cd86..9158e8bd 100644 --- a/old_docs/API_docs_v81/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v81/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ Delete messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_editChatAdmin.md b/old_docs/API_docs_v81/methods/messages_editChatAdmin.md index a2dad97f..f883b50e 100644 --- a/old_docs/API_docs_v81/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v81/methods/messages_editChatAdmin.md @@ -26,7 +26,7 @@ Edit admin permissions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ is_admin - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.editChatAdmin({chat_id=InputPeer, user_id=InputUser, is_admin=Bool, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_editChatPhoto.md b/old_docs/API_docs_v81/methods/messages_editChatPhoto.md index 77246643..ce140a09 100644 --- a/old_docs/API_docs_v81/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v81/methods/messages_editChatPhoto.md @@ -25,7 +25,7 @@ Edit the photo of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ photo - Json encoded InputChatPhoto Or, if you're into Lua: -``` +```lua Updates = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_editChatTitle.md b/old_docs/API_docs_v81/methods/messages_editChatTitle.md index ffff7fc8..6599d034 100644 --- a/old_docs/API_docs_v81/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v81/methods/messages_editChatTitle.md @@ -25,7 +25,7 @@ Edit the title of a normal chat (not supergroup) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ title - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v81/methods/messages_editInlineBotMessage.md index b85b3386..7c3d8c1a 100644 --- a/old_docs/API_docs_v81/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v81/methods/messages_editInlineBotMessage.md @@ -32,7 +32,7 @@ Edit a sent inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ geo_point - Json encoded InputGeoPoint Or, if you're into Lua: -``` +```lua Bool = messages.editInlineBotMessage({no_webpage=Bool, stop_geo_live=Bool, id=InputBotInlineMessageID, message='string', media=InputMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', geo_point=InputGeoPoint, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_editMessage.md b/old_docs/API_docs_v81/methods/messages_editMessage.md index 9c207a74..9524d133 100644 --- a/old_docs/API_docs_v81/methods/messages_editMessage.md +++ b/old_docs/API_docs_v81/methods/messages_editMessage.md @@ -33,7 +33,7 @@ Edit a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -72,7 +72,7 @@ geo_point - Json encoded InputGeoPoint Or, if you're into Lua: -``` +```lua Updates = messages.editMessage({no_webpage=Bool, stop_geo_live=Bool, peer=InputPeer, id=int, message='string', media=InputMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', geo_point=InputGeoPoint, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_exportChatInvite.md b/old_docs/API_docs_v81/methods/messages_exportChatInvite.md index dde31bc9..227135c6 100644 --- a/old_docs/API_docs_v81/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v81/methods/messages_exportChatInvite.md @@ -24,7 +24,7 @@ Export chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua ExportedChatInvite = messages.exportChatInvite({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_faveSticker.md b/old_docs/API_docs_v81/methods/messages_faveSticker.md index 302957c5..26e49af9 100644 --- a/old_docs/API_docs_v81/methods/messages_faveSticker.md +++ b/old_docs/API_docs_v81/methods/messages_faveSticker.md @@ -25,7 +25,7 @@ Add a sticker to favorites ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ unfave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.faveSticker({id=InputDocument, unfave=Bool, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_forwardMessages.md b/old_docs/API_docs_v81/methods/messages_forwardMessages.md index 3372333c..b7d19145 100644 --- a/old_docs/API_docs_v81/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v81/methods/messages_forwardMessages.md @@ -30,7 +30,7 @@ Forward messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ to_peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.forwardMessages({silent=Bool, background=Bool, with_my_score=Bool, grouped=Bool, from_peer=InputPeer, id={int}, to_peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getAllChats.md b/old_docs/API_docs_v81/methods/messages_getAllChats.md index 663af07c..38cbbbae 100644 --- a/old_docs/API_docs_v81/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v81/methods/messages_getAllChats.md @@ -24,7 +24,7 @@ Get all chats (not supergroups or channels) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ except_ids - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getAllChats({except_ids={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getAllDrafts.md b/old_docs/API_docs_v81/methods/messages_getAllDrafts.md index 31aa8176..7300e01a 100644 --- a/old_docs/API_docs_v81/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v81/methods/messages_getAllDrafts.md @@ -19,7 +19,7 @@ Get all message drafts ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Updates = messages.getAllDrafts({}) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getAllStickers.md b/old_docs/API_docs_v81/methods/messages_getAllStickers.md index 966af122..c25a823b 100644 --- a/old_docs/API_docs_v81/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v81/methods/messages_getAllStickers.md @@ -24,7 +24,7 @@ Get all stickerpacks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v81/methods/messages_getArchivedStickers.md index e98ab6ec..ef79ee6e 100644 --- a/old_docs/API_docs_v81/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v81/methods/messages_getArchivedStickers.md @@ -26,7 +26,7 @@ Get all archived stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v81/methods/messages_getAttachedStickers.md index 0e221a84..9ada6655 100644 --- a/old_docs/API_docs_v81/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v81/methods/messages_getAttachedStickers.md @@ -24,7 +24,7 @@ Get stickers attachable to images ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ media - Json encoded InputStickeredMedia Or, if you're into Lua: -``` +```lua Vector_of_StickerSetCovered = messages.getAttachedStickers({media=InputStickeredMedia, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v81/methods/messages_getBotCallbackAnswer.md index ffcd8a2e..b4f1d02f 100644 --- a/old_docs/API_docs_v81/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v81/methods/messages_getBotCallbackAnswer.md @@ -27,7 +27,7 @@ Get the callback answer of a bot (after clicking a button) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ data - Json encoded bytes Or, if you're into Lua: -``` +```lua messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getChats.md b/old_docs/API_docs_v81/methods/messages_getChats.md index 9fd5eadd..1976ea4f 100644 --- a/old_docs/API_docs_v81/methods/messages_getChats.md +++ b/old_docs/API_docs_v81/methods/messages_getChats.md @@ -24,7 +24,7 @@ Get info about chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getChats({id={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getCommonChats.md b/old_docs/API_docs_v81/methods/messages_getCommonChats.md index e6921d5e..83237f64 100644 --- a/old_docs/API_docs_v81/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v81/methods/messages_getCommonChats.md @@ -26,7 +26,7 @@ Get chats in common with a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getDialogs.md b/old_docs/API_docs_v81/methods/messages_getDialogs.md index 694c916f..0bc314b5 100644 --- a/old_docs/API_docs_v81/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v81/methods/messages_getDialogs.md @@ -28,7 +28,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v81/methods/messages_getDocumentByHash.md index 5b6f6f21..00f0a558 100644 --- a/old_docs/API_docs_v81/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v81/methods/messages_getDocumentByHash.md @@ -26,7 +26,7 @@ Get document by SHA256 hash ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ mime_type - Json encoded string Or, if you're into Lua: -``` +```lua Document = messages.getDocumentByHash({sha256='bytes', size=int, mime_type='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getFavedStickers.md b/old_docs/API_docs_v81/methods/messages_getFavedStickers.md index 6bc1560c..95d6d4a2 100644 --- a/old_docs/API_docs_v81/methods/messages_getFavedStickers.md +++ b/old_docs/API_docs_v81/methods/messages_getFavedStickers.md @@ -24,7 +24,7 @@ Get favorite stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v81/methods/messages_getFeaturedStickers.md index a837377b..c257621e 100644 --- a/old_docs/API_docs_v81/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v81/methods/messages_getFeaturedStickers.md @@ -24,7 +24,7 @@ Get featured stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getGameHighScores.md b/old_docs/API_docs_v81/methods/messages_getGameHighScores.md index f7837998..a97fb1ff 100644 --- a/old_docs/API_docs_v81/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v81/methods/messages_getGameHighScores.md @@ -26,7 +26,7 @@ Get high scores of a game ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getHistory.md b/old_docs/API_docs_v81/methods/messages_getHistory.md index d79f2694..215e949d 100644 --- a/old_docs/API_docs_v81/methods/messages_getHistory.md +++ b/old_docs/API_docs_v81/methods/messages_getHistory.md @@ -31,7 +31,7 @@ Get previous messages of a group ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v81/methods/messages_getInlineBotResults.md index 03b5d845..73f2deb2 100644 --- a/old_docs/API_docs_v81/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v81/methods/messages_getInlineBotResults.md @@ -28,7 +28,7 @@ Call inline bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ offset - Json encoded string Or, if you're into Lua: -``` +```lua messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v81/methods/messages_getInlineGameHighScores.md index e8be8e81..046c1cfb 100644 --- a/old_docs/API_docs_v81/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v81/methods/messages_getInlineGameHighScores.md @@ -25,7 +25,7 @@ Get high scores of a game sent in an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ user_id - Json encoded InputUser Or, if you're into Lua: -``` +```lua messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getMaskStickers.md b/old_docs/API_docs_v81/methods/messages_getMaskStickers.md index 55c4edea..06fd153e 100644 --- a/old_docs/API_docs_v81/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v81/methods/messages_getMaskStickers.md @@ -24,7 +24,7 @@ Get masks ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getMessageEditData.md b/old_docs/API_docs_v81/methods/messages_getMessageEditData.md index 2c44a1dc..77e2c030 100644 --- a/old_docs/API_docs_v81/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v81/methods/messages_getMessageEditData.md @@ -25,7 +25,7 @@ Check if about to edit a message or a media caption ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ id - Json encoded int Or, if you're into Lua: -``` +```lua messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getMessages.md b/old_docs/API_docs_v81/methods/messages_getMessages.md index 3cd40799..ffc8cdb6 100644 --- a/old_docs/API_docs_v81/methods/messages_getMessages.md +++ b/old_docs/API_docs_v81/methods/messages_getMessages.md @@ -24,7 +24,7 @@ Get messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputMessage Or, if you're into Lua: -``` +```lua messages_Messages = messages.getMessages({id={InputMessage}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getMessagesViews.md b/old_docs/API_docs_v81/methods/messages_getMessagesViews.md index 57a99054..b2b6110e 100644 --- a/old_docs/API_docs_v81/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v81/methods/messages_getMessagesViews.md @@ -26,7 +26,7 @@ Get and increase message views ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ increment - Json encoded Bool Or, if you're into Lua: -``` +```lua Vector_of_int = messages.getMessagesViews({peer=InputPeer, id={int}, increment=Bool, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v81/methods/messages_getPeerDialogs.md index 9f244fd5..7d6ea635 100644 --- a/old_docs/API_docs_v81/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v81/methods/messages_getPeerDialogs.md @@ -24,7 +24,7 @@ Get dialog info of peers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peers - Json encoded array of InputDialogPeer Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getPeerSettings.md b/old_docs/API_docs_v81/methods/messages_getPeerSettings.md index 92d4697a..e2b3ec4f 100644 --- a/old_docs/API_docs_v81/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v81/methods/messages_getPeerSettings.md @@ -24,7 +24,7 @@ Get the settings of apeer ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua PeerSettings = messages.getPeerSettings({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v81/methods/messages_getPinnedDialogs.md index 634f4c41..77eb98ce 100644 --- a/old_docs/API_docs_v81/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v81/methods/messages_getPinnedDialogs.md @@ -19,7 +19,7 @@ Get pinned dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua messages_PeerDialogs = messages.getPinnedDialogs({}) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getRecentLocations.md b/old_docs/API_docs_v81/methods/messages_getRecentLocations.md index 1d15bbb5..015d0c24 100644 --- a/old_docs/API_docs_v81/methods/messages_getRecentLocations.md +++ b/old_docs/API_docs_v81/methods/messages_getRecentLocations.md @@ -26,7 +26,7 @@ Get recent locations ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getRecentStickers.md b/old_docs/API_docs_v81/methods/messages_getRecentStickers.md index d89272fd..939fd036 100644 --- a/old_docs/API_docs_v81/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v81/methods/messages_getRecentStickers.md @@ -25,7 +25,7 @@ Get recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getSavedGifs.md b/old_docs/API_docs_v81/methods/messages_getSavedGifs.md index cafba4e1..1a879907 100644 --- a/old_docs/API_docs_v81/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v81/methods/messages_getSavedGifs.md @@ -24,7 +24,7 @@ Get saved gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getSplitRanges.md b/old_docs/API_docs_v81/methods/messages_getSplitRanges.md index 1406fc06..ba744579 100644 --- a/old_docs/API_docs_v81/methods/messages_getSplitRanges.md +++ b/old_docs/API_docs_v81/methods/messages_getSplitRanges.md @@ -19,7 +19,7 @@ Get message ranges to fetch ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -55,7 +55,7 @@ Parameters: Or, if you're into Lua: -``` +```lua Vector_of_MessageRange = messages.getSplitRanges({}) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getStickerSet.md b/old_docs/API_docs_v81/methods/messages_getStickerSet.md index 29e44f84..071ddde3 100644 --- a/old_docs/API_docs_v81/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v81/methods/messages_getStickerSet.md @@ -24,7 +24,7 @@ Get a stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getStickers.md b/old_docs/API_docs_v81/methods/messages_getStickers.md index a9b73525..a86b59f4 100644 --- a/old_docs/API_docs_v81/methods/messages_getStickers.md +++ b/old_docs/API_docs_v81/methods/messages_getStickers.md @@ -25,7 +25,7 @@ Get stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Stickers = messages.getStickers({emoticon='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getUnreadMentions.md b/old_docs/API_docs_v81/methods/messages_getUnreadMentions.md index 9b221db9..d30c19c5 100644 --- a/old_docs/API_docs_v81/methods/messages_getUnreadMentions.md +++ b/old_docs/API_docs_v81/methods/messages_getUnreadMentions.md @@ -29,7 +29,7 @@ Get unread mentions ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ min_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getWebPage.md b/old_docs/API_docs_v81/methods/messages_getWebPage.md index fb7152af..9237d4b7 100644 --- a/old_docs/API_docs_v81/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v81/methods/messages_getWebPage.md @@ -25,7 +25,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua WebPage = messages.getWebPage({url='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v81/methods/messages_getWebPagePreview.md index b78871e2..0b99a0d4 100644 --- a/old_docs/API_docs_v81/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v81/methods/messages_getWebPagePreview.md @@ -26,7 +26,7 @@ Get webpage preview ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -54,7 +54,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua MessageMedia = messages.getWebPagePreview({message='string', entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_hideReportSpam.md b/old_docs/API_docs_v81/methods/messages_hideReportSpam.md index 17a7f8ef..1c0d72c5 100644 --- a/old_docs/API_docs_v81/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v81/methods/messages_hideReportSpam.md @@ -24,7 +24,7 @@ Hide report spam popup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.hideReportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_importChatInvite.md b/old_docs/API_docs_v81/methods/messages_importChatInvite.md index f2040b3a..5781e438 100644 --- a/old_docs/API_docs_v81/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v81/methods/messages_importChatInvite.md @@ -24,7 +24,7 @@ Import chat invite ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ hash - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.importChatInvite({hash='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_installStickerSet.md b/old_docs/API_docs_v81/methods/messages_installStickerSet.md index 88131136..6bdb9390 100644 --- a/old_docs/API_docs_v81/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v81/methods/messages_installStickerSet.md @@ -25,7 +25,7 @@ Add a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ archived - Json encoded Bool Or, if you're into Lua: -``` +```lua messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_migrateChat.md b/old_docs/API_docs_v81/methods/messages_migrateChat.md index df91f510..e789ff7d 100644 --- a/old_docs/API_docs_v81/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v81/methods/messages_migrateChat.md @@ -24,7 +24,7 @@ Convert chat to supergroup ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ chat_id - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Updates = messages.migrateChat({chat_id=InputPeer, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v81/methods/messages_readEncryptedHistory.md index 95b66135..1034eb84 100644 --- a/old_docs/API_docs_v81/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v81/methods/messages_readEncryptedHistory.md @@ -25,7 +25,7 @@ Mark messages as read in secret chats ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ max_date - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.readEncryptedHistory({peer=InputEncryptedChat, max_date=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v81/methods/messages_readFeaturedStickers.md index 2c34ac0f..9fef6621 100644 --- a/old_docs/API_docs_v81/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v81/methods/messages_readFeaturedStickers.md @@ -24,7 +24,7 @@ Mark new featured stickers as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.readFeaturedStickers({id={long}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_readHistory.md b/old_docs/API_docs_v81/methods/messages_readHistory.md index 48d7fb45..4a2188d8 100644 --- a/old_docs/API_docs_v81/methods/messages_readHistory.md +++ b/old_docs/API_docs_v81/methods/messages_readHistory.md @@ -25,7 +25,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_readMentions.md b/old_docs/API_docs_v81/methods/messages_readMentions.md index 31874ee6..237da9c4 100644 --- a/old_docs/API_docs_v81/methods/messages_readMentions.md +++ b/old_docs/API_docs_v81/methods/messages_readMentions.md @@ -24,7 +24,7 @@ Mark mentions as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua messages_AffectedHistory = messages.readMentions({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_readMessageContents.md b/old_docs/API_docs_v81/methods/messages_readMessageContents.md index 87bd1ea7..4a701059 100644 --- a/old_docs/API_docs_v81/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v81/methods/messages_readMessageContents.md @@ -24,7 +24,7 @@ Mark message as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_receivedMessages.md b/old_docs/API_docs_v81/methods/messages_receivedMessages.md index 8131789e..edc3987f 100644 --- a/old_docs/API_docs_v81/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v81/methods/messages_receivedMessages.md @@ -24,7 +24,7 @@ Mark messages as read ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ max_id - Json encoded int Or, if you're into Lua: -``` +```lua Vector_of_ReceivedNotifyMessage = messages.receivedMessages({max_id=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v81/methods/messages_reorderPinnedDialogs.md index 78a2863c..99aa9865 100644 --- a/old_docs/API_docs_v81/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v81/methods/messages_reorderPinnedDialogs.md @@ -25,7 +25,7 @@ Reorder pinned dialogs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of InputDialogPeer Or, if you're into Lua: -``` +```lua Bool = messages.reorderPinnedDialogs({force=Bool, order={InputDialogPeer}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v81/methods/messages_reorderStickerSets.md index c1c35ef6..cd73daa0 100644 --- a/old_docs/API_docs_v81/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v81/methods/messages_reorderStickerSets.md @@ -25,7 +25,7 @@ Reorder sticker sets ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ order - Json encoded array of long Or, if you're into Lua: -``` +```lua Bool = messages.reorderStickerSets({masks=Bool, order={long}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_report.md b/old_docs/API_docs_v81/methods/messages_report.md index 8c940d7f..2e5e4353 100644 --- a/old_docs/API_docs_v81/methods/messages_report.md +++ b/old_docs/API_docs_v81/methods/messages_report.md @@ -26,7 +26,7 @@ Report a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ reason - Json encoded ReportReason Or, if you're into Lua: -``` +```lua Bool = messages.report({peer=InputPeer, id={int}, reason=ReportReason, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v81/methods/messages_reportEncryptedSpam.md index dffdffc9..5d5f0dab 100644 --- a/old_docs/API_docs_v81/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v81/methods/messages_reportEncryptedSpam.md @@ -24,7 +24,7 @@ Report for spam a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputEncryptedChat Or, if you're into Lua: -``` +```lua Bool = messages.reportEncryptedSpam({peer=InputEncryptedChat, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_reportSpam.md b/old_docs/API_docs_v81/methods/messages_reportSpam.md index da5934b8..086d901e 100644 --- a/old_docs/API_docs_v81/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v81/methods/messages_reportSpam.md @@ -24,7 +24,7 @@ Report a peer for spam ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPeer Or, if you're into Lua: -``` +```lua Bool = messages.reportSpam({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_saveDraft.md b/old_docs/API_docs_v81/methods/messages_saveDraft.md index ede72c41..14e69f93 100644 --- a/old_docs/API_docs_v81/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v81/methods/messages_saveDraft.md @@ -29,7 +29,7 @@ Save a message draft ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -57,7 +57,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Bool = messages.saveDraft({no_webpage=Bool, reply_to_msg_id=int, peer=InputPeer, message='string', entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_saveGif.md b/old_docs/API_docs_v81/methods/messages_saveGif.md index adae6d86..dfa956ab 100644 --- a/old_docs/API_docs_v81/methods/messages_saveGif.md +++ b/old_docs/API_docs_v81/methods/messages_saveGif.md @@ -25,7 +25,7 @@ Save a GIF ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveGif({id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v81/methods/messages_saveRecentSticker.md index 9cd06ea1..1abf524f 100644 --- a/old_docs/API_docs_v81/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v81/methods/messages_saveRecentSticker.md @@ -26,7 +26,7 @@ Add a sticker to recent stickers ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ unsave - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.saveRecentSticker({attached=Bool, id=InputDocument, unsave=Bool, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_search.md b/old_docs/API_docs_v81/methods/messages_search.md index e98131be..5d038792 100644 --- a/old_docs/API_docs_v81/methods/messages_search.md +++ b/old_docs/API_docs_v81/methods/messages_search.md @@ -35,7 +35,7 @@ Search peers or messages ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -86,7 +86,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_searchGifs.md b/old_docs/API_docs_v81/methods/messages_searchGifs.md index 1ef77d23..a12cdd21 100644 --- a/old_docs/API_docs_v81/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v81/methods/messages_searchGifs.md @@ -25,7 +25,7 @@ Search gifs ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ offset - Json encoded int Or, if you're into Lua: -``` +```lua messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_searchGlobal.md b/old_docs/API_docs_v81/methods/messages_searchGlobal.md index 4d05bf0d..1fb73592 100644 --- a/old_docs/API_docs_v81/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v81/methods/messages_searchGlobal.md @@ -28,7 +28,7 @@ Global message search ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_searchStickerSets.md b/old_docs/API_docs_v81/methods/messages_searchStickerSets.md index 9f488e23..9b1dd1b0 100644 --- a/old_docs/API_docs_v81/methods/messages_searchStickerSets.md +++ b/old_docs/API_docs_v81/methods/messages_searchStickerSets.md @@ -26,7 +26,7 @@ Find a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ hash - Json encoded array of int Or, if you're into Lua: -``` +```lua messages_FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_sendEncrypted.md b/old_docs/API_docs_v81/methods/messages_sendEncrypted.md index 5c80b0d9..0c356381 100644 --- a/old_docs/API_docs_v81/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v81/methods/messages_sendEncrypted.md @@ -25,7 +25,7 @@ Send message to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v81/methods/messages_sendEncryptedFile.md index 68d98b46..ec08c0a6 100644 --- a/old_docs/API_docs_v81/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v81/methods/messages_sendEncryptedFile.md @@ -26,7 +26,7 @@ Send a file to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v81/methods/messages_sendEncryptedService.md index 95eba01a..5654da64 100644 --- a/old_docs/API_docs_v81/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v81/methods/messages_sendEncryptedService.md @@ -25,7 +25,7 @@ Send a service message to a secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ message - Json encoded DecryptedMessage Or, if you're into Lua: -``` +```lua messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v81/methods/messages_sendInlineBotResult.md index 8de674c6..37fae63a 100644 --- a/old_docs/API_docs_v81/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v81/methods/messages_sendInlineBotResult.md @@ -30,7 +30,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ id - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.sendInlineBotResult({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, query_id=long, id='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_sendMedia.md b/old_docs/API_docs_v81/methods/messages_sendMedia.md index ff414eeb..c02b1d98 100644 --- a/old_docs/API_docs_v81/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v81/methods/messages_sendMedia.md @@ -33,7 +33,7 @@ Send a media ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMedia({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, media=InputMedia, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_sendMessage.md b/old_docs/API_docs_v81/methods/messages_sendMessage.md index 77790562..9cdc74eb 100644 --- a/old_docs/API_docs_v81/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v81/methods/messages_sendMessage.md @@ -33,7 +33,7 @@ Send a message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -70,7 +70,7 @@ parse_mode - string Or, if you're into Lua: -``` +```lua Updates = messages.sendMessage({no_webpage=Bool, silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_sendMultiMedia.md b/old_docs/API_docs_v81/methods/messages_sendMultiMedia.md index 115d2f60..a6cd72c4 100644 --- a/old_docs/API_docs_v81/methods/messages_sendMultiMedia.md +++ b/old_docs/API_docs_v81/methods/messages_sendMultiMedia.md @@ -29,7 +29,7 @@ Send an album ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ multi_media - Json encoded array of InputSingleMedia Or, if you're into Lua: -``` +```lua Updates = messages.sendMultiMedia({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, multi_media={InputSingleMedia}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_sendScreenshotNotification.md b/old_docs/API_docs_v81/methods/messages_sendScreenshotNotification.md index 3a71c404..d4fd79b6 100644 --- a/old_docs/API_docs_v81/methods/messages_sendScreenshotNotification.md +++ b/old_docs/API_docs_v81/methods/messages_sendScreenshotNotification.md @@ -25,7 +25,7 @@ Send screenshot notification ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ reply_to_msg_id - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.sendScreenshotNotification({peer=InputPeer, reply_to_msg_id=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v81/methods/messages_setBotCallbackAnswer.md index 0395b468..47d74918 100644 --- a/old_docs/API_docs_v81/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v81/methods/messages_setBotCallbackAnswer.md @@ -28,7 +28,7 @@ Bots only: set the callback answer (after a button was clicked) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ cache_time - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setBotCallbackAnswer({alert=Bool, query_id=long, message='string', url='string', cache_time=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v81/methods/messages_setBotPrecheckoutResults.md index 486ab585..92e8ea5a 100644 --- a/old_docs/API_docs_v81/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v81/methods/messages_setBotPrecheckoutResults.md @@ -26,7 +26,7 @@ Bots only: set precheckout results ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ error - Json encoded string Or, if you're into Lua: -``` +```lua Bool = messages.setBotPrecheckoutResults({success=Bool, query_id=long, error='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v81/methods/messages_setBotShippingResults.md index a9e43c49..6e223219 100644 --- a/old_docs/API_docs_v81/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v81/methods/messages_setBotShippingResults.md @@ -26,7 +26,7 @@ Bots only: set shipping results ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -68,7 +68,7 @@ shipping_options - Json encoded array of ShippingOption Or, if you're into Lua: -``` +```lua Bool = messages.setBotShippingResults({query_id=long, error='string', shipping_options={ShippingOption}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v81/methods/messages_setEncryptedTyping.md index bb49e2b8..dd8255bb 100644 --- a/old_docs/API_docs_v81/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v81/methods/messages_setEncryptedTyping.md @@ -25,7 +25,7 @@ Send typing notification to secret chat ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ typing - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = messages.setEncryptedTyping({peer=InputEncryptedChat, typing=Bool, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_setGameScore.md b/old_docs/API_docs_v81/methods/messages_setGameScore.md index 41ee4591..1a50326e 100644 --- a/old_docs/API_docs_v81/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v81/methods/messages_setGameScore.md @@ -29,7 +29,7 @@ Set the game score ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -77,7 +77,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Updates = messages.setGameScore({edit_message=Bool, force=Bool, peer=InputPeer, id=int, user_id=InputUser, score=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v81/methods/messages_setInlineBotResults.md index 443a028e..e1ebe4e3 100644 --- a/old_docs/API_docs_v81/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v81/methods/messages_setInlineBotResults.md @@ -30,7 +30,7 @@ Bots only: set the results of an inline query ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -80,7 +80,7 @@ switch_pm - Json encoded InlineBotSwitchPM Or, if you're into Lua: -``` +```lua Bool = messages.setInlineBotResults({gallery=Bool, private=Bool, query_id=long, results={InputBotInlineResult}, cache_time=int, next_offset='string', switch_pm=InlineBotSwitchPM, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v81/methods/messages_setInlineGameScore.md index 0d97b9bf..76db49dd 100644 --- a/old_docs/API_docs_v81/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v81/methods/messages_setInlineGameScore.md @@ -28,7 +28,7 @@ Set the game score of an inline message ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ score - Json encoded int Or, if you're into Lua: -``` +```lua Bool = messages.setInlineGameScore({edit_message=Bool, force=Bool, id=InputBotInlineMessageID, user_id=InputUser, score=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_setTyping.md b/old_docs/API_docs_v81/methods/messages_setTyping.md index 67ded538..410e19df 100644 --- a/old_docs/API_docs_v81/methods/messages_setTyping.md +++ b/old_docs/API_docs_v81/methods/messages_setTyping.md @@ -25,7 +25,7 @@ Change typing status ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ action - Json encoded SendMessageAction Or, if you're into Lua: -``` +```lua Bool = messages.setTyping({peer=InputPeer, action=SendMessageAction, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_startBot.md b/old_docs/API_docs_v81/methods/messages_startBot.md index 506957a7..71f82822 100644 --- a/old_docs/API_docs_v81/methods/messages_startBot.md +++ b/old_docs/API_docs_v81/methods/messages_startBot.md @@ -26,7 +26,7 @@ Start a bot ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ start_param - Json encoded string Or, if you're into Lua: -``` +```lua Updates = messages.startBot({bot=InputUser, peer=InputPeer, start_param='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v81/methods/messages_toggleChatAdmins.md index 0f1e56fa..56438277 100644 --- a/old_docs/API_docs_v81/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v81/methods/messages_toggleChatAdmins.md @@ -25,7 +25,7 @@ Enable all users are admins in normal groups (not supergroups) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ enabled - Json encoded Bool Or, if you're into Lua: -``` +```lua Updates = messages.toggleChatAdmins({chat_id=InputPeer, enabled=Bool, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v81/methods/messages_toggleDialogPin.md index 20918a7d..d564a52c 100644 --- a/old_docs/API_docs_v81/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v81/methods/messages_toggleDialogPin.md @@ -25,7 +25,7 @@ Pin or unpin dialog ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ peer - Json encoded InputDialogPeer Or, if you're into Lua: -``` +```lua Bool = messages.toggleDialogPin({pinned=Bool, peer=InputDialogPeer, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v81/methods/messages_uninstallStickerSet.md index d4c8e173..afbb824a 100644 --- a/old_docs/API_docs_v81/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v81/methods/messages_uninstallStickerSet.md @@ -24,7 +24,7 @@ Remove a sticker set ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ stickerset - Json encoded InputStickerSet Or, if you're into Lua: -``` +```lua Bool = messages.uninstallStickerSet({stickerset=InputStickerSet, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_uploadEncryptedFile.md b/old_docs/API_docs_v81/methods/messages_uploadEncryptedFile.md index 91159bb5..f3d5d0e5 100644 --- a/old_docs/API_docs_v81/methods/messages_uploadEncryptedFile.md +++ b/old_docs/API_docs_v81/methods/messages_uploadEncryptedFile.md @@ -25,7 +25,7 @@ Upload a secret chat file without sending it to anyone ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ file - Json encoded InputEncryptedFile Or, if you're into Lua: -``` +```lua EncryptedFile = messages.uploadEncryptedFile({peer=InputEncryptedChat, file=InputEncryptedFile, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages_uploadMedia.md b/old_docs/API_docs_v81/methods/messages_uploadMedia.md index 65fed5f8..af710357 100644 --- a/old_docs/API_docs_v81/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v81/methods/messages_uploadMedia.md @@ -25,7 +25,7 @@ Upload a file without sending it to anyone ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ media - Json encoded InputMedia Or, if you're into Lua: -``` +```lua MessageMedia = messages.uploadMedia({peer=InputPeer, media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v81/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v81/methods/payments_clearSavedInfo.md index 8ac2d538..1fb58ffa 100644 --- a/old_docs/API_docs_v81/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v81/methods/payments_clearSavedInfo.md @@ -25,7 +25,7 @@ Clear saved payments info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ info - Json encoded Bool Or, if you're into Lua: -``` +```lua Bool = payments.clearSavedInfo({credentials=Bool, info=Bool, }) ``` diff --git a/old_docs/API_docs_v81/methods/payments_getPaymentForm.md b/old_docs/API_docs_v81/methods/payments_getPaymentForm.md index c53c7d10..480e7d6d 100644 --- a/old_docs/API_docs_v81/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v81/methods/payments_getPaymentForm.md @@ -24,7 +24,7 @@ Get payment form ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ msg_id - Json encoded int Or, if you're into Lua: -``` +```lua payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v81/methods/payments_getPaymentReceipt.md index b6bbb3e5..074aed0e 100644 --- a/old_docs/API_docs_v81/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v81/methods/payments_getPaymentReceipt.md @@ -24,7 +24,7 @@ Get payment receipt ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ msg_id - Json encoded int Or, if you're into Lua: -``` +```lua payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/payments_getSavedInfo.md b/old_docs/API_docs_v81/methods/payments_getSavedInfo.md index acaa603f..df3796a2 100644 --- a/old_docs/API_docs_v81/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v81/methods/payments_getSavedInfo.md @@ -19,7 +19,7 @@ Get saved payments info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua payments_SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v81/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v81/methods/payments_sendPaymentForm.md index 5ac22160..582f446a 100644 --- a/old_docs/API_docs_v81/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v81/methods/payments_sendPaymentForm.md @@ -27,7 +27,7 @@ Bots only: send payment form ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ credentials - Json encoded InputPaymentCredentials Or, if you're into Lua: -``` +```lua payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` diff --git a/old_docs/API_docs_v81/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v81/methods/payments_validateRequestedInfo.md index bc60d68f..524c8515 100644 --- a/old_docs/API_docs_v81/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v81/methods/payments_validateRequestedInfo.md @@ -26,7 +26,7 @@ Validate requested payment info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ info - Json encoded PaymentRequestedInfo Or, if you're into Lua: -``` +```lua payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` diff --git a/old_docs/API_docs_v81/methods/phone_getCallConfig.md b/old_docs/API_docs_v81/methods/phone_getCallConfig.md index dc8619e8..4ee97d2f 100644 --- a/old_docs/API_docs_v81/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v81/methods/phone_getCallConfig.md @@ -19,7 +19,7 @@ Get call configuration ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -46,7 +46,7 @@ Parameters: Or, if you're into Lua: -``` +```lua DataJSON = phone.getCallConfig({}) ``` diff --git a/old_docs/API_docs_v81/methods/phone_receivedCall.md b/old_docs/API_docs_v81/methods/phone_receivedCall.md index b6cebd0c..c030fe43 100644 --- a/old_docs/API_docs_v81/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v81/methods/phone_receivedCall.md @@ -24,7 +24,7 @@ Notify server that you received a call (server will refuse all incoming calls un ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ peer - Json encoded InputPhoneCall Or, if you're into Lua: -``` +```lua Bool = phone.receivedCall({peer=InputPhoneCall, }) ``` diff --git a/old_docs/API_docs_v81/methods/phone_saveCallDebug.md b/old_docs/API_docs_v81/methods/phone_saveCallDebug.md index 176f0838..3aff7998 100644 --- a/old_docs/API_docs_v81/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v81/methods/phone_saveCallDebug.md @@ -25,7 +25,7 @@ Save call debugging info ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -56,7 +56,7 @@ debug - Json encoded DataJSON Or, if you're into Lua: -``` +```lua Bool = phone.saveCallDebug({peer=InputPhoneCall, debug=DataJSON, }) ``` diff --git a/old_docs/API_docs_v81/methods/phone_setCallRating.md b/old_docs/API_docs_v81/methods/phone_setCallRating.md index 0861c10e..fa83b2c7 100644 --- a/old_docs/API_docs_v81/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v81/methods/phone_setCallRating.md @@ -26,7 +26,7 @@ Set phone call rating ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ comment - Json encoded string Or, if you're into Lua: -``` +```lua Updates = phone.setCallRating({peer=InputPhoneCall, rating=int, comment='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/photos_deletePhotos.md b/old_docs/API_docs_v81/methods/photos_deletePhotos.md index 0c29768f..78b12cc6 100644 --- a/old_docs/API_docs_v81/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v81/methods/photos_deletePhotos.md @@ -24,7 +24,7 @@ Delete profile photos ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded array of InputPhoto Or, if you're into Lua: -``` +```lua Vector_of_long = photos.deletePhotos({id={InputPhoto}, }) ``` diff --git a/old_docs/API_docs_v81/methods/photos_getUserPhotos.md b/old_docs/API_docs_v81/methods/photos_getUserPhotos.md index 815be8cd..9718737e 100644 --- a/old_docs/API_docs_v81/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v81/methods/photos_getUserPhotos.md @@ -27,7 +27,7 @@ Get the profile photos of a user ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -71,7 +71,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v81/methods/photos_updateProfilePhoto.md index 8eb42e5d..26ab417e 100644 --- a/old_docs/API_docs_v81/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v81/methods/photos_updateProfilePhoto.md @@ -24,7 +24,7 @@ Update the profile photo (use photos->uploadProfilePhoto to upload the photo) ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ id - Json encoded InputPhoto Or, if you're into Lua: -``` +```lua UserProfilePhoto = photos.updateProfilePhoto({id=InputPhoto, }) ``` diff --git a/old_docs/API_docs_v81/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v81/methods/photos_uploadProfilePhoto.md index 9b838b89..8d047d9a 100644 --- a/old_docs/API_docs_v81/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v81/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ Upload profile photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -53,7 +53,7 @@ file - Json encoded InputFile Or, if you're into Lua: -``` +```lua photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` diff --git a/old_docs/API_docs_v81/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v81/methods/stickers_addStickerToSet.md index 7029d543..0946e28a 100644 --- a/old_docs/API_docs_v81/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v81/methods/stickers_addStickerToSet.md @@ -25,7 +25,7 @@ Add sticker to stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ sticker - Json encoded InputStickerSetItem Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` diff --git a/old_docs/API_docs_v81/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v81/methods/stickers_changeStickerPosition.md index e6a2951e..ff27fd3c 100644 --- a/old_docs/API_docs_v81/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v81/methods/stickers_changeStickerPosition.md @@ -25,7 +25,7 @@ Change sticker position in photo ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ position - Json encoded int Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/stickers_createStickerSet.md b/old_docs/API_docs_v81/methods/stickers_createStickerSet.md index 58ed89b7..7dd29ccd 100644 --- a/old_docs/API_docs_v81/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v81/methods/stickers_createStickerSet.md @@ -28,7 +28,7 @@ Create stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -74,7 +74,7 @@ stickers - Json encoded array of InputStickerSetItem Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` diff --git a/old_docs/API_docs_v81/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v81/methods/stickers_removeStickerFromSet.md index 7349779f..64ce97a3 100644 --- a/old_docs/API_docs_v81/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v81/methods/stickers_removeStickerFromSet.md @@ -24,7 +24,7 @@ Remove sticker from stickerset ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ sticker - Json encoded InputDocument Or, if you're into Lua: -``` +```lua messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` diff --git a/old_docs/API_docs_v81/methods/upload_getWebFile.md b/old_docs/API_docs_v81/methods/upload_getWebFile.md index d7d5d631..16952ff9 100644 --- a/old_docs/API_docs_v81/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v81/methods/upload_getWebFile.md @@ -26,7 +26,7 @@ Download a file through telegram ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -59,7 +59,7 @@ limit - Json encoded int Or, if you're into Lua: -``` +```lua upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/users_getUsers.md b/old_docs/API_docs_v81/methods/users_getUsers.md index 5e8d2aac..b2b7cb0f 100644 --- a/old_docs/API_docs_v81/methods/users_getUsers.md +++ b/old_docs/API_docs_v81/methods/users_getUsers.md @@ -24,7 +24,7 @@ Get info about users ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -62,7 +62,7 @@ id - Json encoded array of InputUser Or, if you're into Lua: -``` +```lua Vector_of_User = users.getUsers({id={InputUser}, }) ``` diff --git a/old_docs/API_docs_v81/methods/users_setSecureValueErrors.md b/old_docs/API_docs_v81/methods/users_setSecureValueErrors.md index 4e18012c..3389b737 100644 --- a/old_docs/API_docs_v81/methods/users_setSecureValueErrors.md +++ b/old_docs/API_docs_v81/methods/users_setSecureValueErrors.md @@ -25,7 +25,7 @@ Set secure value error for telegram passport ### MadelineProto Example: -``` +```php if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } @@ -65,7 +65,7 @@ errors - Json encoded array of SecureValueError Or, if you're into Lua: -``` +```lua Bool = users.setSecureValueErrors({id=InputUser, errors={SecureValueError}, }) ``` diff --git a/old_docs/API_docs_v81/types/Chat.md b/old_docs/API_docs_v81/types/Chat.md index cd83aacb..58654e6e 100644 --- a/old_docs/API_docs_v81/types/Chat.md +++ b/old_docs/API_docs_v81/types/Chat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Chat = '@username'; // Username $Chat = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v81/types/DialogPeer.md b/old_docs/API_docs_v81/types/DialogPeer.md index 38c9bf0a..96b01c3e 100644 --- a/old_docs/API_docs_v81/types/DialogPeer.md +++ b/old_docs/API_docs_v81/types/DialogPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $DialogPeer = '@username'; // Username $DialogPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v81/types/InputChannel.md b/old_docs/API_docs_v81/types/InputChannel.md index 3882099d..6dc802fc 100644 --- a/old_docs/API_docs_v81/types/InputChannel.md +++ b/old_docs/API_docs_v81/types/InputChannel.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputChannel = '@username'; // Username $InputChannel = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v81/types/InputDialogPeer.md b/old_docs/API_docs_v81/types/InputDialogPeer.md index 665ea204..f4e1e38f 100644 --- a/old_docs/API_docs_v81/types/InputDialogPeer.md +++ b/old_docs/API_docs_v81/types/InputDialogPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputDialogPeer = '@username'; // Username $InputDialogPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v81/types/InputEncryptedChat.md b/old_docs/API_docs_v81/types/InputEncryptedChat.md index 17960951..9b588db9 100644 --- a/old_docs/API_docs_v81/types/InputEncryptedChat.md +++ b/old_docs/API_docs_v81/types/InputEncryptedChat.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [EncryptedMessage](Encrypted The following syntax can also be used: -``` +```php $InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative ``` diff --git a/old_docs/API_docs_v81/types/InputEncryptedFile.md b/old_docs/API_docs_v81/types/InputEncryptedFile.md index cd7f365f..b8d87a51 100644 --- a/old_docs/API_docs_v81/types/InputEncryptedFile.md +++ b/old_docs/API_docs_v81/types/InputEncryptedFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputEncryptedFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v81/types/InputFile.md b/old_docs/API_docs_v81/types/InputFile.md index f76612de..65e37048 100644 --- a/old_docs/API_docs_v81/types/InputFile.md +++ b/old_docs/API_docs_v81/types/InputFile.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputFile = 'filename.mp4'; // The file path can also be used ``` diff --git a/old_docs/API_docs_v81/types/InputMessage.md b/old_docs/API_docs_v81/types/InputMessage.md index 075b4f04..3233b335 100644 --- a/old_docs/API_docs_v81/types/InputMessage.md +++ b/old_docs/API_docs_v81/types/InputMessage.md @@ -10,7 +10,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png The following syntax can also be used: -``` +```php $InputMessage = 142; // Numeric message ID ``` diff --git a/old_docs/API_docs_v81/types/InputNotifyPeer.md b/old_docs/API_docs_v81/types/InputNotifyPeer.md index 813d3acb..fbd34b1c 100644 --- a/old_docs/API_docs_v81/types/InputNotifyPeer.md +++ b/old_docs/API_docs_v81/types/InputNotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputNotifyPeer = '@username'; // Username $InputNotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v81/types/InputPeer.md b/old_docs/API_docs_v81/types/InputPeer.md index 2076c00b..2649db1a 100644 --- a/old_docs/API_docs_v81/types/InputPeer.md +++ b/old_docs/API_docs_v81/types/InputPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputPeer = '@username'; // Username $InputPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v81/types/InputUser.md b/old_docs/API_docs_v81/types/InputUser.md index 7778caf6..9e414b96 100644 --- a/old_docs/API_docs_v81/types/InputUser.md +++ b/old_docs/API_docs_v81/types/InputUser.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $InputUser = '@username'; // Username $InputUser = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v81/types/KeyboardButton.md b/old_docs/API_docs_v81/types/KeyboardButton.md index ac4b9e1e..69f33796 100644 --- a/old_docs/API_docs_v81/types/KeyboardButton.md +++ b/old_docs/API_docs_v81/types/KeyboardButton.md @@ -12,7 +12,7 @@ Clicking these buttons: To click these buttons simply run the `click` method: -``` +```php $result = $KeyboardButton->click(); ``` diff --git a/old_docs/API_docs_v81/types/NotifyPeer.md b/old_docs/API_docs_v81/types/NotifyPeer.md index 74b12b28..2bae6cc5 100644 --- a/old_docs/API_docs_v81/types/NotifyPeer.md +++ b/old_docs/API_docs_v81/types/NotifyPeer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $NotifyPeer = '@username'; // Username $NotifyPeer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v81/types/Peer.md b/old_docs/API_docs_v81/types/Peer.md index ebb98e91..0ab7fdcc 100644 --- a/old_docs/API_docs_v81/types/Peer.md +++ b/old_docs/API_docs_v81/types/Peer.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $Peer = '@username'; // Username $Peer = 'me'; // The currently logged-in user diff --git a/old_docs/API_docs_v81/types/PhoneCall.md b/old_docs/API_docs_v81/types/PhoneCall.md index 64d95972..0aa87799 100644 --- a/old_docs/API_docs_v81/types/PhoneCall.md +++ b/old_docs/API_docs_v81/types/PhoneCall.md @@ -159,7 +159,7 @@ The audio configuration is an array structured in the following way: Easy as pie: -``` +```php $call->storage["pony"] = "fluttershy"; \danog\MadelineProto\Logger::log($call->storage["pony"]); // fluttershy ``` @@ -173,7 +173,7 @@ You can only modify the data saving mode, the network type, the logging file pat Example: -``` +```php $call->configuration["log_file_path"] = "logs".$call->getOtherID().".log"; // Default is /dev/null $call->configuration["stats_dump_file_path"] = "stats".$call->getOtherID().".log"; // Default is /dev/null $call->configuration["network_type"] = \danog\MadelineProto\VoIP::NET_TYPE_WIFI; // Default is NET_TYPE_ETHERNET diff --git a/old_docs/API_docs_v81/types/User.md b/old_docs/API_docs_v81/types/User.md index 3abd182f..425c8d2b 100644 --- a/old_docs/API_docs_v81/types/User.md +++ b/old_docs/API_docs_v81/types/User.md @@ -12,7 +12,7 @@ You can directly provide the [Update](Update.md) or [Message](Message.md) object The following syntaxes can also be used: -``` +```php $User = '@username'; // Username $User = 'me'; // The currently logged-in user